summaryrefslogtreecommitdiff
path: root/network/asterisk/asterisk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/asterisk/asterisk.SlackBuild')
-rw-r--r--network/asterisk/asterisk.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/asterisk/asterisk.SlackBuild b/network/asterisk/asterisk.SlackBuild
index 695b17e7f3..148cd17df0 100644
--- a/network/asterisk/asterisk.SlackBuild
+++ b/network/asterisk/asterisk.SlackBuild
@@ -23,7 +23,7 @@
# Updated by mario@slackverse.org, 2010-2013
PRGNAM="asterisk"
-VERSION=${VERSION:-1.8.20.1}
+VERSION=${VERSION:-1.8.24.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,8 +63,12 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-chmod -R a-s,u+w,go+r-w .
chown -R root:root .
+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" \