summaryrefslogtreecommitdiff
path: root/extra/dovecot/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-29 02:31:43 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-29 02:31:43 -0300
commite87b42b0f90e1a4d8b255f1dab945f2f3bb13cdc (patch)
treee36d5720f76b5db9dd5f97260108607023d7d2e7 /extra/dovecot/PKGBUILD
parentc0e37a8f32f335c12352f23cdc73113099e057ec (diff)
parent32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/avfs/PKGBUILD extra/gtk2/PKGBUILD extra/hercules/PKGBUILD multilib/lib32-libcap/PKGBUILD multilib/lib32-qt/PKGBUILD
Diffstat (limited to 'extra/dovecot/PKGBUILD')
-rw-r--r--extra/dovecot/PKGBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD
index 149274c8c..f6dcb12f2 100644
--- a/extra/dovecot/PKGBUILD
+++ b/extra/dovecot/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 151364 2012-02-25 17:40:42Z andyrtr $
+# $Id: PKGBUILD 151572 2012-02-27 18:19:51Z 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.1
-pkgrel=2
+pkgrel=3
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
arch=('i686' 'x86_64' 'mips64el')
url="http://dovecot.org/"
@@ -18,12 +18,6 @@ optdepends=('libldap: ldap plugin'
'clucene: alternative FTS indexer')
provides=('imap-server' 'pop3-server')
options=('!libtool')
-backup=(etc/dovecot/dovecot.conf
- etc/dovecot/conf.d/{10-auth,10-director,10-logging,10-mail,10-master,10-ssl}.conf
- etc/dovecot/conf.d/{15-lda,20-imap,20-lmtp,20-pop3}.conf
- etc/dovecot/conf.d/{90-acl,90-plugin,90-quota}.conf
- etc/dovecot/conf.d/auth-{checkpassword,deny,ldap,master,passwdfile,sql,static,system,vpopmail}.conf.ext
- etc/ssl/dovecot-openssl.cnf)
install=$pkgname.install
source=(http://dovecot.org/releases/2.1/${pkgname}-${pkgver}.tar.gz{,.sig} dovecot.sh)
md5sums=('db41a4de848d2bc834c30af0eb5575fd'
@@ -62,11 +56,12 @@ package() {
# 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/conf.d/*.conf ${pkgdir}/etc/dovecot/conf.d
- install -m 644 ${pkgdir}/usr/share/doc/dovecot/example-config/conf.d/*.conf.ext ${pkgdir}/etc/dovecot/conf.d
- install -m 644 ${pkgdir}/usr/share/doc/dovecot/example-config/dovecot.conf ${pkgdir}/etc/dovecot/
+ 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/
+ 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
}