summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-02-13 17:28:11 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:03 -0600
commit6b4254d4111a4219182f8624c14efab93d04319a (patch)
tree010f6d813928b0da206a7d83dde2feb36320c6ad /network
parent4d670e05e7461e5d859957c8a1da08b329384a39 (diff)
downloadslackbuilds-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>
Diffstat (limited to 'network')
-rw-r--r--network/mod_hosts_access/README.SLACKWARE2
-rw-r--r--network/mod_hosts_access/mod_hosts_access.SlackBuild6
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