From 94ded0cb27161b972228cfef8ea2e6f60af0f2b2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Oct 2013 00:56:32 -0700 Subject: Thu Oct 24 00:55:58 PDT 2013 --- extra/imap/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'extra/imap/PKGBUILD') 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 -- cgit v1.2.3-54-g00ecf