[arch-commits] Commit in courier-imap/trunk (PKGBUILD courier-imap.rc.d)

Paul Mattal paul at archlinux.org
Sun Dec 6 18:49:55 UTC 2009


    Date: Sunday, December 6, 2009 @ 13:49:55
  Author: paul
Revision: 60746

upgpkg: courier-imap 4.4.1-3
    added authdaemon check to close FS#13909

Modified:
  courier-imap/trunk/PKGBUILD
  courier-imap/trunk/courier-imap.rc.d

-------------------+
 PKGBUILD          |    4 ++--
 courier-imap.rc.d |    5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-12-06 18:26:55 UTC (rev 60745)
+++ PKGBUILD	2009-12-06 18:49:55 UTC (rev 60746)
@@ -4,7 +4,7 @@
 
 pkgname=courier-imap
 pkgver=4.4.1
-pkgrel=2
+pkgrel=3
 pkgdesc="IMAP(s)/POP3(s) Server"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -20,7 +20,7 @@
 source=(http://downloads.sourceforge.net/project/courier/imap/${pkgver}/${pkgname}-${pkgver}.tar.bz2
         courier-imap.conf.d courier-imap.rc.d)
 md5sums=('71482dff367e5161a3c0f9c61bbfd2b1' 'f00a0756ae41d9e993d141f24de8bf64' \
-         'e01be01a11654ce437f53d92ebc696c0')
+         '55e0cac6fc0b7193d32c1d67d25a350b')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}

Modified: courier-imap.rc.d
===================================================================
--- courier-imap.rc.d	2009-12-06 18:26:55 UTC (rev 60745)
+++ courier-imap.rc.d	2009-12-06 18:49:55 UTC (rev 60746)
@@ -1,11 +1,16 @@
 CI_DAEMONS=
 [ -f /etc/conf.d/courier-imap ] && . /etc/conf.d/courier-imap
+[ -z $AUTO_AUTHDAEMON_LAG ]   && AUTO_AUTHDAEMON_LAG=2
 
 . /etc/rc.conf
 . /etc/rc.d/functions
 
 case "$1" in
   start)
+    if [ ${AUTO_AUTHDAEMON="true"} ]; then
+      /etc/rc.d/authdaemond start
+      sleep ${AUTO_AUTHDAEMON_LAG}
+    fi
     if [ ! -f /var/run/daemons/authdaemond ]; then
       echo "ERROR: authdaemond is not running"
       stat_fail




More information about the arch-commits mailing list