r65552 - in /branches/upstream/libcpan-checksums-perl/current: META.yml Makefile.PL SIGNATURE lib/CPAN/Checksums.pm t/00signature.t t/CHECKSUMS

jotamjr-guest at users.alioth.debian.org jotamjr-guest at users.alioth.debian.org
Tue Dec 7 03:39:38 UTC 2010


Author: jotamjr-guest
Date: Tue Dec  7 03:39:00 2010
New Revision: 65552

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65552
Log:
[svn-upgrade] new version libcpan-checksums-perl (2.07)

Modified:
    branches/upstream/libcpan-checksums-perl/current/META.yml
    branches/upstream/libcpan-checksums-perl/current/Makefile.PL
    branches/upstream/libcpan-checksums-perl/current/SIGNATURE
    branches/upstream/libcpan-checksums-perl/current/lib/CPAN/Checksums.pm
    branches/upstream/libcpan-checksums-perl/current/t/00signature.t
    branches/upstream/libcpan-checksums-perl/current/t/CHECKSUMS

Modified: branches/upstream/libcpan-checksums-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-checksums-perl/current/META.yml?rev=65552&op=diff
==============================================================================
--- branches/upstream/libcpan-checksums-perl/current/META.yml (original)
+++ branches/upstream/libcpan-checksums-perl/current/META.yml Tue Dec  7 03:39:00 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               CPAN-Checksums
-version:            2.06
+version:            2.07
 abstract:           ~
 author:  []
 license:            perl
@@ -10,21 +10,22 @@
 build_requires:
     ExtUtils::MakeMaker:  0
 requires:
-    Compress::Bzip2:  0
-    Compress::Zlib:   0
-    Data::Compare:    0
-    Data::Dumper:     0
-    Digest::MD5:      2.36
-    Digest::SHA:      0
-    DirHandle:        0
-    File::Spec:       0
-    File::Temp:       0
-    IO::File:         1.14
+    Compress::Bzip2:    0
+    Compress::Zlib:     0
+    Data::Compare:      0
+    Data::Dumper:       0
+    Digest::MD5:        2.36
+    Digest::SHA:        0
+    DirHandle:          0
+    File::Spec:         0
+    File::Temp:         0
+    IO::File:           1.14
+    Module::Signature:  0
 no_index:
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.5706
+generated_by:       ExtUtils::MakeMaker version 6.5705
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: branches/upstream/libcpan-checksums-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-checksums-perl/current/Makefile.PL?rev=65552&op=diff
==============================================================================
--- branches/upstream/libcpan-checksums-perl/current/Makefile.PL (original)
+++ branches/upstream/libcpan-checksums-perl/current/Makefile.PL Tue Dec  7 03:39:00 2010
@@ -77,22 +77,32 @@
     exit unless $version_diff;
   }
 }
