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.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/network/mosh/mosh.SlackBuild b/network/mosh/mosh.SlackBuild
index 86a192894f..8127e0ff4d 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.
@@ -18,7 +20,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mosh
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,12 +65,13 @@ 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 {} \+
+
+# patch to work with newer protobuf3
+patch -p1 < $CWD/1282.patch
+autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \