Please sync email-reminder 0.7.5-2 (universe) from Debian unstable (main)

Bug #344021 reported by François Marier
10
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

Revision history for this message
François Marier (fmarier) wrote :
Revision history for this message
François Marier (fmarier) wrote :

This fix is quite important as debconf answers are not currently parsed properly.

Thankfully, the fix is quite trivial:

--- a/send-reminders
+++ b/send-reminders
@@ -131,6 +131,8 @@ sub read_config
             s/\s+$//; # no trailing white
             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';
             $preferences{$var} = $value;
         }
         close $config_fh;

Changed in email-reminder:
status: New → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

ACKed.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

[Updating] email-reminder (0.7.5-1 [Ubuntu] < 0.7.5-2 [Debian])
 * Trying to add email-reminder...
  - <email-reminder_0.7.5.orig.tar.gz: already in distro - downloading from librarian>
  - <email-reminder_0.7.5-2.dsc: downloading from http://ftp.debian.org/debian/>
  - <email-reminder_0.7.5-2.diff.gz: downloading from http://ftp.debian.org/debian/>
I: email-reminder [universe] -> email-reminder_0.7.5-1 [universe].

Changed in email-reminder:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.