summaryrefslogtreecommitdiff
path: root/extra/imap/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-24 00:56:32 -0700
committerroot <root@rshg054.dnsready.net>2013-10-24 00:56:32 -0700
commit94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (patch)
tree3eeb5098d6fe3d9cad00a0e1df056de10d0464e6 /extra/imap/PKGBUILD
parent06a76442fa8de4a9975266a4eca7fb2a953f5244 (diff)
Thu Oct 24 00:55:58 PDT 2013
Diffstat (limited to 'extra/imap/PKGBUILD')
-rw-r--r--extra/imap/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/imap/PKGBUILD b/extra/imap/PKGBUILD
index 44835eea1..8be9b7e81 100644
--- a/extra/imap/PKGBUILD
+++ b/extra/imap/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 185244 2013-05-12 11:04:34Z pierre $
+# $Id: PKGBUILD 197175 2013-10-23 13:52:03Z pierre $
pkgname=imap
pkgver=2007f
-pkgrel=3
+pkgrel=4
pkgdesc="An IMAP/POP server"
arch=('i686' 'x86_64')
license=('APACHE')
@@ -12,19 +12,22 @@ provides=('imap-server' 'pop3-server')
conflicts=('courier-mta' 'courier-imap')
source=("ftp://ftp.cac.washington.edu/imap/${pkgname}-${pkgver}.tar.gz"
'imap' 'ipop2' 'ipop3')
+options=('staticlibs')
backup=(etc/xinetd.d/{imap,ipop2,ipop3} etc/ssl/certs/{imapd,ipop3d}.pem)
md5sums=('2126fd125ea26b73b20f01fcd5940369'
'3ae5b3b333bc8ea2da106f6a97d7bd8d'
'448f988dc5f9bdb2223dcea3abc4f5f1'
'1499b13015075f0aafba04324a6f523a')
-build() {
+prepare() {
sed \
-e "s:-g -fno-omit-frame-pointer -O6:\${CFLAGS}:" \
-e "s:SSLDIR=/usr/local/ssl:SSLDIR=/usr:" \
-e "s:SSLCERTS=\$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:" \
-i $srcdir/$pkgname-$pkgver/src/osdep/unix/Makefile
+}
+build() {
cd $srcdir/$pkgname-$pkgver
# NOTE: if you wish to enforce SSL, use SSLTYPE=unix.nopwd