r46655 - in /trunk/libgnupg-interface-perl/debian: changelog patches/do_not_run_at_all_gpg_interactively_in_tests.patch patches/series

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Sun Nov 1 21:56:43 UTC 2009


Author: carnil-guest
Date: Sun Nov  1 21:56:37 2009
New Revision: 46655

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46655
Log:
Add do_not_run_at_all_gpg_interactively_in_tests.patch patch to prevent
FTBFS when build is running non-interactively in an environment where no
/dev/tty is present. This patch adds that when the tests are running then
--batch and --no-tty is in any case passed to gpg. Thanks to Gregor
Hermann for helping in debugging. (Closes: 549743)

Added:
    trunk/libgnupg-interface-perl/debian/patches/do_not_run_at_all_gpg_interactively_in_tests.patch
Modified:
    trunk/libgnupg-interface-perl/debian/changelog
    trunk/libgnupg-interface-perl/debian/patches/series

Modified: trunk/libgnupg-interface-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnupg-interface-perl/debian/changelog?rev=46655&op=diff
==============================================================================
--- trunk/libgnupg-interface-perl/debian/changelog (original)
+++ trunk/libgnupg-interface-perl/debian/changelog Sun Nov  1 21:56:37 2009
@@ -1,3 +1,13 @@
+libgnupg-interface-perl (0.42-2) UNRELEASED; urgency=low
+
+  * Add do_not_run_at_all_gpg_interactively_in_tests.patch patch to prevent
+    FTBFS when build is running non-interactively in an environment where no
+    /dev/tty is present. This patch adds that when the tests are running then
+    --batch and --no-tty is in any case passed to gpg. Thanks to Gregor
+    Hermann for helping in debugging. (Closes: 549743)
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Sun, 01 Nov 2009 22:42:04 +0100
+
 libgnupg-interface-perl (0.42-1) unstable; urgency=low
 
   [ gregor herrmann ]

Added: trunk/libgnupg-interface-perl/debian/patches/do_not_run_at_all_gpg_interactively_in_tests.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnupg-interface-perl/debian/patches/do_not_run_at_all_gpg_interactively_in_tests.patch?rev=46655&op=file
==============================================================================
--- trunk/libgnupg-interface-perl/debian/patches/do_not_run_at_all_gpg_interactively_in_tests.patch (added)
+++ trunk/libgnupg-interface-perl/debian/patches/do_not_run_at_all_gpg_interactively_in_tests.patch Sun Nov  1 21:56:37 2009
@@ -1,0 +1,21 @@
+Description: Do not run at all gpg in interactive mode when run
+ the tests. Thus passing in every case in tests --batch --no-tty.
+Origin: vendor
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=50348
+Bug-Debian: http://bugs.debian.org/549743
+Forwarded: yes
+Author: Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
+--- a/t/MyTestSpecific.pm
++++ b/t/MyTestSpecific.pm
+@@ -38,6 +38,11 @@
+ 	      texts                  file_match
+ 	    );
+ 
++sub BUILD {
++    my ( $self, $args ) = @_;
++    $self->hash_init( meta_interactive => 0 );
++    $self->hash_init(%$args);
++}
+ 
+ for my $gpg qw(gpg gpg2) {
+     my $gpg_find = "which $gpg";

Modified: trunk/libgnupg-interface-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnupg-interface-perl/debian/patches/series?rev=46655&op=diff
==============================================================================
--- trunk/libgnupg-interface-perl/debian/patches/series (original)
+++ trunk/libgnupg-interface-perl/debian/patches/series Sun Nov  1 21:56:37 2009
@@ -1,1 +1,2 @@
 fix-gnupg-options-pod-errors.patch
+do_not_run_at_all_gpg_interactively_in_tests.patch




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