network/mod_evasive: Install config file to /etc/httpd/extra/

(instead of toplevel /etc/httpd/ directory)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-02-13 17:26:32 -06:00
parent 8fd9de9fe5
commit 4d670e05e7
2 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ following:
* Making any requests while temporarily blacklisted (on a blocking list)
You'll need to add the following line to your /etc/httpd/httpd.conf file:
Include /etc/httpd/mod_evasive.conf
Include /etc/httpd/extra/mod_evasive.conf
To test enter the following command:
perl /usr/doc/mod_evasive-$VERSION/test.pl | more

View file

@ -10,7 +10,7 @@
PRGNAM=mod_evasive
VERSION=1.10.1
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -63,9 +63,9 @@ apxs -ca mod_evasive20.c
# copy into place
cp -v .libs/mod_evasive20.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules
mkdir -p $PKG/etc/httpd/
mkdir -p $PKG/etc/httpd/extra
sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_evasive.conf > \
$PKG/etc/httpd/mod_evasive.conf.new
$PKG/etc/httpd/extra/mod_evasive.conf.new
( cd $PKG || exit 1
find . -type f | xargs file | grep -e "executable" -e "shared object" | \