Bug 263031 - mail/spamassassin-dqs: Unable to build with HBL option
Summary: mail/spamassassin-dqs: Unable to build with HBL option
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-04 07:03 UTC by linus.sundqvist
Modified: 2022-05-24 16:23 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ler)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linus.sundqvist 2022-04-04 07:03:43 UTC
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: