From 6b4254d4111a4219182f8624c14efab93d04319a Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 13 Feb 2011 17:28:11 -0600 Subject: network/mod_hosts_access: Install config file in /etc/httpd/extra (instead of toplevel /etc/httpd/ directory) Signed-off-by: Robby Workman --- network/mod_hosts_access/README.SLACKWARE | 2 +- 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 -- cgit v1.2.3-80-g2a13