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.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/mod_geoip2/mod_geoip2.SlackBuild b/network/mod_geoip2/mod_geoip2.SlackBuild
index 0e78bcd0ed..038b1d4cab 100644
--- a/network/mod_geoip2/mod_geoip2.SlackBuild
+++ b/network/mod_geoip2/mod_geoip2.SlackBuild
@@ -5,8 +5,8 @@
# Template written by Menno E. Duursma
PRGNAM=mod_geoip2
-VERSION=1.2.5
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.2.7}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -49,6 +49,9 @@ cd ${PRGNAM}_${VERSION}
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
+# http://pkgs.fedoraproject.org/cgit/mod_geoip.git/tree/mod_geoip-httpd24.patch
+patch -p0 < $CWD/mod_geoip-httpd24.patch
+
# Create target dir
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules