extra/imap to 2007f-4

This commit is contained in:
Kevin Mihelich 2013-10-23 14:04:32 +00:00
parent b9566831d1
commit be0ebfb791

View file

@ -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