Hi, The following is the diff for my blootbot 1.2.0-6.1 NMU.
diff -u blootbot-1.2.0/debian/control blootbot-1.2.0/debian/control --- blootbot-1.2.0/debian/control +++ blootbot-1.2.0/debian/control @@ -8,7 +8,7 @@ Package: blootbot Architecture: all -Depends: ${perl:Depends}, debconf (>= 1.2.9) | debconf-2.0, libnet-irc-perl, libdbd-mysql-perl, libdbi-perl, adduser +Depends: ${perl:Depends}, debconf (>= 1.2.9) | debconf-2.0, libnet-irc-perl, libdbd-mysql-perl, libdbi-perl, adduser, lsb-base Recommends: mysql-server, libwww-perl, libwww-search-perl, libhtml-parser-perl, libxml-parser-perl, liburi-perl, libnet-perl, libnet-telnet-perl Suggests: bzip2 Description: a severely modified infobot for IRC diff -u blootbot-1.2.0/debian/init.d blootbot-1.2.0/debian/init.d --- blootbot-1.2.0/debian/init.d +++ blootbot-1.2.0/debian/init.d @@ -5,12 +5,23 @@ # Written by Miquel van Smoorenburg <[EMAIL PROTECTED]>. # Modified for Debian GNU/Linux # by Ian Murdock <[EMAIL PROTECTED]>. -# Modified for blootbot -# by Andrew Suffield <[EMAIL PROTECTED]>. -# -# Version: @(#)skeleton 1.8 03-Mar-1998 [EMAIL PROTECTED] -# -# This file was automatically customized by dh-make on Mon, 7 May 2001 04:15:38 +0100 +# Modified for blootbot +# by Andrew Suffield <[EMAIL PROTECTED]>. +# Neil McGovern <[EMAIL PROTECTED]> +# +### BEGIN INIT INFO +# Provides: blootbot +# Required-Start: $remote_fs $syslog $network $time +# Required-Stop: $remote_fs $syslog $network $time +# Should-Start: mysql mysql-ndb mysql-ndb-mgm postgresql +# Should-Stop: mysql mysql-ndb mysql-ndb-mgm postgresql +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start blootbot at boot time +# Description: Enable blootbot server to connect to IRC at boot time +### END INIT INFO + +. /lib/lsb/init-functions PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/blootbot @@ -23,16 +34,16 @@ case "$1" in start) - echo -n "Starting $DESC: " + log_begin_msg "Starting $DESC: " start-stop-daemon --start --quiet --pidfile /var/run/blootbot/$NAME.pid \ --background --chuid blootbot --exec $DAEMON - echo "$NAME." + log_end_msg $? ;; stop) - echo -n "Stopping $DESC: " + log_begin_msg "Stopping $DESC: " start-stop-daemon --stop --quiet --pidfile /var/run/blootbot/$NAME.pid \ --oknodo --exec /usr/bin/perl - echo "$NAME." + log_end_msg $? ;; reload|force-reload) # @@ -42,9 +53,10 @@ # If the daemon responds to changes in its config file # directly anyway, make this a do-nothing entry. # - echo "Reloading $DESC configuration files." + log_begin_msg "Reloading $DESC configuration files." start-stop-daemon --stop --signal 1 --quiet --pidfile /var/run/blootbot/$NAME.pid \ --oknodo --exec /usr/bin/perl + log_end_msg $? ;; restart) # @@ -52,13 +64,10 @@ # option to the "reload" entry above. If not, "force-reload" is # just the same as "restart". # - echo -n "Restarting $DESC: " - start-stop-daemon --stop --quiet --pidfile /var/run/blootbot/$NAME.pid \ - --oknodo --exec /usr/bin/perl + log_begin_msg"Restarting $DESC: " + $0 stop sleep 1 - start-stop-daemon --start --quiet --pidfile /var/run/blootbot/$NAME.pid \ - --background --chuid blootbot --exec $DAEMON - echo "$NAME." + $0 start ;; *) N=/etc/init.d/$NAME diff -u blootbot-1.2.0/debian/changelog blootbot-1.2.0/debian/changelog --- blootbot-1.2.0/debian/changelog +++ blootbot-1.2.0/debian/changelog @@ -1,3 +1,11 @@ +blootbot (1.2.0-6.1) unstable; urgency=low + + * Non-maintainer upload with maintainer approval. + * Add LSB formatted dependency info in init.d script + (Closes: #469623) and corresponding lsb-base dependency. + + -- Thijs Kinkhorst <[EMAIL PROTECTED]> Sun, 15 Jun 2008 12:30:14 +0200 + blootbot (1.2.0-6) unstable; urgency=low * Added .es pofile, thanks to Steve Lord Flaubert <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]