[arch-commits] Commit in dovecot/trunk (PKGBUILD dovecot.tmpfilesd)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Jun 5 20:24:10 UTC 2012


    Date: Tuesday, June 5, 2012 @ 16:24:10
  Author: andyrtr
Revision: 160789

upgpkg: dovecot 2.1.7-2

add systemd support; FS#22601

Added:
  dovecot/trunk/dovecot.tmpfilesd
Modified:
  dovecot/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   14 +++++++++++---
 dovecot.tmpfilesd |    1 +
 2 files changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-05 20:14:49 UTC (rev 160788)
+++ PKGBUILD	2012-06-05 20:24:10 UTC (rev 160789)
@@ -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 @@
 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 @@
   # 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 @@
   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
 }

Added: dovecot.tmpfilesd
===================================================================
--- dovecot.tmpfilesd	                        (rev 0)
+++ dovecot.tmpfilesd	2012-06-05 20:24:10 UTC (rev 160789)
@@ -0,0 +1 @@
+d /var/run/dovecot 0755 root dovecot -




More information about the arch-commits mailing list