openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2019
- 1 participants
- 2204 discussions
Hello community,
here is the log from the commit of package frescobaldi for openSUSE:Factory checked in at 2019-12-30 12:35:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/frescobaldi (Old)
and /work/SRC/openSUSE:Factory/.frescobaldi.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "frescobaldi"
Mon Dec 30 12:35:23 2019 rev:16 rq:759962 version:3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/frescobaldi/frescobaldi.changes 2019-12-28 13:40:32.934933884 +0100
+++ /work/SRC/openSUSE:Factory/.frescobaldi.new.6675/frescobaldi.changes 2019-12-30 12:35:24.951823350 +0100
@@ -1,0 +2,11 @@
+Sun Dec 29 23:48:05 UTC 2019 - Cor Blom <cornelis(a)solcon.nl>
+
+- Also build translations
+
+-------------------------------------------------------------------
+Sun Dec 29 23:09:44 UTC 2019 - Cor Blom <cornelis(a)solcon.nl>
+
+- Add python3-qtwebengine-qt5 to Requires, is needed to run
+ frescobaldi
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ frescobaldi.spec ++++++
--- /var/tmp/diff_new_pack.n2uR0A/_old 2019-12-30 12:35:25.579823688 +0100
+++ /var/tmp/diff_new_pack.n2uR0A/_new 2019-12-30 12:35:25.579823688 +0100
@@ -35,6 +35,7 @@
Requires: lilypond
Requires: python3-poppler-qt5
Requires: python3-qt5
+Requires: python3-qtwebengine-qt5
Requires: python3-sip
Recommends: libportmidi0
BuildArch: noarch
@@ -55,6 +56,7 @@
%build
rm -rf %{name}_app/icons/Tango
python3 setup.py build
+make -C i18n
%install
%suse_update_desktop_file %{name} Multimedia AudioVideoEditing
1
0
Hello community,
here is the log from the commit of package perl-Protocol-Redis for openSUSE:Factory checked in at 2019-12-30 12:35:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Protocol-Redis (Old)
and /work/SRC/openSUSE:Factory/.perl-Protocol-Redis.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Protocol-Redis"
Mon Dec 30 12:35:20 2019 rev:3 rq:759959 version:1.0011
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Protocol-Redis/perl-Protocol-Redis.changes 2019-08-29 17:27:47.619265319 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Protocol-Redis.new.6675/perl-Protocol-Redis.changes 2019-12-30 12:35:24.151822921 +0100
@@ -1,0 +2,9 @@
+Thu Dec 26 03:12:25 UTC 2019 - <timueller+perl(a)suse.de>
+
+- updated to 1.0011
+ see /usr/share/doc/packages/perl-Protocol-Redis/Changes
+
+ 1.0011 25.12.2019 00:00:00
+ - Fix improper integer value in protocol test (Grinnz)
+
+-------------------------------------------------------------------
Old:
----
Protocol-Redis-1.0010.tar.gz
New:
----
Protocol-Redis-1.0011.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Protocol-Redis.spec ++++++
--- /var/tmp/diff_new_pack.yO8lsV/_old 2019-12-30 12:35:24.771823254 +0100
+++ /var/tmp/diff_new_pack.yO8lsV/_new 2019-12-30 12:35:24.775823256 +0100
@@ -17,7 +17,7 @@
Name: perl-Protocol-Redis
-Version: 1.0010
+Version: 1.0011
Release: 0
%define cpan_name Protocol-Redis
Summary: Redis protocol parser/encoder with asynchronous capabilities
@@ -40,7 +40,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -56,6 +56,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes README
+%doc Changes
%changelog
++++++ Protocol-Redis-1.0010.tar.gz -> Protocol-Redis-1.0011.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/Changes new/Protocol-Redis-1.0011/Changes
--- old/Protocol-Redis-1.0010/Changes 2019-08-28 19:49:45.000000000 +0200
+++ new/Protocol-Redis-1.0011/Changes 2019-12-25 16:33:58.000000000 +0100
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Protocol::Redis
+1.0011 25.12.2019 00:00:00
+ - Fix improper integer value in protocol test (Grinnz)
+
1.0010 28.08.2019 00:00:00
- code cleanup, prerequirements improvement, updated metadata to
meta-spec (Grinnz)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/MANIFEST new/Protocol-Redis-1.0011/MANIFEST
--- old/Protocol-Redis-1.0010/MANIFEST 2019-08-28 21:17:50.000000000 +0200
+++ new/Protocol-Redis-1.0011/MANIFEST 2019-12-25 16:39:37.000000000 +0100
@@ -1,9 +1,9 @@
+benchmark.pl
Changes
lib/Protocol/Redis.pm
lib/Protocol/Redis/Test.pm
Makefile.PL
-MANIFEST This list of files
-README
+MANIFEST
t/redis.t
xt/pod.t
META.yml Module YAML meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/META.json new/Protocol-Redis-1.0011/META.json
--- old/Protocol-Redis-1.0010/META.json 2019-08-28 21:17:50.000000000 +0200
+++ new/Protocol-Redis-1.0011/META.json 2019-12-25 16:39:37.000000000 +0100
@@ -4,7 +4,7 @@
"Sergey Zasenko <sergey(a)zasenko.name>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.42, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -52,6 +52,6 @@
"web" : "https://github.com/und3f/protocol-redis"
}
},
- "version" : "1.0010",
+ "version" : "1.0011",
"x_serialization_backend" : "JSON::PP version 2.97001"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/META.yml new/Protocol-Redis-1.0011/META.yml
--- old/Protocol-Redis-1.0010/META.yml 2019-08-28 21:17:50.000000000 +0200
+++ new/Protocol-Redis-1.0011/META.yml 2019-12-25 16:39:37.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.42, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,5 +25,5 @@
bugtracker: https://github.com/und3f/protocol-redis/issues
license: http://dev.perl.org/licenses/
repository: https://github.com/und3f/protocol-redis.git
-version: '1.0010'
+version: '1.0011'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/README new/Protocol-Redis-1.0011/README
--- old/Protocol-Redis-1.0010/README 2019-08-28 21:10:27.000000000 +0200
+++ new/Protocol-Redis-1.0011/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,111 +0,0 @@
-NAME
- Protocol::Redis - Redis protocol parser/encoder with asynchronous
- capabilities.
-
-SYNOPSIS
- use Protocol::Redis;
- my $redis = Protocol::Redis->new(api => 1) or die "API v1 not supported";
-
- $redis->parse("+foo\r\n");
-
- # get parsed message
- my $message = $redis->get_message;
- print "parsed message: ", $message->{data}, "\n";
-
- # asynchronous parsing interface
- $redis->on_message(sub {
- my ($redis, $message) = @_;
- print "parsed message: ", $message->{data}, "\n";
- });
-
- # parse pipelined message
- $redis->parse("+bar\r\n-error\r\n");
-
- # create message
- print "Get key message:\n",
- $redis->encode({type => '*', data => [
- {type => '$', data => 'string'},
- {type => '+', data => 'OK'}
- ]});
-
-DESCRIPTION
- Redis protocol parser/encoder with asynchronous capabilities and
- pipelining <http://redis.io/topics/pipelining> support.
-
-APIv1
- Protocol::Redis APIv1 uses "Unified Request Protocol
- <http://redis.io/topics/protocol>" for message encoding/parsing and
- supports methods described further. Client libraries should specify API
- version during Protocol::Redis construction.
-
- "new"
- my $redis = Protocol::Redis->new(api => 1)
- or die "API v1 not supported";
-
- Construct Protocol::Redis object with specific API version support. If
- specified API version not supported constructor returns undef. Client
- libraries should always specify API version.
-
- "parse"
- $redis->parse("*2\r\n$4ping\r\n\r\n");
-
- Parse Redis protocol chunk.
-
- "get_message"
- while (my $message = $redis->get_message) {
- ...
- }
-
- Get parsed message or undef.
-
- "on_message"
- $redis->on_message(sub {
- my ($redis, $message) = @_;
-
- }
-
- Calls callback on each parsed message.
-
- "encode"
- my $string = $redis->encode({type => '+', data => 'test'});
- $string = $redis->encode(
- {type => '*', data => [
- {type => '$', data => 'test'}]});
-
- Encode data into redis message.
-
- "api"
- my $api_version = $redis->api;
-
- Get API version.
-
-SUPPORT
- IRC
- #redis on irc.perl.org
-
-DEVELOPMENT
- Repository
- http://github.com/und3f/protocol-redis
-
-AUTHOR
- Sergey Zasenko, "undef(a)cpan.org".
-
-CREDITS
- In alphabetical order
-
- David Leadbeater (dgl)
-
- Viacheslav Tykhanovskyi (vti)
-
- Yaroslav Korshak (yko)
-
- Dan Book (Grinnz)
-
- Jan Henning Thorsen (jhthorsen)
-
-COPYRIGHT AND LICENSE
- Copyright (C) 2011-2019, Sergey Zasenko.
-
- This program is free software, you can redistribute it and/or modify it
- under the same terms as Perl 5.10.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/benchmark.pl new/Protocol-Redis-1.0011/benchmark.pl
--- old/Protocol-Redis-1.0010/benchmark.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/Protocol-Redis-1.0011/benchmark.pl 2019-08-28 19:41:14.000000000 +0200
@@ -0,0 +1,95 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+use Benchmark qw(:all :hireswallclock);
+
+use FindBin;
+use lib "$FindBin::Bin/lib";
+use Protocol::Redis;
+use Protocol::Redis::Faster;
+use Protocol::Redis::Test;
+
+my $redis = Protocol::Redis->new(api => 1);
+my $redis_fast = Protocol::Redis::Faster->new(api => 1);
+
+$redis->on_message(sub { });
+
+sub encode {
+ my $redis = shift;
+
+ # Encode message
+ $redis->encode({type => '+', data => 'OK'});
+ $redis->encode({type => '-', data => 'ERROR'});
+ $redis->encode({type => ':', data => '5'});
+
+ # Encode bulk message
+ $redis->encode({type => '$', data => 'test'});
+ $redis->encode({type => '$', data => "\0\r\n"});
+ $redis->encode({type => '$', data => undef});
+
+ # Encode multi-bulk
+ $redis->encode({type => '*', data => [{type => '$', data => 'test'}]});
+
+ $redis->encode(
+ { type => '*',
+ data => [
+ {type => '$', data => 'test1'}, {type => '$', data => 'test2'}
+ ]
+ }
+ );
+
+ $redis->encode({type => '*', data => []});
+
+ $redis->encode({type => '*', data => undef});
+
+ $redis->encode(
+ { type => '*',
+ data => [
+ {type => '$', data => 'foo'},
+ {type => '$', data => undef},
+ {type => '$', data => 'bar'}
+ ]
+ }
+ );
+}
+
+cmpthese(2**17, {
+ 'P:R:F encode' => sub { encode($redis_fast) },
+ 'P:R encode' => sub { encode($redis) },
+ });
+
+my $status_message = $redis->encode({type => '+', data => 'OK'});
+cmpthese(
+ -1,
+ { 'P:R Status parse' => sub { $redis->parse($status_message) },
+ 'P:R:F Status parse' => sub { $redis_fast->parse($status_message) },
+});
+
+my $a = 'cmpthese',(
+ -1,
+ {
+ 'P:R Splitted status parse' =>
+ sub { $redis->parse("+OK"); $redis->parse("\r\n") },
+ 'P:R:F Splitted status parse' =>
+ sub { $redis_fast->parse("+OK"); $redis->parse("\r\n") },
+ }
+);
+
+my $bulk_message = $redis->encode({type => '$', data => 'test'}) . $redis->encode({type => '$', data => undef});
+cmpthese(-1, {
+ 'Bulk parse P:R' => sub { $redis->parse($bulk_message) },
+ 'Bulk parse P:R:F' => sub { $redis_fast->parse($bulk_message) },
+});
+
+my $mbulk_message = $redis->encode(
+ { type => '*',
+ data =>
+ [{type => '$', data => 'test1'}, {type => '$', data => 'test2'}]
+ }
+);
+cmpthese(-1, {
+ 'P:R Multi-Bulk parse' => sub { $redis->parse($mbulk_message) },
+ 'P:R:F Multi-Bulk parse' => sub { $redis_fast->parse($mbulk_message) },
+ });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/lib/Protocol/Redis/Test.pm new/Protocol-Redis-1.0011/lib/Protocol/Redis/Test.pm
--- old/Protocol-Redis-1.0010/lib/Protocol/Redis/Test.pm 2019-08-28 21:02:24.000000000 +0200
+++ new/Protocol-Redis-1.0011/lib/Protocol/Redis/Test.pm 2019-12-25 16:32:28.000000000 +0100
@@ -207,14 +207,14 @@
# Complex string
$redis->parse("\*4\r\n");
- $redis->parse("\$5\r\ntest1\r\n\$-1\r\n:test2\r\n+test3\r\n\$5\r\n123");
+ $redis->parse("\$5\r\ntest1\r\n\$-1\r\n:42\r\n+test3\r\n\$5\r\n123");
$redis->parse("45\r\n");
is_deeply $redis->get_message, {
type => '*',
data => [
{type => '$', data => 'test1'},
{type => '$', data => undef},
- {type => ':', data => 'test2'},
+ {type => ':', data => 42},
{type => '+', data => 'test3'}
]
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Protocol-Redis-1.0010/lib/Protocol/Redis.pm new/Protocol-Redis-1.0011/lib/Protocol/Redis.pm
--- old/Protocol-Redis-1.0010/lib/Protocol/Redis.pm 2019-08-28 21:16:24.000000000 +0200
+++ new/Protocol-Redis-1.0011/lib/Protocol/Redis.pm 2019-12-25 16:33:57.000000000 +0100
@@ -4,7 +4,7 @@
use warnings;
use 5.008_001;
-our $VERSION = '1.0010';
+our $VERSION = '1.0011';
require Carp;
@@ -275,16 +275,16 @@
=over 2
+Dan Book (Grinnz)
+
David Leadbeater (dgl)
+Jan Henning Thorsen (jhthorsen)
+
Viacheslav Tykhanovskyi (vti)
Yaroslav Korshak (yko)
-Dan Book (Grinnz)
-
-Jan Henning Thorsen (jhthorsen)
-
=back
=head1 COPYRIGHT AND LICENSE
1
0
Hello community,
here is the log from the commit of package perl-Module-Find for openSUSE:Factory checked in at 2019-12-30 12:35:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-Find (Old)
and /work/SRC/openSUSE:Factory/.perl-Module-Find.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Find"
Mon Dec 30 12:35:18 2019 rev:9 rq:759958 version:0.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Module-Find/perl-Module-Find.changes 2015-04-21 10:52:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Module-Find.new.6675/perl-Module-Find.changes 2019-12-30 12:35:20.423820921 +0100
@@ -1,0 +2,6 @@
+Thu Dec 26 03:10:49 UTC 2019 - <timueller+perl(a)suse.de>
+
+- updated to 0.15
+ see /usr/share/doc/packages/perl-Module-Find/Changes
+
+-------------------------------------------------------------------
Old:
----
Module-Find-0.13.tar.gz
New:
----
Module-Find-0.15.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Module-Find.spec ++++++
--- /var/tmp/diff_new_pack.lIDXU0/_old 2019-12-30 12:35:22.495822033 +0100
+++ /var/tmp/diff_new_pack.lIDXU0/_new 2019-12-30 12:35:22.535822054 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Module-Find
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Module-Find
-Version: 0.13
+Version: 0.15
Release: 0
%define cpan_name Module-Find
Summary: Find and use installed modules in a (sub)category
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Module-Find/
-Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar.gz
+Url: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/C/CR/CRENZ/%{cpan_name}-%{version}.tar…
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -47,11 +47,11 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%check
-%{__make} test
+make test
%install
%perl_make_install
++++++ Module-Find-0.13.tar.gz -> Module-Find-0.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/Find.pm new/Module-Find-0.15/Find.pm
--- old/Module-Find-0.13/Find.pm 2015-03-10 00:07:06.000000000 +0100
+++ new/Module-Find-0.15/Find.pm 2019-12-26 01:29:28.000000000 +0100
@@ -7,7 +7,7 @@
use File::Spec;
use File::Find;
-our $VERSION = '0.13';
+our $VERSION = '0.15';
our $basedir = undef;
our @results = ();
@@ -123,6 +123,9 @@
$prune = 1;
my @r = _find($_[0]);
+
+ local @INC = @Module::Find::ModuleDirs
+ if (@Module::Find::ModuleDirs);
foreach my $m (@r) {
eval " require $m; import $m ; ";
@@ -146,6 +149,9 @@
my @r = _find($_[0]);
+ local @INC = @Module::Find::ModuleDirs
+ if (@Module::Find::ModuleDirs);
+
foreach my $m (@r) {
eval " require $m; import $m; ";
die $@ if $@;
@@ -158,14 +164,14 @@
# you know, this would be a nice application for currying...
sub _wanted {
my $name = File::Spec->abs2rel($_, $basedir);
- return unless $name && $name ne File::Spec->curdir();
+ return unless $name && $name ne File::Spec->curdir() && substr($name, 0, 1) ne '.';
if (-d && $prune) {
$File::Find::prune = 1;
return;
}
- return unless /\.pm$/ && -r;
+ return unless /\.pm$/;
$name =~ s|\.pm$||;
$name = join('::', File::Spec->splitdir($name));
@@ -182,21 +188,26 @@
my $dir = File::Spec->catdir(split(/::|'/, $category));
- my @dirs;
- if (@Module::Find::ModuleDirs) {
- @dirs = map { File::Spec->catdir($_, $dir) }
- @Module::Find::ModuleDirs;
- } else {
- @dirs = map { File::Spec->catdir($_, $dir) } @INC;
- }
@results = ();
- foreach $basedir (@dirs) {
- next unless -d $basedir;
-
- find({wanted => \&_wanted,
- no_chdir => 1,
- follow => $followMode}, $basedir);
+ foreach my $inc (@Module::Find::ModuleDirs ? @Module::Find::ModuleDirs : @INC) {
+ if (ref $inc) {
+ if (my @files = eval { $inc->files }) {
+ push @results,
+ map { s/^\Q$category\E::// ? $_ : () }
+ map { s{/}{::}g; s{\.pm$}{}; $_ }
+ grep { /\.pm$/ }
+ @files;
+ }
+ }
+ else {
+ our $basedir = File::Spec->catdir($inc, $dir);
+
+ next unless -d $basedir;
+ find({wanted => \&_wanted,
+ no_chdir => 1,
+ follow => $followMode}, $basedir);
+ }
}
# filter duplicate modules
@@ -306,8 +317,33 @@
=item 0.13, 2015-03-09
This release contains two contributions from Moritz Lenz:
-- Link to Module::Pluggable and Class::Factory::Util in "SEE ALSO"
-- Align package name parsing with how perl does it (allowing single quotes as module separator)
+
+Link to Module::Pluggable and Class::Factory::Util in "SEE ALSO"
+
+Align package name parsing with how perl does it (allowing single quotes as module separator)
+
+Also, added a test for meta.yml
+
+=item 0.14, 2019-12-25
+
+A long overdue update. Thank you for the many contributions!
+
+Fixed RT#99055: Removed file readability check (pull request contributed by Moritz Lenz)
+
+Now supports @INC hooks (pull request contributed by Graham Knop)
+
+Now filters out filenames starting with a dot (pull request contributed by Desmond Daignault)
+
+Now uses strict (pull request contributed by Shlomi Fish)
+
+Fixed RT#122016: test/ files show up in metacpan (bug report contributed by Karen Etheridge)
+
+=item 0.15, 2019-12-26
+
+Fixed RT#127657 (bug report contributed by Karen Etheridge): Module::Find now uses @ModuleDirs
+(if specified) for loading modules. Previously, when using setmoduledirs() to set an array of
+directories that did not contain @INC, Module::Find would find the modules correctly, but load
+them from @INC.
=back
@@ -325,7 +361,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2004-2014 by Christian Renz <crenz(a)web42.com>. All rights reserved.
+Copyright 2004-2019 by Christian Renz <crenz(a)web42.com>. All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/MANIFEST new/Module-Find-0.15/MANIFEST
--- old/Module-Find-0.13/MANIFEST 2015-03-10 00:09:17.000000000 +0100
+++ new/Module-Find-0.15/MANIFEST 2019-12-26 01:30:22.000000000 +0100
@@ -6,22 +6,25 @@
MANIFEST.skip
META.yml Module meta-data (added by MakeMaker)
README
-t/1-use.t
-t/2-find.t
-t/3-usesub.t
-t/4-useall.t
-t/5-setmoduledirs.t
-t/6-duplicate-modules.t
-t/7-symlinks.t
-t/8-taint.t
-t/pod-coverage.t
-t/pod.t
-t/meta.t
-test/duplicates/ModuleFindTest.pm
-test/duplicates/ModuleFindTest/SubMod.pm
-test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm
-test/ModuleFindTest.pm
-test/ModuleFindTest/SubMod.pm
-test/ModuleFindTest/SubMod/SubSubMod.pm
-test/README
+t/01-use.t
+t/02-find.t
+t/03-usesub.t
+t/04-useall.t
+t/05-setmoduledirs.t
+t/06-duplicate-modules.t
+t/07-symlinks.t
+t/08-taint.t
+t/09-inc-hook.t
+t/10-wrong-module-sub.t
+t/11-wrong-module-all.t
+t/50-meta.t
+t/51-pod.t
+t/52-pod-coverage.t
+t/test/duplicates/ModuleFindTest.pm
+t/test/duplicates/ModuleFindTest/SubMod.pm
+t/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm
+t/test/ModuleFindTest.pm
+t/test/ModuleFindTest/SubMod.pm
+t/test/ModuleFindTest/SubMod/SubSubMod.pm
+t/test/README
META.json Module JSON meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/META.json new/Module-Find-0.15/META.json
--- old/Module-Find-0.13/META.json 2015-03-10 00:09:17.000000000 +0100
+++ new/Module-Find-0.15/META.json 2019-12-26 01:30:22.000000000 +0100
@@ -48,5 +48,5 @@
"url" : "http://github.com/crenz/Module-Find"
}
},
- "version" : "0.13"
+ "version" : "0.15"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/META.yml new/Module-Find-0.15/META.yml
--- old/Module-Find-0.13/META.yml 2015-03-10 00:09:17.000000000 +0100
+++ new/Module-Find-0.15/META.yml 2019-12-26 01:30:21.000000000 +0100
@@ -26,4 +26,4 @@
perl: 5.006001
resources:
repository: http://github.com/crenz/Module-Find
-version: 0.13
+version: 0.15
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/Makefile.PL new/Module-Find-0.15/Makefile.PL
--- old/Module-Find-0.13/Makefile.PL 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/Makefile.PL 2019-12-25 15:16:05.000000000 +0100
@@ -1,3 +1,6 @@
+use strict;
+use warnings;
+
use 5.006001;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/README new/Module-Find-0.15/README
--- old/Module-Find-0.13/README 2015-03-10 00:07:47.000000000 +0100
+++ new/Module-Find-0.15/README 2019-12-26 01:29:17.000000000 +0100
@@ -24,7 +24,7 @@
COPYRIGHT AND LICENCE
-Copyright (C) 2004-2015 Christian Renz <crenz(a)web42.com>. All rights reserved.
+Copyright (C) 2004-2019 Christian Renz <crenz(a)web42.com>. All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/01-use.t new/Module-Find-0.15/t/01-use.t
--- old/Module-Find-0.13/t/01-use.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/01-use.t 2019-12-25 15:27:54.000000000 +0100
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+BEGIN { use_ok('Module::Find') };
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/02-find.t new/Module-Find-0.15/t/02-find.t
--- old/Module-Find-0.13/t/02-find.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/02-find.t 2019-12-25 15:29:53.000000000 +0100
@@ -0,0 +1,27 @@
+use strict;
+use warnings;
+
+use Test::More tests => 7;
+
+use Module::Find;
+
+use lib qw(./t/test);
+
+my @l;
+
+@l = findsubmod ModuleFindTest;
+
+ok($#l == 0);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+
+@l = findallmod ModuleFindTest;
+
+ok($#l == 1);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
+
+@l = findallmod "ModuleFindTest'SubMod";
+is($#l, 0, 'Found one module');
+is($l[0], "ModuleFindTest'SubMod::SubSubMod");
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/03-usesub.t new/Module-Find-0.15/t/03-usesub.t
--- old/Module-Find-0.13/t/03-usesub.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/03-usesub.t 2019-12-25 15:29:56.000000000 +0100
@@ -0,0 +1,27 @@
+use strict;
+use warnings;
+
+use Test::More tests => 4;
+
+use Module::Find;
+
+use lib qw(./t/test);
+
+my @l;
+
+@l = usesub ModuleFindTest;
+
+ok($#l == 0);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok($ModuleFindTest::SubMod::loaded);
+ok(!$ModuleFindTest::SubMod::SubSubMod::loaded);
+
+package ModuleFindTest::SubMod;
+
+$ModuleFindTest::SubMod::loaded = 0;
+
+package ModuleFindTest::SubSubMod;
+
+$ModuleFindTest::SubMod::SubSubMod::loaded = 0;
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/04-useall.t new/Module-Find-0.15/t/04-useall.t
--- old/Module-Find-0.13/t/04-useall.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/04-useall.t 2019-12-25 15:30:00.000000000 +0100
@@ -0,0 +1,30 @@
+use strict;
+use warnings;
+
+use Test::More tests => 5;
+
+use Module::Find;
+
+use lib qw(./t/test);
+
+my @l;
+
+@l = useall ModuleFindTest;
+
+ok($#l == 1);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
+ok($ModuleFindTest::SubMod::loaded);
+ok($ModuleFindTest::SubMod::SubSubMod::loaded);
+
+package ModuleFindTest::SubMod;
+
+$ModuleFindTest::SubMod::loaded = 0;
+
+package ModuleFindTest::SubSubMod;
+
+$ModuleFindTest::SubMod::SubSubMod::loaded = 0;
+
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/05-setmoduledirs.t new/Module-Find-0.15/t/05-setmoduledirs.t
--- old/Module-Find-0.13/t/05-setmoduledirs.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/05-setmoduledirs.t 2019-12-25 15:30:15.000000000 +0100
@@ -0,0 +1,56 @@
+use strict;
+use warnings;
+
+use Test::More tests => 18;
+
+use Module::Find;
+
+# First, with @INC only
+
+ok($#Module::Find::ModuleDirs == -1);
+
+my @l = findsubmod ModuleFindTest;
+ok($#l == -1);
+
+@l = findallmod ModuleFindTest;
+ok($#l == -1);
+
+# Then, including our directory
+
+setmoduledirs('./t/test');
+ok($#Module::Find::ModuleDirs == 0);
+
+@l = findsubmod ModuleFindTest;
+ok($#l == 0);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+
+@l = findallmod ModuleFindTest;
+ok($#l == 1);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
+
+# Third, reset back to @INC only
+
+setmoduledirs();
+ok($#Module::Find::ModuleDirs == -1);
+
+@l = findsubmod ModuleFindTest;
+ok($#l == -1);
+
+@l = findallmod ModuleFindTest;
+ok($#l == -1);
+
+# Fourth, including our directory again
+
+setmoduledirs('./t/test');
+ok($#Module::Find::ModuleDirs == 0);
+
+@l = findsubmod ModuleFindTest;
+ok($#l == 0);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+
+@l = findallmod ModuleFindTest;
+ok($#l == 1);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/06-duplicate-modules.t new/Module-Find-0.15/t/06-duplicate-modules.t
--- old/Module-Find-0.13/t/06-duplicate-modules.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/06-duplicate-modules.t 2019-12-25 15:30:21.000000000 +0100
@@ -0,0 +1,12 @@
+use strict;
+use warnings;
+
+use Test::More tests => 1;
+
+use Module::Find;
+
+use lib qw(./t/test ./t/test/duplicates);
+
+# Ensure duplicate modules are only reported once
+my @l = useall ModuleFindTest;
+ok($#l == 1);
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/07-symlinks.t new/Module-Find-0.15/t/07-symlinks.t
--- old/Module-Find-0.13/t/07-symlinks.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/07-symlinks.t 2019-12-25 15:31:06.000000000 +0100
@@ -0,0 +1,58 @@
+use strict;
+use warnings;
+
+use Test::More tests => 13;
+
+use Module::Find qw(ignoresymlinks followsymlinks findsubmod findallmod);
+
+use lib qw(./t/test);
+
+my $dirName = "ModuleFindTest";
+my $linkName = "./t/test/ModuleFindTestSymLink";
+
+SKIP: {
+ eval { symlink($dirName, $linkName) };
+ skip "Symlinks not supported on this system", 13 if $@;
+
+ my @l;
+
+ # Default behaviour: follow symlinks -----------------------
+ @l = findsubmod ModuleFindTestSymLink;
+ ok($#l == 0);
+ ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
+
+ @l = findallmod ModuleFindTestSymLink;
+ ok($#l == 1);
+ ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
+ ok($l[1] eq 'ModuleFindTestSymLink::SubMod::SubSubMod');
+
+
+ # Switch off following symlinks ---------------------------
+ ignoresymlinks();
+ @l = findsubmod ModuleFindTestSymLink;
+ ok($#l == -1);
+
+ @l = findallmod ModuleFindTestSymLink;
+ ok($#l == -1);
+
+
+ # Re-enable it --------------------------------------------
+ followsymlinks();
+ @l = findsubmod ModuleFindTestSymLink;
+ ok($#l == 0);
+ ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
+
+ @l = findallmod ModuleFindTestSymLink;
+ ok($#l == 1);
+ ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
+ ok($l[1] eq 'ModuleFindTestSymLink::SubMod::SubSubMod');
+
+
+
+ # Clean up
+ unlink $linkName;
+ ok(!-e $linkName);
+}
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/08-taint.t new/Module-Find-0.15/t/08-taint.t
--- old/Module-Find-0.13/t/08-taint.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/08-taint.t 2019-12-25 15:30:34.000000000 +0100
@@ -0,0 +1,24 @@
+#!perl -T
+
+use strict;
+use warnings;
+
+use Test::More tests => 4;
+
+use Module::Find;
+
+use lib qw(./t/test);
+
+findsubmod ModuleFindTest;
+
+usesub ModuleFindTest;
+ok($ModuleFindTest::SubMod::loaded);
+ok(!$ModuleFindTest::SubMod::SubSubMod::loaded);
+
+useall ModuleFindTest;
+ok($ModuleFindTest::SubMod::loaded);
+ok($ModuleFindTest::SubMod::SubSubMod::loaded);
+
+setmoduledirs('./test');
+findallmod ModuleFindTest;
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/09-inc-hook.t new/Module-Find-0.15/t/09-inc-hook.t
--- old/Module-Find-0.13/t/09-inc-hook.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/09-inc-hook.t 2019-12-25 15:28:28.000000000 +0100
@@ -0,0 +1,31 @@
+use strict;
+use warnings;
+use Test::More tests => 3;
+use Module::Find;
+
+BEGIN {
+ package MFTestIncHook;
+ sub files { keys %{$_[0]} };
+
+ sub MFTestIncHook::INC {
+ if (my $fat = $_[0]{$_[1]}) {
+ open my $fh, '<', \$fat
+ or die "error: $!";
+ return $fh;
+ }
+ return;
+ };
+
+ unshift @INC, bless {
+ 'MFTest/Packed/Module.pm' => <<'END_MOD',
+package MFTest::Packed::Module;
+$VERSION = 5;
+END_MOD
+ }, __PACKAGE__;
+}
+
+my @l = useall 'MFTest::Packed';
+
+is scalar @l, 1;
+is $l[0], 'MFTest::Packed::Module';
+is $MFTest::Packed::Module::VERSION, 5;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/1-use.t new/Module-Find-0.15/t/1-use.t
--- old/Module-Find-0.13/t/1-use.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/1-use.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-use Test::More tests => 1;
-
-BEGIN { use_ok('Module::Find') };
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/10-wrong-module-sub.t new/Module-Find-0.15/t/10-wrong-module-sub.t
--- old/Module-Find-0.13/t/10-wrong-module-sub.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/10-wrong-module-sub.t 2019-12-26 01:13:32.000000000 +0100
@@ -0,0 +1,15 @@
+use strict;
+use warnings;
+
+use Test::More tests => 3;
+
+use Module::Find;
+
+use lib qw(./t/test-malicious);
+
+setmoduledirs('./t/test');
+
+my @l = usesub ModuleFindTest;
+ok($#l == 0);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok(ModuleFindTest::SubMod::theRealDeal());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/11-wrong-module-all.t new/Module-Find-0.15/t/11-wrong-module-all.t
--- old/Module-Find-0.13/t/11-wrong-module-all.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/11-wrong-module-all.t 2019-12-26 01:14:04.000000000 +0100
@@ -0,0 +1,15 @@
+use strict;
+use warnings;
+
+use Test::More tests => 3;
+
+use Module::Find;
+
+use lib qw(./t/test-malicious);
+
+setmoduledirs('./t/test');
+
+my @l = useall ModuleFindTest;
+ok($#l == 1);
+ok($l[0] eq 'ModuleFindTest::SubMod');
+ok(ModuleFindTest::SubMod::theRealDeal());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/2-find.t new/Module-Find-0.15/t/2-find.t
--- old/Module-Find-0.13/t/2-find.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/2-find.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-use Test::More tests => 7;
-
-use Module::Find;
-
-use lib qw(./test);
-
-my @l;
-
-@l = findsubmod ModuleFindTest;
-
-ok($#l == 0);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-
-@l = findallmod ModuleFindTest;
-
-ok($#l == 1);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
-
-@l = findallmod "ModuleFindTest'SubMod";
-is($#l, 0, 'Found one module');
-is($l[0], "ModuleFindTest'SubMod::SubSubMod");
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/3-usesub.t new/Module-Find-0.15/t/3-usesub.t
--- old/Module-Find-0.13/t/3-usesub.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/3-usesub.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-use Test::More tests => 4;
-
-use Module::Find;
-
-use lib qw(./test);
-
-my @l;
-
-@l = usesub ModuleFindTest;
-
-ok($#l == 0);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-ok($ModuleFindTest::SubMod::loaded);
-ok(!$ModuleFindTest::SubMod::SubSubMod::loaded);
-
-package ModuleFindTest::SubMod;
-
-$ModuleFindTest::SubMod::loaded = 0;
-
-package ModuleFindTest::SubSubMod;
-
-$ModuleFindTest::SubMod::SubSubMod::loaded = 0;
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/4-useall.t new/Module-Find-0.15/t/4-useall.t
--- old/Module-Find-0.13/t/4-useall.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/4-useall.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-use Test::More tests => 5;
-
-use Module::Find;
-
-use lib qw(./test);
-
-my @l;
-
-@l = useall ModuleFindTest;
-
-ok($#l == 1);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
-ok($ModuleFindTest::SubMod::loaded);
-ok($ModuleFindTest::SubMod::SubSubMod::loaded);
-
-package ModuleFindTest::SubMod;
-
-$ModuleFindTest::SubMod::loaded = 0;
-
-package ModuleFindTest::SubSubMod;
-
-$ModuleFindTest::SubMod::SubSubMod::loaded = 0;
-
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/5-setmoduledirs.t new/Module-Find-0.15/t/5-setmoduledirs.t
--- old/Module-Find-0.13/t/5-setmoduledirs.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/5-setmoduledirs.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,53 +0,0 @@
-use Test::More tests => 18;
-
-use Module::Find;
-
-# First, with @INC only
-
-ok($#Module::Find::ModuleDirs == -1);
-
-@l = findsubmod ModuleFindTest;
-ok($#l == -1);
-
-@l = findallmod ModuleFindTest;
-ok($#l == -1);
-
-# Then, including our directory
-
-setmoduledirs('./test');
-ok($#Module::Find::ModuleDirs == 0);
-
-@l = findsubmod ModuleFindTest;
-ok($#l == 0);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-
-@l = findallmod ModuleFindTest;
-ok($#l == 1);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
-
-# Third, reset back to @INC only
-
-setmoduledirs();
-ok($#Module::Find::ModuleDirs == -1);
-
-@l = findsubmod ModuleFindTest;
-ok($#l == -1);
-
-@l = findallmod ModuleFindTest;
-ok($#l == -1);
-
-# Fourth, including our directory again
-
-setmoduledirs('./test');
-ok($#Module::Find::ModuleDirs == 0);
-
-@l = findsubmod ModuleFindTest;
-ok($#l == 0);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-
-@l = findallmod ModuleFindTest;
-ok($#l == 1);
-ok($l[0] eq 'ModuleFindTest::SubMod');
-ok($l[1] eq 'ModuleFindTest::SubMod::SubSubMod');
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/50-meta.t new/Module-Find-0.15/t/50-meta.t
--- old/Module-Find-0.13/t/50-meta.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/50-meta.t 2019-12-25 15:28:34.000000000 +0100
@@ -0,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::CPAN::Meta";
+plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
+meta_yaml_ok();
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/51-pod.t new/Module-Find-0.15/t/51-pod.t
--- old/Module-Find-0.13/t/51-pod.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/51-pod.t 2019-12-25 15:28:49.000000000 +0100
@@ -0,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/52-pod-coverage.t new/Module-Find-0.15/t/52-pod-coverage.t
--- old/Module-Find-0.13/t/52-pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/52-pod-coverage.t 2019-12-25 15:28:53.000000000 +0100
@@ -0,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/6-duplicate-modules.t new/Module-Find-0.15/t/6-duplicate-modules.t
--- old/Module-Find-0.13/t/6-duplicate-modules.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/6-duplicate-modules.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-use Test::More tests => 1;
-
-use Module::Find;
-
-use lib qw(./test ./test/duplicates);
-
-# Ensure duplicate modules are only reported once
-my @l = useall ModuleFindTest;
-ok($#l == 1);
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/7-symlinks.t new/Module-Find-0.15/t/7-symlinks.t
--- old/Module-Find-0.13/t/7-symlinks.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/7-symlinks.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,55 +0,0 @@
-use Test::More tests => 13;
-
-use Module::Find qw(ignoresymlinks followsymlinks findsubmod findallmod);
-
-use lib qw(./test);
-
-my $dirName = "ModuleFindTest";
-my $linkName = "./test/ModuleFindTestSymLink";
-
-SKIP: {
- eval { symlink($dirName, $linkName) };
- skip "Symlinks not supported on this system", 13 if $@;
-
- my @l;
-
- # Default behaviour: follow symlinks -----------------------
- @l = findsubmod ModuleFindTestSymLink;
- ok($#l == 0);
- ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
-
- @l = findallmod ModuleFindTestSymLink;
- ok($#l == 1);
- ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
- ok($l[1] eq 'ModuleFindTestSymLink::SubMod::SubSubMod');
-
-
- # Switch off following symlinks ---------------------------
- ignoresymlinks();
- @l = findsubmod ModuleFindTestSymLink;
- ok($#l == -1);
-
- @l = findallmod ModuleFindTestSymLink;
- ok($#l == -1);
-
-
- # Re-enable it --------------------------------------------
- followsymlinks();
- @l = findsubmod ModuleFindTestSymLink;
- ok($#l == 0);
- ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
-
- @l = findallmod ModuleFindTestSymLink;
- ok($#l == 1);
- ok($l[0] eq 'ModuleFindTestSymLink::SubMod');
- ok($l[1] eq 'ModuleFindTestSymLink::SubMod::SubSubMod');
-
-
-
- # Clean up
- unlink $linkName;
- ok(!-e $linkName);
-}
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/8-taint.t new/Module-Find-0.15/t/8-taint.t
--- old/Module-Find-0.13/t/8-taint.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/8-taint.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-#!perl -T
-
-use Test::More tests => 4;
-
-use Module::Find;
-
-use lib qw(./test);
-
-findsubmod ModuleFindTest;
-
-usesub ModuleFindTest;
-ok($ModuleFindTest::SubMod::loaded);
-ok(!$ModuleFindTest::SubMod::SubSubMod::loaded);
-
-useall ModuleFindTest;
-ok($ModuleFindTest::SubMod::loaded);
-ok($ModuleFindTest::SubMod::SubSubMod::loaded);
-
-setmoduledirs('./test');
-findallmod ModuleFindTest;
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/meta.t new/Module-Find-0.15/t/meta.t
--- old/Module-Find-0.13/t/meta.t 2015-03-10 00:08:57.000000000 +0100
+++ new/Module-Find-0.15/t/meta.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::CPAN::Meta";
-plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
-meta_yaml_ok();
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/pod-coverage.t new/Module-Find-0.15/t/pod-coverage.t
--- old/Module-Find-0.13/t/pod-coverage.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
-all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/pod.t new/Module-Find-0.15/t/pod.t
--- old/Module-Find-0.13/t/pod.t 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/t/pod.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/ModuleFindTest/SubMod/SubSubMod.pm new/Module-Find-0.15/t/test/ModuleFindTest/SubMod/SubSubMod.pm
--- old/Module-Find-0.13/t/test/ModuleFindTest/SubMod/SubSubMod.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/ModuleFindTest/SubMod/SubSubMod.pm 2015-03-09 23:55:39.000000000 +0100
@@ -0,0 +1,3 @@
+package ModuleFindTest::SubMod::SubSubMod;
+
+$ModuleFindTest::SubMod::SubSubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/ModuleFindTest/SubMod.pm new/Module-Find-0.15/t/test/ModuleFindTest/SubMod.pm
--- old/Module-Find-0.13/t/test/ModuleFindTest/SubMod.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/ModuleFindTest/SubMod.pm 2019-12-26 01:07:45.000000000 +0100
@@ -0,0 +1,7 @@
+package ModuleFindTest::SubMod;
+
+sub theRealDeal {
+ return 1;
+}
+
+$ModuleFindTest::SubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/ModuleFindTest.pm new/Module-Find-0.15/t/test/ModuleFindTest.pm
--- old/Module-Find-0.13/t/test/ModuleFindTest.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/ModuleFindTest.pm 2015-03-09 23:55:39.000000000 +0100
@@ -0,0 +1,3 @@
+package ModuleFindTest;
+
+$ModuleFindTest::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/README new/Module-Find-0.15/t/test/README
--- old/Module-Find-0.13/t/test/README 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/README 2015-03-09 23:55:39.000000000 +0100
@@ -0,0 +1,5 @@
+This folder contains a few module files to test the functionality of
+Module::Find.
+
+Use "make test" to run the tests.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm new/Module-Find-0.15/t/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm
--- old/Module-Find-0.13/t/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm 2015-03-09 23:55:39.000000000 +0100
@@ -0,0 +1,3 @@
+package ModuleFindTest::SubMod::SubSubMod;
+
+$ModuleFindTest::SubMod::SubSubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/duplicates/ModuleFindTest/SubMod.pm new/Module-Find-0.15/t/test/duplicates/ModuleFindTest/SubMod.pm
--- old/Module-Find-0.13/t/test/duplicates/ModuleFindTest/SubMod.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/duplicates/ModuleFindTest/SubMod.pm 2015-03-09 23:55:39.000000000 +0100
@@ -0,0 +1,3 @@
+package ModuleFindTest::SubMod;
+
+$ModuleFindTest::SubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/t/test/duplicates/ModuleFindTest.pm new/Module-Find-0.15/t/test/duplicates/ModuleFindTest.pm
--- old/Module-Find-0.13/t/test/duplicates/ModuleFindTest.pm 1970-01-01 01:00:00.000000000 +0100
+++ new/Module-Find-0.15/t/test/duplicates/ModuleFindTest.pm 2015-03-09 23:55:39.000000000 +0100
@@ -0,0 +1,3 @@
+package ModuleFindTest;
+
+$ModuleFindTest::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/ModuleFindTest/SubMod/SubSubMod.pm new/Module-Find-0.15/test/ModuleFindTest/SubMod/SubSubMod.pm
--- old/Module-Find-0.13/test/ModuleFindTest/SubMod/SubSubMod.pm 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/ModuleFindTest/SubMod/SubSubMod.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-package ModuleFindTest::SubMod::SubSubMod;
-
-$ModuleFindTest::SubMod::SubSubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/ModuleFindTest/SubMod.pm new/Module-Find-0.15/test/ModuleFindTest/SubMod.pm
--- old/Module-Find-0.13/test/ModuleFindTest/SubMod.pm 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/ModuleFindTest/SubMod.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-package ModuleFindTest::SubMod;
-
-$ModuleFindTest::SubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/ModuleFindTest.pm new/Module-Find-0.15/test/ModuleFindTest.pm
--- old/Module-Find-0.13/test/ModuleFindTest.pm 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/ModuleFindTest.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-package ModuleFindTest;
-
-$ModuleFindTest::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/README new/Module-Find-0.15/test/README
--- old/Module-Find-0.13/test/README 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-This folder contains a few module files to test the functionality of
-Module::Find.
-
-Use "make test" to run the tests.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm new/Module-Find-0.15/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm
--- old/Module-Find-0.13/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/duplicates/ModuleFindTest/SubMod/SubSubMod.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-package ModuleFindTest::SubMod::SubSubMod;
-
-$ModuleFindTest::SubMod::SubSubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/duplicates/ModuleFindTest/SubMod.pm new/Module-Find-0.15/test/duplicates/ModuleFindTest/SubMod.pm
--- old/Module-Find-0.13/test/duplicates/ModuleFindTest/SubMod.pm 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/duplicates/ModuleFindTest/SubMod.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-package ModuleFindTest::SubMod;
-
-$ModuleFindTest::SubMod::loaded = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Find-0.13/test/duplicates/ModuleFindTest.pm new/Module-Find-0.15/test/duplicates/ModuleFindTest.pm
--- old/Module-Find-0.13/test/duplicates/ModuleFindTest.pm 2015-03-09 23:55:39.000000000 +0100
+++ new/Module-Find-0.15/test/duplicates/ModuleFindTest.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-package ModuleFindTest;
-
-$ModuleFindTest::loaded = 1;
1
0
Hello community,
here is the log from the commit of package libredwg for openSUSE:Factory checked in at 2019-12-30 12:35:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libredwg (Old)
and /work/SRC/openSUSE:Factory/.libredwg.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libredwg"
Mon Dec 30 12:35:15 2019 rev:9 rq:759939 version:0.9.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/libredwg/libredwg.changes 2019-11-07 23:20:19.564780911 +0100
+++ /work/SRC/openSUSE:Factory/.libredwg.new.6675/libredwg.changes 2019-12-30 12:35:18.371819820 +0100
@@ -1,0 +2,17 @@
+Sun Dec 29 20:45:54 UTC 2019 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Update to release 0.9.3
+ * Added the -x,--extnames option to dwglayers for r13-r14 DWGs.
+ * Fixed some leaks: SORTENTSTABLE, PROXY_ENTITY.ownerhandle
+ for r13.
+ * Add DICTIONARY.itemhandles[] for r13 and r14.
+ * Fixed some dwglayers null pointer derefs, and flush its output
+ for each layer.
+ * Added several overflow checks from fuzzing
+ [CVE-2019-20010, boo#1159825], [CVE-2019-20011, boo#1159826],
+ [CVE-2019-20012, boo#1159827], [CVE-2019-20013, boo#1159828],
+ [CVE-2019-20014, boo#1159831], [CVE-2019-20015, boo#1159832]
+ * Disallow illegal SPLINE scenarios
+ [CVE-2019-20009, boo#1159824]
+
+-------------------------------------------------------------------
Old:
----
libredwg-0.9.1.tar.xz
libredwg-0.9.1.tar.xz.sig
New:
----
libredwg-0.9.3.tar.gz
libredwg-0.9.3.tar.gz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libredwg.spec ++++++
--- /var/tmp/diff_new_pack.UCbGbA/_old 2019-12-30 12:35:19.111820217 +0100
+++ /var/tmp/diff_new_pack.UCbGbA/_new 2019-12-30 12:35:19.115820219 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libredwg
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,19 @@
Name: libredwg
-Version: 0.9.1
+Version: 0.9.3
Release: 0
Summary: A library to handle DWG files
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
URL: https://www.gnu.org/software/libredwg/
-Source: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.xz
-Source2: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+
+#Git-Clone: https://github.com/LibreDWG/libredwg/
+Source: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.gz
+Source2: https://ftp.gnu.org/pub/gnu/libredwg/%name-%version.tar.gz.sig
Source3: http://savannah.gnu.org/people/viewgpg.php?user_id=101103#/%{name}.keyring
Source4: %{name}-rpmlintrc
-BuildRequires: pkgconfig
+BuildRequires: pkg-config
%description
GNU LibreDWG is a C library to handle DWG files. It can replace the
@@ -67,7 +69,7 @@
OpenDWG libraries. DWG is the native file format of AutoCAD.
%prep
-%setup -q
+%autosetup -p1
%build
# No management of SO version despite ABI breaking changes:
@@ -99,7 +101,7 @@
%files devel
%license COPYING
-%doc AUTHORS ChangeLog NEWS README README-alpha TODO
+%doc AUTHORS ChangeLog NEWS README TODO
%{_includedir}/*.h
%{_libdir}/libredwg.so
%{_libdir}/pkgconfig/libredwg.pc
1
0
Hello community,
here is the log from the commit of package peazip for openSUSE:Factory checked in at 2019-12-30 12:35:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/peazip (Old)
and /work/SRC/openSUSE:Factory/.peazip.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "peazip"
Mon Dec 30 12:35:12 2019 rev:17 rq:759934 version:7.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/peazip/peazip.changes 2019-12-04 14:20:02.598421102 +0100
+++ /work/SRC/openSUSE:Factory/.peazip.new.6675/peazip.changes 2019-12-30 12:35:15.487818272 +0100
@@ -1,0 +2,14 @@
+Sun Dec 29 19:50:28 UTC 2019 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 7.0.1
+ * Several under the hood enhancements for the application's
+ GUI, with speed and memory management optimizations,
+ * Improved support for high DPI, auto scaling for all UI
+ elements and graphic, and updated themes and icons.
+ * PeaZip can now automatically open tar archives inside tar.*
+ compressed files, navigate with extra mouse buttons, hot
+ swap drag and drop from standard and custom mode, it is now
+ easier to detect duplicate files and analyze content of
+ folders from the application's file manager.
+
+-------------------------------------------------------------------
Old:
----
peazip-7.0.0.src.zip
peazip_help-7.0.0.pdf
New:
----
peazip-7.0.1.src.zip
peazip_help-7.0.1.pdf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ peazip.spec ++++++
--- /var/tmp/diff_new_pack.YIdDRV/_old 2019-12-30 12:35:17.307819249 +0100
+++ /var/tmp/diff_new_pack.YIdDRV/_new 2019-12-30 12:35:17.307819249 +0100
@@ -18,11 +18,10 @@
%define _peazipinstalldir %{_libdir}/peazip
Name: peazip
-Version: 7.0.0
+Version: 7.0.1
Release: 0
Summary: Graphical file archiver
License: LGPL-3.0-only
-Group: Productivity/Archiving/Compression
URL: http://www.peazip.org
Source0: https://sourceforge.net/projects/peazip/files/%{version}/peazip-%{version}.…
Source1: altconf.txt
@@ -70,7 +69,6 @@
%package kf5
Summary: KF5 servicemenu for peazip
-Group: Productivity/Archiving/Compression
Requires: peazip
%if 0%{?suse_version} < 1500
Requires(post): update-desktop-files
++++++ peazip_help-7.0.0.pdf -> peazip_help-7.0.1.pdf ++++++
(binary differes)
1
0
Hello community,
here is the log from the commit of package ndpi for openSUSE:Factory checked in at 2019-12-30 12:35:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ndpi (Old)
and /work/SRC/openSUSE:Factory/.ndpi.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ndpi"
Mon Dec 30 12:35:08 2019 rev:5 rq:759921 version:3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ndpi/ndpi.changes 2019-06-06 18:18:14.864669769 +0200
+++ /work/SRC/openSUSE:Factory/.ndpi.new.6675/ndpi.changes 2019-12-30 12:35:14.271817620 +0100
@@ -1,0 +2,95 @@
+Wed Dec 25 10:13:32 UTC 2019 - Martin Hauke <mardnh(a)gmx.de>
+
+- Drop not longer needed patches (fixed upstream)
+ * ndpi-fix-build.patch
+ * reproducible.patch
+- Update to version 3.0
+ New Features
+ * nDPI now reports the protocol ASAP even when specific fields
+ have not yet been dissected because such packets have not yet
+ been observed. This is important for inline applications that
+ can immediately act on traffic. Applications that need full
+ dissection need to call the new API function
+ ndpi_extra_dissection_possible() to check if metadata dissection
+ has been completely performed or if there is more to read before
+ declaring it completed.
+ * TLS (formerly identified as SSL in nDPI v2.x) is now dissected
+ more deeply, certificate validity is extracted as well
+ certificate SHA-1.
+ * nDPIreader can now export data in CSV format with option -C
+ * Implemented Sequence of Packet Length and Time (SPLT) and Byte
+ Distribution (BD) as specified by Cisco Joy
+ (https://github.com/cisco/joy) This allows malware activities
+ on encrypted TLS streams.
+ * Available as library and in ndpiReader with option -J
+ * Promoted usage of protocol categories rather than protocol
+ identifiers in order to classify protocols. This allows
+ application protocols to be clustered in families and thus better
+ managed by users/developers rather than using hundred of
+ protocols unknown to most of the people.
+ * Added Inter-Arrival Time (IAT) calculation used to detect
+ protocol misbehaviour (e.g. slow-DoS detection)
+ * Added data analysis features for computign metrics such as
+ entropy, average, stddev, variance on a single and consistent
+ place that will prevent when possible. This should ease traffic
+ analysis on monitoring/security applications. New API calls have
+ been implemented such as ndpi_data_XXX() to handle these
+ calculations.
+ * Initial release of Python bindings available under nDPI/python.
+ * Implemented search of human readable strings for promoting data
+ exfiltration detection
+ * Available as library and in ndpiReader with option -e
+ * Fingerprints
+ JA3 (https://github.com/salesforce/ja3)
+ HASSH (https://github.com/salesforce/hassh)
+ DHCP
+ * Implemented a library to serialize/deserialize data in both
+ Type-Length-Value (TLV) and JSON format
+ New Supported Protocols and Services
+ * DTLS (i.e. TLS over UDP)
+ * Hulu
+ * TikTok/Musical.ly
+ * WhatsApp Video
+ * DNSoverHTTPS
+ * Datasaver
+ * Line protocol
+ * Google Duo and Hangout merged
+ * WireGuard VPN
+ * IMO
+ * Zoom.us
+ Improvements
+ * TLS
+ + Organizations
+ + Ciphers
+ + Certificate analysis
+ * Added PUBLISH/SUBSCRIBE methods to SIP
+ * Implemented STUN cache to enhance matching of STUN-based protocols
+ * Dissection improvements
+ + Viber
+ + WhatsApp
+ + AmazonVideo
+ + SnapChat
+ + FTP
+ + QUIC
+ + OpenVPN support for UDP-based VPNs
+ + Facebook Messenger mobile
+ + Various improvements for STUN, Hangout and Duo
+ * Added new categories:
+ + CUSTOM_CATEGORY_ANTIMALWARE,
+ + NDPI_PROTOCOL_CATEGORY_MUSIC,
+ + NDPI_PROTOCOL_CATEGORY_VIDEO,
+ + NDPI_PROTOCOL_CATEGORY_SHOPPING,
+ + NDPI_PROTOCOL_CATEGORY_PRODUCTIVITY
+ + NDPI_PROTOCOL_CATEGORY_FILE_SHARING
+ * Added NDPI_PROTOCOL_DANGEROUS classification
+ Fixes
+ * Fixed the dissection of certain invalid DNS responses
+ * Fixed Spotify dissection
+ * Fixed false positives with FTP and FTP_DATA
+ * Fix to discard STUN over TCP flows
+ * Fixed MySQL dissector
+ * Fix category detection due to missing initialization
+ * Fix DNS rsp_addr missing in some tiny responses
+ * Various hardening fixes
+
+-------------------------------------------------------------------
Old:
----
ndpi-2.8.tar.gz
ndpi-fix-build.patch
reproducible.patch
New:
----
ndpi-3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ndpi.spec ++++++
--- /var/tmp/diff_new_pack.RrTwKh/_old 2019-12-30 12:35:14.923817970 +0100
+++ /var/tmp/diff_new_pack.RrTwKh/_new 2019-12-30 12:35:14.923817970 +0100
@@ -21,9 +21,9 @@
%bcond_without hyperscan
%endif
-%define sover 2
+%define sover 3
Name: ndpi
-Version: 2.8
+Version: 3.0
Release: 0
Summary: Extensible deep packet inspection library
# wireshark/ndpi.lua is GPL-3.0-or-later
@@ -31,10 +31,6 @@
Group: Development/Libraries/C and C++
URL: https://github.com/ntop/nDPI
Source: https://github.com/ntop/nDPI/archive/%{version}.tar.gz#/%{name}-%{version}.…
-# FIXME: Upstream makefile is broken
-Patch0: ndpi-fix-build.patch
-# PATCH-FIX-UPSTREAM https://github.com/ntop/nDPI/pull/662
-Patch1: reproducible.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@@ -90,8 +86,6 @@
%prep
%setup -q -n nDPI-%{version}
-%patch0 -p1
-%patch1 -p1
%build
sh autogen.sh
@@ -105,6 +99,7 @@
%install
%make_install PREFIX=%{_prefix} prefix=%{_prefix} libdir=%{_libdir}
rm -f %{buildroot}/%{_libdir}/libndpi.a
+rm -rf %{buildroot}/%{_sbindir}/ndpi
%post -n libndpi%{sover} -p /sbin/ldconfig
%postun -n libndpi%{sover} -p /sbin/ldconfig
++++++ ndpi-2.8.tar.gz -> ndpi-3.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/ndpi/ndpi-2.8.tar.gz /work/SRC/openSUSE:Factory/.ndpi.new.6675/ndpi-3.0.tar.gz differ: char 15, line 1
1
0
Hello community,
here is the log from the commit of package clamav for openSUSE:Factory checked in at 2019-12-30 12:35:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clamav (Old)
and /work/SRC/openSUSE:Factory/.clamav.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clamav"
Mon Dec 30 12:35:04 2019 rev:104 rq:759922 version:0.102.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/clamav/clamav.changes 2019-12-27 13:50:42.640545410 +0100
+++ /work/SRC/openSUSE:Factory/.clamav.new.6675/clamav.changes 2019-12-30 12:35:09.911815280 +0100
@@ -1,0 +2,6 @@
+Tue Dec 24 10:49:25 UTC 2019 - Arjen de Korte <suse+build(a)de-korte.org>
+
+- The freshclam.service should not be started before the network is
+ online (it checks for updates immediately upon service start)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ service.freshclam ++++++
--- /var/tmp/diff_new_pack.Y91v9I/_old 2019-12-30 12:35:11.771816278 +0100
+++ /var/tmp/diff_new_pack.Y91v9I/_new 2019-12-30 12:35:11.775816280 +0100
@@ -1,6 +1,7 @@
[Unit]
Description=Freshclam virus definitions downloader
-After=network.target
+After=network-online.target
+Wants=network-online.target
[Service]
Type=forking
1
0
Hello community,
here is the log from the commit of package perl-Encode for openSUSE:Factory checked in at 2019-12-30 12:34:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Encode (Old)
and /work/SRC/openSUSE:Factory/.perl-Encode.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Encode"
Mon Dec 30 12:34:56 2019 rev:9 rq:759930 version:3.02
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Encode/perl-Encode.changes 2019-03-14 15:01:38.827692023 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Encode.new.6675/perl-Encode.changes 2019-12-30 12:35:07.075813758 +0100
@@ -1,0 +2,6 @@
+Thu Dec 26 03:07:39 UTC 2019 - <timueller+perl(a)suse.de>
+
+- updated to 3.02
+ see /usr/share/doc/packages/perl-Encode/Changes
+
+-------------------------------------------------------------------
Old:
----
Encode-3.01.tar.gz
New:
----
Encode-3.02.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Encode.spec ++++++
--- /var/tmp/diff_new_pack.oxkbVY/_old 2019-12-30 12:35:08.599814576 +0100
+++ /var/tmp/diff_new_pack.oxkbVY/_new 2019-12-30 12:35:08.607814580 +0100
@@ -17,7 +17,7 @@
Name: perl-Encode
-Version: 3.01
+Version: 3.02
Release: 0
%define cpan_name Encode
Summary: Character encodings in Perl
++++++ Encode-3.01.tar.gz -> Encode-3.02.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/Changes new/Encode-3.02/Changes
--- old/Encode-3.01/Changes 2019-03-13 01:26:21.000000000 +0100
+++ new/Encode-3.02/Changes 2019-12-25 10:25:39.000000000 +0100
@@ -1,8 +1,22 @@
# Revision history for Perl extension Encode.
#
-# $Id: Changes,v 3.01 2019/03/13 00:26:18 dankogai Exp dankogai $
+# $Id: Changes,v 3.02 2019/12/25 09:23:21 dankogai Exp $
#
-$Revision: 3.01 $ $Date: 2019/03/13 00:26:18 $
+$Revision: 3.02 $ $Date: 2019/12/25 09:23:21 $
+! t/whatwg-aliases.t
+ drop RELEASE_TESTING since Pumpking also uses it.
+ https://github.com/Perl/perl5/issues/17382
+! bin/enc2xs
+ Pulled: enc2xs: Add environment variable to suppress comments
+ https://github.com/dankogai/p5-encode/pull/145
+! t/enc_utf8.t
+ Pulled: fixup enc_utf8.t for ONLY_PRAGMA_WARNINGS
+ https://github.com/dankogai/p5-encode/pull/142
+! Encode/encode.h
+ Pulled: Fix linker errors
+ https://github.com/dankogai/p5-encode/pull/141
+
+3.01 2019/03/13 00:26:18
! Encode.xs
patched: Warning: Use of uninitialized value in subroutine entry
https://github.com/dankogai/p5-encode/issues/139#issuecomment-459765852
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/Encode/encode.h new/Encode-3.02/Encode/encode.h
--- old/Encode-3.01/Encode/encode.h 2019-02-01 04:22:07.000000000 +0100
+++ new/Encode-3.02/Encode/encode.h 2019-04-06 15:17:39.000000000 +0200
@@ -280,6 +280,14 @@
# define PERL_UNUSED_ARG(x) ((void)x)
# endif
+# ifndef memGT
+# define memGT(s1,s2,l) (memcmp(s1,s2,l) > 0)
+# endif
+
+# ifndef MIN
+# define MIN(a,b) ((a) < (b) ? (a) : (b))
+# endif
+
static const char malformed_text[] = "Malformed UTF-8 character";
static char *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/Encode.pm new/Encode-3.02/Encode.pm
--- old/Encode-3.01/Encode.pm 2019-03-13 01:26:21.000000000 +0100
+++ new/Encode-3.02/Encode.pm 2019-12-25 10:25:39.000000000 +0100
@@ -1,5 +1,5 @@
#
-# $Id: Encode.pm,v 3.01 2019/03/13 00:25:25 dankogai Exp $
+# $Id: Encode.pm,v 3.02 2019/12/25 09:25:17 dankogai Exp $
#
package Encode;
use strict;
@@ -7,7 +7,7 @@
use constant DEBUG => !!$ENV{PERL_ENCODE_DEBUG};
our $VERSION;
BEGIN {
- $VERSION = sprintf "%d.%02d", q$Revision: 3.01 $ =~ /(\d+)/g;
+ $VERSION = sprintf "%d.%02d", q$Revision: 3.02 $ =~ /(\d+)/g;
require XSLoader;
XSLoader::load( __PACKAGE__, $VERSION );
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/Encode.xs new/Encode-3.02/Encode.xs
--- old/Encode-3.01/Encode.xs 2019-03-13 01:26:24.000000000 +0100
+++ new/Encode-3.02/Encode.xs 2019-12-25 10:25:39.000000000 +0100
@@ -1,5 +1,5 @@
/*
- $Id: Encode.xs,v 2.47 2019/03/13 00:26:18 dankogai Exp dankogai $
+ $Id: Encode.xs,v 2.47 2019/03/13 00:26:18 dankogai Exp $
*/
#define PERL_NO_GET_CONTEXT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/META.json new/Encode-3.02/META.json
--- old/Encode-3.01/META.json 2019-03-13 01:26:53.000000000 +0100
+++ new/Encode-3.02/META.json 2019-12-25 10:41:49.000000000 +0100
@@ -45,7 +45,7 @@
"url" : "https://github.com/dankogai/p5-encode"
}
},
- "version" : "3.01",
+ "version" : "3.02",
"x_contributors" : [
"Alex Davies <alex.davies(a)talktalk.net>",
"Alex Kapranoff <alex(a)kapranoff.ru>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/META.yml new/Encode-3.02/META.yml
--- old/Encode-3.01/META.yml 2019-03-13 01:26:53.000000000 +0100
+++ new/Encode-3.02/META.yml 2019-12-25 10:41:49.000000000 +0100
@@ -24,7 +24,7 @@
parent: '0.221'
resources:
repository: https://github.com/dankogai/p5-encode
-version: '3.01'
+version: '3.02'
x_contributors:
- 'Alex Davies <alex.davies(a)talktalk.net>'
- 'Alex Kapranoff <alex(a)kapranoff.ru>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/bin/enc2xs new/Encode-3.02/bin/enc2xs
--- old/Encode-3.01/bin/enc2xs 2019-03-13 01:26:26.000000000 +0100
+++ new/Encode-3.02/bin/enc2xs 2019-12-25 10:25:39.000000000 +0100
@@ -11,7 +11,7 @@
use Getopt::Std;
use Config;
my @orig_ARGV = @ARGV;
-our $VERSION = do { my @r = (q$Revision: 2.21 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+our $VERSION = do { my @r = (q$Revision: 2.22 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
# These may get re-ordered.
# RAW is a do_now as inserted by &enter
@@ -144,6 +144,7 @@
$opt{M} and make_makefile_pl($opt{M}, @ARGV);
$opt{C} and make_configlocal_pm($opt{C}, @ARGV);
$opt{v} ||= $ENV{ENC2XS_VERBOSE};
+$opt{q} ||= $ENV{ENC2XS_NO_COMMENTS};
sub verbose {
print STDERR @_ if $opt{v};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/t/enc_utf8.t new/Encode-3.02/t/enc_utf8.t
--- old/Encode-3.01/t/enc_utf8.t 2019-03-13 01:26:26.000000000 +0100
+++ new/Encode-3.02/t/enc_utf8.t 2019-12-25 10:25:40.000000000 +0100
@@ -1,4 +1,4 @@
-# $Id: enc_utf8.t,v 2.5 2017/06/10 17:23:50 dankogai Exp $
+# $Id: enc_utf8.t,v 2.6 2019/12/25 09:23:21 dankogai Exp $
# This is the twin of enc_eucjp.t .
BEGIN {
@@ -8,21 +8,22 @@
exit 0;
}
unless (find PerlIO::Layer 'perlio') {
- print "1..0 # Skip: PerlIO was not built\n";
- exit 0;
+ print "1..0 # Skip: PerlIO was not built\n";
+ exit 0;
}
if (ord("A") == 193) {
- print "1..0 # encoding pragma does not support EBCDIC platforms\n";
- exit(0);
+ print "1..0 # encoding pragma does not support EBCDIC platforms\n";
+ exit(0);
}
if ($] >= 5.025003 and !$Config{usecperl}){
- print "1..0 # Skip: Perl <=5.25.2 or cperl required\n";
- exit 0;
+ print "1..0 # Skip: Perl <=5.25.2 or cperl required\n";
+ exit 0;
}
}
no warnings "deprecated";
use encoding 'utf8';
+use warnings;
my @c = (127, 128, 255, 256);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Encode-3.01/t/whatwg-aliases.t new/Encode-3.02/t/whatwg-aliases.t
--- old/Encode-3.01/t/whatwg-aliases.t 2017-03-17 03:46:22.000000000 +0100
+++ new/Encode-3.02/t/whatwg-aliases.t 2019-12-25 10:14:16.000000000 +0100
@@ -11,7 +11,7 @@
use Test::More
- ($ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING})
+ $ENV{AUTHOR_TESTING}
? 'no_plan'
: (skip_all => 'For maintainers only');
use Encode 'find_encoding';
1
0
Hello community,
here is the log from the commit of package perl-MCE for openSUSE:Factory checked in at 2019-12-30 12:34:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MCE (Old)
and /work/SRC/openSUSE:Factory/.perl-MCE.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MCE"
Mon Dec 30 12:34:55 2019 rev:15 rq:759928 version:1.865
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MCE/perl-MCE.changes 2019-12-06 12:08:45.760130181 +0100
+++ /work/SRC/openSUSE:Factory/.perl-MCE.new.6675/perl-MCE.changes 2019-12-30 12:35:04.227812230 +0100
@@ -1,0 +2,16 @@
+Thu Dec 26 03:09:26 UTC 2019 - <timueller+perl(a)suse.de>
+
+- updated to 1.865
+ see /usr/share/doc/packages/perl-MCE/Changes
+
+ 1.865 Wed Dec 25 18:00:00 EST 2019
+
+ * Bug fix for two-way IPC stalling on Windows in MCE::Channel::Threads.
+ See https://www.perlmonks.org/?node_id=11110612
+
+ * Remove the check for MSWin32 in MCE::Channel::Mutex. MCE::Channel since
+ the 1st release silently defaults to MCE::Channel::Threads on Windows.
+
+ * Small tweak to MCE::Signal.
+
+-------------------------------------------------------------------
Old:
----
MCE-1.864.tar.gz
New:
----
MCE-1.865.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MCE.spec ++++++
--- /var/tmp/diff_new_pack.ADhWes/_old 2019-12-30 12:35:05.343812829 +0100
+++ /var/tmp/diff_new_pack.ADhWes/_new 2019-12-30 12:35:05.343812829 +0100
@@ -17,7 +17,7 @@
Name: perl-MCE
-Version: 1.864
+Version: 1.865
Release: 0
%define cpan_name MCE
Summary: Many-Core Engine for Perl providing parallel processing capabilities
++++++ MCE-1.864.tar.gz -> MCE-1.865.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/Changes new/MCE-1.865/Changes
--- old/MCE-1.864/Changes 2019-12-04 18:58:04.000000000 +0100
+++ new/MCE-1.865/Changes 2019-12-26 01:39:48.000000000 +0100
@@ -1,11 +1,22 @@
Revision history for Perl module MCE.
+1.865 Wed Dec 25 18:00:00 EST 2019
+
+ * Bug fix for two-way IPC stalling on Windows in MCE::Channel::Threads.
+ See https://www.perlmonks.org/?node_id=11110612
+
+ * Remove the check for MSWin32 in MCE::Channel::Mutex. MCE::Channel since
+ the 1st release silently defaults to MCE::Channel::Threads on Windows.
+
+ * Small tweak to MCE::Signal.
+
1.864 Wed Dec 04 13:00:00 EST 2019
- * Bug fix to MCE::Signal - Shared manager not exiting, introduced in 1.863.
+ * Bug fix in MCE::Signal - Shared manager not exiting, introduced in 1.863.
* Use monotonic clock if available in MCE->yield and MCE::Child->yield.
+ See https://www.perlmonks.org/?node_id=11109673
1.863 Sun Nov 26 20:00:00 EST 2019
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/META.json new/MCE-1.865/META.json
--- old/MCE-1.864/META.json 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/META.json 2019-12-26 01:42:50.000000000 +0100
@@ -65,123 +65,123 @@
"provides" : {
"MCE" : {
"file" : "lib/MCE.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Candy" : {
"file" : "lib/MCE/Candy.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Channel" : {
"file" : "lib/MCE/Channel.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Channel::Mutex" : {
"file" : "lib/MCE/Channel/Mutex.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Channel::Simple" : {
"file" : "lib/MCE/Channel/Simple.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Channel::Threads" : {
"file" : "lib/MCE/Channel/Threads.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Child" : {
"file" : "lib/MCE/Child.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Input::Generator" : {
"file" : "lib/MCE/Core/Input/Generator.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Input::Handle" : {
"file" : "lib/MCE/Core/Input/Handle.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Input::Iterator" : {
"file" : "lib/MCE/Core/Input/Iterator.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Input::Request" : {
"file" : "lib/MCE/Core/Input/Request.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Input::Sequence" : {
"file" : "lib/MCE/Core/Input/Sequence.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Manager" : {
"file" : "lib/MCE/Core/Manager.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Validation" : {
"file" : "lib/MCE/Core/Validation.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Core::Worker" : {
"file" : "lib/MCE/Core/Worker.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Flow" : {
"file" : "lib/MCE/Flow.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Grep" : {
"file" : "lib/MCE/Grep.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Loop" : {
"file" : "lib/MCE/Loop.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Map" : {
"file" : "lib/MCE/Map.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Mutex" : {
"file" : "lib/MCE/Mutex.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Mutex::Channel" : {
"file" : "lib/MCE/Mutex/Channel.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Mutex::Channel2" : {
"file" : "lib/MCE/Mutex/Channel2.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Mutex::Flock" : {
"file" : "lib/MCE/Mutex/Flock.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Queue" : {
"file" : "lib/MCE/Queue.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Relay" : {
"file" : "lib/MCE/Relay.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Signal" : {
"file" : "lib/MCE/Signal.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Step" : {
"file" : "lib/MCE/Step.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Stream" : {
"file" : "lib/MCE/Stream.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Subs" : {
"file" : "lib/MCE/Subs.pm",
- "version" : "1.864"
+ "version" : "1.865"
},
"MCE::Util" : {
"file" : "lib/MCE/Util.pm",
- "version" : "1.864"
+ "version" : "1.865"
}
},
"release_status" : "stable",
@@ -197,5 +197,5 @@
"url" : "https://github.com/marioroy/mce-perl.git"
}
},
- "version" : "1.864"
+ "version" : "1.865"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/META.yml new/MCE-1.865/META.yml
--- old/MCE-1.864/META.yml 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/META.yml 2019-12-26 01:42:50.000000000 +0100
@@ -25,94 +25,94 @@
provides:
MCE:
file: lib/MCE.pm
- version: '1.864'
+ version: '1.865'
MCE::Candy:
file: lib/MCE/Candy.pm
- version: '1.864'
+ version: '1.865'
MCE::Channel:
file: lib/MCE/Channel.pm
- version: '1.864'
+ version: '1.865'
MCE::Channel::Mutex:
file: lib/MCE/Channel/Mutex.pm
- version: '1.864'
+ version: '1.865'
MCE::Channel::Simple:
file: lib/MCE/Channel/Simple.pm
- version: '1.864'
+ version: '1.865'
MCE::Channel::Threads:
file: lib/MCE/Channel/Threads.pm
- version: '1.864'
+ version: '1.865'
MCE::Child:
file: lib/MCE/Child.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Input::Generator:
file: lib/MCE/Core/Input/Generator.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Input::Handle:
file: lib/MCE/Core/Input/Handle.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Input::Iterator:
file: lib/MCE/Core/Input/Iterator.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Input::Request:
file: lib/MCE/Core/Input/Request.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Input::Sequence:
file: lib/MCE/Core/Input/Sequence.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Manager:
file: lib/MCE/Core/Manager.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Validation:
file: lib/MCE/Core/Validation.pm
- version: '1.864'
+ version: '1.865'
MCE::Core::Worker:
file: lib/MCE/Core/Worker.pm
- version: '1.864'
+ version: '1.865'
MCE::Flow:
file: lib/MCE/Flow.pm
- version: '1.864'
+ version: '1.865'
MCE::Grep:
file: lib/MCE/Grep.pm
- version: '1.864'
+ version: '1.865'
MCE::Loop:
file: lib/MCE/Loop.pm
- version: '1.864'
+ version: '1.865'
MCE::Map:
file: lib/MCE/Map.pm
- version: '1.864'
+ version: '1.865'
MCE::Mutex:
file: lib/MCE/Mutex.pm
- version: '1.864'
+ version: '1.865'
MCE::Mutex::Channel:
file: lib/MCE/Mutex/Channel.pm
- version: '1.864'
+ version: '1.865'
MCE::Mutex::Channel2:
file: lib/MCE/Mutex/Channel2.pm
- version: '1.864'
+ version: '1.865'
MCE::Mutex::Flock:
file: lib/MCE/Mutex/Flock.pm
- version: '1.864'
+ version: '1.865'
MCE::Queue:
file: lib/MCE/Queue.pm
- version: '1.864'
+ version: '1.865'
MCE::Relay:
file: lib/MCE/Relay.pm
- version: '1.864'
+ version: '1.865'
MCE::Signal:
file: lib/MCE/Signal.pm
- version: '1.864'
+ version: '1.865'
MCE::Step:
file: lib/MCE/Step.pm
- version: '1.864'
+ version: '1.865'
MCE::Stream:
file: lib/MCE/Stream.pm
- version: '1.864'
+ version: '1.865'
MCE::Subs:
file: lib/MCE/Subs.pm
- version: '1.864'
+ version: '1.865'
MCE::Util:
file: lib/MCE/Util.pm
- version: '1.864'
+ version: '1.865'
recommends:
Sereal::Decoder: '3.015'
Sereal::Encoder: '3.015'
@@ -139,4 +139,4 @@
homepage: https://github.com/marioroy/mce-perl
license: http://dev.perl.org/licenses/
repository: https://github.com/marioroy/mce-perl.git
-version: '1.864'
+version: '1.865'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/Makefile.PL new/MCE-1.865/Makefile.PL
--- old/MCE-1.864/Makefile.PL 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/Makefile.PL 2019-12-26 01:42:50.000000000 +0100
@@ -17,7 +17,7 @@
ABSTRACT => 'Many-Core Engine for Perl providing parallel processing capabilities',
AUTHOR => 'Mario E. Roy <marioeroy AT gmail DOT com>',
NAME => 'MCE',
- VERSION => '1.864',
+ VERSION => '1.865',
EXE_FILES => [ @exe_files ],
@@ -68,123 +68,123 @@
'provides' => {
'MCE' => {
'file' => 'lib/MCE.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Candy' => {
'file' => 'lib/MCE/Candy.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Channel' => {
'file' => 'lib/MCE/Channel.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Channel::Mutex' => {
'file' => 'lib/MCE/Channel/Mutex.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Channel::Simple' => {
'file' => 'lib/MCE/Channel/Simple.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Channel::Threads' => {
'file' => 'lib/MCE/Channel/Threads.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Child' => {
'file' => 'lib/MCE/Child.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Input::Generator' => {
'file' => 'lib/MCE/Core/Input/Generator.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Input::Handle' => {
'file' => 'lib/MCE/Core/Input/Handle.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Input::Iterator' => {
'file' => 'lib/MCE/Core/Input/Iterator.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Input::Request' => {
'file' => 'lib/MCE/Core/Input/Request.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Input::Sequence' => {
'file' => 'lib/MCE/Core/Input/Sequence.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Manager' => {
'file' => 'lib/MCE/Core/Manager.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Validation' => {
'file' => 'lib/MCE/Core/Validation.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Core::Worker' => {
'file' => 'lib/MCE/Core/Worker.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Flow' => {
'file' => 'lib/MCE/Flow.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Grep' => {
'file' => 'lib/MCE/Grep.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Loop' => {
'file' => 'lib/MCE/Loop.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Map' => {
'file' => 'lib/MCE/Map.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Mutex' => {
'file' => 'lib/MCE/Mutex.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Mutex::Channel' => {
'file' => 'lib/MCE/Mutex/Channel.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Mutex::Channel2' => {
'file' => 'lib/MCE/Mutex/Channel2.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Mutex::Flock' => {
'file' => 'lib/MCE/Mutex/Flock.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Queue' => {
'file' => 'lib/MCE/Queue.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Relay' => {
'file' => 'lib/MCE/Relay.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Signal' => {
'file' => 'lib/MCE/Signal.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Step' => {
'file' => 'lib/MCE/Step.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Stream' => {
'file' => 'lib/MCE/Stream.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Subs' => {
'file' => 'lib/MCE/Subs.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
},
'MCE::Util' => {
'file' => 'lib/MCE/Util.pm',
- 'version' => '1.864'
+ 'version' => '1.865'
}
},
'prereqs' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/README.md new/MCE-1.865/README.md
--- old/MCE-1.864/README.md 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/README.md 2019-12-26 01:42:50.000000000 +0100
@@ -1,6 +1,6 @@
## Many-Core Engine for Perl
-This document describes MCE version 1.864.
+This document describes MCE version 1.865.
Many-Core Engine (MCE) for Perl helps enable a new level of performance by
maximizing all available cores.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Candy.pm new/MCE-1.865/lib/MCE/Candy.pm
--- old/MCE-1.864/lib/MCE/Candy.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Candy.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
our @CARP_NOT = qw( MCE );
@@ -240,7 +240,7 @@
=head1 VERSION
-This document describes MCE::Candy version 1.864
+This document describes MCE::Candy version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Channel/Mutex.pm new/MCE-1.865/lib/MCE/Channel/Mutex.pm
--- old/MCE-1.864/lib/MCE/Channel/Mutex.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Channel/Mutex.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,14 +11,13 @@
no warnings qw( uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
use base 'MCE::Channel';
use MCE::Mutex ();
use bytes;
my $LF = "\012"; Internals::SvREADONLY($LF, 1);
-my $is_MSWin32 = ( $^O eq 'MSWin32' ) ? 1 : 0;
my $freeze = MCE::Channel::_get_freeze();
my $thaw = MCE::Channel::_get_thaw();
@@ -53,7 +52,6 @@
return if $self->{ended};
local $\ = undef if (defined $\);
- MCE::Util::_sock_ready_w( $self->{p_sock} ) if $is_MSWin32;
print { $self->{p_sock} } pack('i', -1);
$self->{ended} = 1;
@@ -67,8 +65,6 @@
my $p_mutex = $self->{p_mutex};
$p_mutex->lock2 if $p_mutex;
- MCE::Util::_sock_ready_w( $self->{p_sock} ) if $is_MSWin32;
-
while ( @_ ) {
my $data;
if ( ref $_[0] || !defined $_[0] ) {
@@ -90,7 +86,6 @@
if ( $count == 1 ) {
( my $c_mutex = $self->{c_mutex} )->lock;
- MCE::Util::_sock_ready( $self->{c_sock} ) if $is_MSWin32;
MCE::Util::_sysread( $self->{c_sock}, my($plen), 4 );
my $len = unpack('i', $plen);
@@ -110,7 +105,6 @@
my ( $plen, @ret );
( my $c_mutex = $self->{c_mutex} )->lock;
- MCE::Util::_sock_ready( $self->{c_sock} ) if $is_MSWin32;
while ( $count-- ) {
MCE::Util::_sysread( $self->{c_sock}, $plen, 4 );
@@ -179,7 +173,6 @@
my $p_mutex = $self->{p_mutex};
$p_mutex->lock2 if $p_mutex;
- MCE::Util::_sock_ready_w( $self->{p_sock} ) if $is_MSWin32;
print { $self->{p_sock} } pack('i', length $data), $data;
$p_mutex->unlock2 if $p_mutex;
@@ -190,7 +183,6 @@
my ( $self ) = @_;
( my $c_mutex = $self->{c_mutex} )->lock;
- MCE::Util::_sock_ready( $self->{c_sock} ) if $is_MSWin32;
MCE::Util::_sysread( $self->{c_sock}, my($plen), 4 );
my $len = unpack('i', $plen);
@@ -253,7 +245,6 @@
local $MCE::Signal::IPC = 1;
( my $c_mutex = $self->{c_mutex} )->lock2;
- MCE::Util::_sock_ready_w( $self->{c_sock} ) if $is_MSWin32;
print { $self->{c_sock} } pack('i', length $data), $data;
$c_mutex->unlock2;
}
@@ -271,15 +262,13 @@
my $p_mutex = $self->{p_mutex};
$p_mutex->lock if $p_mutex;
- MCE::Util::_sock_ready( $self->{p_sock} ) if $is_MSWin32;
-
- ( $p_mutex || $is_MSWin32 )
+ ( $p_mutex )
? MCE::Util::_sysread( $self->{p_sock}, $plen, 4 )
: read( $self->{p_sock}, $plen, 4 );
my $len = unpack('i', $plen);
- ( $p_mutex || $is_MSWin32 )
+ ( $p_mutex )
? MCE::Channel::_read( $self->{p_sock}, $data, $len )
: read( $self->{p_sock}, $data, $len );
@@ -300,7 +289,7 @@
MCE::Util::_nonblocking( $self->{p_sock}, 1 );
- ( $p_mutex || $is_MSWin32 )
+ ( $p_mutex )
? MCE::Util::_sysread( $self->{p_sock}, $plen, 4 )
: read( $self->{p_sock}, $plen, 4 );
@@ -312,7 +301,7 @@
return wantarray ? () : undef;
}
- ( $p_mutex || $is_MSWin32 )
+ ( $p_mutex )
? MCE::Channel::_read( $self->{p_sock}, $data, $len )
: read( $self->{p_sock}, $data, $len );
@@ -339,7 +328,7 @@
=head1 VERSION
-This document describes MCE::Channel::Mutex version 1.864
+This document describes MCE::Channel::Mutex version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Channel/Simple.pm new/MCE-1.865/lib/MCE/Channel/Simple.pm
--- old/MCE-1.864/lib/MCE/Channel/Simple.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Channel/Simple.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
use base 'MCE::Channel';
use bytes;
@@ -328,7 +328,7 @@
=head1 VERSION
-This document describes MCE::Channel::Simple version 1.864
+This document describes MCE::Channel::Simple version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Channel/Threads.pm new/MCE-1.865/lib/MCE/Channel/Threads.pm
--- old/MCE-1.864/lib/MCE/Channel/Threads.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Channel/Threads.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
use threads;
use threads::shared;
@@ -29,6 +29,7 @@
$obj{init_pid} = MCE::Channel::_pid();
MCE::Util::_sock_pair( \%obj, 'p_sock', 'c_sock' );
+ MCE::Util::_sock_pair( \%obj, 'p2_sock', 'c2_sock' ) if $is_MSWin32;
# locking for the consumer side of the channel
$obj{cr_mutex} = threads::shared::share( my $cr_mutex );
@@ -255,11 +256,13 @@
local $MCE::Signal::SIG;
{
+ my $c_sock = $self->{c2_sock} || $self->{c_sock};
+
local $MCE::Signal::IPC = 1;
CORE::lock $self->{cw_mutex};
- MCE::Util::_sock_ready_w( $self->{c_sock} ) if $is_MSWin32;
- print { $self->{c_sock} } pack('i', length $data), $data;
+ MCE::Util::_sock_ready_w( $c_sock ) if $is_MSWin32;
+ print { $c_sock } pack('i', length $data), $data;
}
CORE::kill($MCE::Signal::SIG, $$) if $MCE::Signal::SIG;
@@ -274,19 +277,21 @@
local $/ = $LF if ( $/ ne $LF );
{
+ my $p_sock = $self->{p2_sock} || $self->{p_sock};
my $pr_mutex = $self->{pr_mutex};
+
CORE::lock $pr_mutex if $pr_mutex;
- MCE::Util::_sock_ready( $self->{p_sock} ) if $is_MSWin32;
+ MCE::Util::_sock_ready( $p_sock ) if $is_MSWin32;
( $pr_mutex || $is_MSWin32 )
- ? MCE::Util::_sysread( $self->{p_sock}, $plen, 4 )
- : read( $self->{p_sock}, $plen, 4 );
+ ? MCE::Util::_sysread( $p_sock, $plen, 4 )
+ : read( $p_sock, $plen, 4 );
my $len = unpack('i', $plen);
( $pr_mutex || $is_MSWin32 )
- ? MCE::Channel::_read( $self->{p_sock}, $data, $len )
- : read( $self->{p_sock}, $data, $len );
+ ? MCE::Channel::_read( $p_sock, $data, $len )
+ : read( $p_sock, $data, $len );
}
chop( $data )
@@ -301,23 +306,25 @@
local $/ = $LF if ( $/ ne $LF );
{
+ my $p_sock = $self->{p2_sock} || $self->{p_sock};
my $pr_mutex = $self->{pr_mutex};
+
CORE::lock $pr_mutex if $pr_mutex;
- MCE::Util::_nonblocking( $self->{p_sock}, 1 );
+ MCE::Util::_nonblocking( $p_sock, 1 );
( $pr_mutex || $is_MSWin32 )
- ? MCE::Util::_sysread( $self->{p_sock}, $plen, 4 )
- : read( $self->{p_sock}, $plen, 4 );
+ ? MCE::Util::_sysread( $p_sock, $plen, 4 )
+ : read( $p_sock, $plen, 4 );
- MCE::Util::_nonblocking( $self->{p_sock}, 0 );
+ MCE::Util::_nonblocking( $p_sock, 0 );
my $len; $len = unpack('i', $plen) if $plen;
return wantarray ? () : undef unless $len;
( $pr_mutex || $is_MSWin32 )
- ? MCE::Channel::_read( $self->{p_sock}, $data, $len )
- : read( $self->{p_sock}, $data, $len );
+ ? MCE::Channel::_read( $p_sock, $data, $len )
+ : read( $p_sock, $data, $len );
}
chop( $data )
@@ -341,7 +348,7 @@
=head1 VERSION
-This document describes MCE::Channel::Threads version 1.864
+This document describes MCE::Channel::Threads version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Channel.pm new/MCE-1.865/lib/MCE/Channel.pm
--- old/MCE-1.864/lib/MCE/Channel.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Channel.pm 2019-12-26 01:51:19.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -76,7 +76,7 @@
my ( $pid, $self ) = ( $tid ? $$ .'.'. $tid : $$, @_ );
if ( $self->{'init_pid'} && $self->{'init_pid'} eq $pid ) {
- MCE::Util::_destroy_socks( $self, qw(c_sock p_sock) );
+ MCE::Util::_destroy_socks($self, qw(c_sock c2_sock p_sock p2_sock));
delete($self->{c_mutex}), delete($self->{p_mutex});
}
@@ -128,7 +128,7 @@
=head1 VERSION
-This document describes MCE::Channel version 1.864
+This document describes MCE::Channel version 1.865
=head1 SYNOPSIS
@@ -212,18 +212,21 @@
=head2 new ( impl => STRING, mp => BOOLEAN )
-This creates a new channel. Three implementations are provided C<Mutex> (default),
-C<Threads>, and C<Simple> indicating the locking mechanism to use C<MCE::Mutex>,
-C<threads::shared>, and no locking respectively.
+This creates a new channel. Three implementations are provided C<Mutex>,
+C<Threads>, and C<Simple> indicating the locking mechanism to use
+C<MCE::Mutex>, C<threads::shared>, and no locking respectively.
$chnl = MCE::Channel->new(); # default: impl => 'Mutex', mp => 0
+ # default: impl => 'Threads' on Windows
-The C<Mutex> channel implementation supports processes and threads whereas the
-C<Threads> channel implementation is suited for threads only.
+The C<Mutex> implementation supports processes and threads whereas the
+C<Threads> implementation is suited for Windows and threads only.
$chnl = MCE::Channel->new( impl => 'Mutex' ); # MCE::Mutex locking
$chnl = MCE::Channel->new( impl => 'Threads' ); # threads::shared locking
+ # on Windows, silently becomes impl => 'Threads' when specifying 'Mutex'
+
Set the C<mp> (m)any (p)roducers option to a true value if there will be two
or more workers calling C<enqueue>, <send>, C<recv2>, or C<recv2_nb> on the
left end of the channel. This is important to not incur a race condition.
@@ -231,6 +234,8 @@
$chnl = MCE::Channel->new( impl => 'Mutex', mp => 1 );
$chnl = MCE::Channel->new( impl => 'Threads', mp => 1 );
+ # on Windows, silently becomes impl => 'Threads' when specifying 'Mutex'
+
The C<Simple> implementation is optimized for one producer and one consumer max.
It omits locking for maximum performance. This implementation is preferred for
parent to child communication not shared by another worker.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Child.pm new/MCE-1.865/lib/MCE/Child.pm
--- old/MCE-1.864/lib/MCE/Child.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Child.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
package MCE::Child;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitExplicitReturnUndef)
@@ -972,7 +972,7 @@
=head1 VERSION
-This document describes MCE::Child version 1.864
+This document describes MCE::Child version 1.865
=head1 SYNOPSIS
@@ -1565,7 +1565,7 @@
A demonstration is provided in the next section for fetching URLs in parallel.
The default C<floating_seconds> is 0.008 and 0.015 on UNIX and Windows,
-respectively. Pass 0 if you want to give other workers a chance to run.
+respectively. Pass 0 if simply wanting to give other workers a chance to run.
# total run time: 1.00 second
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Input/Generator.pm new/MCE-1.865/lib/MCE/Core/Input/Generator.pm
--- old/MCE-1.864/lib/MCE/Core/Input/Generator.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Input/Generator.pm 2019-12-26 01:42:50.000000000 +0100
@@ -15,7 +15,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## Items below are folded into MCE.
@@ -220,7 +220,7 @@
=head1 VERSION
-This document describes MCE::Core::Input::Generator version 1.864
+This document describes MCE::Core::Input::Generator version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Input/Handle.pm new/MCE-1.865/lib/MCE/Core/Input/Handle.pm
--- old/MCE-1.864/lib/MCE/Core/Input/Handle.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Input/Handle.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## Items below are folded into MCE.
@@ -282,7 +282,7 @@
=head1 VERSION
-This document describes MCE::Core::Input::Handle version 1.864
+This document describes MCE::Core::Input::Handle version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Input/Iterator.pm new/MCE-1.865/lib/MCE/Core/Input/Iterator.pm
--- old/MCE-1.864/lib/MCE/Core/Input/Iterator.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Input/Iterator.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## Items below are folded into MCE.
@@ -137,7 +137,7 @@
=head1 VERSION
-This document describes MCE::Core::Input::Iterator version 1.864
+This document describes MCE::Core::Input::Iterator version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Input/Request.pm new/MCE-1.865/lib/MCE/Core/Input/Request.pm
--- old/MCE-1.864/lib/MCE/Core/Input/Request.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Input/Request.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## Items below are folded into MCE.
@@ -206,7 +206,7 @@
=head1 VERSION
-This document describes MCE::Core::Input::Request version 1.864
+This document describes MCE::Core::Input::Request version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Input/Sequence.pm new/MCE-1.865/lib/MCE/Core/Input/Sequence.pm
--- old/MCE-1.864/lib/MCE/Core/Input/Sequence.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Input/Sequence.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## Items below are folded into MCE.
@@ -231,7 +231,7 @@
=head1 VERSION
-This document describes MCE::Core::Input::Sequence version 1.864
+This document describes MCE::Core::Input::Sequence version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Manager.pm new/MCE-1.865/lib/MCE/Core/Manager.pm
--- old/MCE-1.864/lib/MCE/Core/Manager.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Manager.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -1041,7 +1041,7 @@
=head1 VERSION
-This document describes MCE::Core::Manager version 1.864
+This document describes MCE::Core::Manager version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Validation.pm new/MCE-1.865/lib/MCE/Core/Validation.pm
--- old/MCE-1.864/lib/MCE/Core/Validation.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Validation.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## Items below are folded into MCE.
@@ -391,7 +391,7 @@
=head1 VERSION
-This document describes MCE::Core::Validation version 1.864
+This document describes MCE::Core::Validation version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core/Worker.pm new/MCE-1.865/lib/MCE/Core/Worker.pm
--- old/MCE-1.864/lib/MCE/Core/Worker.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core/Worker.pm 2019-12-26 01:42:50.000000000 +0100
@@ -14,7 +14,7 @@
use strict;
use warnings;
-our $VERSION = '1.864';
+our $VERSION = '1.865';
my $_tid = $INC{'threads.pm'} ? threads->tid() : 0;
@@ -744,7 +744,7 @@
=head1 VERSION
-This document describes MCE::Core::Worker version 1.864
+This document describes MCE::Core::Worker version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Core.pod new/MCE-1.865/lib/MCE/Core.pod
--- old/MCE-1.864/lib/MCE/Core.pod 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Core.pod 2019-12-26 01:42:50.000000000 +0100
@@ -5,7 +5,7 @@
=head1 VERSION
-This document describes MCE::Core version 1.864
+This document describes MCE::Core version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Examples.pod new/MCE-1.865/lib/MCE/Examples.pod
--- old/MCE-1.864/lib/MCE/Examples.pod 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Examples.pod 2019-12-26 01:42:50.000000000 +0100
@@ -5,7 +5,7 @@
=head1 VERSION
-This document describes MCE::Examples version 1.864
+This document describes MCE::Examples version 1.865
=head1 INCLUDED WITH THE DISTRIBUTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Flow.pm new/MCE-1.865/lib/MCE/Flow.pm
--- old/MCE-1.864/lib/MCE/Flow.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Flow.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -479,7 +479,7 @@
=head1 VERSION
-This document describes MCE::Flow version 1.864
+This document describes MCE::Flow version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Grep.pm new/MCE-1.865/lib/MCE/Grep.pm
--- old/MCE-1.864/lib/MCE/Grep.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Grep.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -434,7 +434,7 @@
=head1 VERSION
-This document describes MCE::Grep version 1.864
+This document describes MCE::Grep version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Loop.pm new/MCE-1.865/lib/MCE/Loop.pm
--- old/MCE-1.864/lib/MCE/Loop.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Loop.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -349,7 +349,7 @@
=head1 VERSION
-This document describes MCE::Loop version 1.864
+This document describes MCE::Loop version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Map.pm new/MCE-1.865/lib/MCE/Map.pm
--- old/MCE-1.864/lib/MCE/Map.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Map.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -434,7 +434,7 @@
=head1 VERSION
-This document describes MCE::Map version 1.864
+This document describes MCE::Map version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Mutex/Channel.pm new/MCE-1.865/lib/MCE/Mutex/Channel.pm
--- old/MCE-1.864/lib/MCE/Mutex/Channel.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Mutex/Channel.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
use base 'MCE::Mutex';
use Scalar::Util qw(refaddr weaken);
@@ -139,7 +139,7 @@
=head1 VERSION
-This document describes MCE::Mutex::Channel version 1.864
+This document describes MCE::Mutex::Channel version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Mutex/Channel2.pm new/MCE-1.865/lib/MCE/Mutex/Channel2.pm
--- old/MCE-1.864/lib/MCE/Mutex/Channel2.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Mutex/Channel2.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
use base 'MCE::Mutex::Channel';
use MCE::Util ();
@@ -114,7 +114,7 @@
=head1 VERSION
-This document describes MCE::Mutex::Channel2 version 1.864
+This document describes MCE::Mutex::Channel2 version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Mutex/Flock.pm new/MCE-1.865/lib/MCE/Mutex/Flock.pm
--- old/MCE-1.864/lib/MCE/Mutex/Flock.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Mutex/Flock.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
use base 'MCE::Mutex';
use Fcntl ':flock';
@@ -181,7 +181,7 @@
=head1 VERSION
-This document describes MCE::Mutex::Flock version 1.864
+This document describes MCE::Mutex::Flock version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Mutex.pm new/MCE-1.865/lib/MCE/Mutex.pm
--- old/MCE-1.864/lib/MCE/Mutex.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Mutex.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -76,7 +76,7 @@
=head1 VERSION
-This document describes MCE::Mutex version 1.864
+This document describes MCE::Mutex version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Queue.pm new/MCE-1.865/lib/MCE/Queue.pm
--- old/MCE-1.864/lib/MCE/Queue.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Queue.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (Subroutines::ProhibitExplicitReturnUndef)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -1601,7 +1601,7 @@
=head1 VERSION
-This document describes MCE::Queue version 1.864
+This document describes MCE::Queue version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Relay.pm new/MCE-1.865/lib/MCE/Relay.pm
--- old/MCE-1.864/lib/MCE/Relay.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Relay.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized numeric );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -370,7 +370,7 @@
=head1 VERSION
-This document describes MCE::Relay version 1.864
+This document describes MCE::Relay version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Signal.pm new/MCE-1.865/lib/MCE/Signal.pm
--- old/MCE-1.864/lib/MCE/Signal.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Signal.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
@@ -206,10 +206,10 @@
$SIG{__DIE__} = $SIG{__WARN__} = sub {};
if (exists $_sig_name_lkup{$_sig_name}) {
- $SIG{INT} = $SIG{$_sig_name} = sub {};
$_exit_status = $MCE::Signal::KILLED = $_is_sig = 1;
- $_exit_status = 255 if ($_sig_name eq '__DIE__');
- $_exit_status = 0 if ($_sig_name eq 'PIPE');
+ $_exit_status = 255, $_sig_name = 'TERM' if ($_sig_name eq '__DIE__');
+ $_exit_status = 0 if ($_sig_name eq 'PIPE');
+ $SIG{INT} = $SIG{$_sig_name} = sub {};
}
else {
$_exit_status = $_sig_name if ($_sig_name =~ /^\d+$/);
@@ -438,7 +438,7 @@
=head1 VERSION
-This document describes MCE::Signal version 1.864
+This document describes MCE::Signal version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Step.pm new/MCE-1.865/lib/MCE/Step.pm
--- old/MCE-1.864/lib/MCE/Step.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Step.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -715,7 +715,7 @@
=head1 VERSION
-This document describes MCE::Step version 1.864
+This document describes MCE::Step version 1.865
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Stream.pm new/MCE-1.865/lib/MCE/Stream.pm
--- old/MCE-1.864/lib/MCE/Stream.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Stream.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -671,7 +671,7 @@
=head1 VERSION
-This document describes MCE::Stream version 1.864
+This document describes MCE::Stream version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Subs.pm new/MCE-1.865/lib/MCE/Subs.pm
--- old/MCE-1.864/lib/MCE/Subs.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Subs.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (Subroutines::ProhibitSubroutinePrototypes)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -204,7 +204,7 @@
=head1 VERSION
-This document describes MCE::Subs version 1.864
+This document describes MCE::Subs version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE/Util.pm new/MCE-1.865/lib/MCE/Util.pm
--- old/MCE-1.864/lib/MCE/Util.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE/Util.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized numeric );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
@@ -410,7 +410,7 @@
=head1 VERSION
-This document describes MCE::Util version 1.864
+This document describes MCE::Util version 1.865
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE.pm new/MCE-1.865/lib/MCE.pm
--- old/MCE-1.864/lib/MCE.pm 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE.pm 2019-12-26 01:42:50.000000000 +0100
@@ -11,7 +11,7 @@
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.864';
+our $VERSION = '1.865';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MCE-1.864/lib/MCE.pod new/MCE-1.865/lib/MCE.pod
--- old/MCE-1.864/lib/MCE.pod 2019-12-04 18:56:35.000000000 +0100
+++ new/MCE-1.865/lib/MCE.pod 2019-12-26 01:42:50.000000000 +0100
@@ -5,7 +5,7 @@
=head1 VERSION
-This document describes MCE version 1.864
+This document describes MCE version 1.865
Many-Core Engine (MCE) for Perl helps enable a new level of performance by
maximizing all available cores.
1
0
Hello community,
here is the log from the commit of package perl-Template-Toolkit for openSUSE:Factory checked in at 2019-12-30 12:34:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Template-Toolkit (Old)
and /work/SRC/openSUSE:Factory/.perl-Template-Toolkit.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Template-Toolkit"
Mon Dec 30 12:34:55 2019 rev:34 rq:759927 version:3.003
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Template-Toolkit/perl-Template-Toolkit.changes 2019-05-02 19:16:52.393369019 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Template-Toolkit.new.6675/perl-Template-Toolkit.changes 2019-12-30 12:35:02.491811299 +0100
@@ -1,0 +2,6 @@
+Sat Dec 28 03:12:26 UTC 2019 - <timueller+perl(a)suse.de>
+
+- updated to 3.003
+ see /usr/share/doc/packages/perl-Template-Toolkit/Changes
+
+-------------------------------------------------------------------
Old:
----
Template-Toolkit-2.29.tar.gz
New:
----
Template-Toolkit-3.003.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Template-Toolkit.spec ++++++
--- /var/tmp/diff_new_pack.8AOBvM/_old 2019-12-30 12:35:03.887812048 +0100
+++ /var/tmp/diff_new_pack.8AOBvM/_new 2019-12-30 12:35:03.895812052 +0100
@@ -17,7 +17,7 @@
Name: perl-Template-Toolkit
-Version: 2.29
+Version: 3.003
Release: 0
%define cpan_name Template-Toolkit
Summary: Template Processing System
@@ -40,7 +40,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -56,6 +56,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes HACKING README testrules.yml TODO
+%doc Changes HACKING README.md testrules.yml TODO
%changelog
++++++ Template-Toolkit-2.29.tar.gz -> Template-Toolkit-3.003.tar.gz ++++++
++++ 11476 lines of diff (skipped)
1
0