+my $prereq_pm = {
+                 'Compress::Bzip2' => 0,
+                 'Compress::Zlib' => 0,
+                 'Data::Compare' => 0,
+                 'Data::Dumper' => 0,
+                 'Digest::MD5' => "2.36",
+                 'Digest::SHA' => 0,
+                 'DirHandle' => 0,
+                 'File::Spec' => 0,
+                 'File::Temp' => 0,
+                 'IO::File' => "1.14",
+                };
+for my $interesting_module (qw(
+        Module::Signature
+                             )) {
+    eval "require $interesting_module";
+    if (!$@) {
+        $prereq_pm->{$interesting_module} ||= 0;
+    }
+}
+
 WriteMakefile(
               'NAME'	=> 'CPAN::Checksums',
               'VERSION_FROM' => 'lib/CPAN/Checksums.pm',
               (MM->can("signature_target") ? (SIGN => 1) : ()),
-              'PREREQ_PM' => {
-                              'Compress::Bzip2' => 0,
-                              'Compress::Zlib' => 0,
-                              'Data::Compare' => 0,
-                              'Data::Dumper' => 0,
-                              'Digest::MD5' => "2.36",
-                              'Digest::SHA' => 0,
-                              'DirHandle' => 0,
-                              'File::Spec' => 0,
-                              'File::Temp' => 0,
-                              'IO::File' => "1.14",
-                             },
+              'PREREQ_PM' => $prereq_pm,
               ($ExtUtils::MakeMaker::VERSION >= 6.3002 ?
                (LICENSE      => "perl") : (),
               ),

Modified: branches/upstream/libcpan-checksums-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-checksums-perl/current/SIGNATURE?rev=65552&op=diff
==============================================================================
--- branches/upstream/libcpan-checksums-perl/current/SIGNATURE (original)
+++ branches/upstream/libcpan-checksums-perl/current/SIGNATURE Tue Dec  7 03:39:00 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.66.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -16,23 +16,23 @@
 
 SHA1 b46913f8525a4345be16889f3ca83258a523d043 MANIFEST
 SHA1 842d5a711586911bfcffec63725ae438a256e3fe MANIFEST.SKIP
-SHA1 29b6b3a1bd116b131200a2362829aee8d0a84afe META.yml
-SHA1 fe936eaf10f9a4a8b5ae937729334015d7553d60 Makefile.PL
+SHA1 48ab8467cd050b7f4e1e9079991dcbaa143f4248 META.yml
+SHA1 2989b35edbd0fdada684effe053339b31030627d Makefile.PL
 SHA1 378ba4b97d5a989790877de0214ca23ac5aeef37 README
 SHA1 b929ff9f01730419548cab2dfcc30003b49fbbfb Todo
-SHA1 bd4544dc958028403c21b0bb2044edab10625791 lib/CPAN/Checksums.pm
-SHA1 ce8f1c86172c6cd2698c27f6f76864de724a1282 t/00signature.t
+SHA1 98f513be1b4260b16a48bdc6b07737445b1b3e08 lib/CPAN/Checksums.pm
+SHA1 8091e870af6f081607bab636ab1e8fcfa18b12be t/00signature.t
 SHA1 51e1c061bc02e9a38948a5d8e3ca7352830f0fac t/42.gz
 SHA1 23e182506f4b883d8aae3d29d08e044c55b04deb t/43
 SHA1 0d942b3ef6791694fde4693d3329a0ff924cb583 t/44.bz2
 SHA1 57fa704d8f013fd117d9431b933932ae5c2f6a89 t/52podcover.t
-SHA1 9e902f2ba1457700f17217f218f655c3b103f0b3 t/CHECKSUMS
+SHA1 2d74a36030efca3a42026e2ceab6837c052e8a53 t/CHECKSUMS
 SHA1 6a79f15a10337bd3450604abf39d4462df2a550b t/pod.t
 SHA1 3a73818d40fce12a21bf9d4d2c38ee2145cc0628 t/updatedir.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)
 
-iEYEARECAAYFAkzEIpsACgkQ7IA58KMXwV0RvgCbBbEteHMngl2FlG7F74qmD3dG
-1ioAoKY7CQe1bW5CL2jvwkLUiYiiu4xq
-=ICLa
+iEYEARECAAYFAkzoSMwACgkQ7IA58KMXwV2QugCcD35QIirkDmhlXMg965nuA85M
+62cAn3nCL3KBrt87aQoXsppMbZg8HesH
+=1+sK
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libcpan-checksums-perl/current/lib/CPAN/Checksums.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-checksums-perl/current/lib/CPAN/Checksums.pm?rev=65552&op=diff
==============================================================================
--- branches/upstream/libcpan-checksums-perl/current/lib/CPAN/Checksums.pm (original)
+++ branches/upstream/libcpan-checksums-perl/current/lib/CPAN/Checksums.pm Tue Dec  7 03:39:00 2010
@@ -18,7 +18,7 @@
 
 @ISA = qw(Exporter);
 @EXPORT_OK = qw(updatedir);
-$VERSION = "2.06";
+$VERSION = "2.07";
 $VERSION =~ s/_//;
 $CAUTION ||= 0;
 $TRY_SHORTNAME ||= 0;

