summaryrefslogtreecommitdiffstats
path: root/network/atftp/atftp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/atftp/atftp.SlackBuild')
-rw-r--r--network/atftp/atftp.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/network/atftp/atftp.SlackBuild b/network/atftp/atftp.SlackBuild
index 404ec9ba26..c5f7d225e9 100644
--- a/network/atftp/atftp.SlackBuild
+++ b/network/atftp/atftp.SlackBuild
@@ -23,6 +23,8 @@
# Now maintained by B. Watson <yalhcru@gmail.com>.
+# 20191129 bkw: update for v0.7.2.
+
# 20180629 bkw:
# - Take over maintenance.
# - Simplify script slightly.
@@ -31,7 +33,7 @@
# the package since it overrides some of the info from upstream's docs.
PRGNAM=atftp
-VERSION=${VERSION:-0.7.1}
+VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -71,11 +73,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 {} \+
CC="gcc -fgnu89-inline $SLKCFLAGS" \
./configure \