[Bug 263031] mail/spamassassin-dqs: Unable to build with HBL option

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Apr 2022 07:03:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263031

            Bug ID: 263031
           Summary: mail/spamassassin-dqs: Unable to build with HBL option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: linus.sundqvist@loopia.se
             Flags: maintainer-feedback?(ler@FreeBSD.org)
          Assignee: ler@FreeBSD.org

Trying to build spamassassin-dqs in 2022Q2 (and head) with HBL option seems to
crash because of the following:

===>  Building package for spamassassin-dqs-1.2.1
pkg-static: Unable to access file
/wrkdirs/usr/ports/mail/spamassassin-dqs/work/stage/usr/local/etc/mail/spamassassin/hbltest.sh:No
such file or directory
*** Error code 1


Don't know if the file is removed upstream or something, but as a workaround I
removed the hbltest.sh PLIST FILE from the Makefile which makes the package
able to build. Probably not the correct solution but works until maintainer
have time to take a look :)

diff --git a/mail/spamassassin-dqs/Makefile b/mail/spamassassin-dqs/Makefile
index e58cfbd5b..301721147 100644
--- a/mail/spamassassin-dqs/Makefile
+++ b/mail/spamassassin-dqs/Makefile
@@ -29,7 +29,6 @@ OPTIONS_DEFINE=       HBL
 HBL_DESC=      enable HBL lookups (PAID OPTION)

 HBL_PLIST_FILES=       "@sample etc/mail/spamassassin/sh_hbl.cf.sample" \
-                       etc/mail/spamassassin/hbltest.sh \
                        etc/mail/spamassassin/sh_hbl_scores.cf

 post-patch:

-- 
You are receiving this mail because:
You are the assignee for the bug.