[Pkg-openssl-changes] r133 - openssl/trunk/debian

Kurt Roeckx kroeckx at costa.debian.org
Mon May 1 12:30:43 UTC 2006


Author: kroeckx
Date: 2006-05-01 12:30:42 +0000 (Mon, 01 May 2006)
New Revision: 133

Modified:
   openssl/trunk/debian/changelog
   openssl/trunk/debian/libssl0.9.8.postinst
Log:
Add workaround to find the name of the init script for proftpd and dovecot.


Modified: openssl/trunk/debian/changelog
===================================================================
--- openssl/trunk/debian/changelog	2006-05-01 12:27:27 UTC (rev 132)
+++ openssl/trunk/debian/changelog	2006-05-01 12:30:42 UTC (rev 133)
@@ -16,6 +16,8 @@
       fetchmail ftpd-ssl proftpd proftpd-ldap proftpd-mysql proftpd-pgsql
   * libssl0.9.8.postinst: The check to see if something was installed
     wasn't working.
+  * libssl0.9.8.postinst: Add workaround to find the name of the init 
+    script for proftpd and dovecot.
 
  -- Kurt Roeckx <kurt at roeckx.be>  Thu,  6 Apr 2006 20:34:07 +0200
 

Modified: openssl/trunk/debian/libssl0.9.8.postinst
===================================================================
--- openssl/trunk/debian/libssl0.9.8.postinst	2006-05-01 12:27:27 UTC (rev 132)
+++ openssl/trunk/debian/libssl0.9.8.postinst	2006-05-01 12:30:42 UTC (rev 133)
@@ -78,6 +78,13 @@
 	    check=$(echo $check | sed 's/apache2-common/apache2/g')
 	    # For mod-ssl apache has to be restarted
 	    check=$(echo $check | sed 's/libapache-mod-ssl/apache/g')
+	    # The name of proftpd-{ldap,mysql,pgsql} init script is
+	    # same as "proftpd".
+	    check=$(echo $check | sed 's/proftpd-.*/proftpd/g')
+            # dovecot-common ships its init script, but the
+	    # script name is dovecot for dovecot-{imapd,pop3d}.
+	    check=$(echo $check | sed 's/dovecot-common/dovecot/g')
+
 	    rl=$(runlevel | awk '{print $2}')
 	    for service in $check; do
 		if [ -f /usr/share/file-rc/rc -o -f /usr/lib/file-rc/rc ] && [ -f /etc/runlevel.conf ]; then




More information about the Pkg-openssl-changes mailing list