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.SlackBuild18
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