From be0ebfb79121805e7644d468b768be06e6ab3525 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 23 Oct 2013 14:04:32 +0000 Subject: [PATCH] extra/imap to 2007f-4 --- extra/imap/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/extra/imap/PKGBUILD b/extra/imap/PKGBUILD index b6034e53b..7aa10488d 100644 --- a/extra/imap/PKGBUILD +++ b/extra/imap/PKGBUILD @@ -5,7 +5,7 @@ pkgname=imap pkgver=2007f -pkgrel=3 +pkgrel=4 pkgdesc="An IMAP/POP server" arch=('i686' 'x86_64') license=('APACHE') @@ -15,19 +15,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