Your message dated Sat, 09 Sep 2006 14:32:17 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#384823: fixed in courier-authlib 0.58-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: courier-authdaemon
Version: 0.58
Severity: minor
Tags: patch

Hi,

the attached patch changes the courier-authdaemon init.d script(s) to use lsb
logging functions.

Regards,
David
diff -ur ./courier-authlib-0.58.orig/debian/control 
./courier-authlib-0.58/debian/control
--- ./courier-authlib-0.58.orig/debian/control  2006-08-27 02:36:25.000000000 
+0200
+++ ./courier-authlib-0.58/debian/control       2006-08-27 02:58:27.000000000 
+0200
@@ -15,7 +15,7 @@
 
 Package: courier-authdaemon
 Architecture: any
-Depends: ${shlibs:Depends}, courier-authlib (>= ${RELUP})
+Depends: ${shlibs:Depends}, courier-authlib (>= ${RELUP}), lsb-base (>= 3.0-10)
 Description: Courier authentication daemon
  This package contains the authentication daemon for the Courier applications.
 
diff -ur ./courier-authlib-0.58.orig/debian/courier-authdaemon.init 
./courier-authlib-0.58/debian/courier-authdaemon.init
--- ./courier-authlib-0.58.orig/debian/courier-authdaemon.init  2006-08-27 
02:36:25.000000000 +0200
+++ ./courier-authlib-0.58/debian/courier-authdaemon.init       2006-08-27 
02:57:49.000000000 +0200
@@ -6,34 +6,35 @@
 sbindir="${exec_prefix}/sbin"
 daemonscript="${sbindir}/authdaemond"
 
+. /lib/lsb/init-functions
+
+# Check for a leftover init script
+if [ ! -x $daemonscript ]; then
+       exit 0
+fi
+
 case "$1" in
 start)
         # Start daemons.
-               cd /
-        if test -x $daemonscript
-        then
-                               echo -n "Starting Courier authentication 
services: "
-                $daemonscript start
-                echo "done."
-        fi
+       cd /
+       log_daemon_msg "Starting Courier authentication services" "authdaemond"
+       $daemonscript start
+       log_end_msg 0
        ;;
 stop)
-               # Stop daemons.
-               cd /
-        if test -x $daemonscript
-        then
-                               echo -n "Stopping Courier authentication 
services: "
-                $daemonscript stop
-                echo "done."
-        fi
+       # Stop daemons.
+       cd /
+       log_daemon_msg "Stopping Courier authentication services" "authdaemond"
+       $daemonscript stop
+       log_end_msg 0
         ;;
-restart | reload | force-reload)
+restart|reload|force-reload)
         $0 stop
         $0 start
         ;;
 *)
-               echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
-               exit 1
-               ;;
+       echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
+       exit 2
+       ;;
 esac
 exit 0

--- End Message ---
--- Begin Message ---
Source: courier-authlib
Source-Version: 0.58-4

We believe that the bug you reported is fixed in the latest version of
courier-authlib, which is due to be installed in the Debian FTP archive:

courier-authdaemon_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authdaemon_0.58-4_i386.deb
courier-authlib-dev_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib-dev_0.58-4_i386.deb
courier-authlib-ldap_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib-ldap_0.58-4_i386.deb
courier-authlib-mysql_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib-mysql_0.58-4_i386.deb
courier-authlib-pipe_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib-pipe_0.58-4_i386.deb
courier-authlib-postgresql_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib-postgresql_0.58-4_i386.deb
courier-authlib-userdb_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib-userdb_0.58-4_i386.deb
courier-authlib_0.58-4.diff.gz
  to pool/main/c/courier-authlib/courier-authlib_0.58-4.diff.gz
courier-authlib_0.58-4.dsc
  to pool/main/c/courier-authlib/courier-authlib_0.58-4.dsc
courier-authlib_0.58-4_i386.deb
  to pool/main/c/courier-authlib/courier-authlib_0.58-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Hornburg (Racke) <[EMAIL PROTECTED]> (supplier of updated 
courier-authlib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  9 Sep 2006 17:37:11 +0200
Source: courier-authlib
Binary: courier-authlib-pipe courier-authlib-mysql courier-authlib-dev 
courier-authlib-ldap courier-authdaemon courier-authlib 
courier-authlib-postgresql courier-authlib-userdb
Architecture: source i386
Version: 0.58-4
Distribution: unstable
Urgency: medium
Maintainer: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Changed-By: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Description: 
 courier-authdaemon - Courier authentication daemon
 courier-authlib - Courier authentication library
 courier-authlib-dev - Development libraries for the Courier authentication 
library
 courier-authlib-ldap - LDAP support for the Courier authentication library
 courier-authlib-mysql - MySQL support for the Courier authentication library
 courier-authlib-pipe - External authentication support for the Courier 
authentication li
 courier-authlib-postgresql - PostgreSQL support for the Courier authentication 
library
 courier-authlib-userdb - userdb support for the Courier authentication library
Closes: 378249 384823
Changes: 
 courier-authlib (0.58-4) unstable; urgency=medium
 .
   * call dh_makeshlibs during binary-arch target in order to get proper shlib
     information for libcourierauth.so (Closes: #378249, thanks to Charles
     Fry <[EMAIL PROTECTED]> for the report and Steinar H. Gunderson
     <[EMAIL PROTECTED]> for the patch)
   * ensure that courier-authdaemon is upgraded when switching to 
courier-authlib
   * switch to lsb logging functions (Closes: #384823, thanks to David Härdeman
     <[EMAIL PROTECTED]> for the patch)
Files: 
 e39bd193acd3ef7e2f3262e0ee10f238 950 mail optional courier-authlib_0.58-4.dsc
 417cd347cf9f1cb677a50b6a53e29127 35022 mail optional 
courier-authlib_0.58-4.diff.gz
 ff6fa025f6cee4a562a50f6bb5823bfa 76338 mail optional 
courier-authlib_0.58-4_i386.deb
 2130f1adc507f4e4bf59a3d1843caa43 6550 mail optional 
courier-authdaemon_0.58-4_i386.deb
 14782ee9fad23700b03e97e0d2a4a354 93550 mail optional 
courier-authlib-dev_0.58-4_i386.deb
 2186fa93ba465c573ce18148e4bd2a6d 33412 mail optional 
courier-authlib-userdb_0.58-4_i386.deb
 a3abb0880543b4dd4ffe8f519860cf26 18246 mail optional 
courier-authlib-mysql_0.58-4_i386.deb
 8e247d4e4ee02b866ae6f49d08992c64 18494 mail optional 
courier-authlib-postgresql_0.58-4_i386.deb
 b4f2ece6c506a48d504521d7dc478869 20950 mail optional 
courier-authlib-ldap_0.58-4_i386.deb
 0911fc8af200d14a4526ea80afca804e 7398 mail optional 
courier-authlib-pipe_0.58-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFAxy7jgVfE5tya3ERAtEKAJ9xadvQYN9ODzMrVDj+5o8SX4xHbACfcqRX
6c/zinUTXbclGkyLar9bhuo=
=LQgJ
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to