diff options
-rw-r--r-- | network/mod_hosts_access/README.SLACKWARE | 2 | ||||
-rw-r--r-- | network/mod_hosts_access/mod_hosts_access.SlackBuild | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/network/mod_hosts_access/README.SLACKWARE b/network/mod_hosts_access/README.SLACKWARE index 5881886dac..ca0e265afe 100644 --- a/network/mod_hosts_access/README.SLACKWARE +++ b/network/mod_hosts_access/README.SLACKWARE @@ -3,7 +3,7 @@ configfile distribution systems, such as Cfengine. Especially if other blocking methods differ between hosts at a site (e.g. kernel-level firewalling means). You'll need to add the following line to /etc/httpd/httpd.conf: - Include /etc/httpd/mod_hosts_access.conf + Include /etc/httpd/extra/mod_hosts_access.conf LoadModule hosts_access_module lib/httpd/modules/mod_hosts_access.so diff --git a/network/mod_hosts_access/mod_hosts_access.SlackBuild b/network/mod_hosts_access/mod_hosts_access.SlackBuild index e195a7f494..2a1d21c1ac 100644 --- a/network/mod_hosts_access/mod_hosts_access.SlackBuild +++ b/network/mod_hosts_access/mod_hosts_access.SlackBuild @@ -10,7 +10,7 @@ PRGNAM=mod_hosts_access VERSION=1.1.0 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -57,9 +57,9 @@ CFLAGS="$SLACKFLAGS" apxs -ca mod_hosts_access.c -lwrap -lnsl cp .libs/mod_hosts_access.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules -mkdir -p $PKG/etc/httpd +mkdir -p $PKG/etc/httpd/extra sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/config/mod_hosts_access.conf > \ - $PKG/etc/httpd/mod_hosts_access.conf.new + $PKG/etc/httpd/extra/mod_hosts_access.conf.new find $PKG -type f | xargs file | grep -e "executable" -e "shared object" | \ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |