summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Morper <thomas@beingboiled.info>2014-05-28 23:09:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:49 +0700
commit722a4abc07bdca7055b52d9d2b0220d8658091df (patch)
tree6f5a52ebe3003a72e4daed6b7ff0a0da655b7501
parent3640f0c78565475179957772175b7e7bf7babba6 (diff)
downloadslackbuilds-722a4abc07bdca7055b52d9d2b0220d8658091df.tar.gz
network/exim: Updated for version 4.82.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/exim/exim-4.82.1-version.patch10
-rw-r--r--network/exim/exim.SlackBuild17
-rw-r--r--network/exim/exim.info8
3 files changed, 24 insertions, 11 deletions
diff --git a/network/exim/exim-4.82.1-version.patch b/network/exim/exim-4.82.1-version.patch
new file mode 100644
index 0000000000..8f24defd08
--- /dev/null
+++ b/network/exim/exim-4.82.1-version.patch
@@ -0,0 +1,10 @@
+diff -u -r exim-4.82.1-orig/src/version.sh exim-4.82.1/src/version.sh
+--- exim-4.82.1-orig/src/version.sh 2014-05-26 22:45:04.000000000 +0200
++++ exim-4.82.1/src/version.sh 2014-05-28 16:14:14.952290924 +0200
+@@ -1,4 +1,4 @@
+ # automatically generated file - see ../scripts/reversion
+-EXIM_RELEASE_VERSION="4.82"
+-EXIM_VARIANT_VERSION="_1-5b7a7c0-XX"
++EXIM_RELEASE_VERSION="4.82.1"
++EXIM_VARIANT_VERSION=""
+ EXIM_COMPILE_NUMBER="1"
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild
index 512cca49c2..c6296dfcd9 100644
--- a/network/exim/exim.SlackBuild
+++ b/network/exim/exim.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Exim
-# Copyright 2012 Thomas Morper, Augsburg, Germany
+# Copyright 2012-2014 Thomas Morper, Augsburg, 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=exim
-VERSION=${VERSION:-4.82}
+VERSION=${VERSION:-4.82.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,10 +70,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# change version string from CVS identifier to official version
+test "$VERSION" = "4.82.1" && patch -p1 < $CWD/exim-4.82.1-version.patch || true
# This is our custom config for an all-purpose Exim daemon.
# The SQL- and LDAP-lookups will not be built by default,
@@ -102,7 +105,7 @@ FULLECHO="" LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG make -e makefile
FULLECHO="" LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG make -e
FULLECHO="" LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG make -e install
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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'.
diff --git a/network/exim/exim.info b/network/exim/exim.info
index 44f96bf2c5..a68a1d66f6 100644
--- a/network/exim/exim.info
+++ b/network/exim/exim.info
@@ -1,10 +1,10 @@
PRGNAM="exim"
-VERSION="4.82"
+VERSION="4.82.1"
HOMEPAGE="http://www.exim.org/"
-DOWNLOAD="ftp://ftp.exim.org/pub/exim/exim4/exim-4.82.tar.bz2"
-MD5SUM="feb933baa4db773c2ef76b794c60b647"
+DOWNLOAD="ftp://ftp.exim.org/pub/exim/exim4/exim-4.82.1.tar.bz2"
+MD5SUM="4544696ce6689ba9141a0697f25a74cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES=""
MAINTAINER="Thomas Morper"
EMAIL="thomas@beingboiled.info"