summaryrefslogtreecommitdiff
path: root/network/amavisd-new/amavisd-new.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2016-08-19 16:21:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:49:48 +0700
commit30a0b2fe2e5af60a5fde3bd28dd2192f81f5f502 (patch)
tree56bedf40a36b6c3e9738a785fff76f9ba310d305 /network/amavisd-new/amavisd-new.SlackBuild
parent3e8f2c44433b90ab0afde332bf926ec735770b9c (diff)
downloadslackbuilds-30a0b2fe2e5af60a5fde3bd28dd2192f81f5f502.tar.gz
network/amavisd-new: Updated for version 2.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/amavisd-new/amavisd-new.SlackBuild')
-rw-r--r--network/amavisd-new/amavisd-new.SlackBuild22
1 files changed, 4 insertions, 18 deletions
diff --git a/network/amavisd-new/amavisd-new.SlackBuild b/network/amavisd-new/amavisd-new.SlackBuild
index 8d4b49f6d1..c85afb8aed 100644
--- a/network/amavisd-new/amavisd-new.SlackBuild
+++ b/network/amavisd-new/amavisd-new.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for amavisd-new
# Home Page http://www.ijs.si/software/amavisd/
-# Copyright (c) 2009-2014, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2009-2016, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="amavisd-new"
-VERSION=${VERSION:-2.10.1}
+VERSION=${VERSION:-2.11.0}
ARCH="noarch"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,24 +38,10 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
# Create system user and group for amavisd-new
if ! grep -q ^amavis: /etc/group ; then
echo " Please add a dedicated group to run amavisd-new"
- echo " # groupadd -g 225 amavis"
+ echo " # groupadd -g 211 amavis"
echo " Or something similar."
echo " Add amavis user to clamav group and set AllowSupplementaryGroups yes"
echo " in fresclam.conf to allow amavis to scan incoming messages"
@@ -64,7 +50,7 @@ fi
if ! grep -q ^amavis: /etc/passwd ; then
echo " Please add a dedicated user to run amavisd-new"
- echo " # useradd -d /var/lib/amavis -s /bin/bash -u 225 -g 225 amavis"
+ echo " # useradd -d /var/lib/amavis -s /bin/bash -u 211 -g 211 amavis"
echo " Or something similar."
exit 1
fi