Your message dated Sat, 08 Nov 2014 00:15:27 +0100 with message-id <545D528F.5040000@thykier.net> and subject line Re: Bug#768503: unblock: signing-party/1.1.10-1+deb8u1 has caused the Debian Bug report #768503, regarding unblock: signing-party/1.1.10-1+deb8u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 768503: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768503 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: signing-party/1.1.10-1+deb8u1
- From: Guilhem Moulin <guilhem@guilhem.org>
- Date: Fri, 7 Nov 2014 22:36:38 +0100
- Message-id: <[🔎] 20141107213638.GA12343@localhost>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package signing-party Hi there, I would like to upload the attached changes: a regression bug has been introduced in signing-party 1.1.10-1, making caff violate RFC 2822 when sending messages with a non-English locale. This fixes bug #767371. unblock signing-party/1.1.10-1+deb8u1 -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (990, 'unstable'), (800, 'testing'), (700, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.16-3-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Thanks! Cheers, -- Guilhem.diff -Nru signing-party-1.1.10/caff/caff signing-party-1.1.10/caff/caff --- signing-party-1.1.10/caff/caff 2014-10-11 23:11:14.000000000 +0200 +++ signing-party-1.1.10/caff/caff 2014-11-07 22:17:51.000000000 +0100 @@ -383,7 +383,7 @@ use IO::Select; use Getopt::Long; use GnuPG::Interface; -use POSIX qw{strftime}; +use POSIX qw{strftime setlocale}; my %CONFIG; my $REVISION = '$Rev: 710 $'; @@ -908,7 +908,7 @@ }; $message_entity->head->add("From", Encode::encode('MIME-Q', $CONFIG{'owner'}).' <'.$CONFIG{'email'}.'>'); - $message_entity->head->add("Date", strftime("%a, %e %b %Y %H:%M:%S %z", localtime)); + $message_entity->head->add("Date", strfCtime("%a, %e %b %Y %H:%M:%S %z", localtime)); $message_entity->head->add("Subject", "Your signed PGP key 0x$key_id"); $message_entity->head->add("To", email_to_ascii($address)); $message_entity->head->add("Sender", Encode::encode('MIME-Q', $CONFIG{'owner'}).' <'.$CONFIG{'email'}.'>'); @@ -1175,6 +1175,18 @@ return 0; } +## +# A non-localized version of POSIX::strftime. +# +sub strfCtime($@) { + my $lc_time = setlocale(POSIX::LC_TIME); + setlocale(POSIX::LC_TIME, 'C'); + my $str = strftime(@_); + setlocale(POSIX::LC_TIME, $lc_time); + return $str; +} + + ################### # argument handling ################### diff -Nru signing-party-1.1.10/debian/changelog signing-party-1.1.10/debian/changelog --- signing-party-1.1.10/debian/changelog 2014-10-11 23:09:24.000000000 +0200 +++ signing-party-1.1.10/debian/changelog 2014-11-07 22:17:51.000000000 +0100 @@ -1,3 +1,13 @@ +signing-party (1.1.10-1+deb8u1) unstable; urgency=medium + + [ Guilhem Moulin ] + * caff: + + Fix RCF 2822 violation: Never localize the "Date" header, regarless of + the LC_ALL, LC_TIME and LANG in use. Regression introduced in r698. + (Closes: #767371) + + -- Guilhem Moulin <guilhem@guilhem.org> Fri, 07 Nov 2014 21:35:13 +0100 + signing-party (1.1.10-1) unstable; urgency=low * debian.compat:Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: Guilhem Moulin <guilhem@guilhem.org>, 768503-done@bugs.debian.org
- Subject: Re: Bug#768503: unblock: signing-party/1.1.10-1+deb8u1
- From: Niels Thykier <niels@thykier.net>
- Date: Sat, 08 Nov 2014 00:15:27 +0100
- Message-id: <545D528F.5040000@thykier.net>
- Reply-to: 768503@bugs.debian.org
- In-reply-to: <[🔎] 545D4710.6060006@thykier.net>
- References: <[🔎] 20141107213638.GA12343@localhost> <[🔎] 545D4710.6060006@thykier.net>
On 2014-11-07 23:26, Niels Thykier wrote: > Control: tags -1 confirmed > > On 2014-11-07 22:36, Guilhem Moulin wrote: >> Package: release.debian.org >> Severity: normal >> User: release.debian.org@packages.debian.org >> Usertags: unblock >> >> Please unblock package signing-party >> >> Hi there, >> >> I would like to upload the attached changes: a regression bug has been >> introduced in signing-party 1.1.10-1, making caff violate RFC 2822 when >> sending messages with a non-English locale. This fixes bug #767371. >> >> unblock signing-party/1.1.10-1+deb8u1 >> >> [...] > > Hi, > > Please do and let us know once it has been accepted in sid. > > ~Niels > > Unblocked (happened to see it in #debian-devel-changes), thanks. ~Niels
--- End Message ---