diff options
Diffstat (limited to 'network/emailrelay/emailrelay.SlackBuild')
-rw-r--r-- | network/emailrelay/emailrelay.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/network/emailrelay/emailrelay.SlackBuild b/network/emailrelay/emailrelay.SlackBuild index 659e3594a0..d46158c878 100644 --- a/network/emailrelay/emailrelay.SlackBuild +++ b/network/emailrelay/emailrelay.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for emailrelay # Copyright 2011,2013 Andrew Clemons, Wellington, New Zealand -# Copyright 2016-2017 Andrew Clemons, Wellington, New Zealand +# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=emailrelay -VERSION=${VERSION:-1.9} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,10 +64,6 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz cd $PRGNAM-$VERSION -for sha1 in b79f2cb7c70d7c311162cb9d38b3921b76ddae3d a9dcd228875a40ef2b475ff6f328332bd6f6e4f6 4b0a67b55cec24f99d4842fe8ac980327beed0cb ; do - patch -p1 < "$CWD/patches/$sha1.patch" -done - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -86,11 +82,12 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-gui \ --with-openssl \ + --without-mbedtls \ --disable-install-hook \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG 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 |