tags 375380 + pending thanks I've applied the patch that Maximiliano sent, and I've prepared an NMU with it. I added a comment explaining what the tr+sed do, and tested it with different configurations in the remotes file, and all of them work fine.
I made an extra change, very small. I added a versioned dependency on debhelper, since debian/compat said 4, but the dependency on debhelper was unversioned. I'm attaching the full interdiff output for the package that I'm about to upload. As you can see, it's very simple. -- Love, Marga.
diff -u nullmailer-1.03/debian/config nullmailer-1.03/debian/config --- nullmailer-1.03/debian/config +++ nullmailer-1.03/debian/config @@ -16,7 +16,8 @@ fi if [ -e /etc/nullmailer/remotes ]; then - db_set nullmailer/relayhost "`cat /etc/nullmailer/remotes`" + # Replace newlines with :, then fix any extra : that might turn up. + db_set nullmailer/relayhost "`cat /etc/nullmailer/remotes | tr '\n' ':' | sed 's/::*/:/g;s/:$//'`" else db_get nullmailer/relayhost if [ -z "$RET" ]; then diff -u nullmailer-1.03/debian/changelog nullmailer-1.03/debian/changelog --- nullmailer-1.03/debian/changelog +++ nullmailer-1.03/debian/changelog @@ -1,3 +1,14 @@ +nullmailer (1:1.03-2.1) unstable; urgency=medium + + * Non-maintainer upload to fix problem handling debconf variables. + * Modified debian/config to take into account any number of hosts specified + in the config file. Thanks to Maximiliano Curia for the patch. + (Closes: #383859). + * Added versioned build-depend on debhelper, so that it agrees with the + DH_COMPAT version. + + -- Margarita Manterola <[EMAIL PROTECTED]> Sat, 26 Aug 2006 17:29:43 -0300 + nullmailer (1:1.03-2) unstable; urgency=low * Updated french debconf translation from Florentin Duneau. diff -u nullmailer-1.03/debian/control nullmailer-1.03/debian/control --- nullmailer-1.03/debian/control +++ nullmailer-1.03/debian/control @@ -2,7 +2,7 @@ Section: mail Priority: extra Maintainer: Norbert Tretkowski <[EMAIL PROTECTED]> -Build-Depends: debhelper, po-debconf, automake1.9, autoconf, autotools-dev, dpatch +Build-Depends: debhelper (>= 4), po-debconf, automake1.9, autoconf, autotools-dev, dpatch Standards-Version: 3.7.2.1 Package: nullmailer