r57733 - in /branches/upstream/libmodule-signature-perl/current: Changes MANIFEST Makefile.PL SIGNATURE lib/Module/Signature.pm t/2-cygwin.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun May 9 11:31:24 UTC 2010


Author: jawnsy-guest
Date: Sun May  9 11:30:55 2010
New Revision: 57733

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57733
Log:
[svn-upgrade] Integrating new upstream version, libmodule-signature-perl (0.64)

Added:
    branches/upstream/libmodule-signature-perl/current/t/2-cygwin.t
Modified:
    branches/upstream/libmodule-signature-perl/current/Changes
    branches/upstream/libmodule-signature-perl/current/MANIFEST
    branches/upstream/libmodule-signature-perl/current/Makefile.PL
    branches/upstream/libmodule-signature-perl/current/SIGNATURE
    branches/upstream/libmodule-signature-perl/current/lib/Module/Signature.pm

Modified: branches/upstream/libmodule-signature-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-signature-perl/current/Changes?rev=57733&op=diff
==============================================================================
--- branches/upstream/libmodule-signature-perl/current/Changes (original)
+++ branches/upstream/libmodule-signature-perl/current/Changes Sun May  9 11:30:55 2010
@@ -1,3 +1,10 @@
+[Changes for 0.64 - Sun,  9 May 2010 00:50:11 +0200]
+
+* Avoid creating gnupg configuration files for the user invoking Makefile.PL
+  (Closes RT#41978).
+* Correctly detect the version of gnupg on cygwin and add tests for it
+  (Paul Fenwick) (Closes RT#39258).
+
 [Changes for 0.63 - Sun, 28 Mar 2010 04:46:27 +0100]
 
 * Fix diagnostic message from Makefile.PL when the user dosn't have gnupg or

Modified: branches/upstream/libmodule-signature-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-signature-perl/current/MANIFEST?rev=57733&op=diff
==============================================================================
--- branches/upstream/libmodule-signature-perl/current/MANIFEST (original)
+++ branches/upstream/libmodule-signature-perl/current/MANIFEST Sun May  9 11:30:55 2010
@@ -25,3 +25,4 @@
 SIGNATURE			Public-key signature (added by MakeMaker)
 t/0-signature.t
 t/1-basic.t
+t/2-cygwin.t

Modified: branches/upstream/libmodule-signature-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-signature-perl/current/Makefile.PL?rev=57733&op=diff
==============================================================================
--- branches/upstream/libmodule-signature-perl/current/Makefile.PL (original)
+++ branches/upstream/libmodule-signature-perl/current/Makefile.PL Sun May  9 11:30:55 2010
@@ -86,7 +86,6 @@
 	}
 }
 
-auto_install;
 sign; WriteAll;
 
 
