diff options
author | Thomas Morper <thomas@beingboiled.info> | 2016-12-31 00:01:00 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-31 00:01:00 +0000 |
commit | df220b32afc915dda4ecc037a7887367f6ef3ce4 (patch) | |
tree | 92582116e4afbd16639dda77ce2c8b09c07c254e /network/exim/exim.SlackBuild | |
parent | 1e92b7eec08e3604214c64c37c89dc22dc38e3a5 (diff) | |
download | slackbuilds-df220b32afc915dda4ecc037a7887367f6ef3ce4.tar.gz |
network/exim: Updated for version 4.88.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/exim/exim.SlackBuild')
-rw-r--r-- | network/exim/exim.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild index 0cf535ca63..e3163e555b 100644 --- a/network/exim/exim.SlackBuild +++ b/network/exim/exim.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=exim -VERSION=${VERSION:-4.87} +VERSION=${VERSION:-4.88} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,10 +99,10 @@ 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 suid binary to simply 'exim'. -find $PKG/usr/sbin -perm /4000 -exec mv {} $PKG/usr/sbin/exim \; +# Replace the 'exim' symlink with the 'exim' binary. +mv $(readlink -f $PKG/usr/sbin/exim) $PKG/usr/sbin/exim -# Additional symlinks provide compatibility with sendmail +# 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 ) @@ -125,7 +125,7 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Don't use the default config - make it part of the documentation +# Don't use the default config - make it part of the documentation. mv $PKG/etc/exim/exim.conf $PKG/usr/doc/$PRGNAM-$VERSION/example-exim.conf mv $PKG/etc/exim/aliases $PKG/usr/doc/$PRGNAM-$VERSION/example-aliases |