summaryrefslogtreecommitdiffstats
path: root/network/mosh/mosh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mosh/mosh.SlackBuild')
-rw-r--r--network/mosh/mosh.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/network/mosh/mosh.SlackBuild b/network/mosh/mosh.SlackBuild
index 94798e646d..a2669bb49d 100644
--- a/network/mosh/mosh.SlackBuild
+++ b/network/mosh/mosh.SlackBuild
@@ -8,6 +8,8 @@
# Original script had no license; modified version licensed under
# the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230225 bkw: homepage/download changed.
+
# 20220425 bkw: BUILD=2
# - take over maintenance.
# - relicense script as WTFPL.
@@ -63,11 +65,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 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 -fpermissive" \