summaryrefslogtreecommitdiff
path: root/extra/dovecot/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 03:37:58 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-14 03:37:58 +0000
commit86a5624291a8a72d9a0a2c51fcc64bf6e221524b (patch)
treee585f1910631fdca9c14bc3127c269c8005c838e /extra/dovecot/PKGBUILD
parentb6ad8075baf858359209aa7f1af82a143dcc0c80 (diff)
Fri Feb 14 03:35:43 UTC 2014
Diffstat (limited to 'extra/dovecot/PKGBUILD')
-rw-r--r--extra/dovecot/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD
index 6dbc6a917..fac1cc4b8 100644
--- a/extra/dovecot/PKGBUILD
+++ b/extra/dovecot/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 202249 2013-12-20 22:01:34Z andyrtr $
+# $Id: PKGBUILD 205903 2014-02-13 16:52:18Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Paul Mattal <paul@mattal.com>
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
@@ -8,7 +8,7 @@
# --->>> remember to rebuild/bump pigeonhole in one step <<<---
pkgname=dovecot
-pkgver=2.2.10
+pkgver=2.2.11
pkgrel=1
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
arch=('i686' 'x86_64')
@@ -23,17 +23,25 @@ optdepends=('libldap: ldap plugin'
provides=('imap-server' 'pop3-server')
install=$pkgname.install
source=(http://dovecot.org/releases/2.2/${pkgname}-${pkgver}.tar.gz{,.sig}
- dovecot.tmpfilesd)
-md5sums=('037e9c9e07d9dbff54dcff09f280fc8c'
+ dovecot.tmpfilesd
+ pop3_Access_sequence_numbers_correctly.diff)
+md5sums=('d53d207727df99e4362a3787223c6fa3'
'SKIP'
- '342a28251d40f983c98c0d1f1bf3d07d')
+ '342a28251d40f983c98c0d1f1bf3d07d'
+ 'c8096d3966651222accd7f6bc678d08d')
-build() {
+prepare() {
cd $pkgname-$pkgver
-
+
# fix path in helper script
sed -i 's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG- /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+ # post release segfault fix
+ patch -Np1 -i ${srcdir}/pop3_Access_sequence_numbers_correctly.diff
+}
+
+build() {
+ cd $pkgname-$pkgver
# configure with openssl, mysql, and postgresql support
./configure --prefix=/usr --sysconfdir=/etc \
--sbindir=/usr/bin \
@@ -61,7 +69,7 @@ build() {
check() {
cd $pkgname-$pkgver
- make -k check
+ make
}
package() {