summaryrefslogtreecommitdiffstats
path: root/network/s-nail/s-nail.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/s-nail/s-nail.SlackBuild')
-rw-r--r--network/s-nail/s-nail.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/network/s-nail/s-nail.SlackBuild b/network/s-nail/s-nail.SlackBuild
index bc67eef46f..b81e29ced6 100644
--- a/network/s-nail/s-nail.SlackBuild
+++ b/network/s-nail/s-nail.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for S-nail
# Copyright 2008, 2009, 2010, 2016 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2018 Johannes Schoepfer, Germany
+# Copyright 2018 - 2019 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=s-nail
-VERSION=${VERSION:-14.9.11}
+VERSION=${VERSION:-14.9.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-make \
+make \
VAL_PREFIX=/usr \
VAL_SYSCONFDIR=/etc \
VAL_MANDIR=/usr/man \
@@ -88,6 +88,9 @@ make build
make test
make install DESTDIR=$PKG
+# Tighten up the perms a bit:
+chmod 4711 $PKG/usr/libexec/mailx-dotlock
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -120,7 +123,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING* INSTALL NEWS README THANKS \
+ COPYING* INSTALL* NEWS* README* THANKS* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild