tags 417034 + patch
thanks
Hi,
Attached is the diff for my midentd 2.3.1-3.1 NMU during the current BSP
which I uploaded to delayed-0.
--
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D
diff -u midentd-2.3.1/debian/control midentd-2.3.1/debian/control
--- midentd-2.3.1/debian/control
+++ midentd-2.3.1/debian/control
@@ -7,7 +7,7 @@
Package: midentd
Architecture: any
-Depends: netbase, adduser, dpkg (>= 1.9.21)
+Depends: netbase, adduser, dpkg (>= 1.9.21), update-inetd
Conflicts: pidentd
Replaces: pidentd
Description: An ident replacement with masquerading support.
diff -u midentd-2.3.1/debian/postrm midentd-2.3.1/debian/postrm
--- midentd-2.3.1/debian/postrm
+++ midentd-2.3.1/debian/postrm
@@ -6,7 +6,9 @@
#DEBHELPER#
if [ "$1" = "purge" ]; then
- update-inetd --pattern "midentd" --remove ident
+ if [ -f /usr/sbin/update-inetd ]; then
+ /usr/sbin/update-inetd --pattern "midentd" --remove ident
+ fi
rm -f /var/log/midentd.log* /var/log/midentd/*
rm -f /etc/midentd*
else
@@ -19,3 +21,5 @@
fi
- update-inetd --add "ident stream tcp nowait nobody /usr/sbin/identd identd -i"
+ if [ -f /usr/sbin/update-inetd ]; then
+ update-inetd --add "ident stream tcp nowait nobody /usr/sbin/identd identd -i"
+ fi
fi
diff -u midentd-2.3.1/debian/changelog midentd-2.3.1/debian/changelog
--- midentd-2.3.1/debian/changelog
+++ midentd-2.3.1/debian/changelog
@@ -1,3 +1,11 @@
+midentd (2.3.1-3.1) unstable; urgency=high
+
+ * Non-maintainer upload during BSP.
+ * Fix non-conditional use of update-inetd in postrm (Closes: #417034).
+ * Add depends on update-inetd as it is used in prerm and postinst.
+
+ -- Luk Claes <[EMAIL PROTECTED]> Thu, 17 May 2007 01:52:09 +0200
+
midentd (2.3.1-3) unstable; urgency=low
* Before trying to remove an override, see if there IS one.