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.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/network/atftp/atftp.SlackBuild b/network/atftp/atftp.SlackBuild
index 404ec9ba26..4ae86a9fb8 100644
--- a/network/atftp/atftp.SlackBuild
+++ b/network/atftp/atftp.SlackBuild
@@ -23,6 +23,9 @@
# Now maintained by B. Watson <yalhcru@gmail.com>.
+# 20210223 bkw: update for v0.7.4.
+# 20191129 bkw: update for v0.7.2.
+
# 20180629 bkw:
# - Take over maintenance.
# - Simplify script slightly.
@@ -31,8 +34,8 @@
# the package since it overrides some of the info from upstream's docs.
PRGNAM=atftp
-VERSION=${VERSION:-0.7.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.7.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,11 +74,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 \