summaryrefslogtreecommitdiffstats
path: root/network/mod_evasive
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2011-02-13 17:26:32 -0600
committer Robby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:02 -0600
commit4d670e05e7461e5d859957c8a1da08b329384a39 (patch)
tree37de183888e1dfa52f723e2f1451648791935e96 /network/mod_evasive
parent8fd9de9fe5005c1a176c5a3fe7c70e0defcf86b2 (diff)
downloadslackbuilds-4d670e05e7461e5d859957c8a1da08b329384a39.tar.gz
slackbuilds-4d670e05e7461e5d859957c8a1da08b329384a39.tar.xz
network/mod_evasive: Install config file to /etc/httpd/extra/
(instead of toplevel /etc/httpd/ directory) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/mod_evasive')
-rw-r--r--network/mod_evasive/README2
-rw-r--r--network/mod_evasive/mod_evasive.SlackBuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/network/mod_evasive/README b/network/mod_evasive/README
index 30c89f0697..deac6b184a 100644
--- a/network/mod_evasive/README
+++ b/network/mod_evasive/README
@@ -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
diff --git a/network/mod_evasive/mod_evasive.SlackBuild b/network/mod_evasive/mod_evasive.SlackBuild
index d1f5401af7..4b5ce51ccd 100644
--- a/network/mod_evasive/mod_evasive.SlackBuild
+++ b/network/mod_evasive/mod_evasive.SlackBuild
@@ -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" | \