On Sun, Mar 18, 2007 at 06:21:28PM -0700, Steve Langasek wrote: > tags 413397 patch > thanks
> Ok, the attached patch has the following properties: Well, except it also has the property of a basic shell syntax error in the postrm. ;) Here's the fixed patch. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
diff -u ifmail-2.14tx8.10/debian/changelog ifmail-2.14tx8.10/debian/changelog --- ifmail-2.14tx8.10/debian/changelog +++ ifmail-2.14tx8.10/debian/changelog @@ -1,3 +1,13 @@ +ifmail (2.14tx8.10-19.2) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Add missing dependency on update-inetd to ifcico, and fix the + maintainer script handling to only add entries on a new install and + only remove them on purge. Closes: #413397. + + -- Steve Langasek <[EMAIL PROTECTED]> Sun, 18 Mar 2007 01:42:26 -0700 + ifmail (2.14tx8.10-19.1) unstable; urgency=high * Non-maintainer upload. diff -u ifmail-2.14tx8.10/debian/control ifmail-2.14tx8.10/debian/control --- ifmail-2.14tx8.10/debian/control +++ ifmail-2.14tx8.10/debian/control @@ -23,7 +23,7 @@ Package: ifcico Architecture: any -Depends: ${shlibs:Depends}, ifmail +Depends: ${shlibs:Depends}, ifmail, update-inetd Conflicts: suidmanager (<< 0.50) Description: Fidonet Technology transport package Ifcico is a FidoTech mailer for connecting to other nodes via the phone diff -u ifmail-2.14tx8.10/debian/ifcico.postrm ifmail-2.14tx8.10/debian/ifcico.postrm --- ifmail-2.14tx8.10/debian/ifcico.postrm +++ ifmail-2.14tx8.10/debian/ifcico.postrm @@ -1,13 +1,17 @@ #!/bin/sh -e -update-inetd --remove "^tfido" -update-inetd --comment-chars "#disabled#" --enable tfido -update-inetd --remove "^fido" -update-inetd --comment-chars "#disabled#" --enable fido - if [ "$1" = "purge" ]; then + if which update-inetd >/dev/null 2>&1; then + update-inetd --remove "^tfido.*/usr/lib/ifmail/ifcico" + update-inetd --comment-chars "#disabled#" --enable tfido + update-inetd --remove "^fido.*/usr/lib/ifmail/ifcico" + update-inetd --comment-chars "#disabled#" --enable fido + fi rm -rf /var/spool/ftn/nl.d/index.dir \ /var/spool/ftn/nl.d/index.pag >/dev/null +elif which update-inetd >/dev/null 2>&1; then + update-inetd --disable "^tfido.*/usr/lib/ifmail/ifcico" + update-inetd --disable "^fido.*/usr/lib/ifmail/ifcico" fi #DEBHELPER#