diff options
author | LukenShiro <lukenshiro@ngi.it> | 2014-09-26 18:13:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-26 18:13:39 +0700 |
commit | 02189e110f2ba5b09e8e2882b44bf5afa748d07a (patch) | |
tree | bbad9f32a2d0f54fd4688dc6bdbe31b6cfe4a37f /network/spamassassin/spamassassin.SlackBuild | |
parent | 9d7d6d86ec5f9f27c6d819a3e5900ba466f86b6b (diff) | |
download | slackbuilds-02189e110f2ba5b09e8e2882b44bf5afa748d07a.tar.gz |
network/spamassassin: Fix bug with dnsresolver.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/spamassassin/spamassassin.SlackBuild')
-rw-r--r-- | network/spamassassin/spamassassin.SlackBuild | 8 |
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 \ |