[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768579: marked as done (unblock: signing-party/1.1.10-3)



Your message dated Sat, 8 Nov 2014 15:36:43 +0000
with message-id <20141108153643.GI19974@lupin.home.powdarrmonkey.net>
and subject line Re: Bug#768579: unblock: signing-party/1.1.10-3
has caused the Debian Bug report #768579,
regarding unblock: signing-party/1.1.10-3
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.)


-- 
768579: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768579
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 RC #767371.

(A previous unblock request has been filled — #768503, but the version
to unblock, namely 1.1.10-2, was not fixing RC #767371 bug. My bad,
sorry for that.)

unblock signing-party/1.1.10-3

-- 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/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-08 02:02:16.000000000 +0100
@@ -1,3 +1,13 @@
+signing-party (1.1.10-3) 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:
diff -Nru signing-party-1.1.10/debian/patches/bug767371.diff signing-party-1.1.10/debian/patches/bug767371.diff
--- signing-party-1.1.10/debian/patches/bug767371.diff	1970-01-01 01:00:00.000000000 +0100
+++ signing-party-1.1.10/debian/patches/bug767371.diff	2014-11-08 02:02:16.000000000 +0100
@@ -0,0 +1,47 @@
+From: Guilhem Moulin <guilhem@guilhem.org>
+Subject: [PATCH] Cherry-pick r721 to fix RC bug #767371.
+Date: Thu Oct 30 16:54:16 2014 +0000
+
+Fix RCF 2822 violation: Never localize the "Date" header.
+
+diff --git a/caff/caff b/caff/caff
+index 696c0c1..ae4bffd 100755
+--- a/caff/caff
++++ b/caff/caff
+@@ -383,7 +383,7 @@ use Fcntl;
+ 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 @@ sub create_mail($$$@) {
+ 	};
+ 
+ 	$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 @@ sub import_keys_to_sign() {
+ 	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/patches/series signing-party-1.1.10/debian/patches/series
--- signing-party-1.1.10/debian/patches/series	2014-10-11 23:09:24.000000000 +0200
+++ signing-party-1.1.10/debian/patches/series	2014-11-08 02:02:16.000000000 +0100
@@ -1 +1,2 @@
 gpgwrap_makefile.diff
+bug767371.diff

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Sat, Nov 08, 2014 at 03:10:21PM +0100, Guilhem Moulin wrote:
> 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 RC #767371.

Unblocked by Neils.

-- 
Jonathan Wiltshire                                      jmw@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

--- End Message ---

Reply to: