[SCM] Debian packaging of libgnupg-interface-perl branch, master, updated. 28bf47fabfe78508d66b8c48e2a281d41820d114
intrigeri
intrigeri at boum.org
Mon Oct 17 22:44:59 UTC 2011
The following commit has been merged in the master branch:
commit 986a967aa8f455e9f8d7b8711d156d8d166217ee
Author: intrigeri <intrigeri at boum.org>
Date: Sun Oct 16 00:52:34 2011 +0200
Add patch Make-get_secret_keys-and-get_public_keys-methods-wor.patch.
This makes get_secret_keys and get_public_keys methods work silently with no
arguments (Closes: #600290).
diff --git a/debian/changelog b/debian/changelog
index 73d4e91..9e84fe6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,13 @@ libgnupg-interface-perl (0.44-2) UNRELEASED; urgency=low
* debian/copyright: Replace DEP5 Format-Specification URL from
svn.debian.org to anonscm.debian.org URL.
- -- Ansgar Burchardt <ansgar at debian.org> Wed, 27 Jul 2011 18:44:11 +0200
+ [ intrigeri ]
+ * debian/patches:
+ - Add patch Make-get_secret_keys-and-get_public_keys-methods-wor.patch
+ to make get_secret_keys and get_public_keys methods work silently with
+ no arguments (Closes: #600290).
+
+ -- intrigeri <intrigeri+debian at boum.org> Sun, 16 Oct 2011 00:49:44 +0200
libgnupg-interface-perl (0.44-1) unstable; urgency=low
diff --git a/debian/copyright b/debian/copyright
index 62e50a7..a8034fe 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -27,6 +27,7 @@ Copyright: 2000, Peter Palfrader <ppalfrad at cosy.sbg.ac.at>
2008, Damyan Ivanov <dmn at debian.org>
2009, 2010, 2011, Salvatore Bonaccorso <carnil at debian.org>
2009, Tim Retout <tim at retout.co.uk>
+ 2011, intrigeri <intrigeri+debian at boum.org>
License: Artistic or GPL-1+
License: Artistic
diff --git a/debian/patches/Make-get_secret_keys-and-get_public_keys-methods-wor.patch b/debian/patches/Make-get_secret_keys-and-get_public_keys-methods-wor.patch
new file mode 100644
index 0000000..674a3b1
--- /dev/null
+++ b/debian/patches/Make-get_secret_keys-and-get_public_keys-methods-wor.patch
@@ -0,0 +1,64 @@
+Description: Make get_secret_keys and get_public_keys methods work with no arguments.
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=62177
+Forwarded: yes
+Author: intrigeri <intrigeri+debian at boum.org>
+Last-Update: Sun, 16 Oct 2011 00:46:51 +0200
+
+---
+ lib/GnuPG/Interface.pm | 30 ++++++++++++++++++------------
+ 1 files changed, 18 insertions(+), 12 deletions(-)
+
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -435,10 +435,12 @@
+ # --fixed-list-mode uses epoch time for creation and expiration date strings.
+ # For backward compatibility, we convert them back using GMT;
+ my $expiration_date_string;
+- if ($expiration_date eq '') {
+- $expiration_date = undef;
+- } else {
+- $expiration_date_string = $self->_downrez_date($expiration_date);
++ if (defined $expiration_date) {
++ if ($expiration_date eq '') {
++ $expiration_date = undef;
++ } else {
++ $expiration_date_string = $self->_downrez_date($expiration_date);
++ }
+ }
+ my $creation_date_string = $self->_downrez_date($creation_date);
+
+@@ -480,10 +482,12 @@
+ ) = @fields[ 1, 3 .. 6, 9, 10 ];
+
+ my $expiration_date_string;
+- if ($expiration_date eq '') {
+- $expiration_date = undef;
+- } else {
+- $expiration_date_string = $self->_downrez_date($expiration_date);
++ if (defined $expiration_date) {
++ if ($expiration_date eq '') {
++ $expiration_date = undef;
++ } else {
++ $expiration_date_string = $self->_downrez_date($expiration_date);
++ }
+ }
+ my $signature_date_string = $self->_downrez_date($signature_date);
+
+@@ -552,10 +556,12 @@
+ ) = @fields[ 1 .. 11 ];
+
+ my $expiration_date_string;
+- if ($expiration_date eq '') {
+- $expiration_date = undef;
+- } else {
+- $expiration_date_string = $self->_downrez_date($expiration_date);
++ if (defined $expiration_date) {
++ if ($expiration_date eq '') {
++ $expiration_date = undef;
++ } else {
++ $expiration_date_string = $self->_downrez_date($expiration_date);
++ }
+ }
+ my $creation_date_string = $self->_downrez_date($creation_date);
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6b76b09
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Make-get_secret_keys-and-get_public_keys-methods-wor.patch
--
Debian packaging of libgnupg-interface-perl
More information about the Pkg-perl-cvs-commits
mailing list