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

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Aug 17 17:34:44 UTC 2010


    Date: Tuesday, August 17, 2010 @ 13:34:44
  Author: andyrtr
Revision: 87677

upgpkg: dovecot 2.0.0-1
new version 2.0.0; first testing pkg

Modified:
  dovecot/trunk/PKGBUILD
  dovecot/trunk/dovecot.install

-----------------+
 PKGBUILD        |   12 +++++++-----
 dovecot.install |    6 +++++-
 2 files changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-17 17:31:32 UTC (rev 87676)
+++ PKGBUILD	2010-08-17 17:34:44 UTC (rev 87677)
@@ -12,15 +12,17 @@
 arch=('i686' 'x86_64')
 url="http://dovecot.org/"
 license=("LGPL")
-depends=("pam>=1.0.4" "libmysqlclient>=5.1.38" "postgresql-libs>=8.4.1-1" "sqlite3>=3.6.18" "db>=4.8"
-	 "heimdal>=1.3.1" 'libcap>=2.17' 'bzip2' 'curl')
-optdepends=('libldap: ldap plugin')
-makedepends=('libldap>=2.4.18-1')
+depends=('openssl' 'sqlite3>=3.7.0.1' 'bzip2' 'expat')
+makedepends=('pam>=1.1.1' 'heimdal>=1.3.3' 'libcap>=2.19' 
+	 'libldap>=2.4.22' 'libmysqlclient>=5.1.47' 'postgresql-libs>=8.4.4' 'curl')
+optdepends=('libldap: ldap plugin'
+            'libmysqlclient: for MySQL back end'
+	    'postgresql-libs: for Postgres SQl back end')
 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.conf,20-imap,20-lmtp,20-pop3}.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)

Modified: dovecot.install
===================================================================
--- dovecot.install	2010-08-17 17:31:32 UTC (rev 87676)
+++ dovecot.install	2010-08-17 17:34:44 UTC (rev 87677)
@@ -2,12 +2,16 @@
 post_install() {
     if [ -z "`grep '^dovecot:' /etc/group`" ]; then
 	groupadd -g 76 dovecot >& /dev/null
+    fi
+    if [ -z "`grep '^dovenull:' /etc/group`" ]; then
 	groupadd -g 74 dovenull >& /dev/null
     fi
     if [ -z "`grep '^dovecot:' /etc/passwd`" ]; then
 	useradd -u 76 -d /var/run/dovecot/login -g dovecot -s /bin/false dovecot
-    	useradd -u 74 -d /var/run/dovenull/login -g dovecot -s /bin/false dovenull
     fi
+    if [ -z "`grep '^dovenull:' /etc/passwd`" ]; then
+    	useradd -u 74 -d /var/run/dovenull/login -g dovecot -s /bin/false dovenull    
+    fi
 }
 
 # arg 1:  the new package version




More information about the arch-commits mailing list