summaryrefslogtreecommitdiff
path: root/network/amavisd-new/amavisd-new.SlackBuild
diff options
context:
space:
mode:
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