Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Data-Dump for openSUSE:Factory 
checked in at 2026-12-01 17:19:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Data-Dump (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Data-Dump.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Data-Dump"

Tue Dec  1 17:19:15 2026 rev:10 rq:1401701 version:1.280.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Data-Dump/perl-Data-Dump.changes    
2021-07-02 13:27:22.344804664 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Data-Dump.new.1340718/perl-Data-Dump.changes   
    2026-12-01 17:19:24.162653399 +0100
@@ -1,0 +2,21 @@
+Tue Nov 24 15:53:50 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 1.280.0 (1.28)
+   see /usr/share/doc/packages/perl-Data-Dump/Changes
+
+  2026-11-23  Breno G. de Oliveira <[email protected]>
+     Release 1.28
+     Fix regex tests in older perls.
+  2026-11-23  Breno G. de Oliveira <[email protected]>
+     Release 1.27
+     Skip some regexp tests in older perls.
+  2026-11-20  Breno G. de Oliveira <[email protected]>
+     Release 1.26
+     Quote sigils in regexp so eval'ing the dump doesn't interpolate 
(CVE-2026-133443).
+     Recognize modern regexp modifiers.
+     Fix test in cygwin (failure reported by PJACKLAM)
+     Add parens to keys %! call to avoid warning on perl 5.8 (HAARG)
+     Dump core booleans with !!1 and !!0 notation (LEONERD)
+     Don't use vars, use our (HAARG)
+
+-------------------------------------------------------------------

Old:
----
  Data-Dump-1.25.tar.gz

New:
----
  Data-Dump-1.28.tar.gz
  README.md
  _scmsync.obsinfo
  build.specials.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Data-Dump.spec ++++++
--- /var/tmp/diff_new_pack.6LfznW/_old  2026-12-01 17:19:25.558712162 +0100
+++ /var/tmp/diff_new_pack.6LfznW/_new  2026-12-01 17:19:25.560712247 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Data-Dump
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,26 @@
 
 %define cpan_name Data-Dump
 Name:           perl-Data-Dump
-Version:        1.25
+Version:        1.280.0
 Release:        0
-Summary:        Pretty printing of data structures
+# 1.28 -> normalize -> 1.280.0
+%define cpan_version 1.28
 License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Pretty printing of data structures
 URL:            https://metacpan.org/release/%{cpan_name}
-Source0:        
https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
+Source100:      README.md
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros
+Provides:       perl(Data::Dump) = %{version}
+Provides:       perl(Data::Dump::FilterContext)
+Provides:       perl(Data::Dump::Filtered)
+Provides:       perl(Data::Dump::Trace) = 0.20.0
+Provides:       perl(Data::Dump::Trace::Call)
+Provides:       perl(Data::Dump::Trace::Wrapper)
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
@@ -50,7 +60,7 @@
 automatically added to keep it easy to read.
 
 %prep
-%autosetup  -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor

++++++ Data-Dump-1.25.tar.gz -> Data-Dump-1.28.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/Changes new/Data-Dump-1.28/Changes
--- old/Data-Dump-1.25/Changes  2021-06-26 06:01:16.000000000 +0200
+++ new/Data-Dump-1.28/Changes  2026-11-24 03:41:15.000000000 +0100
@@ -1,3 +1,33 @@
+2026-11-23  Breno G. de Oliveira <[email protected]>
+
+   Release 1.28
+
+   Fix regex tests in older perls.
+
+2026-11-23  Breno G. de Oliveira <[email protected]>
+
+   Release 1.27
+
+   Skip some regexp tests in older perls.
+
+
+2026-11-20  Breno G. de Oliveira <[email protected]>
+
+   Release 1.26
+
+   Quote sigils in regexp so eval'ing the dump doesn't interpolate 
(CVE-2026-133443).
+
+   Recognize modern regexp modifiers.
+
+   Fix test in cygwin (failure reported by PJACKLAM)
+
+   Add parens to keys %! call to avoid warning on perl 5.8 (HAARG)
+
+   Dump core booleans with !!1 and !!0 notation (LEONERD)
+
+   Don't use vars, use our (HAARG)
+
+
 2021-06-26  Breno G. de Oliveira <[email protected]>
 
    Release 1.25
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/MANIFEST new/Data-Dump-1.28/MANIFEST
--- old/Data-Dump-1.25/MANIFEST 2021-06-26 06:04:22.000000000 +0200
+++ new/Data-Dump-1.28/MANIFEST 2026-11-24 03:42:09.000000000 +0100
@@ -16,6 +16,7 @@
 t/quote-unicode.t
 t/quote.t
 t/ref.t
+t/regexp-eval.t
 t/regexp.t
 t/scalar-obj.t
 t/scalar.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/META.json new/Data-Dump-1.28/META.json
--- old/Data-Dump-1.25/META.json        2021-06-26 06:04:22.000000000 +0200
+++ new/Data-Dump-1.28/META.json        2026-11-24 03:42:09.000000000 +0100
@@ -4,7 +4,7 @@
       "Gisle Aas <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -52,6 +52,6 @@
          "url" : "http://github.com/garu/data-dump";
       }
    },
