summaryrefslogtreecommitdiffstats
path: root/development/xtruss/xtruss.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/xtruss/xtruss.SlackBuild')
-rw-r--r--development/xtruss/xtruss.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/development/xtruss/xtruss.SlackBuild b/development/xtruss/xtruss.SlackBuild
index 9fbea5fecb..894639819e 100644
--- a/development/xtruss/xtruss.SlackBuild
+++ b/development/xtruss/xtruss.SlackBuild
@@ -5,8 +5,10 @@
# Written by V'yacheslav Stetskevych
# Modified by B. Watson
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
PRGNAM=xtruss
-VERSION=${VERSION:-20150926.f43ba98}
+VERSION=${VERSION:-20181001.82973f5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,11 +48,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \