network/mod_limitipconn: Install config file in /etc/httpd/extra
(instead of toplevel /etc/httpd directory) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
6b4254d411
commit
d85aa95e6a
|
@ -3,7 +3,7 @@ to limit the number of simultaneous downloads permitted from a single
|
||||||
IP address.
|
IP address.
|
||||||
|
|
||||||
You'll need to add the following line to your /etc/httpd/httpd.conf:
|
You'll need to add the following line to your /etc/httpd/httpd.conf:
|
||||||
Include /etc/httpd/mod_limitipconn.conf
|
Include /etc/httpd/extra/mod_limitipconn.conf
|
||||||
|
|
||||||
To test the 'test.pl' utility from mod_evasive is included in the doc dir.
|
To test the 'test.pl' utility from mod_evasive is included in the doc dir.
|
||||||
Which when run multiple simultainus sessions of should similate accessive
|
Which when run multiple simultainus sessions of should similate accessive
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
PRGNAM=mod_limitipconn
|
PRGNAM=mod_limitipconn
|
||||||
VERSION=${VERSION:-0.23}
|
VERSION=${VERSION:-0.23}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
# Automatically determine the architecture we're building on:
|
||||||
|
@ -61,9 +61,9 @@ CFLAGS="$SLACKFLAGS" apxs -ca mod_limitipconn.c
|
||||||
# copy into place
|
# copy into place
|
||||||
install -D -m755 -s .libs/mod_limitipconn.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_limitipconn.so
|
install -D -m755 -s .libs/mod_limitipconn.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_limitipconn.so
|
||||||
|
|
||||||
mkdir -p $PKG/etc/httpd
|
mkdir -p $PKG/etc/httpd/extra
|
||||||
sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_limitipconn.conf > \
|
sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_limitipconn.conf > \
|
||||||
$PKG/etc/httpd/mod_limitipconn.conf.new
|
$PKG/etc/httpd/extra/mod_limitipconn.conf.new
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ChangeLog INSTALL README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a ChangeLog INSTALL README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
Loading…
Reference in New Issue