diff options
-rw-r--r-- | network/mod_evasive/README | 2 | ||||
-rw-r--r-- | network/mod_evasive/mod_evasive.SlackBuild | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/network/mod_evasive/README b/network/mod_evasive/README index 30c89f06978fb..deac6b184a294 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 d1f5401af706e..4b5ce51ccd27b 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" | \ |