summaryrefslogtreecommitdiff
path: root/network/exim/exim.SlackBuild
diff options
context:
space:
mode:
authorThomas Morper <thomas@beingboiled.info>2016-08-01 23:50:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-03 07:29:30 +0700
commit7f392e61526e595e55534725085b3d33679cf68c (patch)
treedfcba4989bcc4701df7bb8843e1d1a9d2817157b /network/exim/exim.SlackBuild
parent26287db095850b6ceefd5ce8c4a998091601216f (diff)
downloadslackbuilds-7f392e61526e595e55534725085b3d33679cf68c.tar.gz
network/exim: Updated for version 4.87.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/exim/exim.SlackBuild')
-rw-r--r--network/exim/exim.SlackBuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild
index 957240bd18..0cf535ca63 100644
--- a/network/exim/exim.SlackBuild
+++ b/network/exim/exim.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=exim
-VERSION=${VERSION:-4.86.2}
+VERSION=${VERSION:-4.87}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,14 +78,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# This is our custom config for an all-purpose Exim daemon.
-# The SQL- and LDAP-lookups will not be built by default,
-# but you can enable them easily by passing the directives
-# on the command line when calling this script, e.g.
-#
-# LOOKUP_LDAP=yes LOOKUP_SQLITE=yes \
-# LOOKUP_MYSQL=yes LOOKUP_PGSQL=yes \
-# sh exim.SlackBuild
-#
+# See README.SBo for info on how to enable the database lookups.
cat $CWD/exim.Makefile > Local/Makefile
# Use a stock config for the Exim Monitor (not built by default).
@@ -106,9 +99,8 @@ FULLECHO="" LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG make -e install
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
-# Rename the version specific binary to simply 'exim'.
-# e.g. version specific binary for 4.86.2 is 'exim-4.86_2-2'
-mv $PKG/usr/sbin/exim-$(echo $VERSION | sed 's/\./_/2')-* $PKG/usr/sbin/exim
+# Rename the version specific suid binary to simply 'exim'.
+find $PKG/usr/sbin -perm /4000 -exec mv {} $PKG/usr/sbin/exim \;
# Additional symlinks provide compatibility with sendmail
mkdir -p $PKG/usr/lib # no LIBDIRSUFFIX here!
@@ -128,7 +120,8 @@ mkdir -p -m 0750 $PKG/var/spool/exim/{db,input,msglog}
chown -R exim.exim $PKG/var/{log,spool}/exim
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT ACKNOWLEDGMENTS CHANGES CONTRIBUTING LICENCE* NOTICE README* doc \
+cp -a \
+ $CWD/README.SBo ABOUT ACKNOWLEDGMENTS CHANGES CONTRIBUTING LICENCE* NOTICE README* doc \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild