summaryrefslogtreecommitdiff
path: root/network/mod_geoip2/mod_geoip2.SlackBuild
diff options
context:
space:
mode:
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