Modified: branches/upstream/libcpan-checksums-perl/current/t/00signature.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-checksums-perl/current/t/00signature.t?rev=65552&op=diff
==============================================================================
--- branches/upstream/libcpan-checksums-perl/current/t/00signature.t (original)
+++ branches/upstream/libcpan-checksums-perl/current/t/00signature.t Tue Dec  7 03:39:00 2010
@@ -2,6 +2,18 @@
 
 use strict;
 BEGIN {
+    sub find_exe {
+        my($exe,$path) = @_;
+        my($dir);
+        #warn "in find_exe exe[$exe] path[@$path]";
+        for $dir (@$path) {
+            my $abs = File::Spec->catfile($dir,$exe);
+            require ExtUtils::MakeMaker;
+            if (($abs = MM->maybe_command($abs))) {
+                return $abs;
+            }
+        }
+    }
     my $found_prereq = 0;
     unless ($found_prereq) {
         $found_prereq = eval { require Digest::SHA; 1 };
@@ -27,13 +39,25 @@
         }
     }
     unless ($exit_message) {
-        if (!eval { require Module::Signature; 1 }) {
+        if (eval { require Module::Signature; 1 }) {
+            my $min = "0.66";
+            if ($Module::Signature::VERSION < $min-0.0000001) {
+                $exit_message = "Signature testing disabled for Module::Signature versions < $min";
+            }
+        } else {
             $exit_message = "No Module::Signature found [INC = @INC]";
         }
     }
     unless ($exit_message) {
-        if (!eval { require Socket; Socket::inet_aton('pgp.mit.edu') }) {
+        if (!eval { require Socket; Socket::inet_aton('pool.sks-keyservers.net') }) {
             $exit_message = "Cannot connect to the keyserver";
+        }
+    }
+    unless ($exit_message) {
+        require Config;
+        my(@path) = split /$Config::Config{'path_sep'}/, $ENV{'PATH'};
+        if (!find_exe('gpg',\@path)) {
+            $exit_message = "Signature testing disabled without gpg program available";
         }
     }
     if ($exit_message) {

Modified: branches/upstream/libcpan-checksums-perl/current/t/CHECKSUMS
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-checksums-perl/current/t/CHECKSUMS?rev=65552&op=diff
==============================================================================
--- branches/upstream/libcpan-checksums-perl/current/t/CHECKSUMS (original)
+++ branches/upstream/libcpan-checksums-perl/current/t/CHECKSUMS Tue Dec  7 03:39:00 2010
@@ -1,10 +1,10 @@
-# CHECKSUMS file written on Sun Oct 24 12:07:17 2010 GMT by CPAN::Checksums (v2.06)
+# CHECKSUMS file written on Sat Nov 20 22:14:24 2010 GMT by CPAN::Checksums (v2.07)
 $cksum = {
   '00signature.t' => {
-    'md5' => '859045ee3e28039bbf2a7e74eed68e6a',
-    'mtime' => '2009-09-28',
-    'sha256' => '1a44428906cf5c7f14208317a88298912283109296c49f427f6b7a99d8b87864',
-    'size' => 1489
+    'md5' => '55d2528e0129b0c32bc51bf287f2ac01',
+    'mtime' => '2010-11-20',
+    'sha256' => 'f429ad014eb27261603740854130e696bd106a087f0f92086b2862a3af6dcaf4',
+    'size' => 2344
   },
   '42.gz' => {
     'md5' => '915cdde7181ab542763969e063b7a9a9',
@@ -16,7 +16,7 @@
   },
   '43' => {
     'md5' => 'f0287f33eba7192e2a9c6a14f829aa1a',
-    'mtime' => '2010-10-24',
+    'mtime' => '2010-11-20',
     'sha256' => '0e55092af0746630c98d1b2e0d960617c33f8ea7b55739fd18cb7cd5342a28ca',
     'size' => 3
   },




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