mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/mod_bw: Updated for version 0.92.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e3f47081d5
commit
91378a5f81
3 changed files with 6 additions and 32 deletions
|
@ -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,
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue