[libmodule-metadata-perl] 01/01: Imported Upstream version 1.000015

Salvatore Bonaccorso carnil at debian.org
Wed Aug 21 17:01:41 UTC 2013


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to annotated tag upstream/1.000015
in repository libmodule-metadata-perl.

commit 4e8e63bb8ddfb0f47835602a793c2fd896feac24
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Wed Aug 21 18:52:00 2013 +0200

    Imported Upstream version 1.000015
---
 Changes                |    5 ++++-
 META.json              |   33 +++------------------------------
 META.yml               |   19 +++----------------
 Makefile.PL            |    1 +
 README                 |    4 +++-
 lib/Module/Metadata.pm |   10 ++++++----
 6 files changed, 20 insertions(+), 52 deletions(-)

diff --git a/Changes b/Changes
index cfc90f9..bbc2618 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,9 @@
 Release history for Module-Metadata
 
-1.000014 - 2014-05-09
+1.000015 - 2013-08-21
+  - Change wording about safety/security to satisfy CVE-2013-1437
+
+1.000014 - 2013-05-09
   - Remove "now installs to 'site' for perl 5.12+" from last version
 
 1.000013 - 2013-05-08
diff --git a/META.json b/META.json
index 694e2f4..76cb924 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "Ken Williams <kwilliams at cpan.org>, Randy W. Sims <RandyS at ThePierianSpring.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921",
+   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921",
    "license" : [
       "perl_5"
    ],
@@ -19,36 +19,9 @@
          "inc"
       ]
    },
-   "prereqs" : {
-      "build" : {
-         "requires" : {
-            "ExtUtils::MakeMaker" : "0"
-         }
-      },
-      "configure" : {
-         "requires" : {
-            "ExtUtils::MakeMaker" : "0"
-         }
-      },
-      "runtime" : {
-         "requires" : {
-            "Carp" : "0",
-            "File::Find" : "0",
-            "File::Spec" : "0",
-            "IO::File" : "0",
-            "strict" : "0",
-            "vars" : "0",
-            "version" : "0.87",
-            "warnings" : "0"
-         }
-      }
-   },
    "release_status" : "stable",
    "resources" : {
-      "homepage" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git",
-      "repository" : {
-         "url" : "git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git"
-      }
+      "homepage" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git"
    },
-   "version" : "1.000014"
+   "version" : "1.000015"
 }
diff --git a/META.yml b/META.yml
index 3617178..816a56e 100644
--- a/META.yml
+++ b/META.yml
@@ -2,12 +2,9 @@
 abstract: 'Gather package and POD information from perl module files'
 author:
   - 'Ken Williams <kwilliams at cpan.org>, Randy W. Sims <RandyS at ThePierianSpring.org>'
-build_requires:
-  ExtUtils::MakeMaker: 0
-configure_requires:
-  ExtUtils::MakeMaker: 0
+build_requires: {}
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,16 +14,6 @@ no_index:
   directory:
     - t
     - inc
-requires:
-  Carp: 0
-  File::Find: 0
-  File::Spec: 0
-  IO::File: 0
-  strict: 0
-  vars: 0
-  version: 0.87
-  warnings: 0
 resources:
   homepage: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git
-  repository: git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git
-version: 1.000014
+version: 1.000015
diff --git a/Makefile.PL b/Makefile.PL
index c4f0312..9b7e4ad 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -24,6 +24,7 @@ WriteMakefile(
     ,
   },
   META_MERGE => {
+    'meta-spec' => { version => 2 },
     dynamic_config => 0,
     resources => {
       # r/w: p5sagit at git.shadowcat.co.uk:Module-Metadata.git
diff --git a/README b/README
index 52abed5..f3c865a 100644
--- a/README
+++ b/README
@@ -16,7 +16,9 @@ SYNOPSIS
 
 DESCRIPTION
     This module provides a standard way to gather metadata about a .pm file
-    without executing unsafe code.
+    through (mostly) static analysis and (some) code execution. When
+    determining the version of a module, the $VERSION assignment is
+    "eval"ed, as is traditional in the CPAN toolchain.
 
 USAGE
   Class methods
diff --git a/lib/Module/Metadata.pm b/lib/Module/Metadata.pm
index 2f5cb7e..81c6351 100644
--- a/lib/Module/Metadata.pm
+++ b/lib/Module/Metadata.pm
@@ -11,7 +11,7 @@ package Module::Metadata;
 
 use strict;
 use vars qw($VERSION);
-$VERSION = '1.000014';
+$VERSION = '1.000015';
 $VERSION = eval $VERSION;
 
 use Carp qw/croak/;
@@ -345,7 +345,7 @@ sub new_from_module {
     }
 
     # Normalize versions.  Can't use exists() here because of bug in YAML::Node.
-    # XXX "bug in YAML::Node" comment seems irrelvant -- dagolden, 2009-05-18
+    # XXX "bug in YAML::Node" comment seems irrelevant -- dagolden, 2009-05-18
     for (grep defined $_->{version}, values %prime) {
       $_->{version} = $normalize_version->( $_->{version} );
     }
@@ -800,8 +800,10 @@ Module::Metadata - Gather package and POD information from perl module files
 
 =head1 DESCRIPTION
 
-This module provides a standard way to gather metadata about a .pm file
-without executing unsafe code.
+This module provides a standard way to gather metadata about a .pm file through
+(mostly) static analysis and (some) code execution.  When determining the
+version of a module, the C<$VERSION> assignment is C<eval>ed, as is traditional
+in the CPAN toolchain.
 
 =head1 USAGE
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-metadata-perl.git



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