Hello community,
here is the log from the commit of package perl-Module-Runtime for
openSUSE:Factory checked in at 2017-10-28 14:17:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Runtime (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Runtime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Runtime"
Sat Oct 28 14:17:26 2017 rev:12 rq:535197 version:0.016
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Runtime/perl-Module-Runtime.changes
2017-08-08 12:05:22.320200372 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Module-Runtime.new/perl-Module-Runtime.changes
2017-10-28 14:17:29.352755440 +0200
@@ -1,0 +2,26 @@
+Thu Oct 19 05:36:17 UTC 2017 - [email protected]
+
+- updated to 0.016
+ see /usr/share/doc/packages/perl-Module-Runtime/Changes
+
+ version 0.016; 2017-10-17
+
+ * port t/taint.t to Perl 5.27.5, where re-requiring an already-loaded
+ module doesn't trigger tainting
+
+ * skip t/taint.t if the perl empirically doesn't perform taint checks
+ but the script got run anyway (which happens with an unsupported
+ configuration of the Perl core which some people are using in the
+ absence of a supported no-taint configuration)
+
+ * in t/taint.t, use $^X rather than $ENV{PATH} as the primordial
+ tainted value to taint a string being tested
+
+ * in documentation, use four-column indentation for all verbatim
+ material
+
+ * in META.{yml,json}, point to public bug tracker
+
+ * in META.json, specify type of public repository
+
+-------------------------------------------------------------------
Old:
----
Module-Runtime-0.015.tar.gz
New:
----
Module-Runtime-0.016.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Runtime.spec ++++++
--- /var/tmp/diff_new_pack.eGTxpm/_old 2017-10-28 14:17:30.016731159 +0200
+++ /var/tmp/diff_new_pack.eGTxpm/_new 2017-10-28 14:17:30.020731013 +0200
@@ -17,7 +17,7 @@
Name: perl-Module-Runtime
-Version: 0.015
+Version: 0.016
Release: 0
%define cpan_name Module-Runtime
Summary: Runtime Module Handling
++++++ Module-Runtime-0.015.tar.gz -> Module-Runtime-0.016.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/Build.PL
new/Module-Runtime-0.016/Build.PL
--- old/Module-Runtime-0.015/Build.PL 2017-07-16 02:31:17.000000000 +0200
+++ new/Module-Runtime-0.016/Build.PL 2017-10-17 22:27:37.000000000 +0200
@@ -26,9 +26,18 @@
dynamic_config => 0,
meta_add => { distribution_type => "module" },
meta_merge => {
+ "meta-spec" => { version => "2" },
resources => {
- repository =>
- "git://git.fysh.org/zefram/Module-Runtime.git",
+ bugtracker => {
+ mailto => "bug-Module-Runtime\@rt.cpan.org",
+ web => "https://rt.cpan.org/Public/Dist/".
+ "Display.html?Name=Module-Runtime",
+ },
+ repository => {
+ type => "git",
+ url => "git://git.fysh.org/zefram/".
+ "Module-Runtime.git",
+ },
},
},
create_makefile_pl => "traditional",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/Changes
new/Module-Runtime-0.016/Changes
--- old/Module-Runtime-0.015/Changes 2017-07-16 02:31:17.000000000 +0200
+++ new/Module-Runtime-0.016/Changes 2017-10-17 22:27:37.000000000 +0200
@@ -1,3 +1,23 @@
+version 0.016; 2017-10-17
+
+ * port t/taint.t to Perl 5.27.5, where re-requiring an already-loaded
+ module doesn't trigger tainting
+
+ * skip t/taint.t if the perl empirically doesn't perform taint checks
+ but the script got run anyway (which happens with an unsupported
+ configuration of the Perl core which some people are using in the
+ absence of a supported no-taint configuration)
+
+ * in t/taint.t, use $^X rather than $ENV{PATH} as the primordial
+ tainted value to taint a string being tested
+
+ * in documentation, use four-column indentation for all verbatim
+ material
+
+ * in META.{yml,json}, point to public bug tracker
+
+ * in META.json, specify type of public repository
+
version 0.015; 2017-07-16
* update test suite to not rely on . in @INC, which is no longer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/META.json
new/Module-Runtime-0.016/META.json
--- old/Module-Runtime-0.015/META.json 2017-07-16 02:31:17.000000000 +0200
+++ new/Module-Runtime-0.016/META.json 2017-10-17 22:27:37.000000000 +0200
@@ -4,7 +4,7 @@
"Andrew Main (Zefram) <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Module::Build version 0.4222",
+ "generated_by" : "Module::Build version 0.4224",
"license" : [
"perl_5"
],
@@ -40,18 +40,23 @@
"provides" : {
"Module::Runtime" : {
"file" : "lib/Module/Runtime.pm",
- "version" : "0.015"
+ "version" : "0.016"
}
},
"release_status" : "stable",
"resources" : {
+ "bugtracker" : {
+ "mailto" : "[email protected]",
+ "web" :
"https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Runtime"
+ },
"license" : [
"http://dev.perl.org/licenses/"
],
"repository" : {
+ "type" : "git",
"url" : "git://git.fysh.org/zefram/Module-Runtime.git"
}
},
- "version" : "0.015",
+ "version" : "0.016",
"x_serialization_backend" : "JSON::PP version 2.93"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/META.yml
new/Module-Runtime-0.016/META.yml
--- old/Module-Runtime-0.015/META.yml 2017-07-16 02:31:17.000000000 +0200
+++ new/Module-Runtime-0.016/META.yml 2017-10-17 22:27:37.000000000 +0200
@@ -14,7 +14,7 @@
strict: '0'
warnings: '0'
dynamic_config: 0
-generated_by: 'Module::Build version 0.4222, CPAN::Meta::Converter version
2.150010'
+generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,11 +23,12 @@
provides:
Module::Runtime:
file: lib/Module/Runtime.pm
- version: '0.015'
+ version: '0.016'
requires:
perl: '5.006'
resources:
+ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Runtime
license: http://dev.perl.org/licenses/
repository: git://git.fysh.org/zefram/Module-Runtime.git
-version: '0.015'
+version: '0.016'
x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/Makefile.PL
new/Module-Runtime-0.016/Makefile.PL
--- old/Module-Runtime-0.015/Makefile.PL 2017-07-16 02:31:17.000000000
+0200
+++ new/Module-Runtime-0.016/Makefile.PL 2017-10-17 22:27:37.000000000
+0200
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.4222
+# Note: this file was auto-generated by Module::Build::Compat version 0.4224
require 5.006;
use ExtUtils::MakeMaker;
WriteMakefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/SIGNATURE
new/Module-Runtime-0.016/SIGNATURE
--- old/Module-Runtime-0.015/SIGNATURE 2017-07-16 02:31:23.000000000 +0200
+++ new/Module-Runtime-0.016/SIGNATURE 2017-10-17 22:27:44.000000000 +0200
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.73.
+signed via the Module::Signature module, version 0.81.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -15,14 +15,14 @@
Hash: SHA1
SHA1 846abd52ddad1c3141b395933fd10f14cb3cd7bc .gitignore
-SHA1 e3dd9692890aa2a330f3fa06fc72ee9c4d99354a Build.PL
-SHA1 c28b809041fffe23ec012c4a49b12bf9a1578295 Changes
+SHA1 cf2a8e9c893c079aec5ac8fca8bf5afc472554fb Build.PL
+SHA1 9fd88b5a09db2882fe419ca398ab648c89f39fa2 Changes
SHA1 9546eeb74b22a29325aa9f25680754de1d2c66bd MANIFEST
-SHA1 5cc949633444715c30476b6cc3ec9ac8a0cb4618 META.json
-SHA1 0cf9af6b1218239cac47f4fe3189d0db52dc551b META.yml
-SHA1 d65cb8e21521e6063b5c9ff0aa5971133eb80697 Makefile.PL
+SHA1 7d82b740ac1da751490d3b18d22b873b55888b7c META.json
+SHA1 ae3deefcdeb95a151b603476b81ca5c8cf2b682f META.yml
+SHA1 6c97007f942e3d79516bad3e17cae3df3f5d6fe7 Makefile.PL
SHA1 f39acd66237fdd46b843b872bf5636135afe0b07 README
-SHA1 51baafa53704c33b0a0dcdb0052095df132ae11d lib/Module/Runtime.pm
+SHA1 d20b3430d9b582c107f71f2fcab8bc5351a1f521 lib/Module/Runtime.pm
SHA1 a0f9c0dfbe6472e81222a196a2f17554697d0d48 t/cmn.t
SHA1 7324434239bc0678904a4eb406f6c3b08951b162 t/dependency.t
SHA1 9331d0076c868209e9d3f0572d80f3e81df456df t/import_error.t
@@ -39,14 +39,14 @@
SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t
SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t
SHA1 256e6d474b59dae11fd569f132c09079f9ac216a t/rm.t
-SHA1 5a0ef5f7a982fbaff5d501165ae2720f465c7560 t/taint.t
+SHA1 c7ec563b949b91a3c7b5c864607fcb8d7a0cfb9d t/taint.t
SHA1 bfbc137c2e8721b12779c04c19869285714e0348 t/um.t
SHA1 bf6317856eea0f9e36ddb75af8eda52f88a1d77f t/upo.t
SHA1 0c5244ef9cc8c0ff2e07a6b8eb04ed742994aae9 t/upo_overridden.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-iEYEARECAAYFAllqs9UACgkQOV9mt2VyAVGR7wCeIGvW9/xLua3RXMYk78FHcFee
-FSkAoKQ/x6Tlk6cxBQGw8fN7rvJw4lWP
-=+SGA
+iEYEARECAAYFAlnmZ7kACgkQOV9mt2VyAVEj/gCeKs9vDfTwdU6OsSuxxGXYA9Gv
+PjkAnjPcXkbc5Eb6lWAEiHJbn2CnM16e
+=X0zz
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/lib/Module/Runtime.pm
new/Module-Runtime-0.016/lib/Module/Runtime.pm
--- old/Module-Runtime-0.015/lib/Module/Runtime.pm 2017-07-16
02:31:17.000000000 +0200
+++ new/Module-Runtime-0.016/lib/Module/Runtime.pm 2017-10-17
22:27:37.000000000 +0200
@@ -4,36 +4,33 @@
=head1 SYNOPSIS
- use Module::Runtime qw(
- $module_name_rx is_module_name check_module_name
- module_notional_filename require_module
- );
-
- if($module_name =~ /\A$module_name_rx\z/o) { ...
- if(is_module_name($module_name)) { ...
- check_module_name($module_name);
-
- $notional_filename = module_notional_filename($module_name);
- require_module($module_name);
-
- use Module::Runtime qw(use_module use_package_optimistically);
-
- $bi = use_module("Math::BigInt", 1.31)->new("1_234");
- $widget = use_package_optimistically("Local::Widget")->new;
-
- use Module::Runtime qw(
- $top_module_spec_rx $sub_module_spec_rx
- is_module_spec check_module_spec
- compose_module_name
- );
-
- if($spec =~ /\A$top_module_spec_rx\z/o) { ...
- if($spec =~ /\A$sub_module_spec_rx\z/o) { ...
- if(is_module_spec("Standard::Prefix", $spec)) { ...
- check_module_spec("Standard::Prefix", $spec);
+ use Module::Runtime qw(
+ $module_name_rx is_module_name check_module_name
+ module_notional_filename require_module);
- $module_name =
- compose_module_name("Standard::Prefix", $spec);
+ if($module_name =~ /\A$module_name_rx\z/o) { ...
+ if(is_module_name($module_name)) { ...
+ check_module_name($module_name);
+
+ $notional_filename = module_notional_filename($module_name);
+ require_module($module_name);
+
+ use Module::Runtime qw(use_module use_package_optimistically);
+
+ $bi = use_module("Math::BigInt", 1.31)->new("1_234");
+ $widget = use_package_optimistically("Local::Widget")->new;
+
+ use Module::Runtime qw(
+ $top_module_spec_rx $sub_module_spec_rx
+ is_module_spec check_module_spec
+ compose_module_name);
+
+ if($spec =~ /\A$top_module_spec_rx\z/o) { ...
+ if($spec =~ /\A$sub_module_spec_rx\z/o) { ...
+ if(is_module_spec("Standard::Prefix", $spec)) { ...
+ check_module_spec("Standard::Prefix", $spec);
+
+ $module_name = compose_module_name("Standard::Prefix", $spec);
=head1 DESCRIPTION
@@ -120,7 +117,7 @@
BEGIN { ${^WARNING_BITS} = ""; }
# Don't "use strict" here, to avoid dependencies.
-our $VERSION = "0.015";
+our $VERSION = "0.016";
# Don't use Exporter here, to avoid dependencies.
our @EXPORT_OK = qw(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Module-Runtime-0.015/t/taint.t
new/Module-Runtime-0.016/t/taint.t
--- old/Module-Runtime-0.015/t/taint.t 2017-07-16 02:31:17.000000000 +0200
+++ new/Module-Runtime-0.016/t/taint.t 2017-10-17 22:27:37.000000000 +0200
@@ -4,6 +4,14 @@
use warnings;
use strict;
+BEGIN {
+ if(eval { eval("1".substr($^X,0,0)) }) {
+ require Test::More;
+ Test::More::plan(skip_all =>
+ "tainting not supported on this Perl");
+ }
+}
+
use Test::More tests => 5;
BEGIN {
@@ -11,7 +19,8 @@
qw(require_module use_module use_package_optimistically);
}
-my $tainted_modname = substr($ENV{PATH}, 0, 0) . "Module::Runtime";
+unshift @INC, "./t/lib";
+my $tainted_modname = substr($^X, 0, 0) . "t::Simple";
eval { require_module($tainted_modname) };
like $@, qr/\AInsecure dependency /;
eval { use_module($tainted_modname) };