@@ -102,8 +101,7 @@
 	my $gpg = can_run('gpg');
 	my $has_gpg = (
 		$gpg and
-		`gpg --version` =~ /GnuPG/ and
-		defined `gpg --list-public-keys`
+		`gpg --version` =~ /GnuPG/
 	);
 
 	unless ( $has_gpg ) {

Modified: branches/upstream/libmodule-signature-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-signature-perl/current/SIGNATURE?rev=57733&op=diff
==============================================================================
--- branches/upstream/libmodule-signature-perl/current/SIGNATURE (original)
+++ branches/upstream/libmodule-signature-perl/current/SIGNATURE Sun May  9 11:30:55 2010
@@ -1,5 +1,5 @@
 This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.63.
+signed via the Module::Signature module, version 0.64.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -16,10 +16,10 @@
 
 SHA1 0b722678d07c66ef6992f2cc2c9e9acf3bef0ecb AUDREY2006.pub
 SHA1 1e2b550757ebdf3ef2c0e8d1d06bcbb9c6b62a6f AUTHORS
-SHA1 493194be469112a14a0c5025cb94f95aa01d23ba Changes
-SHA1 2758c5d6b419c1fb0e06b2752bb871635c426392 MANIFEST
+SHA1 4a021794a13408c78ac0d36d84cdf0db6378964e Changes
+SHA1 c20d0726be2348fd34ca0dcc60223756df2da42e MANIFEST
 SHA1 1425cfbd23a07690df13aeefc1265c5aa2ba2a1f META.yml
-SHA1 f5ba5b25974644e5bc592b123e3bba819921ac8b Makefile.PL
+SHA1 519a1c3bd0362640e654360df0c1cb87de047a00 Makefile.PL
 SHA1 37e858c51409a297ef5d3fb35dc57cd3b57f9a4d PAUSE2003.pub
 SHA1 202874d66a5c5b3ea08b1c629159f613b684222c README
 SHA1 e5fb92ac217988bfc7a6af739b0459627020a27e inc/Module/AutoInstall.pm
@@ -36,14 +36,15 @@
 SHA1 3406c9015148c75406903e7382f8182613b5022a inc/Module/Install/Scripts.pm
 SHA1 f7ee667e878bd2faf22ee9358a7b5a2cc8e91ba4 inc/Module/Install/Win32.pm
 SHA1 8ed29d6cf217e0977469575d788599cbfb53a5ca inc/Module/Install/WriteAll.pm
-SHA1 aebd3ca3bf3db5e0f12d8ad33f6fd67645b4efd7 lib/Module/Signature.pm
+SHA1 b4cc84b34ba98e95b0e83b291972ae0dcaea536b lib/Module/Signature.pm
 SHA1 0882c50213a28b7a30fc91fd58c19015f33348d0 script/cpansign
 SHA1 3ec6171779122b0bdc69937c283be11b2a15dd89 t/0-signature.t
 SHA1 307a744384e704d94031df73233f24174b843bc8 t/1-basic.t
+SHA1 0177dcafa00571440541d6495fce6d3b61f81039 t/2-cygwin.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)
 
-iEUEARECAAYFAkuuw1UACgkQdC8qQo5jWl7IwwCXeVWcuCuLTYhrPA2W+sndU1b9
-bACaA7/PsqX6nsGPROq/j1h+uacuPpc=
-=XRUu
+iEYEARECAAYFAkvl63kACgkQdC8qQo5jWl7GhQCeJBkpPRZbL0oJgFRRMF/fnww3
+2CAAnRvp7T2mgejCjwyES0cwYiFqV9SC
+=kY0Y
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libmodule-signature-perl/current/lib/Module/Signature.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-signature-perl/current/lib/Module/Signature.pm?rev=57733&op=diff
==============================================================================
--- branches/upstream/libmodule-signature-perl/current/lib/Module/Signature.pm (original)
+++ branches/upstream/libmodule-signature-perl/current/lib/Module/Signature.pm Sun May  9 11:30:55 2010
@@ -1,5 +1,5 @@
 package Module::Signature;
-$Module::Signature::VERSION = '0.63';
+$Module::Signature::VERSION = '0.64';
 
 use 5.005;
 use strict;
@@ -131,7 +131,7 @@
 }
 
 sub _has_gpg {
-    `gpg --version` =~ /GnuPG.*?(\S+)$/m or return;
+    `gpg --version` =~ /GnuPG.*?(\S+)\s*$/m or return;
     return $1;
 }
 

Added: branches/upstream/libmodule-signature-perl/current/t/2-cygwin.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-signature-perl/current/t/2-cygwin.t?rev=57733&op=file
==============================================================================
--- branches/upstream/libmodule-signature-perl/current/t/2-cygwin.t (added)
+++ branches/upstream/libmodule-signature-perl/current/t/2-cygwin.t Sun May  9 11:30:55 2010
@@ -1,0 +1,21 @@
+#!/usr/bin/perl -w
+use strict;
+
+use Module::Signature;
+use Test::More;
+
+if ($^O ne 'cygwin') {
+    plan skip_all => "Cygwin only tests";
+}
+elsif (! $ENV{TEST_CYGWIN_GNUPG} ) {
+    plan skip_all => 'Set the environment variable TEST_CYGWIN_GNUPG to enable this test';
+}
+elsif (! -x '/usr/local/bin/gpg') {
+    plan skip_all => '/usr/local/bin/gpg not found';
+}
+
+plan tests => 1;
+
+my $version = Module::Signature::_has_gpg();
+
+like($version, qr/^\d+\.\d+\.\d+$/, "gpg version detected");




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