summaryrefslogtreecommitdiff
path: root/network/mysecureshell/mysecureshell.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mysecureshell/mysecureshell.SlackBuild')
-rw-r--r--network/mysecureshell/mysecureshell.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/mysecureshell/mysecureshell.SlackBuild b/network/mysecureshell/mysecureshell.SlackBuild
index 2c900b5c3e..85d80a6368 100644
--- a/network/mysecureshell/mysecureshell.SlackBuild
+++ b/network/mysecureshell/mysecureshell.SlackBuild
@@ -5,7 +5,7 @@
# Written by adaptr <jeroen@adaptr.nl>
PRGNAM=mysecureshell
-VERSION=${VERSION:-1.20}
+VERSION=${VERSION:-1.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,6 +56,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix some broken/non-existing man installation paths
+sed -i -e "s|share/||" install.sh.in
+mkdir -p $PKG/usr/man/fr/man8
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -73,10 +77,6 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Working around MSS's braindead install.sh
-mv $PKG/usr/share/man $PKG/usr
-rmdir $PKG/usr/share
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done