diff options
author | Andrew Strong <andrew.david.strong@gmail.com> | 2021-01-08 16:54:28 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-09 14:30:26 +0700 |
commit | f2b67c25377a836863885101e48a1fb14a56d9f2 (patch) | |
tree | c20d281b27e403d6974959ead436ca48b396d8a1 /network/maildrop | |
parent | c5acce98fa18d9b01921ea56fc2364cb7d6266f0 (diff) |
network/maildrop: Updated for version 3.0.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/maildrop')
-rw-r--r-- | network/maildrop/maildrop.SlackBuild | 29 | ||||
-rw-r--r-- | network/maildrop/maildrop.info | 6 |
2 files changed, 21 insertions, 14 deletions
diff --git a/network/maildrop/maildrop.SlackBuild b/network/maildrop/maildrop.SlackBuild index 641d9ba7c141a..7f4d08ce48fdb 100644 --- a/network/maildrop/maildrop.SlackBuild +++ b/network/maildrop/maildrop.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for maildrop # # Copyright 2010 - 2019 Šime Ramov <s@ramov.com> -# Copyright 2019 Andrew Strong, Blue Mountains, Australia. +# Copyright 2019 - 2021 Andrew Strong, Blue Mountains, Australia. # # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that @@ -25,13 +25,13 @@ # ---------------------------------------------------------------------- PRGNAM=maildrop -VERSION=${VERSION:-3.0.0} +VERSION=${VERSION:-3.0.1} 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 @@ -42,8 +42,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" @@ -67,21 +67,28 @@ 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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --datadir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --enable-dovecotauth \ + --with-devel \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG + +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la 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 @@ -94,7 +101,7 @@ mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share cp -a \ - AUTHORS COPYING* ChangeLog INSTALL NEWS README UPGRADE \ + AUTHORS COPYING* ChangeLog INSTALL README README.dovecotauth UPGRADE \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/network/maildrop/maildrop.info b/network/maildrop/maildrop.info index 94693cdd1d739..5becdd466464b 100644 --- a/network/maildrop/maildrop.info +++ b/network/maildrop/maildrop.info @@ -1,8 +1,8 @@ PRGNAM="maildrop" -VERSION="3.0.0" +VERSION="3.0.1" HOMEPAGE="http://www.courier-mta.org/maildrop/" -DOWNLOAD="https://download.sourceforge.net/courier/maildrop-3.0.0.tar.bz2" -MD5SUM="410569d4829549429a99df7511ea3a46" +DOWNLOAD="https://download.sourceforge.net/courier/maildrop-3.0.1.tar.bz2" +MD5SUM="28f6a5dfa6da4110719240696d528299" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="courier-unicode" |