[SCM] Debian packaging of libgnupg-perl branch, master, updated. debian/0.18-1-4-gcb3e6b8

Salvatore Bonaccorso carnil at debian.org
Sat Apr 14 14:48:23 UTC 2012


The following commit has been merged in the master branch:
commit 06d953704df3696d022c22452841fed8ee7d1e0b
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Apr 14 16:24:15 2012 +0200

    Add 665226-fix-FTBFS-with-gnupg-1.4.12.patch patch
    
    Fix FTBFS with gnupg 1.4.12. gnupg 1.4.12 adds a new status message
    DECRYPTION_INFO.
    
    Closes: #665226

diff --git a/debian/patches/665226-fix-FTBFS-with-gnupg-1.4.12.patch b/debian/patches/665226-fix-FTBFS-with-gnupg-1.4.12.patch
new file mode 100644
index 0000000..b7947ad
--- /dev/null
+++ b/debian/patches/665226-fix-FTBFS-with-gnupg-1.4.12.patch
@@ -0,0 +1,22 @@
+Description: Fix FTBFS with gnupg 1.4.12
+ .
+ gnupg 1.4.12 adds a new status information DECRYPTION_INFO. Add check
+ for this new status message.
+Origin: vendor
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=76173
+Bug-Debian: http://bugs.debian.org/665226
+Forwarded: yes
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2012-04-14
+
+--- a/GnuPG.pm
++++ b/GnuPG.pm
+@@ -759,6 +759,8 @@
+     } else {
+         # gnupg 1.0.2 adds this status message
+         ( $cmd, $arg ) = $self->read_from_status() if $cmd =~ /BEGIN_DECRYPTION/;
++        # gnupg 1.4.12 adds this status message
++        ( $cmd, $arg ) = $self->read_from_status() if $cmd =~ /DECRYPTION_INFO/;
+ 
+         $self->abort_gnupg( "invalid passphrase - $cmd" ) unless $cmd =~ /PLAINTEXT/;
+     }
diff --git a/debian/patches/series b/debian/patches/series
index 8810115..1630dd4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-spelling-error-in-manpage.patch
+665226-fix-FTBFS-with-gnupg-1.4.12.patch

-- 
Debian packaging of libgnupg-perl



More information about the Pkg-perl-cvs-commits mailing list