From 4d670e05e7461e5d859957c8a1da08b329384a39 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 13 Feb 2011 17:26:32 -0600 Subject: network/mod_evasive: Install config file to /etc/httpd/extra/ (instead of toplevel /etc/httpd/ directory) Signed-off-by: Robby Workman --- network/mod_evasive/mod_evasive.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'network/mod_evasive/mod_evasive.SlackBuild') diff --git a/network/mod_evasive/mod_evasive.SlackBuild b/network/mod_evasive/mod_evasive.SlackBuild index d1f5401af706..4b5ce51ccd27 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" | \ -- cgit v1.2.3