summaryrefslogtreecommitdiff
path: root/network/bird/bird.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/bird/bird.SlackBuild')
-rw-r--r--network/bird/bird.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/bird/bird.SlackBuild b/network/bird/bird.SlackBuild
index 5892c6df40..94ea03d2c8 100644
--- a/network/bird/bird.SlackBuild
+++ b/network/bird/bird.SlackBuild
@@ -4,7 +4,7 @@
# Written by Axel Scheepers <axel.scheepers@xs4all.nl>
PRGNAM=bird
-VERSION=1.3.6
+VERSION=${VERSION:-1.3.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,7 +44,11 @@ rm -rf $PRGNAM-$VERSION
tar xzvf $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 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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \