summaryrefslogtreecommitdiff
path: root/system/ded/ded.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-09-15 23:32:01 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-21 23:51:08 +0100
commit30f0cf7a9efaf9d0bcdb234af7674edb1836e881 (patch)
treed43422cfdf56da6fb18e642673292b64f019737e /system/ded/ded.SlackBuild
parent0a1cd9807372ff4e8394a8e6e332b6f3e03c58e9 (diff)
downloadslackbuilds-30f0cf7a9efaf9d0bcdb234af7674edb1836e881.tar.gz
system/ded: Updated for version 20180324.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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 3070bb60ed..63085486f3 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" \