aboutsummaryrefslogtreecommitdiff
path: root/network/exim/exim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/exim/exim.SlackBuild')
-rw-r--r--network/exim/exim.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild
index 68a6d239e4d6b..04150351181bd 100644
--- a/network/exim/exim.SlackBuild
+++ b/network/exim/exim.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Exim
-# Copyright 2012-2021 Thomas Morper, Nürnberg, Germany
+# Copyright 2012-2022 Thomas Morper, Nürnberg, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=exim
-VERSION=${VERSION:-4.94.2}
+VERSION=${VERSION:-4.95}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,11 +38,8 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" | sed 's/-RC/_RC/'
exit 0
fi
@@ -108,8 +105,8 @@ mv $(readlink -f $PKG/usr/sbin/exim) $PKG/usr/sbin/exim
# Additional symlinks provide compatibility with sendmail.
mkdir -p $PKG/usr/lib # no LIBDIRSUFFIX here!
-( cd $PKG/usr/lib; ln -s /usr/sbin/exim sendmail )
-( cd $PKG/usr/sbin; ln -s /usr/sbin/exim sendmail )
+ln -s ../sbin/exim $PKG/usr/lib/sendmail
+ln -s exim $PKG/usr/sbin/sendmail
# Install accompanying scripts and configs.
mkdir -p $PKG/etc/{cron.daily,logrotate.d,rc.d}
@@ -139,7 +136,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
# Adjust version info for release candidates.
-VERSION=${VERSION/-/_}
+VERSION=${VERSION/-RC/_RC}
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE