[arch-commits] Commit in dovecot/repos (10 files)

2014-02-13 Thread Andreas Radke
Date: Thursday, February 13, 2014 @ 17:48:46
  Author: andyrtr
Revision: 205900

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  dovecot/repos/staging-i686/
  dovecot/repos/staging-i686/PKGBUILD
(from rev 205899, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-i686/dovecot.install
(from rev 205899, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-i686/dovecot.tmpfilesd
(from rev 205899, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/staging-i686/pop3_Access_sequence_numbers_correctly.diff
(from rev 205899, dovecot/trunk/pop3_Access_sequence_numbers_correctly.diff)
  dovecot/repos/staging-x86_64/
  dovecot/repos/staging-x86_64/PKGBUILD
(from rev 205899, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-x86_64/dovecot.install
(from rev 205899, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-x86_64/dovecot.tmpfilesd
(from rev 205899, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/staging-x86_64/pop3_Access_sequence_numbers_correctly.diff
(from rev 205899, dovecot/trunk/pop3_Access_sequence_numbers_correctly.diff)

+
 staging-i686/PKGBUILD  |   93 +++
 staging-i686/dovecot.install   |   58 ++
 staging-i686/dovecot.tmpfilesd |1 
 staging-i686/pop3_Access_sequence_numbers_correctly.diff   |   36 
 staging-x86_64/PKGBUILD|   93 +++
 staging-x86_64/dovecot.install |   58 ++
 staging-x86_64/dovecot.tmpfilesd   |1 
 staging-x86_64/pop3_Access_sequence_numbers_correctly.diff |   36 
 8 files changed, 376 insertions(+)

Copied: dovecot/repos/staging-i686/PKGBUILD (from rev 205899, 
dovecot/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-02-13 16:48:46 UTC (rev 205900)
@@ -0,0 +1,93 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Paul Mattal p...@mattal.com
+# Contributor: Federico Quagliata (quaqo) qu...@despammed.com
+# Contributor: GARETTE Emmanuel gnunux at laposte dot net
+
+
+# --- remember to rebuild/bump pigeonhole in one step ---
+
+pkgname=dovecot
+pkgver=2.2.11
+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' 'expat' 'curl')
+makedepends=('pam' 'libcap' 'libldap' 'clucene')
+optdepends=('libldap: ldap plugin'
+'xz: imap zlib  plugin'
+'clucene: alternative FTS indexer')
+provides=('imap-server' 'pop3-server')
+install=$pkgname.install
+source=(http://dovecot.org/releases/2.2/${pkgname}-${pkgver}.tar.gz{,.sig}
+dovecot.tmpfilesd
+pop3_Access_sequence_numbers_correctly.diff)
+md5sums=('d53d207727df99e4362a3787223c6fa3'
+ 'SKIP'
+ '342a28251d40f983c98c0d1f1bf3d07d'
+ 'c8096d3966651222accd7f6bc678d08d')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # fix path in helper script
+  sed -i 
's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG-
 /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+
+  # post release segfault fix
+  patch -Np1 -i ${srcdir}/pop3_Access_sequence_numbers_correctly.diff
+}
+
+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-libcap \
+   --with-solr \
+   --with-lucene \
+   --with-docs
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+
+  # 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 

[arch-commits] Commit in dovecot/repos (10 files)

2013-01-31 Thread Andreas Radke
Date: Thursday, January 31, 2013 @ 18:10:31
  Author: andyrtr
Revision: 176800

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  dovecot/repos/staging-i686/
  dovecot/repos/staging-i686/PKGBUILD
(from rev 176799, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-i686/dovecot.install
(from rev 176799, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-i686/dovecot.sh
(from rev 176799, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-i686/dovecot.tmpfilesd
(from rev 176799, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/staging-x86_64/
  dovecot/repos/staging-x86_64/PKGBUILD
(from rev 176799, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-x86_64/dovecot.install
(from rev 176799, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-x86_64/dovecot.sh
(from rev 176799, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-x86_64/dovecot.tmpfilesd
(from rev 176799, dovecot/trunk/dovecot.tmpfilesd)

--+
 staging-i686/PKGBUILD|   90 +
 staging-i686/dovecot.install |   58 +++
 staging-i686/dovecot.sh  |   69 
 staging-i686/dovecot.tmpfilesd   |1 
 staging-x86_64/PKGBUILD  |   90 +
 staging-x86_64/dovecot.install   |   58 +++
 staging-x86_64/dovecot.sh|   69 
 staging-x86_64/dovecot.tmpfilesd |1 
 8 files changed, 436 insertions(+)

Copied: dovecot/repos/staging-i686/PKGBUILD (from rev 176799, 
dovecot/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-01-31 17:10:31 UTC (rev 176800)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Paul Mattal p...@mattal.com
+# Contributor: Federico Quagliata (quaqo) qu...@despammed.com
+# Contributor: GARETTE Emmanuel gnunux at laposte dot net
+
+
+# --- remember to rebuild/bump pigeonhole in one step ---
+
+pkgname=dovecot
+pkgver=2.1.14
+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=3.7.5' 'libmysqlclient=5.5.10'
+'postgresql-libs=9.0.3' 'bzip2' 'expat' 'curl')
+makedepends=('pam=1.1.1' 'libcap=2.19' 'libldap=2.4.22' 'clucene')
+optdepends=('libldap: ldap plugin'
+   'clucene: alternative FTS indexer')
+provides=('imap-server' 'pop3-server')
+options=('!libtool')
+install=$pkgname.install
+source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig}
+dovecot.sh
+dovecot.tmpfilesd)
+md5sums=('fad7544d7c6d09f9533106e53bfbd243'
+ 'a6c15d4e1991900dcfb5eb42d0c030d1'
+ '587159e84e2da6f83d70b3c706ba87cc'
+ '342a28251d40f983c98c0d1f1bf3d07d')
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+
+  # fix build with recent clucene (FC)
+  sed -i '/DEFAULT_INCLUDES *=/s|$| '$(pkg-config --cflags libclucene-core)| 
src/plugins/fts-lucene/Makefile.in
+  
+  # fix path in helper script
+  sed -i 
's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG-
 /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+
+  # 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 \
+   --with-mysql \
+   --with-pgsql \
+   --with-sqlite \
+   --with-ssl=openssl \
+   --with-ssldir=/etc/ssl \
+   --with-gssapi \
+   --with-ldap=plugin \
+   --with-zlib --with-bzlib \
+   --with-libcap \
+   --with-solr \
+   --with-lucene \
+   --with-docs
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+
+  # install the launch script
+  install -D -m755 ${srcdir}/$pkgname.sh ${pkgdir}/etc/rc.d/$pkgname
+
+  # 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
+}

Copied: 

[arch-commits] Commit in dovecot/repos (10 files)

2013-01-07 Thread andyrtr
Date: Monday, January 7, 2013 @ 10:22:58
  Author: andyrtr
Revision: 174781

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  dovecot/repos/staging-i686/
  dovecot/repos/staging-i686/PKGBUILD
(from rev 174780, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-i686/dovecot.install
(from rev 174780, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-i686/dovecot.sh
(from rev 174780, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-i686/dovecot.tmpfilesd
(from rev 174780, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/staging-x86_64/
  dovecot/repos/staging-x86_64/PKGBUILD
(from rev 174780, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-x86_64/dovecot.install
(from rev 174780, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-x86_64/dovecot.sh
(from rev 174780, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-x86_64/dovecot.tmpfilesd
(from rev 174780, dovecot/trunk/dovecot.tmpfilesd)

--+
 staging-i686/PKGBUILD|   90 +
 staging-i686/dovecot.install |   58 +++
 staging-i686/dovecot.sh  |   69 
 staging-i686/dovecot.tmpfilesd   |1 
 staging-x86_64/PKGBUILD  |   90 +
 staging-x86_64/dovecot.install   |   58 +++
 staging-x86_64/dovecot.sh|   69 
 staging-x86_64/dovecot.tmpfilesd |1 
 8 files changed, 436 insertions(+)

Copied: dovecot/repos/staging-i686/PKGBUILD (from rev 174780, 
dovecot/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-01-07 15:22:58 UTC (rev 174781)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Paul Mattal p...@mattal.com
+# Contributor: Federico Quagliata (quaqo) qu...@despammed.com
+# Contributor: GARETTE Emmanuel gnunux at laposte dot net
+
+
+# --- remember to rebuild/bump pigeonhole in one step ---
+
+pkgname=dovecot
+pkgver=2.1.13
+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=3.7.5' 'libmysqlclient=5.5.10'
+'postgresql-libs=9.0.3' 'bzip2' 'expat' 'curl')
+makedepends=('pam=1.1.1' 'libcap=2.19' 'libldap=2.4.22' 'clucene')
+optdepends=('libldap: ldap plugin'
+   'clucene: alternative FTS indexer')
+provides=('imap-server' 'pop3-server')
+options=('!libtool')
+install=$pkgname.install
+source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig}
+dovecot.sh
+dovecot.tmpfilesd)
+md5sums=('ff64b1d87ad4a8b912ae17b8f9bab3de'
+ 'd85e65d84b8933e2c2a9c4a42fd97841'
+ '587159e84e2da6f83d70b3c706ba87cc'
+ '342a28251d40f983c98c0d1f1bf3d07d')
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+
+  # fix build with recent clucene (FC)
+  sed -i '/DEFAULT_INCLUDES *=/s|$| '$(pkg-config --cflags libclucene-core)| 
src/plugins/fts-lucene/Makefile.in
+  
+  # fix path in helper script
+  sed -i 
's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG-
 /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+
+  # 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 \
+   --with-mysql \
+   --with-pgsql \
+   --with-sqlite \
+   --with-ssl=openssl \
+   --with-ssldir=/etc/ssl \
+   --with-gssapi \
+   --with-ldap=plugin \
+   --with-zlib --with-bzlib \
+   --with-libcap \
+   --with-solr \
+   --with-lucene \
+   --with-docs
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make -k check
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+
+  # install the launch script
+  install -D -m755 ${srcdir}/$pkgname.sh ${pkgdir}/etc/rc.d/$pkgname
+
+  # 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
+}

Copied: 

[arch-commits] Commit in dovecot/repos (10 files)

2012-11-30 Thread andyrtr
Date: Friday, November 30, 2012 @ 07:19:50
  Author: andyrtr
Revision: 172162

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  dovecot/repos/staging-i686/
  dovecot/repos/staging-i686/PKGBUILD
(from rev 172161, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-i686/dovecot.install
(from rev 172161, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-i686/dovecot.sh
(from rev 172161, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-i686/dovecot.tmpfilesd
(from rev 172161, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/staging-x86_64/
  dovecot/repos/staging-x86_64/PKGBUILD
(from rev 172161, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-x86_64/dovecot.install
(from rev 172161, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-x86_64/dovecot.sh
(from rev 172161, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-x86_64/dovecot.tmpfilesd
(from rev 172161, dovecot/trunk/dovecot.tmpfilesd)

--+
 staging-i686/PKGBUILD|   82 +
 staging-i686/dovecot.install |   58 ++
 staging-i686/dovecot.sh  |   69 +++
 staging-i686/dovecot.tmpfilesd   |1 
 staging-x86_64/PKGBUILD  |   82 +
 staging-x86_64/dovecot.install   |   58 ++
 staging-x86_64/dovecot.sh|   69 +++
 staging-x86_64/dovecot.tmpfilesd |1 
 8 files changed, 420 insertions(+)

Copied: dovecot/repos/staging-i686/PKGBUILD (from rev 172161, 
dovecot/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2012-11-30 12:19:50 UTC (rev 172162)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Paul Mattal p...@mattal.com
+# Contributor: Federico Quagliata (quaqo) qu...@despammed.com
+# Contributor: GARETTE Emmanuel gnunux at laposte dot net
+
+pkgname=dovecot
+pkgver=2.1.12
+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=3.7.5' 'libmysqlclient=5.5.10'
+'postgresql-libs=9.0.3' 'bzip2' 'expat' 'curl')
+makedepends=('pam=1.1.1' 'libcap=2.19' 'libldap=2.4.22' 'clucene')
+optdepends=('libldap: ldap plugin'
+   'clucene: alternative FTS indexer')
+provides=('imap-server' 'pop3-server')
+options=('!libtool')
+install=$pkgname.install
+source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig}
+dovecot.sh
+dovecot.tmpfilesd)
+md5sums=('b575dfb5db954132f41e7c390e7e11ff'
+ '86abccd4ac989be71a33ff856b25057a'
+ '587159e84e2da6f83d70b3c706ba87cc'
+ '342a28251d40f983c98c0d1f1bf3d07d')
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+
+  # fix build with recent clucene (FC)
+  sed -i '/DEFAULT_INCLUDES *=/s|$| '$(pkg-config --cflags libclucene-core)| 
src/plugins/fts-lucene/Makefile.in
+  
+  # fix path in helper script
+  sed -i 
's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG-
 /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+
+  # 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 \
+   --with-mysql \
+   --with-pgsql \
+   --with-sqlite \
+   --with-ssl=openssl \
+   --with-ssldir=/etc/ssl \
+   --with-gssapi \
+   --with-ldap=plugin \
+   --with-zlib --with-bzlib \
+   --with-libcap \
+   --with-solr \
+   --with-lucene \
+   --with-docs
+  make
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+
+  # install the launch script
+  install -D -m755 ${srcdir}/$pkgname.sh ${pkgdir}/etc/rc.d/$pkgname
+
+  # 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
+}

Copied: dovecot/repos/staging-i686/dovecot.install (from rev 172161, 
dovecot/trunk/dovecot.install)

[arch-commits] Commit in dovecot/repos (10 files)

2012-11-29 Thread andyrtr
Date: Thursday, November 29, 2012 @ 14:12:38
  Author: andyrtr
Revision: 172127

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  dovecot/repos/staging-i686/
  dovecot/repos/staging-i686/PKGBUILD
(from rev 172126, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-i686/dovecot.install
(from rev 172126, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-i686/dovecot.sh
(from rev 172126, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-i686/dovecot.tmpfilesd
(from rev 172126, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/staging-x86_64/
  dovecot/repos/staging-x86_64/PKGBUILD
(from rev 172126, dovecot/trunk/PKGBUILD)
  dovecot/repos/staging-x86_64/dovecot.install
(from rev 172126, dovecot/trunk/dovecot.install)
  dovecot/repos/staging-x86_64/dovecot.sh
(from rev 172126, dovecot/trunk/dovecot.sh)
  dovecot/repos/staging-x86_64/dovecot.tmpfilesd
(from rev 172126, dovecot/trunk/dovecot.tmpfilesd)

--+
 staging-i686/PKGBUILD|   82 +
 staging-i686/dovecot.install |   58 ++
 staging-i686/dovecot.sh  |   69 +++
 staging-i686/dovecot.tmpfilesd   |1 
 staging-x86_64/PKGBUILD  |   82 +
 staging-x86_64/dovecot.install   |   58 ++
 staging-x86_64/dovecot.sh|   69 +++
 staging-x86_64/dovecot.tmpfilesd |1 
 8 files changed, 420 insertions(+)

Copied: dovecot/repos/staging-i686/PKGBUILD (from rev 172126, 
dovecot/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2012-11-29 19:12:38 UTC (rev 172127)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Paul Mattal p...@mattal.com
+# Contributor: Federico Quagliata (quaqo) qu...@despammed.com
+# Contributor: GARETTE Emmanuel gnunux at laposte dot net
+
+pkgname=dovecot
+pkgver=2.1.11
+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=3.7.5' 'libmysqlclient=5.5.10'
+'postgresql-libs=9.0.3' 'bzip2' 'expat' 'curl')
+makedepends=('pam=1.1.1' 'libcap=2.19' 'libldap=2.4.22' 'clucene')
+optdepends=('libldap: ldap plugin'
+   'clucene: alternative FTS indexer')
+provides=('imap-server' 'pop3-server')
+options=('!libtool')
+install=$pkgname.install
+source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig}
+dovecot.sh
+dovecot.tmpfilesd)
+md5sums=('28443208243171423437daaf89db7e18'
+ 'b3dd87d3dac492c172c0f399a82e88df'
+ '587159e84e2da6f83d70b3c706ba87cc'
+ '342a28251d40f983c98c0d1f1bf3d07d')
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+
+  # fix build with recent clucene (FC)
+  sed -i '/DEFAULT_INCLUDES *=/s|$| '$(pkg-config --cflags libclucene-core)| 
src/plugins/fts-lucene/Makefile.in
+  
+  # fix path in helper script
+  sed -i 
's:OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}:OPENSSLCONFIG=${OPENSSLCONFIG-
 /etc/ssl/dovecot-openssl.cnf}:' doc/mkcert.sh
+
+  # 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 \
+   --with-mysql \
+   --with-pgsql \
+   --with-sqlite \
+   --with-ssl=openssl \
+   --with-ssldir=/etc/ssl \
+   --with-gssapi \
+   --with-ldap=plugin \
+   --with-zlib --with-bzlib \
+   --with-libcap \
+   --with-solr \
+   --with-lucene \
+   --with-docs
+  make
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+
+  # install the launch script
+  install -D -m755 ${srcdir}/$pkgname.sh ${pkgdir}/etc/rc.d/$pkgname
+
+  # 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
+}

Copied: dovecot/repos/staging-i686/dovecot.install (from rev 172126, 
dovecot/trunk/dovecot.install)

[arch-commits] Commit in dovecot/repos (10 files)

2012-07-22 Thread andyrtr
Date: Sunday, July 22, 2012 @ 05:43:00
  Author: andyrtr
Revision: 163917

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  dovecot/repos/testing-i686/
  dovecot/repos/testing-i686/PKGBUILD
(from rev 163916, dovecot/trunk/PKGBUILD)
  dovecot/repos/testing-i686/dovecot.install
(from rev 163916, dovecot/trunk/dovecot.install)
  dovecot/repos/testing-i686/dovecot.sh
(from rev 163916, dovecot/trunk/dovecot.sh)
  dovecot/repos/testing-i686/dovecot.tmpfilesd
(from rev 163916, dovecot/trunk/dovecot.tmpfilesd)
  dovecot/repos/testing-x86_64/
  dovecot/repos/testing-x86_64/PKGBUILD
(from rev 163916, dovecot/trunk/PKGBUILD)
  dovecot/repos/testing-x86_64/dovecot.install
(from rev 163916, dovecot/trunk/dovecot.install)
  dovecot/repos/testing-x86_64/dovecot.sh
(from rev 163916, dovecot/trunk/dovecot.sh)
  dovecot/repos/testing-x86_64/dovecot.tmpfilesd
(from rev 163916, dovecot/trunk/dovecot.tmpfilesd)

--+
 testing-i686/PKGBUILD|   78 +
 testing-i686/dovecot.install |   58 +++
 testing-i686/dovecot.sh  |   69 
 testing-i686/dovecot.tmpfilesd   |1 
 testing-x86_64/PKGBUILD  |   78 +
 testing-x86_64/dovecot.install   |   58 +++
 testing-x86_64/dovecot.sh|   69 
 testing-x86_64/dovecot.tmpfilesd |1 
 8 files changed, 412 insertions(+)

Copied: dovecot/repos/testing-i686/PKGBUILD (from rev 163916, 
dovecot/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-07-22 09:43:00 UTC (rev 163917)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Andreas Radke andy...@archlinux.org
+# Contributor: Paul Mattal p...@mattal.com
+# Contributor: Federico Quagliata (quaqo) qu...@despammed.com
+# Contributor: GARETTE Emmanuel gnunux at laposte dot net
+
+pkgname=dovecot
+pkgver=2.1.8
+pkgrel=2
+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=3.7.5' 'libmysqlclient=5.5.10'
+'postgresql-libs=9.0.3' 'bzip2' 'expat' 'curl')
+makedepends=('pam=1.1.1' 'libcap=2.19' 'libldap=2.4.22' 'clucene')
+optdepends=('libldap: ldap plugin'
+   'clucene: alternative FTS indexer')
+provides=('imap-server' 'pop3-server')
+options=('!libtool')
+install=$pkgname.install
+source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig}
+dovecot.sh
+dovecot.tmpfilesd)
+md5sums=('c6d962653b0a7f2ab8d892b53ddf0101'
+ '99118d4accb282d70242e813975d86b5'
+ '587159e84e2da6f83d70b3c706ba87cc'
+ '342a28251d40f983c98c0d1f1bf3d07d')
+
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+
+  # fix build with recent clucene (FC)
+  sed -i '/DEFAULT_INCLUDES *=/s|$| '$(pkg-config --cflags libclucene-core)| 
src/plugins/fts-lucene/Makefile.in
+
+  # 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 \
+   --with-mysql \
+   --with-pgsql \
+   --with-sqlite \
+   --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl \
+   --with-gssapi \
+   --with-ldap=plugin \
+   --with-zlib --with-bzlib \
+   --with-libcap \
+   --with-solr \
+   --with-lucene \
+   --with-docs
+  make
+}
+
+package() {
+  cd ${srcdir}/$pkgname-$pkgver
+  make DESTDIR=${pkgdir} install
+
+  # install the launch script
+  install -D -m755 ${srcdir}/$pkgname.sh ${pkgdir}/etc/rc.d/$pkgname
+
+  # 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
+}

Copied: dovecot/repos/testing-i686/dovecot.install (from rev 163916, 
dovecot/trunk/dovecot.install)
===
--- testing-i686/dovecot.install(rev 0)
+++ testing-i686/dovecot.install2012-07-22 09:43:00 UTC