summaryrefslogtreecommitdiff
path: root/extra/dovecot
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-07 00:01:55 +0000
committerroot <root@rshg054.dnsready.net>2012-06-07 00:01:55 +0000
commit334c2a7916a80d08b1c216cfbf02135e64891632 (patch)
treed5ed69695fb4da7349d218aa56fa4403017b7e9c /extra/dovecot
parent664b1c2195b2884102cc2d5a56a13702f8ee44fe (diff)
Thu Jun 7 00:01:54 UTC 2012
Diffstat (limited to 'extra/dovecot')
-rw-r--r--extra/dovecot/PKGBUILD16
-rw-r--r--extra/dovecot/dovecot.tmpfilesd1
2 files changed, 13 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
}
diff --git a/extra/dovecot/dovecot.tmpfilesd b/extra/dovecot/dovecot.tmpfilesd
new file mode 100644
index 000000000..4fb276d5f
--- /dev/null
+++ b/extra/dovecot/dovecot.tmpfilesd
@@ -0,0 +1 @@
+d /var/run/dovecot 0755 root dovecot -