summaryrefslogtreecommitdiff
path: root/network/GeoIP/GeoIP.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/GeoIP/GeoIP.SlackBuild')
-rw-r--r--network/GeoIP/GeoIP.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/GeoIP/GeoIP.SlackBuild b/network/GeoIP/GeoIP.SlackBuild
index 89a266341a..d07a7cc360 100644
--- a/network/GeoIP/GeoIP.SlackBuild
+++ b/network/GeoIP/GeoIP.SlackBuild
@@ -27,7 +27,7 @@
# revision date 2011/08/31
PRGNAM=GeoIP
-VERSION=${VERSION:-1.4.8}
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# We need to update the configuration files in this tarball...
autoreconf -i