diff options
author | LukenShiro <lukenshiro@ngi.it> | 2014-08-07 21:30:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-07 21:35:06 +0700 |
commit | d53e6c043d867ae40c2965965edc4f3fc6005ad7 (patch) | |
tree | e879923a74b71f5775f5cc013e6311b6d80eb87f /network/spamassassin/spamassassin.SlackBuild | |
parent | 8183297a90179b2bee18698a005b5f3f7d8b9243 (diff) | |
download | slackbuilds-d53e6c043d867ae40c2965965edc4f3fc6005ad7.tar.gz |
network/spamassassin: Updated for version 3.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/spamassassin/spamassassin.SlackBuild')
-rw-r--r-- | network/spamassassin/spamassassin.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/network/spamassassin/spamassassin.SlackBuild b/network/spamassassin/spamassassin.SlackBuild index 6df0d06f39..b77c2645b1 100644 --- a/network/spamassassin/spamassassin.SlackBuild +++ b/network/spamassassin/spamassassin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for spamassassin -# Copyright 2008-2013 LukenShiro, Italy +# Copyright 2008-2014 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,11 +24,10 @@ # Thanks to Nishant Limbachia for providing a SQL script to be used with # spamassassin database, and most of spamassassin dependencies' scripts. -# Thanks to Mancha on LQ for a patch to suppress log warning. PRGNAM=spamassassin -VERSION=${VERSION:-3.3.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.4.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,12 +65,10 @@ tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.bz2 cd $SRC_PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p0 < $CWD/SpamAssassin-3.3.2-perl.diff || exit 1 + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; echo "y" | perl Makefile.PL \ PREFIX=/usr \ @@ -101,6 +98,7 @@ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mv v312.pre v312.pre.new mv v320.pre v320.pre.new mv v330.pre v330.pre.new + mv v340.pre v340.pre.new ) # Copy init script to /etc/rc.d and modify it for name consistency |