diff options
Diffstat (limited to 'extra/dovecot/PKGBUILD')
-rw-r--r-- | extra/dovecot/PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD index 0769a48dd..8f0256e4f 100644 --- a/extra/dovecot/PKGBUILD +++ b/extra/dovecot/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 160203 2012-05-30 19:05:51Z andyrtr $ +# $Id: PKGBUILD 160790 2012-06-05 20:25:07Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Paul Mattal <paul@mattal.com> # Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com> @@ -6,7 +6,7 @@ pkgname=dovecot pkgver=2.1.7 -pkgrel=1 +pkgrel=2 pkgdesc="An IMAP and POP3 server written with security primarily in mind" arch=('i686' 'x86_64') url="http://dovecot.org/" @@ -19,10 +19,13 @@ optdepends=('libldap: ldap plugin' provides=('imap-server' 'pop3-server') options=('!libtool') install=$pkgname.install -source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig} dovecot.sh) +source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig} + dovecot.sh + dovecot.tmpfilesd) md5sums=('b52d0faf1b9ec21bc5552691fe0ff1d1' '391cd5f98442ef446916c0f3b671d3f7' - '587159e84e2da6f83d70b3c706ba87cc') + '587159e84e2da6f83d70b3c706ba87cc' + 'f40857555bd65add2e86c89fe3242357') build() { cd ${srcdir}/$pkgname-$pkgver @@ -30,6 +33,7 @@ build() { # configure with openssl, mysql, and postgresql support ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib --with-moduledir=/usr/lib/dovecot/modules \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ --disable-static \ --with-nss \ --with-pam \ @@ -64,4 +68,8 @@ package() { install -m 755 ${srcdir}/$pkgname-$pkgver/doc/mkcert.sh ${pkgdir}/usr/lib/dovecot/mkcert.sh rm ${pkgdir}/etc/dovecot/README + + # systemd tmpfile + install -d -m755 ${pkgdir}/etc/tmpfiles.d + install -m 644 ${srcdir}/dovecot.tmpfilesd ${pkgdir}/etc/tmpfiles.d/dovecot.conf } |