Hello community, here is the log from the commit of package perl-HTTP-Server-Simple for openSUSE:Factory checked in at 2017-04-11 12:42:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Server-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-HTTP-Server-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Server-Simple" Tue Apr 11 12:42:00 2017 rev:10 rq:486142 version:0.52 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-HTTP-Server-Simple/perl-HTTP-Server-Simple.changes 2015-09-24 06:15:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-HTTP-Server-Simple.new/perl-HTTP-Server-Simple.changes 2017-04-11 12:42:01.693171348 +0200 @@ -1,0 +2,9 @@ +Sat Apr 1 05:52:45 UTC 2017 - co...@suse.com + +- updated to 0.52 + see /usr/share/doc/packages/perl-HTTP-Server-Simple/Changes + + 0.52 2017-03-31 + - Add . to lib in Makefile.PL to support perl 5.25.11 + +------------------------------------------------------------------- Old: ---- HTTP-Server-Simple-0.51.tar.gz New: ---- HTTP-Server-Simple-0.52.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-HTTP-Server-Simple.spec ++++++ --- /var/tmp/diff_new_pack.X33ItW/_old 2017-04-11 12:42:03.372934004 +0200 +++ /var/tmp/diff_new_pack.X33ItW/_new 2017-04-11 12:42:03.372934004 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-HTTP-Server-Simple # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -17,14 +17,14 @@ Name: perl-HTTP-Server-Simple -Version: 0.51 +Version: 0.52 Release: 0 %define cpan_name HTTP-Server-Simple Summary: Lightweight HTTP server License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTTP-Server-Simple/ -Source0: http://www.cpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,27 +44,26 @@ fork. It does, however, act as a simple frontend which can be used to build a standalone web-based application or turn a CGI into one. -It is possible to use the Net::Server manpage classes to create forking, -pre-forking, and other types of more complicated servers; see the -/net_server manpage. +It is possible to use Net::Server classes to create forking, pre-forking, +and other types of more complicated servers; see net_server. By default, the server traps a few signals: * HUP - When you 'kill -HUP' the server, it lets the current request finish being - processed, then uses the 'restart' method to re-exec itself. Please note - that in order to provide restart-on-SIGHUP, HTTP::Server::Simple sets a - SIGHUP handler during initialisation. If your request handling code forks - you need to make sure you reset this or unexpected things will happen if - somebody sends a HUP to all running processes spawned by your app (e.g. - by "kill -HUP <script>") +When you 'kill -HUP' the server, it lets the current request finish being +processed, then uses the 'restart' method to re-exec itself. Please note +that in order to provide restart-on-SIGHUP, HTTP::Server::Simple sets a +SIGHUP handler during initialisation. If your request handling code forks +you need to make sure you reset this or unexpected things will happen if +somebody sends a HUP to all running processes spawned by your app (e.g. by +"kill -HUP <script>") * PIPE - If the server detects a broken pipe while writing output to the client, - it ignores the signal. Otherwise, a client closing the connection early - could kill the server. +If the server detects a broken pipe while writing output to the client, it +ignores the signal. Otherwise, a client closing the connection early could +kill the server. %prep %setup -q -n %{cpan_name}-%{version} ++++++ HTTP-Server-Simple-0.51.tar.gz -> HTTP-Server-Simple-0.52.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/Changes new/HTTP-Server-Simple-0.52/Changes --- old/HTTP-Server-Simple-0.51/Changes 2015-09-16 22:58:28.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/Changes 2017-03-31 22:32:15.000000000 +0200 @@ -1,3 +1,6 @@ +0.52 2017-03-31 + - Add . to lib in Makefile.PL to support perl 5.25.11 + 0.51 2015-09-16 - add OPTIONS as a valid method diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/MANIFEST new/HTTP-Server-Simple-0.52/MANIFEST --- old/HTTP-Server-Simple-0.51/MANIFEST 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/MANIFEST 2017-03-31 22:41:33.000000000 +0200 @@ -20,3 +20,4 @@ t/02pod.t t/03podcoverage.t t/04cgi.t +SIGNATURE Public-key signature (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/META.yml new/HTTP-Server-Simple-0.52/META.yml --- old/HTTP-Server-Simple-0.51/META.yml 2015-09-16 22:58:28.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/META.yml 2017-03-31 22:38:10.000000000 +0200 @@ -8,7 +8,7 @@ ExtUtils::MakeMaker: 6.36 distribution_type: module dynamic_config: 1 -generated_by: 'Module::Install version 1.14' +generated_by: 'Module::Install version 1.17' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,4 +26,4 @@ resources: license: http://dev.perl.org/licenses/ repository: https://github.com/bestpractical/http-server-simple -version: '0.51' +version: '0.52' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/Makefile.PL new/HTTP-Server-Simple-0.52/Makefile.PL --- old/HTTP-Server-Simple-0.51/Makefile.PL 2015-09-16 22:58:28.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/Makefile.PL 2017-03-31 16:07:17.000000000 +0200 @@ -1,3 +1,4 @@ +use lib '.'; use inc::Module::Install; all_from('lib/HTTP/Server/Simple.pm'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/SIGNATURE new/HTTP-Server-Simple-0.52/SIGNATURE --- old/HTTP-Server-Simple-0.51/SIGNATURE 1970-01-01 01:00:00.000000000 +0100 +++ new/HTTP-Server-Simple-0.52/SIGNATURE 2017-03-31 22:41:38.000000000 +0200 @@ -0,0 +1,49 @@ +This file contains message digests of all files listed in MANIFEST, +signed via the Module::Signature module, version 0.79. + +To verify the content in this distribution, first make sure you have +Module::Signature installed, then type: + + % cpansign -v + +It will check each file's integrity, as well as the signature's +validity. If "==> Signature verified OK! <==" is not displayed, +the distribution may already have been compromised, and you should +not run its Makefile.PL or Build.PL. + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +SHA1 d799b9ed8589d1acc5afb7e0dfbfcd29ec0dd07c Changes +SHA1 86a31bfdcdcd54159cbd433fd8dad4590ea172e9 MANIFEST +SHA1 900df8090043ab2e861edf274cc6b657bfd5a9e2 META.yml +SHA1 b27fd7983547b8d5dc5838b31429a14249e4f86c Makefile.PL +SHA1 ed0c107672daac3bc9e266876666e1059dbe44b7 README +SHA1 4ea1e9072ca87399184a46233df52a21e285604d ex/sample_server +SHA1 05a17c51aceb6435a1eac17137f19911a09e5050 inc/Module/Install.pm +SHA1 dc73c2baf4357ad1cc884146147f557a50a29300 inc/Module/Install/Base.pm +SHA1 c7f311a5bc5a7f96e9105d5f16a0e13fc596899d inc/Module/Install/Can.pm +SHA1 8c8f9ff5b0a536af59814e16a901ce39fbc23299 inc/Module/Install/Fetch.pm +SHA1 4f77eb02e104324b08a047585c498146b045613b inc/Module/Install/Makefile.pm +SHA1 2f5be6af6098acf6d786a4a7299a34d0c6c04ef9 inc/Module/Install/Metadata.pm +SHA1 aa6723cc4a8d4475026f6ceb28e1f16459e8a11b inc/Module/Install/Win32.pm +SHA1 6661285caedfe012cb5a1ca915a422ffc292ae2b inc/Module/Install/WriteAll.pm +SHA1 fece79a06f46cd4ba35a023cc566657db3e1f757 lib/HTTP/Server/Simple.pm +SHA1 6c552ef4704ad7ff0acde604fc984982c7bb586e lib/HTTP/Server/Simple/CGI.pm +SHA1 cb2059aaae64bf98b586ae1a5d7e2edf95aa8b11 lib/HTTP/Server/Simple/CGI/Environment.pm +SHA1 db064af54cab345a71daec576e32e64b8fb1033d t/00smoke.t +SHA1 053fe4d227e7cecdc28a259fffab818117407112 t/01live.t +SHA1 aca95653cfce68912e08c57b3a4566207e2f99b3 t/02pod.t +SHA1 a7024d0d8e7b80d26f75a3551a1406a797b382f8 t/03podcoverage.t +SHA1 77cfd507bd58ed91f7b96058a56cd68edee5bb0c t/04cgi.t +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQEcBAEBAgAGBQJY3r79AAoJEBXncVGnZqUU0agH+wVkaug1ovbE4e3bgSG3J9cT +nzFGnwvzRxoxN+MPHlz6Z3H6YF3Tq3u3oDKYVp4SNdXp3P+km5uGnUPVtnLHjbXd +IiftWvZah1k+gyIgDti3FdIj5qfCzh8Hp5FSnoD2m3FVc6XdZKFO8kDLfZ4+JKcg +WfA5h1ftG1kZwVRHeE89V1nlANIHZasmqK8snHay+4rnQTc0lJfQqCK5uw3Q0pH7 +Qyf1a30z1veYxdrtv7Z06sApB/zr93iCMiUUHhl71jiFJXPzLzzX5RjxI7j+Lain +51NQ/xc9v91dXtGM1FA8ICCFEVHicHJFid/IchzUMoU96NEs5+pG9aQDvK6da2I= +=U46d +-----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/Base.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/Base.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/Base.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/Base.pm 2017-03-31 22:38:10.000000000 +0200 @@ -4,7 +4,7 @@ use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; } # Suspend handler for "redefined" warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/Can.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/Can.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/Can.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/Can.pm 2017-03-31 22:38:10.000000000 +0200 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } @@ -121,6 +121,15 @@ # Can we locate a (the) C compiler sub can_cc { my $self = shift; + + if ($^O eq 'VMS') { + require ExtUtils::CBuilder; + my $builder = ExtUtils::CBuilder->new( + quiet => 1, + ); + return $builder->have_compiler; + } + my @chunks = split(/ /, $Config::Config{cc}) or return; # $Config{cc} may contain args; try to find out the program part @@ -151,4 +160,4 @@ __END__ -#line 236 +#line 245 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/Fetch.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/Fetch.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/Fetch.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/Fetch.pm 2017-03-31 22:38:10.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/Makefile.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/Makefile.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/Makefile.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/Makefile.pm 2017-03-31 22:38:10.000000000 +0200 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/Metadata.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/Metadata.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/Metadata.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/Metadata.pm 2017-03-31 22:38:10.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/Win32.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/Win32.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/Win32.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/Win32.pm 2017-03-31 22:38:10.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install/WriteAll.pm new/HTTP-Server-Simple-0.52/inc/Module/Install/WriteAll.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install/WriteAll.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install/WriteAll.pm 2017-03-31 22:38:10.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = qw{Module::Install::Base}; $ISCORE = 1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/inc/Module/Install.pm new/HTTP-Server-Simple-0.52/inc/Module/Install.pm --- old/HTTP-Server-Simple-0.51/inc/Module/Install.pm 2015-05-07 17:18:57.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/inc/Module/Install.pm 2017-03-31 22:38:09.000000000 +0200 @@ -31,7 +31,7 @@ # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.14'; + $VERSION = '1.17'; # Storage for the pseudo-singleton $MAIN = undef; @@ -244,6 +244,8 @@ } return $args{_self} if $args{_self}; + $base_path = VMS::Filespec::unixify($base_path) if $^O eq 'VMS'; + $args{dispatch} ||= 'Admin'; $args{prefix} ||= 'inc'; $args{author} ||= ($^O eq 'VMS' ? '_author' : '.author'); @@ -322,7 +324,7 @@ my ($self, $path) = @_; my @found; - File::Find::find( sub { + File::Find::find( {no_chdir => 1, wanted => sub { my $file = $File::Find::name; return unless $file =~ m!^\Q$path\E/(.+)\.pm\Z!is; my $subpath = $1; @@ -336,7 +338,7 @@ # correctly. Otherwise, root through the file to locate the case-preserved # version of the package name. if ( $subpath eq lc($subpath) || $subpath eq uc($subpath) ) { - my $content = Module::Install::_read($subpath . '.pm'); + my $content = Module::Install::_read($File::Find::name); my $in_pod = 0; foreach ( split /\n/, $content ) { $in_pod = 1 if /^=\w/; @@ -351,7 +353,7 @@ } push @found, [ $file, $pkg ]; - }, $path ) if -d $path; + }}, $path ) if -d $path; @found; } @@ -373,8 +375,6 @@ return $call; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _read { local *FH; open( FH, '<', $_[0] ) or die "open($_[0]): $!"; @@ -383,16 +383,6 @@ close FH or die "close($_[0]): $!"; return $string; } -END_NEW -sub _read { - local *FH; - open( FH, "< $_[0]" ) or die "open($_[0]): $!"; - binmode FH; - my $string = do { local $/; <FH> }; - close FH or die "close($_[0]): $!"; - return $string; -} -END_OLD sub _readperl { my $string = Module::Install::_read($_[0]); @@ -413,8 +403,6 @@ return $string; } -# Done in evals to avoid confusing Perl::MinimumVersion -eval( $] >= 5.006 ? <<'END_NEW' : <<'END_OLD' ); die $@ if $@; sub _write { local *FH; open( FH, '>', $_[0] ) or die "open($_[0]): $!"; @@ -424,17 +412,6 @@ } close FH or die "close($_[0]): $!"; } -END_NEW -sub _write { - local *FH; - open( FH, "> $_[0]" ) or die "open($_[0]): $!"; - binmode FH; - foreach ( 1 .. $#_ ) { - print FH $_[$_] or die "print($_[0]): $!"; - } - close FH or die "close($_[0]): $!"; -} -END_OLD # _version is for processing module versions (eg, 1.03_05) not # Perl versions (eg, 5.8.1). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Server-Simple-0.51/lib/HTTP/Server/Simple.pm new/HTTP-Server-Simple-0.52/lib/HTTP/Server/Simple.pm --- old/HTTP-Server-Simple-0.51/lib/HTTP/Server/Simple.pm 2015-09-16 22:58:28.000000000 +0200 +++ new/HTTP-Server-Simple-0.52/lib/HTTP/Server/Simple.pm 2017-03-31 22:32:37.000000000 +0200 @@ -7,7 +7,7 @@ use Carp; use vars qw($VERSION $bad_request_doc); -$VERSION = '0.51'; +$VERSION = '0.52'; =head1 NAME