Package:  courier-imap courier-imap-ssl courier-ldap courier-mlm courier-mta 
courier-mta-ssl courier-pcp courier-pop courier-pop-ssl sqwebmail
Version:  0.47-1
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: missing-dependency

To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts.  The Linux Software Base specifies a init.d
header file format useful for this purpose, and adding such header to
the init.d script would make it possible for me to use this
information to check the current sequence and to speed up the debian
boot.

I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.
Because of this, it is nice if the dependencies was updated quickly.

<URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
documents the LSB header format.  Some debian notes are available from
<URL:http://wiki.debian.org/LSBInitScripts>.

Here is a patch to document the dependencies.  I hope this is correct.

diff -ur courier-0.58.0.orig/debian/courier-imap.init 
courier-0.58.0/debian/courier-imap.init
--- courier-0.58.0.orig/debian/courier-imap.init        2007-12-31 
11:04:07.000000000 +0100
+++ courier-0.58.0/debian/courier-imap.init     2007-12-31 11:11:39.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/bash -e
+### BEGIN INIT INFO
+# Provides:          courier-imap
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 prefix="/usr"
 exec_prefix=${prefix}
diff -ur courier-0.58.0.orig/debian/courier-imap-ssl.init 
courier-0.58.0/debian/courier-imap-ssl.init
--- courier-0.58.0.orig/debian/courier-imap-ssl.init    2007-12-31 
11:04:07.000000000 +0100
+++ courier-0.58.0/debian/courier-imap-ssl.init 2007-12-31 11:11:33.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/bash -e
+### BEGIN INIT INFO
+# Provides:          courier-imap-ssl
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 prefix="/usr"
 exec_prefix=${prefix}
diff -ur courier-0.58.0.orig/debian/courier-ldap.init 
courier-0.58.0/debian/courier-ldap.init
--- courier-0.58.0.orig/debian/courier-ldap.init        2007-12-31 
11:04:07.000000000 +0100
+++ courier-0.58.0/debian/courier-ldap.init     2007-12-31 11:11:23.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          courier-ldap
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # Copyright 2002,2006 by Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
 #
diff -ur courier-0.58.0.orig/debian/courier-mlm.init 
courier-0.58.0/debian/courier-mlm.init
--- courier-0.58.0.orig/debian/courier-mlm.init 2007-12-31 11:04:07.000000000 
+0100
+++ courier-0.58.0/debian/courier-mlm.init      2007-12-31 11:11:15.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          courier-mlm
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # Copyright 2007 by Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
 #
diff -ur courier-0.58.0.orig/debian/courier-mta.init 
courier-0.58.0/debian/courier-mta.init
--- courier-0.58.0.orig/debian/courier-mta.init 2007-12-31 11:04:07.000000000 
+0100
+++ courier-0.58.0/debian/courier-mta.init      2007-12-31 11:11:05.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          courier-mta
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 prefix="/usr"
 exec_prefix=${prefix}
diff -ur courier-0.58.0.orig/debian/courier-mta-ssl.init 
courier-0.58.0/debian/courier-mta-ssl.init
--- courier-0.58.0.orig/debian/courier-mta-ssl.init     2007-12-31 
11:04:07.000000000 +0100
+++ courier-0.58.0/debian/courier-mta-ssl.init  2007-12-31 11:10:58.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          courier-mta-ssl
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 sysconfdir="/etc/courier"
 sbindir="/usr/sbin"
diff -ur courier-0.58.0.orig/debian/courier-pcp.init 
courier-0.58.0/debian/courier-pcp.init
--- courier-0.58.0.orig/debian/courier-pcp.init 2007-12-31 11:04:07.000000000 
+0100
+++ courier-0.58.0/debian/courier-pcp.init      2007-12-31 11:10:47.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          courier-pcp
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # Copyright 2002,2004 by Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
 #
diff -ur courier-0.58.0.orig/debian/courier-pop.init 
courier-0.58.0/debian/courier-pop.init
--- courier-0.58.0.orig/debian/courier-pop.init 2007-12-31 11:04:07.000000000 
+0100
+++ courier-0.58.0/debian/courier-pop.init      2007-12-31 11:10:37.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          courier-pop
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 prefix="/usr"
 exec_prefix=${prefix}
diff -ur courier-0.58.0.orig/debian/courier-pop-ssl.init 
courier-0.58.0/debian/courier-pop-ssl.init
--- courier-0.58.0.orig/debian/courier-pop-ssl.init     2007-12-31 
11:04:07.000000000 +0100
+++ courier-0.58.0/debian/courier-pop-ssl.init  2007-12-31 11:10:02.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          courier-pop-ssl
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 
 prefix="/usr"
 exec_prefix=${prefix}
diff -ur courier-0.58.0.orig/debian/sqwebmail.init 
courier-0.58.0/debian/sqwebmail.init
--- courier-0.58.0.orig/debian/sqwebmail.init   2007-12-31 11:04:07.000000000 
+0100
+++ courier-0.58.0/debian/sqwebmail.init        2007-12-31 11:10:26.000000000 
+0100
@@ -1,4 +1,11 @@
 #! /bin/sh -e
+### BEGIN INIT INFO
+# Provides:          sqwebmail
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 #
 # Copyright 2003,2004,2007 by Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
 #



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to