summaryrefslogtreecommitdiff
path: root/extra/dovecot
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-07 09:16:08 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-07 09:16:08 +0200
commit44d5db78dfc2e2180898d8db13822e339665b7a3 (patch)
tree5a8ad6d447af343e4d43eb96a918e9f566460351 /extra/dovecot
parentc46eba9943dd0e63496ab3ee93cfb7da246386c9 (diff)
parent334c2a7916a80d08b1c216cfbf02135e64891632 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/nbd/PKGBUILD kde-unstable/kdeplasma-addons/PKGBUILD kde-unstable/libkcompactdisc/PKGBUILD
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 b20a2c63b..b175baeae 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' 'mips64el')
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 -