summaryrefslogtreecommitdiff
path: root/network/dnstop/dnstop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dnstop/dnstop.SlackBuild')
-rw-r--r--network/dnstop/dnstop.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/dnstop/dnstop.SlackBuild b/network/dnstop/dnstop.SlackBuild
index 07a83ae49a..7cbe6a6c2f 100644
--- a/network/dnstop/dnstop.SlackBuild
+++ b/network/dnstop/dnstop.SlackBuild
@@ -9,7 +9,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=dnstop
-VERSION=20110502
+VERSION=${VERSION:-20121017}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,11 +49,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
# Create destination directories
mkdir -p $PKG/usr/bin $PKG/usr/man/man8