summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-02-13 17:22:39 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-28 09:42:02 -0600
commitb59d7ba6b60c8bac16f18c33c04144c40b5fcede (patch)
treebc0459bd7f06618a34575593193687e23c595a83 /network
parent51212d9320ba412812a0b167b43c97556b5e12e1 (diff)
downloadslackbuilds-b59d7ba6b60c8bac16f18c33c04144c40b5fcede.tar.gz
network/mod_geoip2: Install config file to /etc/httpd/extra/
(instead of /etc/httpd/ toplevel directory) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/mod_geoip2/README2
-rw-r--r--network/mod_geoip2/mod_geoip2.SlackBuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/network/mod_geoip2/README b/network/mod_geoip2/README
index a0eb079ddb..5a3dd52376 100644
--- a/network/mod_geoip2/README
+++ b/network/mod_geoip2/README
@@ -6,7 +6,7 @@ the Apache license.
This requires GeoIP.
You will need to add the following line to /etc/httpd/httpd.conf:
- Include /etc/httpd/mod_geoip.conf
+ Include /etc/httpd/extra/mod_geoip.conf
mod_geoip2 can be further configured through the Apache configuration file;
see the README in the package's documentation directory for details.
diff --git a/network/mod_geoip2/mod_geoip2.SlackBuild b/network/mod_geoip2/mod_geoip2.SlackBuild
index 131a4ab5bc..0e78bcd0ed 100644
--- a/network/mod_geoip2/mod_geoip2.SlackBuild
+++ b/network/mod_geoip2/mod_geoip2.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=mod_geoip2
VERSION=1.2.5
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -58,9 +58,9 @@ CFLAGS="$SLACKFLAGS" apxs -L/usr/lib${LIBDIRSUFFIX} -I/usr/include -lGeoIP -c mo
# copy into place
cp -v .libs/mod_geoip.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_geoip.conf > \
- $PKG/etc/httpd/mod_geoip.conf.new
+ $PKG/etc/httpd/extra/mod_geoip.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 || true