summaryrefslogtreecommitdiff
path: root/network/mod_bw/mod_bw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_bw/mod_bw.SlackBuild')
-rw-r--r--network/mod_bw/mod_bw.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/network/mod_bw/mod_bw.SlackBuild b/network/mod_bw/mod_bw.SlackBuild
index e6d00bab79..74ec5e446f 100644
--- a/network/mod_bw/mod_bw.SlackBuild
+++ b/network/mod_bw/mod_bw.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mod_bw
-# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mod_bw
-VERSION=${VERSION:-0.7}
+VERSION=${VERSION:-0.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,16 +61,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM
-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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patches from AUR
-patch < $CWD/apr_atomic_fix.patch
patch < $CWD/apache24.patch
apxs -c -o $PRGNAM.so $PRGNAM.c