tags 417020 + patch
thanks
Hi,
Attached is the diff for my mailping 0.0.4-0.2 NMU during this BSP
which is 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 -Nru /tmp/ENkA2NRvup/mailping-0.0.4/debian/changelog /tmp/vto3Mjinvv/mailping-0.0.4/debian/changelog
--- /tmp/ENkA2NRvup/mailping-0.0.4/debian/changelog 2006-08-12 13:48:51.000000000 +0200
+++ /tmp/vto3Mjinvv/mailping-0.0.4/debian/changelog 2007-05-17 01:04:26.000000000 +0200
@@ -1,3 +1,11 @@
+mailping (0.0.4-0.2) unstable; urgency=high
+
+ * Non-maintainer upload during BSP.
+ * Fix non-conditional use of userdel in postrm (Closes: #417020).
+ * Add depends on adduser as it is used in postinst.
+
+ -- Luk Claes <[EMAIL PROTECTED]> Thu, 17 May 2007 01:04:08 +0200
+
mailping (0.0.4-0.1) unstable; urgency=low
* Non-maintainer upload.
diff -Nru /tmp/ENkA2NRvup/mailping-0.0.4/debian/control /tmp/vto3Mjinvv/mailping-0.0.4/debian/control
--- /tmp/ENkA2NRvup/mailping-0.0.4/debian/control 2006-08-12 13:50:06.000000000 +0200
+++ /tmp/vto3Mjinvv/mailping-0.0.4/debian/control 2007-05-17 01:11:09.000000000 +0200
@@ -8,7 +8,7 @@
Package: mailping
Architecture: all
-Depends: ${python:Depends}, munin-node
+Depends: ${python:Depends}, munin-node, adduser
Description: monitor email service availability and functioning
Monitor email service availability and functioning. Tests the whole
route from SMTP submission to local delivery, not just whether an
diff -Nru /tmp/ENkA2NRvup/mailping-0.0.4/debian/mailping.postrm /tmp/vto3Mjinvv/mailping-0.0.4/debian/mailping.postrm
--- /tmp/ENkA2NRvup/mailping-0.0.4/debian/mailping.postrm 2004-04-16 19:57:03.000000000 +0200
+++ /tmp/vto3Mjinvv/mailping-0.0.4/debian/mailping.postrm 2007-05-17 00:58:46.000000000 +0200
@@ -33,9 +33,11 @@
remove_system_user() {
chown -R root:root /var/lib/mailping/Maildir
- if getent passwd mailping >/dev/null; then
- userdel mailping
- fi
+ if [ -f /usr/sbin/userdel ]; then
+ if getent passwd mailping >/dev/null; then
+ /usr/sbin/userdel mailping
+ fi
+ fi
}
if [ "$1" = "remove" ]; then