Hi, the nsca package needed some work so I jumped in. It would be really nice to get a free exeception for the following diff which fixes mostly documentation and release goal stuff. Diff follows, package is not uploaded yet. Alex diff -u nsca-2.6/debian/nsca.init nsca-2.6/debian/nsca.init --- nsca-2.6/debian/nsca.init +++ nsca-2.6/debian/nsca.init @@ -1,4 +1,11 @@ #!/bin/sh +### BEGIN INIT INFO +# Provides: nsca +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO # simple debian init script for nsca # by sean finney <seanius@debian.org> @@ -41,8 +48,8 @@ SSD_STOPOPTS="--pidfile $PIDFILE" fi -SSD_START="/sbin/start-stop-daemon -S $SSD_STARTOPTS --exec $DAEMON" -SSD_STOP="/sbin/start-stop-daemon -K $SSD_STOPOPTS --exec $DAEMON" +SSD_START="/sbin/start-stop-daemon --oknodo -S $SSD_STARTOPTS --exec $DAEMON" +SSD_STOP="/sbin/start-stop-daemon --oknodo -K $SSD_STOPOPTS --exec $DAEMON" die(){ echo $@ diff -u nsca-2.6/debian/control nsca-2.6/debian/control --- nsca-2.6/debian/control +++ nsca-2.6/debian/control @@ -2,7 +2,7 @@ Section: net Priority: optional Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org> -Uploaders: sean finney <seanius@debian.org>, Cajus Pollmeier <cajus@debian.org> +Uploaders: sean finney <seanius@debian.org>, Cajus Pollmeier <cajus@debian.org>, Alexander Wirt <formorer@debian.org> Standards-Version: 3.8.0 Build-Depends: libmcrypt-dev, dpatch, debhelper (>= 4.0.0), po-debconf diff -u nsca-2.6/debian/README.debian nsca-2.6/debian/README.debian --- nsca-2.6/debian/README.debian +++ nsca-2.6/debian/README.debian @@ -5,6 +5,9 @@ init script /etc/init.d/nsca, however, it can also be run from the various inetd implementations. +If you want to launch nsca as a daemon from init you can call +"dpkg-reconfigure nsca" to get the startup links. + if you want nsca to work with inetd, you need to add the following line to your inetd.conf: diff -u nsca-2.6/debian/changelog nsca-2.6/debian/changelog --- nsca-2.6/debian/changelog +++ nsca-2.6/debian/changelog @@ -1,3 +1,17 @@ +nsca (2.6-4) UNRELEASED; urgency=low + + [ Alexander Wirt ] + * Don't fail if nsca is already started or stopped (Closes: #496810) + * Add myself to uploaders + * Add LSB dependency info to initscript (Closes: #466261) + * Update postinst to nagios3 (Closes: #495034) + * Mention dpkg-reconfigure in README.debian + * Add po-debconf as build-dependency + * Integrate last nmus and acknowledge them (Closes: #484419, #432465) + also Closes: #448119, #414590, #476814, #476878, #476918, #477985 + + -- Alexander Wirt <formorer@debian.org> Fri, 12 Sep 2008 08:28:29 +0200 + nsca (2.6-3.2) unstable; urgency=medium * Non-maintainer upload. only in patch2: unchanged: --- nsca-2.6.orig/debian/prerm +++ nsca-2.6/debian/prerm @@ -0,0 +1,11 @@ +#!/bin/sh -e + +if [ -x "/etc/init.d/nsca" ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d nsca stop || exit 0 + else + /etc/init.d/nsca stop || exit 0 + fi +fi + +#DEBHELPER# -- Alexander Wirt, formorer@formorer.de CC99 2DDD D39E 75B0 B0AA B25C D35B BC99 BC7D 020A
Attachment:
signature.asc
Description: Digital signature