network/mod_geoip2: Install config file to /etc/httpd/extra/
(instead of /etc/httpd/ toplevel directory) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
51212d9320
commit
b59d7ba6b6
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue