I just uploaded a non-maintainer upload with the attached patch.
Please note that this NMu will not only fix the RC bug but also remove the abusive debconf note and add LSB-formatted headers to the init script (I checked that this would be accepted by the release managers).
diff -Nru tenshi-0.4.old/debian/changelog tenshi-0.4/debian/changelog --- tenshi-0.4.old/debian/changelog 2007-01-16 00:00:04.779803627 +0100 +++ tenshi-0.4/debian/changelog 2007-01-16 20:31:54.287675383 +0100 @@ -1,3 +1,19 @@ +tenshi (0.4-1.1) unstable; urgency=low + + * Non-maintainer upload to fix an RC bug and + longstanding debconf abuse + * Include the includes-active in directories created under + /etc/tenshi + * Remove the debconf note. Closes: #357596 + This also removes the need for translations. + Sorry to the Czech translator. Closes: #360284 + This also fixes the incorrect debconf dependency that was + blocking the cdebconf transition. + * Lintian fix: + - Add a LSB header to the init script + + -- Christian Perrier <[EMAIL PROTECTED]> Tue, 16 Jan 2007 20:19:50 +0100 + tenshi (0.4-1) unstable; urgency=low * Initial release Closes: #268259 diff -Nru tenshi-0.4.old/debian/config tenshi-0.4/debian/config --- tenshi-0.4.old/debian/config 2007-01-16 00:00:04.779803627 +0100 +++ tenshi-0.4/debian/config 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -#!/bin/sh -e - -# Source debconf library. -. /usr/share/debconf/confmodule - -db_input high tenshi/note || true -db_go - - diff -Nru tenshi-0.4.old/debian/control tenshi-0.4/debian/control --- tenshi-0.4.old/debian/control 2007-01-16 00:00:04.779803627 +0100 +++ tenshi-0.4/debian/control 2007-01-16 07:55:45.381253954 +0100 @@ -3,12 +3,11 @@ Priority: optional Maintainer: Tadeusz Pietraszek <[EMAIL PROTECTED]> Build-Depends: debhelper (>= 5.0.0) -Build-Depends-Indep: po-debconf Standards-Version: 3.6.2.1 Package: tenshi Architecture: all -Depends: ${perl:Depends}, adduser, debconf (>= 0.2.17) +Depends: ${perl:Depends}, adduser Description: log monitoring and reporting tool Tenshi is a log monitoring program, designed to watch one or more log files for lines matching user defined regular expressions and report on the matches. diff -Nru tenshi-0.4.old/debian/init.d tenshi-0.4/debian/init.d --- tenshi-0.4.old/debian/init.d 2007-01-16 00:00:04.779803627 +0100 +++ tenshi-0.4/debian/init.d 2007-01-16 20:19:40.474550286 +0100 @@ -2,6 +2,14 @@ # # Debian configuration file - copied from tenshi.debian-init # +### BEGIN INIT INFO +# Provides: tenshi +# Required-Start: $local_fs $remote_fs $syslog $named $network $mail +# Required-Stop: $local_fs $remote_fs $syslog $named $network $mail +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: tenshi log monitoring and reporting tool +### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/tenshi diff -Nru tenshi-0.4.old/debian/postinst tenshi-0.4/debian/postinst --- tenshi-0.4.old/debian/postinst 2007-01-16 00:00:04.779803627 +0100 +++ tenshi-0.4/debian/postinst 2007-01-16 08:01:05.779590848 +0100 @@ -5,8 +5,6 @@ set -e -. /usr/share/debconf/confmodule - # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> @@ -34,9 +32,6 @@ #update the init.d links /usr/sbin/update-rc.d tenshi defaults >/dev/null - #need to do this since we started a daemon - db_stop - ;; abort-upgrade|abort-remove|abort-deconfigure) diff -Nru tenshi-0.4.old/debian/templates tenshi-0.4/debian/templates --- tenshi-0.4.old/debian/templates 2007-01-16 00:00:04.779803627 +0100 +++ tenshi-0.4/debian/templates 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -Template: tenshi/note -Type: note -_Description: Important information about Tenshi - You have just installed Tenshi - a log monitoring program. - . - Note that (unlike some other programs) this program will only be useful if - it has been customized. You're strongly advised to read the package manual - (man 8 tenshi) and edit the main configuration file - (/etc/tenshi/tenshi.conf). - . - To facilitate the use of the program, we have split service-specific - confi- guration files into many files located under - /etc/tenshi/includes-available which can be activated by linking them into - /etc/tenshi/includes-active. - . - Currently all the files are disabled and the package uses a single - "catch-all" rule. - . - (The content of this file can be found under - /usr/share/doc/tenshi/README.Debian)
signature.asc
Description: Digital signature