diff options
-rw-r--r-- | network/mod_geoip2/README | 2 | ||||
-rw-r--r-- | network/mod_geoip2/mod_geoip2.SlackBuild | 6 |
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 |