aboutsummaryrefslogtreecommitdiff
path: root/system/ded/ded.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ded/ded.SlackBuild')
-rw-r--r--system/ded/ded.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/system/ded/ded.SlackBuild b/system/ded/ded.SlackBuild
index 3070bb60ed8b..63085486f33d 100644
--- a/system/ded/ded.SlackBuild
+++ b/system/ded/ded.SlackBuild
@@ -10,6 +10,9 @@
# This build script was written from scratch for 14.1, without referring
# to the old script.
+# 20180915 bkw:
+# - updated for 20180324 release
+
# 20170819 bkw:
# - ftp server's been down >1 week, use http archives for DOWNLOAD
@@ -24,7 +27,7 @@
# - added td_lib docs in /usr/doc
PRGNAM=ded
-VERSION=${VERSION:-20150704}
+VERSION=${VERSION:-20180324}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,11 +76,8 @@ rm -rf $LIBNAM-$LIBVER
tar xvf $CWD/$LIBNAM-$LIBVER.tgz
cd $LIBNAM-$LIBVER
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 {} \+
# "checking for long filenames" wants to create files in /usr/lib and
# /var/lib. Violates the principle of least surprise: users don't expect
@@ -113,11 +113,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
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" \