aboutsummaryrefslogtreecommitdiff
path: root/network/mod_bw
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-22 22:59:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:22:59 +0700
commit91378a5f818c786a62012685de393757dd64fb8f (patch)
tree0eca6e62e193845a47f3b72377f17bd0b638e8f9 /network/mod_bw
parente3f47081d524280cc55f23c60407b8a80ab995c6 (diff)
network/mod_bw: Updated for version 0.92.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mod_bw')
-rw-r--r--network/mod_bw/apr_atomic_fix.patch18
-rw-r--r--network/mod_bw/mod_bw.SlackBuild12
-rw-r--r--network/mod_bw/mod_bw.info8
3 files changed, 6 insertions, 32 deletions
diff --git a/network/mod_bw/apr_atomic_fix.patch b/network/mod_bw/apr_atomic_fix.patch
deleted file mode 100644
index 4cc2dd5817c3..000000000000
--- a/network/mod_bw/apr_atomic_fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- mod_bw.c.orig 2009-12-09 12:56:13.629281024 +1100
-+++ mod_bw.c 2009-12-09 12:56:30.598862905 +1100
-@@ -58,15 +58,6 @@
- #define BANDWIDTH_ENABLED 1<<1
- #define SHARED_FILENAME "logs/bwmod_runtime_status"
-
--/* Compatibility for ARP < 1 */
--#if (APR_MAJOR_VERSION < 1)
-- #define apr_atomic_inc32 apr_atomic_inc
-- #define apr_atomic_dec32 apr_atomic_dec
-- #define apr_atomic_add32 apr_atomic_add
-- #define apr_atomic_cas32 apr_atomic_cas
-- #define apr_atomic_set32 apr_atomic_set
--#endif
--
- /* Enum types of "from address" */
- enum from_type {
- T_ALL,
diff --git a/network/mod_bw/mod_bw.SlackBuild b/network/mod_bw/mod_bw.SlackBuild
index e6d00bab79ba..74ec5e446f00 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
diff --git a/network/mod_bw/mod_bw.info b/network/mod_bw/mod_bw.info
index 4e0caaca82ab..d16aadfc8006 100644
--- a/network/mod_bw/mod_bw.info
+++ b/network/mod_bw/mod_bw.info
@@ -1,8 +1,8 @@
PRGNAM="mod_bw"
-VERSION="0.7"
-HOMEPAGE="http://bwmod.sourceforge.net"
-DOWNLOAD="http://bwmod.sourceforge.net/files/mod_bw-0.7.tgz"
-MD5SUM="d792a892517ca89f21ac2a6c01e6ccb2"
+VERSION="0.92"
+HOMEPAGE="http://ivn.cl/"
+DOWNLOAD="http://apache.ivn.cl/files/source/mod_bw-0.92.tgz"
+MD5SUM="90f5e632dad5de8d49dcdb61453dcf97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""