summaryrefslogtreecommitdiff
path: root/network/mod_evasive/mod_evasive.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-02-13 17:26:32 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:02 -0600
commit4d670e05e7461e5d859957c8a1da08b329384a39 (patch)
tree37de183888e1dfa52f723e2f1451648791935e96 /network/mod_evasive/mod_evasive.SlackBuild
parent8fd9de9fe5005c1a176c5a3fe7c70e0defcf86b2 (diff)
downloadslackbuilds-4d670e05e7461e5d859957c8a1da08b329384a39.tar.gz
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/mod_evasive.SlackBuild')
-rw-r--r--network/mod_evasive/mod_evasive.SlackBuild6
1 files changed, 3 insertions, 3 deletions
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" | \