summaryrefslogtreecommitdiffstats
path: root/network/spamassassin/spamassassin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/spamassassin/spamassassin.SlackBuild')
-rw-r--r--network/spamassassin/spamassassin.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/spamassassin/spamassassin.SlackBuild b/network/spamassassin/spamassassin.SlackBuild
index b77c2645b1..148dff6280 100644
--- a/network/spamassassin/spamassassin.SlackBuild
+++ b/network/spamassassin/spamassassin.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=spamassassin
VERSION=${VERSION:-3.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# patch for bug in DnsResolver.pm (thanks to Edgars for pointing it out)
+# https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7057
+cd lib
+patch -p0 < $CWD/patch-dnsresolver_3.4.0.diff
+cd ..
+
echo "y" | perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \