[Pgp-tools-commit] r698 - in trunk: caff debian

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Tue Sep 2 23:32:37 UTC 2014


Author: guilhem-guest
Date: 2014-09-02 23:32:37 +0000 (Tue, 02 Sep 2014)
New Revision: 698

Modified:
   trunk/caff/caff
   trunk/debian/changelog
Log:
Add a "Date" email header. Patch from Clint Adams.

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2014-09-02 23:32:32 UTC (rev 697)
+++ trunk/caff/caff	2014-09-02 23:32:37 UTC (rev 698)
@@ -383,6 +383,7 @@
 use IO::Select;
 use Getopt::Long;
 use GnuPG::Interface;
+use POSIX qw{strftime};
 
 my %CONFIG;
 my $REVISION = '$Rev$';
@@ -907,6 +908,7 @@
 			Data        => $message);
 	};
 
+	$message_entity->head->add("Date", strftime("%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(Encode::decode('utf-8', $address)));
 	$message_entity->head->add("From", '"'.Encode::encode('MIME-Q', $CONFIG{'owner'}).'" <'.$CONFIG{'email'}.'>');

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2014-09-02 23:32:32 UTC (rev 697)
+++ trunk/debian/changelog	2014-09-02 23:32:37 UTC (rev 698)
@@ -2,6 +2,8 @@
 
   * debian.compat:
     + Upgrade packaging to debhelper level 9.
+  * caff:
+    + Add a "Date" email header. Patch from Clint Adams. (Closes: #760316)
 
  -- Guilhem Moulin <guilhem at guilhem.org>  Tue, 02 Sep 2014 19:27:28 +0200
 




More information about the Pgp-tools-commit mailing list