Hello community,
here is the log from the commit of package perl-Net-IDN-Encode for
openSUSE:Factory checked in at 2013-10-07 08:31:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-IDN-Encode (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-IDN-Encode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-IDN-Encode"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-IDN-Encode/perl-Net-IDN-Encode.changes
2013-08-01 15:58:52.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Net-IDN-Encode.new/perl-Net-IDN-Encode.changes
2013-10-07 08:31:54.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Oct 4 09:11:26 UTC 2013 - [email protected]
+
+- updated to 2.004
+ - FIXES: #85552 3 uts46 tests FAIL under perl-5.18.0
+ (reported by d.thomas@*****.au)
+
+-------------------------------------------------------------------
Old:
----
Net-IDN-Encode-2.003.tar.gz
New:
----
Net-IDN-Encode-2.004.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-IDN-Encode.spec ++++++
--- /var/tmp/diff_new_pack.TCXNFK/_old 2013-10-07 08:31:55.000000000 +0200
+++ /var/tmp/diff_new_pack.TCXNFK/_new 2013-10-07 08:31:55.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-Net-IDN-Encode
-Version: 2.003
+Version: 2.004
Release: 0
%define cpan_name Net-IDN-Encode
Summary: Internationalizing Domain Names in Applications (IDNA)
@@ -29,7 +29,7 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder)
-BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(Module::Build) >= 0.4000
BuildRequires: perl(Test::NoWarnings)
#BuildRequires: perl(Net::IDN::Encode)
#BuildRequires: perl(Net::IDN::Punycode)
++++++ Net-IDN-Encode-2.003.tar.gz -> Net-IDN-Encode-2.004.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/Changes
new/Net-IDN-Encode-2.004/Changes
--- old/Net-IDN-Encode-2.003/Changes 2012-01-22 12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/Changes 2013-08-12 21:16:53.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Perl extension Net::IDN::Encode
+2.004 (2013-08-12)
+ - FIXES: #85552 3 uts46 tests FAIL under perl-5.18.0
+ (reported by d.thomas@*****.au)
+
2.003 (2012-01-22)
- FIXES required version of Unicode::Normalize in UTS46.pm
(reported by CPAN testers)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/LICENSE
new/Net-IDN-Encode-2.004/LICENSE
--- old/Net-IDN-Encode-2.003/LICENSE 2012-01-22 12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/LICENSE 2013-08-12 21:16:53.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2012 by Claus F�rber <[email protected]>.
+This software is copyright (c) 2013 by Claus F�rber <[email protected]>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2012 by Claus F�rber <[email protected]>.
+This software is Copyright (c) 2013 by Claus F�rber <[email protected]>.
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2012 by Claus F�rber <[email protected]>.
+This software is Copyright (c) 2013 by Claus F�rber <[email protected]>.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/MANIFEST
new/Net-IDN-Encode-2.004/MANIFEST
--- old/Net-IDN-Encode-2.003/MANIFEST 2012-01-22 12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/MANIFEST 2013-08-12 21:16:53.000000000 +0200
@@ -1,34 +1,35 @@
-README
-Changes
Build.PL
-Makefile.PL
-MANIFEST
+Changes
+eg/hello_idn.pl
+eg/hello_idn_email.pl
lib/Net/IDN/Encode.pm
+lib/Net/IDN/Overview.pod
lib/Net/IDN/Punycode.pm
lib/Net/IDN/Punycode.xs
lib/Net/IDN/Punycode/PP.pm
-lib/Net/IDN/Overview.pod
lib/Net/IDN/Standards.pod
lib/Net/IDN/UTS46.pm
lib/Net/IDN/UTS46/_Mapping.pm
+LICENSE
+Makefile.PL
+MANIFEST
+META.json
+META.yml
+README
t/00use.t
t/10pod.t
t/11pod_cover.t
-t/encode_bytes.t
-t/encode_utf8.t
t/domain_to_ascii.t
t/domain_to_unicode.t
-t/punycode_vec-xs.t
+t/encode_bytes.t
+t/encode_utf8.t
t/punycode_vec-pp.t
+t/punycode_vec-xs.t
t/uts46_api_call.t
t/uts46_encode_bytes.t
t/uts46_encode_utf8.t
-t/uts46_to_ascii.t
t/uts46_to_ascii-trans.t
+t/uts46_to_ascii.t
t/uts46_to_unicode.t
-eg/hello_idn.pl
-eg/hello_idn_email.pl
-LICENSE
-META.yml
-META.json
+t/xtra_pp.t
SIGNATURE Added here by Module::Build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/META.json
new/Net-IDN-Encode-2.004/META.json
--- old/Net-IDN-Encode-2.003/META.json 2012-01-22 12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/META.json 2013-08-12 21:16:53.000000000 +0200
@@ -4,7 +4,7 @@
"Claus Färber <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version
2.112621",
+ "generated_by" : "Module::Build version 0.4005, CPAN::Meta::Converter
version 2.120351",
"license" : [
"perl_5"
],
@@ -22,19 +22,19 @@
"prereqs" : {
"build" : {
"requires" : {
- "ExtUtils::CBuilder" : 0,
- "Test::More" : 0,
- "Test::NoWarnings" : 0
+ "ExtUtils::CBuilder" : "0",
+ "Test::More" : "0",
+ "Test::NoWarnings" : "0"
}
},
"configure" : {
"requires" : {
- "Module::Build" : "0.38"
+ "Module::Build" : "0.40"
}
},
"runtime" : {
"requires" : {
- "Unicode::Normalize" : 0,
+ "Unicode::Normalize" : "0",
"perl" : "5.008005"
}
}
@@ -42,7 +42,7 @@
"provides" : {
"Net::IDN::Encode" : {
"file" : "lib/Net/IDN/Encode.pm",
- "version" : "2.003"
+ "version" : "2.004"
},
"Net::IDN::Punycode" : {
"file" : "lib/Net/IDN/Punycode.pm",
@@ -63,5 +63,5 @@
"http://dev.perl.org/licenses/"
]
},
- "version" : "2.003"
+ "version" : "2.004"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/META.yml
new/Net-IDN-Encode-2.004/META.yml
--- old/Net-IDN-Encode-2.003/META.yml 2012-01-22 12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/META.yml 2013-08-12 21:16:53.000000000 +0200
@@ -7,9 +7,9 @@
Test::More: 0
Test::NoWarnings: 0
configure_requires:
- Module::Build: 0.38
+ Module::Build: 0.40
dynamic_config: 1
-generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version
2.112621'
+generated_by: 'Module::Build version 0.4005, CPAN::Meta::Converter version
2.120351'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,7 +22,7 @@
provides:
Net::IDN::Encode:
file: lib/Net/IDN/Encode.pm
- version: 2.003
+ version: 2.004
Net::IDN::Punycode:
file: lib/Net/IDN/Punycode.pm
version: 1.100
@@ -37,4 +37,4 @@
perl: 5.008005
resources:
license: http://dev.perl.org/licenses/
-version: 2.003
+version: 2.004
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/Makefile.PL
new/Net-IDN-Encode-2.004/Makefile.PL
--- old/Net-IDN-Encode-2.003/Makefile.PL 2012-01-22 12:34:29.000000000
+0100
+++ new/Net-IDN-Encode-2.004/Makefile.PL 2013-08-12 21:16:53.000000000
+0200
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3800
+# Note: this file was auto-generated by Module::Build::Compat version 0.4005
require 5.008005;
use ExtUtils::MakeMaker;
WriteMakefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/SIGNATURE
new/Net-IDN-Encode-2.004/SIGNATURE
--- old/Net-IDN-Encode-2.003/SIGNATURE 2012-01-22 12:34:32.000000000 +0100
+++ new/Net-IDN-Encode-2.004/SIGNATURE 2013-08-12 21:16:56.000000000 +0200
@@ -15,20 +15,20 @@
Hash: SHA1
SHA1 04a13098c55c43968a5e156a521f92dbade4c0bb Build.PL
-SHA1 eba8f30fe6b7ded57b886da458f885dc34b5a2bc Changes
-SHA1 7e55d75af78458f31f622a9b5f01c51a2b9a2072 LICENSE
-SHA1 4b8067d0c2cf1ed796e0c6246f3d765ceaec18bd MANIFEST
-SHA1 f38d6bfacc450153e26cbd0ac13c2c02e0f2ac1b META.json
-SHA1 0d74d4f8728cc78ffd4e33d43325f475a4ae97e3 META.yml
-SHA1 815436106c89976f5f40f0489585e6dabe260494 Makefile.PL
+SHA1 1b56a572c56390efbe41669365809c0546a5830c Changes
+SHA1 296afab11451d2129927fd8ae8d387caa797ed2b LICENSE
+SHA1 b947efa2ea37142ead6dfab2e1bc3ef6ccf2666b MANIFEST
+SHA1 5c0604a888f13a7a54e9d65b1f06a2f7ec4e383a META.json
+SHA1 322caf8343d4aa539c4c4013fac466c6288c72ed META.yml
+SHA1 50546a23d429c141e906489947533515b1cd7bdf Makefile.PL
SHA1 1bbf99c0d4229d3f9f267fbe3d72507e30dd212a README
SHA1 c7825316b854216c50a88b5750c3a08a91e56695 eg/hello_idn.pl
SHA1 da626e4a67218dc2ed50b4a5b45b258078db0681 eg/hello_idn_email.pl
-SHA1 3349e83e6cd497d5eeba795838e176c4ef4aa053 lib/Net/IDN/Encode.pm
+SHA1 9fcc46b1b0146ceefa90dc1f6847e4f39095a95b lib/Net/IDN/Encode.pm
SHA1 0894f8f6a6627162b5bbf1a87a41ea67e34447bb lib/Net/IDN/Overview.pod
-SHA1 6b9a8883c39a0667b497a08185798bb1909873ed lib/Net/IDN/Punycode.pm
+SHA1 a7eaecc1c9628ddfbe6a480e524ebdcbfbf8252c lib/Net/IDN/Punycode.pm
SHA1 db9d9bf46f50ec3c95c2d49995fe1b13bd3639f0 lib/Net/IDN/Punycode.xs
-SHA1 3839d6936a1ecff1d85682f92b4ba5f931edc932 lib/Net/IDN/Punycode/PP.pm
+SHA1 982e1ce970d4083c85ffe0cae6ccce1cbf034af2 lib/Net/IDN/Punycode/PP.pm
SHA1 cf68974392077c4fa2601a8bcad336e056ea33be lib/Net/IDN/Standards.pod
SHA1 807be0c4da5aa61a97b9aa20a8c24b8537aa5b90 lib/Net/IDN/UTS46.pm
SHA1 199e883ccde763f93054bb8f2ec81ad667c2f2ee lib/Net/IDN/UTS46/_Mapping.pm
@@ -47,10 +47,11 @@
SHA1 a340c8fc9038203edffddcede80a848c30414ece t/uts46_to_ascii-trans.t
SHA1 6696bb0b3a467cbc2823dd6ca65303bc29890394 t/uts46_to_ascii.t
SHA1 f63d1172d3eed103b6e784a2dac80da1e15e4407 t/uts46_to_unicode.t
+SHA1 245b13d82d5ab98b510dc4b0221cab1ffd347237 t/xtra_pp.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.11 (Darwin)
+Version: GnuPG v1.4.14 (Darwin)
-iEYEARECAAYFAk8b9EUACgkQSKUOY2OWgPAxgQCcDW+Df7dAELPTbkOJlCMDU4bU
-6qAAn3dgWnWx5GKYhz0GX5rZZqJNV0rm
-=v9ld
+iEYEARECAAYFAlIJNKUACgkQSKUOY2OWgPC/bgCePQDv0ggJP8qZYRnYMAecN+Zd
+NIQAn2bds7d/k4YabOQ1f8f5Ze1zqYeL
+=YGCL
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/lib/Net/IDN/Encode.pm
new/Net-IDN-Encode-2.004/lib/Net/IDN/Encode.pm
--- old/Net-IDN-Encode-2.003/lib/Net/IDN/Encode.pm 2012-01-22
12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/lib/Net/IDN/Encode.pm 2013-08-12
21:16:53.000000000 +0200
@@ -6,7 +6,7 @@
use utf8;
use warnings;
-our $VERSION = "2.003";
+our $VERSION = "2.004";
$VERSION = eval $VERSION;
use Carp;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/lib/Net/IDN/Punycode/PP.pm
new/Net-IDN-Encode-2.004/lib/Net/IDN/Punycode/PP.pm
--- old/Net-IDN-Encode-2.003/lib/Net/IDN/Punycode/PP.pm 2012-01-22
12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/lib/Net/IDN/Punycode/PP.pm 2013-08-12
21:16:53.000000000 +0200
@@ -26,6 +26,9 @@
use constant INITIAL_BIAS => 72;
use constant INITIAL_N => 128;
+use constant UNICODE_MIN => 0;
+use constant UNICODE_MAX => 0x10FFFF;
+
my $Delimiter = chr 0x2D;
my $BasicRE = "\x00-\x7f";
my $PunyRE = "A-Za-z0-9";
@@ -93,6 +96,7 @@
$bias = _adapt($i - $oldi, @output + 1, $oldi == 0);
$n += $i / (@output + 1);
$i = $i % (@output + 1);
+ croak('invalid code point') if $n < UNICODE_MIN or $n > UNICODE_MAX;
splice(@output, $i, 0, chr($n));
$i++;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/lib/Net/IDN/Punycode.pm
new/Net-IDN-Encode-2.004/lib/Net/IDN/Punycode.pm
--- old/Net-IDN-Encode-2.003/lib/Net/IDN/Punycode.pm 2012-01-22
12:34:29.000000000 +0100
+++ new/Net-IDN-Encode-2.004/lib/Net/IDN/Punycode.pm 2013-08-12
21:16:53.000000000 +0200
@@ -16,8 +16,10 @@
our @EXPORT_OK = ();
our %EXPORT_TAGS = ( 'all' => [ qw(encode_punycode decode_punycode) ], );
Exporter::export_ok_tags(keys %EXPORT_TAGS);
+our $_NO_XS = undef;
eval {
+ die if $_NO_XS;
require XSLoader;
XSLoader::load('Net::IDN::Punycode');
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Net-IDN-Encode-2.003/t/xtra_pp.t
new/Net-IDN-Encode-2.004/t/xtra_pp.t
--- old/Net-IDN-Encode-2.003/t/xtra_pp.t 1970-01-01 01:00:00.000000000
+0100
+++ new/Net-IDN-Encode-2.004/t/xtra_pp.t 2013-08-12 21:16:53.000000000
+0200
@@ -0,0 +1,26 @@
+use strict;
+use utf8;
+use warnings;
+
+BEGIN {
+ binmode STDOUT, ':utf8';
+ binmode STDERR, ':utf8';
+}
+
+use Test::More tests => 3 + 1;
+use Test::NoWarnings;
+
+{
+ $Net::IDN::Punycode::_NO_XS = 1;
+}
+use Net::IDN::UTS46 (':all');
+
+no warnings 'utf8';
+
+my %p = ("TransitionalProcessing" => "0");
+
+is(eval{uts46_to_ascii("xn--0.pt", %p)}, undef,
"to_ascii\(\'xn\-\-0\.pt\'\)\ throws\ error\ A3\ \[data\/IdnaTest\.txt\:256\]")
or ($@ and diag($@));
+is(eval{uts46_to_unicode("xn--0.pt", %p)}, undef,
"to_unicode\(\'xn\-\-0\.pt\'\)\ throws\ error\ A3\
\[data\/IdnaTest\.txt\:256\]") or ($@ and diag($@));
+is(eval{Net::IDN::Punycode::decode_punycode(0)}, undef, "decode_punycode(0)
throws error") or ($@ and diag($@));
+
+exit(0);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]