Please sync email-reminder 0.7.5-2 (universe) from Debian unstable (main)
Bug #344021 reported by
François Marier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
email-reminder (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: email-reminder
email-reminder (0.7.5-2) unstable; urgency=high
* Fix config parsing to match the output of debconf. This fixes a
problem introduced in 0.7.5-1 where SSL would be turned on if the
"smtp_ssl" config variable was set to "false".
* Urgency high because it breaks most emails sent out.
-- Francois Marier <email address hidden> Sun, 15 Mar 2009 11:46:29 +1300
Changed in email-reminder: | |
status: | New → Confirmed |
To post a comment you must log in.
This fix is quite important as debconf answers are not currently parsed properly.
Thankfully, the fix is quite trivial:
--- a/send-reminders
s/ \s+$//; # no trailing white
$ preferences{ $var} = $value;
+++ b/send-reminders
@@ -131,6 +131,8 @@ sub read_config
next unless length; # anything left?
my ($var, $value) = split(/\s*=\s*/, $_, 2);
+ $value = 1 if $value eq 'true' or $value eq 'yes';
+ $value = 0 if $value eq 'false' or $value eq 'no';
}
close $config_fh;