tags 416730 + patch
thanks
Hi,
Attached is the diff for my clamsmtp 1.8-5.1 NMU.
diff -u clamsmtp-1.8/debian/changelog clamsmtp-1.8/debian/changelog
--- clamsmtp-1.8/debian/changelog
+++ clamsmtp-1.8/debian/changelog
@@ -1,3 +1,10 @@
+clamsmtp (1.8-5.1) unstable; urgency=low
+
+ * Non-maintainer upload during BSP.
+ * conditional include of /usr/share/debconf/confmodule (Closes: #416730)
+
+ -- Martin Zobel-Helas <[EMAIL PROTECTED]> Thu, 17 May 2007 13:47:28 +0200
+
clamsmtp (1.8-5) unstable; urgency=low
* debian/postinst: A few logic errors found and fixed. Moved checks to add
diff -u clamsmtp-1.8/debian/postinst clamsmtp-1.8/debian/postinst
--- clamsmtp-1.8/debian/postinst
+++ clamsmtp-1.8/debian/postinst
@@ -46,7 +46,9 @@
# using sed to grab configuration information. Weirdness happens otherwise and
# postinst hangs.
#
-. /usr/share/debconf/confmodule
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
# Create directories if new installation configure step
install_dirs() {
diff -u clamsmtp-1.8/debian/config clamsmtp-1.8/debian/config
--- clamsmtp-1.8/debian/config
+++ clamsmtp-1.8/debian/config
@@ -4,7 +4,9 @@
#
# Copyright: Public Domain
set -e
-. /usr/share/debconf/confmodule
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
# New Install? Add the new user and group
if [ -z "$2" ] ; then
diff -u clamsmtp-1.8/debian/postrm clamsmtp-1.8/debian/postrm
--- clamsmtp-1.8/debian/postrm
+++ clamsmtp-1.8/debian/postrm
@@ -3,7 +3,9 @@
# postrm -- clamsmtp post-remove maintainer script
#
set -e
-. /usr/share/debconf/confmodule
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
if [ "$1" = "purge" ]; then
# Purge the clamsmtp spool directory?