-   "version" : "1.25",
-   "x_serialization_backend" : "JSON::PP version 4.06"
+   "version" : "1.28",
+   "x_serialization_backend" : "JSON::PP version 4.16"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/META.yml new/Data-Dump-1.28/META.yml
--- old/Data-Dump-1.25/META.yml 2021-06-26 06:04:22.000000000 +0200
+++ new/Data-Dump-1.28/META.yml 2026-11-24 03:42:02.000000000 +0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -26,5 +26,5 @@
   bugtracker: https://github.com/garu/data-dump/issues/
   license: http://dev.perl.org/licenses/
   repository: http://github.com/garu/data-dump
-version: '1.25'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+version: '1.28'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.020'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/lib/Data/Dump/Trace.pm 
new/Data-Dump-1.28/lib/Data/Dump/Trace.pm
--- old/Data-Dump-1.25/lib/Data/Dump/Trace.pm   2021-06-26 03:53:51.000000000 
+0200
+++ new/Data-Dump-1.28/lib/Data/Dump/Trace.pm   2026-11-21 03:41:56.000000000 
+0100
@@ -259,7 +259,7 @@
 
 sub errno {
     my $t = "";
-    for (keys %!) {
+    for (keys(%!)) {
         if ($!{$_}) {
             $t = $_;
             last;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/lib/Data/Dump.pm 
new/Data-Dump-1.28/lib/Data/Dump.pm
--- old/Data-Dump-1.25/lib/Data/Dump.pm 2021-06-26 06:01:16.000000000 +0200
+++ new/Data-Dump-1.28/lib/Data/Dump.pm 2026-11-24 03:41:44.000000000 +0100
@@ -1,24 +1,30 @@
 package Data::Dump;
 
 use strict;
-use vars qw(@EXPORT @EXPORT_OK $VERSION $DEBUG);
-use subs qq(dump);
+use subs qw(dump);
 
 require Exporter;
 *import = \&Exporter::import;
-@EXPORT = qw(dd ddx);
-@EXPORT_OK = qw(dump pp dumpf quote);
+our @EXPORT = qw(dd ddx);
+our @EXPORT_OK = qw(dump pp dumpf quote);
 
-$VERSION = "1.25";
-$DEBUG = 0;
+our $VERSION = "1.28";
+our $DEBUG = 0;
 
 use overload ();
-use vars qw(%seen %refcnt @dump @fixup %require $TRY_BASE64 @FILTERS $INDENT 
$LINEWIDTH);
+our (%seen, %refcnt, @dump, @fixup, %require, $TRY_BASE64, @FILTERS, $INDENT, 
$LINEWIDTH);
 
 $TRY_BASE64 = 50 unless defined $TRY_BASE64;
 $INDENT = "  " unless defined $INDENT;
 $LINEWIDTH = 60 unless defined $LINEWIDTH;
 
+use constant HAVE_BOOLEANS => $^V ge v5.36.0;
+sub _is_bool
+{
+    no if HAVE_BOOLEANS, warnings => "experimental::builtin";
+    return HAVE_BOOLEANS ? builtin::is_bool($_[0]) : 0;
+}
+
 sub dump
 {
     local %seen;
@@ -196,10 +202,9 @@
                my $v = "$rval";
 
                my $mod = "";
-               if ($v =~ /^\(\?\^?([msix-]*):([\x00-\xFF]*)\)\z/) {
-                   $mod = $1;
-                   $v = $2;
-                   $mod =~ s/-.*//;
+               if ($v =~ /^\(\?(\^?)([a-z]*)(?:-[a-z]*)?:([\x00-\xFF]*)\)\z/) {
+                   $mod = $2;
+                   $v = $3;
                }
 
                my $sep = '/';
@@ -218,6 +223,9 @@
                }
                $v =~ s/\Q$sep\E/\\$sep/g;
 
+               # quote sigils so eval'ing the dump doesn't interpolate them.
+               $v =~ 
s/(\\.)|(\@(?:[\{\[]+|(?=[\$\'\@:0-9A-Za-z_]|[^\x00-\x7F]))|\$(?![()| 
\t\r\n]|\z)[\{\[]*)/$1?$1:'${\\q(' . $2 . ')}'/ge;
+
                $out = "qr$sep$v$sep$mod";
                undef($class);
            }
@@ -230,6 +238,9 @@
            if (!defined $$rval) {
                $out = "undef";
            }
+           elsif (_is_bool $$rval) {
+               $out = $$rval ? '!!1' : '!!0';
+           }
            elsif ($$rval =~ /^-?(?:nan|inf)/i) {
                $out = str($$rval);
            }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/t/glob.t new/Data-Dump-1.28/t/glob.t
--- old/Data-Dump-1.25/t/glob.t 2021-06-26 03:52:48.000000000 +0200
+++ new/Data-Dump-1.28/t/glob.t 2026-11-21 03:49:24.000000000 +0100
@@ -23,13 +23,13 @@
 }
 EOT
 
-use IO::Socket::INET;
-my $s = IO::Socket::INET->new(
-    Listen => 1,
-    Timeout => 5,
-    LocalAddr => '127.0.0.1',
-);
+my $s = gensym();
+bless $s, 'Data::Dump::Test';
+${*$s}{ddt_domain}  = 2;
+${*$s}{ddt_proto}   = 6;
+${*$s}{ddt_type}    = 1;
+${*$s}{ddt_timeout} = 5;
 $s = dump($s);
 print "$s\n";
-ok($s =~ /my \$a = bless\(Symbol::gensym\(\), "IO::Socket::INET"\);/);
-ok($s =~ /^\s+io_socket_timeout\s+=> 5,/m);
+ok($s =~ /my \$a = bless\(Symbol::gensym\(\), "Data::Dump::Test"\);/);
+ok($s =~ /\s+ddt_timeout\s+=> 5/m);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/t/regexp-eval.t 
new/Data-Dump-1.28/t/regexp-eval.t
--- old/Data-Dump-1.25/t/regexp-eval.t  1970-01-01 01:00:00.000000000 +0100
+++ new/Data-Dump-1.28/t/regexp-eval.t  2026-11-24 03:23:35.000000000 +0100
@@ -0,0 +1,188 @@
+#!perl
+use strict;
+use warnings;
+use Test::More;
+use Data::Dump qw(dump);
+
+our $RAN;
+
+my $   foo = 'SCALAR-SENTINEL';
+my @    bar = ('ARRAY-SENTINEL');
+
+my @sources = (
+    '@{[ $main::RAN++ ]}',
+    '${[ $main::RAN++ ]}',
+    '${\ $main::RAN++ }',
+    '@{[1]}',
+    '${[1]}',
+    '@{2}',
+    '${2}',
+    ($] >= 5.034 ? ('@{ 1,2 }', '${ 1,2 }') : ()),
+    '@[1]',
+    '$[1]',
+    '@{[[1]]}',
+    '${[[1]]}',
+    '@{{2}',
+    '${{2}',
+    '@foo',
+    '@@bar',
+    '@@@{x}',
+    '@$foo',
+    '@0',
+    '@_',
+    q{@'foo},
+    '@:foo',
+    '$foo',
+    '$|',
+    '$]',
+    '$$',
+    '$^W',
+    '$#foo',
+    '$' . '\\w',
+    '$' . ('\\' x 2) . 'w',
+    '$!',
+    '\\@{x}',
+    '\\${x}',
+    ('\\' x 2) . '@{x}',
+    ('\\' x 3) . '@{x}',
+    ('\\' x 2) . '$foo',
+    ('\\' x 3) . '$foo',
+    '^foo$',
+    '(a$)',
+    '$',
+    '$ foo',
+    '$  foo',
+    '$' . (' ' x 3) . 'foo',
+    '$' . "\t" . 'foo',
+    '$' . "\n" . 'foo',
+    '$' . "\r" . 'foo',
+    '$' . "\f" . 'foo',
+    '$' . "\x0B" . 'foo',
+    '@ bar',
+    '@  bar',
+    '@' . (' ' x 4) . 'bar',
+    '@' . "\t" . 'bar',
+    '@' . "\n" . 'bar',
+    '@' . "\r" . 'bar',
+    '@' . "\f" . 'bar',
+    '@' . "\x0B" . 'bar',
+    '@ ',
+    '@-',
+    '@(?:x)',
+);
+
+my %unchanged = (
+    '$ '                       => 'qr/$ /',
+    '$ foo'                    => 'qr/$ foo/',
+    '$' . (' ' x 3) . 'foo'    => 'qr/$' . (' ' x 3) . 'foo/',
+    '@ '                       => 'qr/@ /',
+    '@' . (' ' x 4) . 'bar'    => 'qr/@' . (' ' x 4) . 'bar/',
+    '@-'                       => 'qr/@-/',
+    '@(?:x)'                   => 'qr/@(?:x)/',
+);
+
+my @mods = ('msix');
+push @mods, 'p'          if $] >= 5.010;
+push @mods, qw(a aa l u) if $] >= 5.014;
+push @mods, 'n'          if $] >= 5.022;
+push @mods, 'xx'         if $] >= 5.026;
+push @mods, 'aai'        if $] >= 5.014;
+push @mods, 'xxi'        if $] >= 5.026;
+
+plan tests => scalar(@sources) * 3 + 3 + scalar(keys %unchanged) + 2
+            + scalar(@mods) * 5 + 1;
+
+sub make_regexp {
+    my ($source, $mod) = @_;
+    local $SIG{__WARN__} = sub { };
+    # Some regex patterns are invalid depending on the perl version.
+    return $mod ? eval 'qr/$source/' . $mod : eval { qr/$source/ };
+}
+
+sub eval_dump {
+    my $dump = shift;
+    local $SIG{__WARN__} = sub {
+        warn @_ unless $_[0] =~ /Unescaped left brace|Quantifier unexpected on 
zero-length/;
+    };
+    return eval $dump;
+}
+
+for my $source (@sources) {
+    my $regexp = make_regexp($source);
+
+    SKIP: {
+        skip "regex [$source] cannot be built on perl $]", 3
+            unless defined $regexp;
+
+        local $RAN = 0;
+
+        my $dump = dump($regexp);
+        my $restored = eval_dump($dump);
+        my $got = defined $restored ? "$restored" : '<undef>';
+
+        is($@, '', "eval works for regex [$source]");
+        is($RAN, 0, "no code interpolation for regex [$source]");
+        is($got, "$regexp", "regex [$source] round-trips");
+    }
+}
+
+{
+    my $regexp = make_regexp('@{[ $main::RAN++ ]}');
+
+    SKIP: {
+        skip "nested regex cannot be built on perl $]", 3
+            unless defined $regexp;
+
+        local $RAN = 0;
+
+        my $dump = dump({ re => $regexp });
+        my $restored = eval_dump($dump);
+        my $got = defined $restored && ref $restored->{re}
+            ? "$restored->{re}" : '<undef>';
+
+        is($@, '', 'eval works for nested regex');
+        is($RAN, 0, 'no code interpolation for nested regex');
+        is($got, "$regexp", 'nested regex round-trips');
+    }
+}
+
+for my $mod (@mods) {
+    my $regexp = make_regexp('foo', $mod);
+    my $dump = dump($regexp);
+    my $restored = eval_dump($dump);
+    my $got = defined $restored ? "$restored" : '<undef>';
+
+    is($@, '', "eval works for /$mod");
+    is($got, "$regexp", "regex with /$mod round-trips");
+
+    my $payload = make_regexp('@{[ $main::RAN++ ]}', $mod);
+
+    SKIP: {
+        skip "payload with /$mod cannot be built on perl $]", 3
+            unless defined $payload;
+
+        local $RAN = 0;
+        my $payload_dump = dump($payload);
+        my $payload_restored = eval_dump($payload_dump);
+        my $payload_got = defined $payload_restored ? "$payload_restored" : 
'<undef>';
+
+        is($@, '', "eval works for payload with /$mod");
+        is($RAN, 0, "no interpolation with /$mod");
+        is($payload_got, "$payload", "payload with /$mod round-trips");
+    }
+}
+
+{
+    my $regexp = make_regexp('(?-i:foo)');
+    my $restored = eval_dump(dump($regexp));
+    is(defined $restored ? "$restored" : '<undef>', "$regexp",
+       'negative modifier round-trips');
+}
+
+is($foo, 'SCALAR-SENTINEL', 'scalar sentinel is in scope');
+is("@bar", 'ARRAY-SENTINEL', 'array sentinel is in scope');
+
+for my $source (sort keys %unchanged) {
+    is(dump(make_regexp($source)), $unchanged{$source},
+       "dump of [$source] is unchanged");
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Data-Dump-1.25/t/regexp.t 
new/Data-Dump-1.28/t/regexp.t
--- old/Data-Dump-1.25/t/regexp.t       2021-06-26 03:52:48.000000000 +0200
+++ new/Data-Dump-1.28/t/regexp.t       2026-11-21 03:41:56.000000000 +0100
@@ -1,7 +1,14 @@
 #!perl -w
 
 use Test;
-plan tests => 1;
+
+my @modern = ();
+push @modern, 'p'          if $] >= 5.010;
+push @modern, qw(a aa l u) if $] >= 5.014;
+push @modern, 'n'          if $] >= 5.022;
+push @modern, 'xx'         if $] >= 5.026;
+
+plan tests => 1 + @modern;
 
 use Data::Dump;
 
@@ -36,3 +43,7 @@
   i => qr/\/|,:#/,
 }
 EOT
+
+for my $mod (@modern) {
+    ok(Data::Dump::dump(eval 'qr/Foo/' . $mod), "qr/Foo/$mod");
+}

++++++ README.md ++++++

## Build Results

Current state of perl in openSUSE:Factory is

![Factory build 
results](https://br.opensuse.org/status/openSUSE:Factory/perl-Data-Dump/standard)

The current state of perl in the devel project build (devel:languages:perl)

![Devel project build 
results](https://br.opensuse.org/status/devel:languages:perl/perl-Data-Dump)



++++++ _scmsync.obsinfo ++++++
mtime: 1795535630
commit: 8da76560fcdc00ace1685d496cf41a13126a1cf2ad42dd8074b70d5934440c80
url: https://src.opensuse.org/perl/perl-Data-Dump
revision: 8da76560fcdc00ace1685d496cf41a13126a1cf2ad42dd8074b70d5934440c80
projectscmsync: https://src.opensuse.org/perl/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-11-24 16:53:50.000000000 +0100
@@ -0,0 +1 @@
+.osc

Reply via email to