summaryrefslogtreecommitdiff
path: root/network/mod_geoip2/mod_geoip2.SlackBuild
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/mod_geoip2/mod_geoip2.SlackBuild
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/mod_geoip2/mod_geoip2.SlackBuild')
-rw-r--r--network/mod_geoip2/mod_geoip2.SlackBuild6
1 files changed, 3 insertions, 3 deletions
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