diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-02-13 17:28:11 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-28 09:42:03 -0600 |
commit | 6b4254d4111a4219182f8624c14efab93d04319a (patch) | |
tree | 010f6d813928b0da206a7d83dde2feb36320c6ad | |
parent | 4d670e05e7461e5d859957c8a1da08b329384a39 (diff) | |
download | slackbuilds-6b4254d4111a4219182f8624c14efab93d04319a.tar.gz |
network/mod_hosts_access: Install config file in /etc/httpd/extra
(instead of toplevel /etc/httpd/ directory)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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 |