diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -10,18 +10,18 @@ # If upgrading, you must read the guidance at http://www.courier-mta.org/maildirmake.html on "Converting pre-unicode format maildirs" pkgname=courier-mta -pkgver=1.1.5 -pkgrel=2 +pkgver=1.3.7 +pkgrel=1 pkgdesc="IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig" arch=(i686 x86_64) license=('GPL2') url="http://courier-mta.org" -depends=('courier-authlib>=0.71' 'courier-unicode>=2.1' 'gcc-libs' 'gdbm' 'pcre' 'mime-types' 'ca-certificates' 'libidn' 'wget') +depends=('courier-authlib>=0.71' 'courier-unicode>=2.1' 'gcc-libs' 'gdbm' 'pcre2' 'mime-types' 'ca-certificates' 'libidn2>=2.0.5' 'wget') optdepends=('libldap') makedepends=('pam' 'expect' 'gnupg' 'libldap') provides=('smtp-server' 'smtp-forwarder' 'imap-server' 'pop3-server' 'courier-imap' 'courier-maildrop') conflicts=('courier-imap' 'smtp-forwarder' 'smtp-server' 'imap-server' 'courier-maildrop' 'ucspi-tcp') -options=(!libtool !staticlibs) +options=(!libtool !staticlibs !debug) # Specify some package files to backup that aren't managed by sysconftool during an upgrade backup=('etc/courier/aliases/system' 'etc/courier/smtpaccess/default' 'etc/courier/webadmin/password' 'etc/courier/imapd.cnf' 'etc/courier/esmtpd.cnf' 'etc/courier/pop3d.cnf' 'etc/courier/esmtpauthclient') install=courier-mta.install @@ -39,7 +39,7 @@ source=(http://downloads.sourceforge.net/project/courier/courier/${pkgver}/couri webmaild.service courier-courierfilter.service courier-mta.conf) -sha1sums=('e79c4529138ccdbe4c58530f4d13ccd8597faa5d' +sha1sums=('1754ffad4a586001ba4ef392d2496223195c907e' '68012617edb5d82a99245bd7a7e319d88580e110' '8400fc2538aebbb68933eac3c4d82b4303c61315' 'c52f436744307d3777a852cfaa85b4ff6345f4a4' @@ -57,7 +57,7 @@ sha1sums=('e79c4529138ccdbe4c58530f4d13ccd8597faa5d' build() { cd "${srcdir}/courier-${pkgver}" - LDFLAGS+=",-L /usr/lib/courier-authlib -lcourierauth" + LDFLAGS+=" -L/usr/lib/courier-authlib -lcourierauth" ./configure --prefix=/usr \ --sbindir=/usr/bin \ @@ -72,7 +72,6 @@ build() { --with-trashquota \ --with-db=gdbm \ --with-random=/dev/urandom \ - --without-ispell \ --with-mailuser=courier \ --with-mailgroup=courier \ --with-certdb=/etc/ssl/certs/ \ @@ -128,7 +127,4 @@ package() { # because Arch bin and sbin are same location the binary would be overwritten by the link install -m 755 "${srcdir}/courier-${pkgver}/courier/imapd" "${pkgdir}/usr/lib/courier/courierimapd" sed -i 's/\/usr\/bin\/imapd/\/usr\/lib\/courier\/courierimapd/' "${pkgdir}/usr/share/imapd" "${pkgdir}/usr/share/imapd-ssl" - - # patch just for ths version - in anticipation of it being added to official courier release shortly. - sed -i '76 a restart)\n\t/usr/bin/courierlogger -pid=$SSLPIDFILE -restart\n\t;;' "${pkgdir}/usr/share/imapd-ssl" } |