summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/dovecot/dovecot.SlackBuild14
-rw-r--r--network/dovecot/dovecot.info8
2 files changed, 14 insertions, 8 deletions
diff --git a/network/dovecot/dovecot.SlackBuild b/network/dovecot/dovecot.SlackBuild
index 40354ad001..a2bc3ae180 100644
--- a/network/dovecot/dovecot.SlackBuild
+++ b/network/dovecot/dovecot.SlackBuild
@@ -21,14 +21,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="dovecot"
-VERSION="1.1.3"
+VERSION="1.1.15"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG="$TMP/pkg-$PRGNAM"
+PKG="$TMP/package-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
# Bail if user isn't valid on your system
@@ -43,9 +43,14 @@ fi
set -e
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -61,6 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-header-install \
diff --git a/network/dovecot/dovecot.info b/network/dovecot/dovecot.info
index 6059a44437..edfc33361b 100644
--- a/network/dovecot/dovecot.info
+++ b/network/dovecot/dovecot.info
@@ -1,8 +1,8 @@
PRGNAM="dovecot"
-VERSION="1.1.3"
+VERSION="1.1.15"
HOMEPAGE="http://www.dovecot.org/"
-DOWNLOAD="http://dovecot.org/releases/1.1/dovecot-1.1.3.tar.gz"
-MD5SUM="103ff0ffb4bcb37f22c27779553e48bc"
+DOWNLOAD="http://dovecot.org/releases/1.1/dovecot-1.1.15.tar.gz"
+MD5SUM="90562401bbf6bd052b23b89f7f5a700f"
MAINTAINER="Alan Hicks"
EMAIL="alan@lizella.net"
-APPROVED="rworkman"
+APPROVED="dsomero"