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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Dec 5 07:10:25 UTC 2016


    Date: Monday, December 5, 2016 @ 07:10:24
  Author: bpiotrowski
Revision: 282828

upgpkg: dovecot 2.2.27-1

new upstream release

Modified:
  dovecot/trunk/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 38 insertions(+), 46 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-05 06:53:16 UTC (rev 282827)
+++ PKGBUILD	2016-12-05 07:10:24 UTC (rev 282828)
@@ -1,21 +1,21 @@
 # $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: Paul Mattal <paul at mattal.com>
 # Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
 # Contributor: GARETTE Emmanuel <gnunux at laposte dot net>
 
-
 # --->>> remember to rebuild/bump pigeonhole in one step <<<---
 
 pkgname=dovecot
-pkgver=2.2.26.0
-pkgrel=2
+pkgver=2.2.27
+pkgrel=1
 pkgdesc="An IMAP and POP3 server written with security primarily in mind"
 arch=('i686' 'x86_64')
 url="http://dovecot.org/"
 license=("LGPL")
 depends=('krb5' 'openssl' 'sqlite' 'libmariadbclient'
-        'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam')
+         'postgresql-libs' 'bzip2' 'lz4' 'expat' 'curl' 'pam')
 makedepends=('libcap' 'libldap' 'clucene')
 optdepends=('libldap: ldap plugin'
             'xz: imap zlib  plugin'
@@ -24,9 +24,9 @@
 install=$pkgname.install
 source=(http://dovecot.org/releases/2.2/${pkgname}-${pkgver}.tar.gz{,.sig}
         dovecot.tmpfilesd)
-md5sums=('85bc42328de41d1eb8d6d3f1db666db8'
-         'SKIP'
-         '342a28251d40f983c98c0d1f1bf3d07d')
+sha256sums=('897f92a87cda4b27b243f8149ce0ba7b7e71a2be8fb7994eb0a025e54cde18e9'
+            'SKIP'
+            'bb7620be7fc0217d77fcac940441c2abbd9efc6ef660153288d09ba412e27e06')
 validpgpkeys=('E643F0BDFDCD04D9FFCB6279C948525140558AC9') # Timo Sirainen <tss at iki.fi>
 
 prepare() {
@@ -37,31 +37,32 @@
 
 build() {
   cd $pkgname-$pkgver
-  # configure with openssl, mysql, and postgresql support
+
   ./configure --prefix=/usr --sysconfdir=/etc \
     --sbindir=/usr/bin \
     --localstatedir=/var \
-  	--libexecdir=/usr/lib \
-  	--with-moduledir=/usr/lib/dovecot/modules \
-  	--with-systemdsystemunitdir=/usr/lib/systemd/system \
-	--disable-static \
-	--with-nss \
-	--with-pam \
-	--with-mysql \
-	--with-pgsql \
-	--with-sqlite \
-	--with-ssl=openssl \
-	--with-ssldir=/etc/ssl \
-	--with-gssapi \
-	--with-ldap=plugin \
-	--with-zlib \
-	--with-bzlib \
-	--with-lzma \
-	--with-lz4 \
-	--with-libcap \
-	--with-solr \
-	--with-lucene \
-	--with-docs #--help
+    --libexecdir=/usr/lib \
+    --with-moduledir=/usr/lib/dovecot/modules \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --disable-static \
+    --with-nss \
+    --with-pam \
+    --with-mysql \
+    --with-pgsql \
+    --with-sqlite \
+    --with-ssl=openssl \
+    --with-ssldir=/etc/ssl \
+    --with-gssapi \
+    --with-ldap=plugin \
+    --with-zlib \
+    --with-bzlib \
+    --with-lzma \
+    --with-lz4 \
+    --with-libcap \
+    --with-solr \
+    --with-lucene \
+    --with-docs
+
   make
 }
 
@@ -71,25 +72,16 @@
 }
 
 package() {
-	
   # system user/group dovenull - 74
   # system user/group dovecot  - 76
-  
+
   cd $pkgname-$pkgver
-  make DESTDIR=${pkgdir} install
+  make DESTDIR="$pkgdir" install
+  install -Dm644 "$srcdir/dovecot.tmpfilesd" \
+    "$pkgdir/usr/lib/tmpfiles.d/dovecot.conf"
+  install -d -m755 "$pkgdir/etc/dovecot/conf.d"
+  rm -f $pkgdir/etc/dovecot/README
 
-  # install example conf files and ssl.conf
-  install -d -m755 ${pkgdir}/etc/dovecot/conf.d
-  install -m 644 ${pkgdir}/usr/share/doc/dovecot/example-config/dovecot.conf ${pkgdir}/etc/dovecot/dovecot.conf.sample
-  install -d -m755 ${pkgdir}/etc/ssl
-  install -m 644  ${srcdir}/$pkgname-$pkgver/doc/dovecot-openssl.cnf ${pkgdir}/etc/ssl/dovecot-openssl.cnf.sample
-
   # install mkcert helper script
-  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}/usr/lib/tmpfiles.d
-  install -m 644  ${srcdir}/dovecot.tmpfilesd ${pkgdir}/usr/lib/tmpfiles.d/dovecot.conf
+  install -m 755  doc/mkcert.sh "$pkgdir/usr/lib/dovecot/mkcert.sh"
 }



More information about the arch-commits mailing list