summaryrefslogtreecommitdiffstats
path: root/source/n/proftpd/proftpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/proftpd/proftpd.SlackBuild')
-rwxr-xr-xsource/n/proftpd/proftpd.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/source/n/proftpd/proftpd.SlackBuild b/source/n/proftpd/proftpd.SlackBuild
index ded54ce5d..db0d0d267 100755
--- a/source/n/proftpd/proftpd.SlackBuild
+++ b/source/n/proftpd/proftpd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2016 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,24 +21,26 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=1.3.4c
-DIRVER=1.3.4c
+VERSION=1.3.5b
+DIRVER=1.3.5b
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j7 "}
+PROFTPD_MODS="mod_radius:mod_ban:mod_readme:mod_ratio:mod_tls:mod_wrap:mod_ctrls_admin:mod_quotatab:mod_quotatab_file"
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -79,13 +81,12 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--enable-autoshadow \
--enable-ctrls \
+ --enable-dso \
--enable-ipv6 \
+ --enable-nls \
--localstatedir=/var/run \
- --with-modules=mod_radius:mod_ban:mod_readme:mod_ratio:mod_tls:mod_wrap:mod_ctrls_admin \
+ --with-modules="${PROFTPD_MODS}" \
--build=$ARCH-slackware-linux
-# This caused funny messages about "Quotas off" with every FTP command,
-# and mod_wrap gets a compile error:
-# --with-modules= ... mod_quota ...
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1