diff -Nru libhttp-server-simple-perl-0.51/Changes libhttp-server-simple-perl-0.52/Changes --- libhttp-server-simple-perl-0.51/Changes 2015-09-16 20:58:28.000000000 +0000 +++ libhttp-server-simple-perl-0.52/Changes 2017-03-31 20:32:15.000000000 +0000 @@ -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 -Nru libhttp-server-simple-perl-0.51/debian/changelog libhttp-server-simple-perl-0.52/debian/changelog --- libhttp-server-simple-perl-0.51/debian/changelog 2015-10-18 15:37:12.000000000 +0000 +++ libhttp-server-simple-perl-0.52/debian/changelog 2017-11-10 13:41:07.000000000 +0000 @@ -1,3 +1,32 @@ +libhttp-server-simple-perl (0.52-1) unstable; urgency=medium + + * Team upload + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * Change bugtracker URL(s) to HTTPS. + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + + [ Martín Ferrari ] + * Remove myself from Uploaders. + + [ gregor herrmann ] + * Remove Christine Spang from Uploaders. Thanks for your work! + * Remove Jonathan Yu from Uploaders. Thanks for your work! + * Remove Jose Luis Rivas from Uploaders. Thanks for your work! + + [ Alex Muntada ] + * Remove inactive pkg-perl members from Uploaders. + + [ Florian Schlichting ] + * Import upstream version 0.52 + * Update copyright years + * Declare compliance with Debian Policy 4.1.1 + + -- Florian Schlichting Fri, 10 Nov 2017 14:41:07 +0100 + libhttp-server-simple-perl (0.51-1) unstable; urgency=medium * New upstream release. @@ -130,7 +159,7 @@ * New upstream release + win32 fixes + Specify an HTTP version for our GETs should get escaping to work - + After a fork, we need to reset the random seed lest we have + + After a fork, we need to reset the random seed lest we have duplicated random numbers in both forks. * Bump to Standards-Version 3.8.2 * Drop versioning in perl dependency; perl in oldstable meets the @@ -183,7 +212,7 @@ libhttp-server-simple-perl (0.34-1) unstable; urgency=low [ Jose Luis Rivas ] - * New upstream release + * New upstream release * debian/control: + Bumped to Standards-Version 3.8.0, no further changes needed * Added me as co-maintainer diff -Nru libhttp-server-simple-perl-0.51/debian/control libhttp-server-simple-perl-0.52/debian/control --- libhttp-server-simple-perl-0.51/debian/control 2015-10-18 15:37:12.000000000 +0000 +++ libhttp-server-simple-perl-0.52/debian/control 2017-11-10 13:41:00.000000000 +0000 @@ -1,14 +1,8 @@ Source: libhttp-server-simple-perl Maintainer: Debian Perl Group Uploaders: Niko Tyni , - Krzysztof Krzyzaniak (eloy) , - Jonathan Yu , gregor herrmann , - Martín Ferrari , - Jose Luis Rivas , - Ansgar Burchardt , - Christine Spang , - Daniel Lintott + Ansgar Burchardt Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional @@ -18,9 +12,9 @@ libtest-pod-perl, netbase, perl -Standards-Version: 3.9.6 +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libhttp-server-simple-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libhttp-server-simple-perl.git +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libhttp-server-simple-perl.git Homepage: https://metacpan.org/release/HTTP-Server-Simple Package: libhttp-server-simple-perl diff -Nru libhttp-server-simple-perl-0.51/debian/copyright libhttp-server-simple-perl-0.52/debian/copyright --- libhttp-server-simple-perl-0.51/debian/copyright 2015-10-18 15:37:12.000000000 +0000 +++ libhttp-server-simple-perl-0.52/debian/copyright 2017-11-10 13:37:34.000000000 +0000 @@ -1,17 +1,17 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: HTTP-Server-Simple Upstream-Contact: Best Practical Solutions, LLC Source: https://metacpan.org/release/HTTP-Server-Simple Files: * -Copyright: 2004-2015 Best Practical Solutions, LLC +Copyright: 2004-2017 Best Practical Solutions, LLC Comment: Original Author - Jesse Vincent License: Artistic or GPL-1+ Files: inc/Module/* -Copyright: 2002-2012, Adam Kennedy - 2002-2012, Audrey Tang - 2002-2012, Brian Ingerson +Copyright: 2002-2016, Adam Kennedy + 2002-2016, Audrey Tang + 2002-2016, Brian Ingerson License: Artistic or GPL-1+ Files: debian/* diff -Nru libhttp-server-simple-perl-0.51/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch libhttp-server-simple-perl-0.52/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch --- libhttp-server-simple-perl-0.51/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch 2015-10-18 15:37:12.000000000 +0000 +++ libhttp-server-simple-perl-0.52/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch 2017-11-10 13:41:07.000000000 +0000 @@ -1,7 +1,7 @@ Author: Niko Tyni Subject: Pipe version: parent waits for the child to say "OK" via a pipe Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=28122 -Bug: http://rt.cpan.org/Public/Bug/Display.html?id=28122 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=28122 Bug-Debian: #439724, #477227 Last-Update: 2015-10-18 Reviewed-by: Nicholas Bamber @@ -15,7 +15,7 @@ +use IO::Select; use vars qw($VERSION $bad_request_doc); - $VERSION = '0.51'; + $VERSION = '0.52'; @@ -240,9 +241,30 @@ sub background { diff -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/Base.pm libhttp-server-simple-perl-0.52/inc/Module/Install/Base.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/Base.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/Base.pm 2017-03-31 20:38:10.000000000 +0000 @@ -4,7 +4,7 @@ use strict 'vars'; use vars qw{$VERSION}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; } # Suspend handler for "redefined" warnings diff -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/Can.pm libhttp-server-simple-perl-0.52/inc/Module/Install/Can.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/Can.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/Can.pm 2017-03-31 20:38:10.000000000 +0000 @@ -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 -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/Fetch.pm libhttp-server-simple-perl-0.52/inc/Module/Install/Fetch.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/Fetch.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/Fetch.pm 2017-03-31 20:38:10.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/Makefile.pm libhttp-server-simple-perl-0.52/inc/Module/Install/Makefile.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/Makefile.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/Makefile.pm 2017-03-31 20:38:10.000000000 +0000 @@ -8,7 +8,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/Metadata.pm libhttp-server-simple-perl-0.52/inc/Module/Install/Metadata.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/Metadata.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/Metadata.pm 2017-03-31 20:38:10.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/Win32.pm libhttp-server-simple-perl-0.52/inc/Module/Install/Win32.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/Win32.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/Win32.pm 2017-03-31 20:38:10.000000000 +0000 @@ -6,7 +6,7 @@ use vars qw{$VERSION @ISA $ISCORE}; BEGIN { - $VERSION = '1.14'; + $VERSION = '1.17'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } diff -Nru libhttp-server-simple-perl-0.51/inc/Module/Install/WriteAll.pm libhttp-server-simple-perl-0.52/inc/Module/Install/WriteAll.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install/WriteAll.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install/WriteAll.pm 2017-03-31 20:38:10.000000000 +0000 @@ -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 -Nru libhttp-server-simple-perl-0.51/inc/Module/Install.pm libhttp-server-simple-perl-0.52/inc/Module/Install.pm --- libhttp-server-simple-perl-0.51/inc/Module/Install.pm 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/inc/Module/Install.pm 2017-03-31 20:38:09.000000000 +0000 @@ -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 $/; }; - 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 -Nru libhttp-server-simple-perl-0.51/lib/HTTP/Server/Simple.pm libhttp-server-simple-perl-0.52/lib/HTTP/Server/Simple.pm --- libhttp-server-simple-perl-0.51/lib/HTTP/Server/Simple.pm 2015-09-16 20:58:28.000000000 +0000 +++ libhttp-server-simple-perl-0.52/lib/HTTP/Server/Simple.pm 2017-03-31 20:32:37.000000000 +0000 @@ -7,7 +7,7 @@ use Carp; use vars qw($VERSION $bad_request_doc); -$VERSION = '0.51'; +$VERSION = '0.52'; =head1 NAME diff -Nru libhttp-server-simple-perl-0.51/Makefile.PL libhttp-server-simple-perl-0.52/Makefile.PL --- libhttp-server-simple-perl-0.51/Makefile.PL 2015-09-16 20:58:28.000000000 +0000 +++ libhttp-server-simple-perl-0.52/Makefile.PL 2017-03-31 14:07:17.000000000 +0000 @@ -1,3 +1,4 @@ +use lib '.'; use inc::Module::Install; all_from('lib/HTTP/Server/Simple.pm'); diff -Nru libhttp-server-simple-perl-0.51/MANIFEST libhttp-server-simple-perl-0.52/MANIFEST --- libhttp-server-simple-perl-0.51/MANIFEST 2015-05-07 15:18:57.000000000 +0000 +++ libhttp-server-simple-perl-0.52/MANIFEST 2017-03-31 20:41:33.000000000 +0000 @@ -20,3 +20,4 @@ t/02pod.t t/03podcoverage.t t/04cgi.t +SIGNATURE Public-key signature (added by MakeMaker) diff -Nru libhttp-server-simple-perl-0.51/META.yml libhttp-server-simple-perl-0.52/META.yml --- libhttp-server-simple-perl-0.51/META.yml 2015-09-16 20:58:28.000000000 +0000 +++ libhttp-server-simple-perl-0.52/META.yml 2017-03-31 20:38:10.000000000 +0000 @@ -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 -Nru libhttp-server-simple-perl-0.51/SIGNATURE libhttp-server-simple-perl-0.52/SIGNATURE --- libhttp-server-simple-perl-0.51/SIGNATURE 1970-01-01 00:00:00.000000000 +0000 +++ libhttp-server-simple-perl-0.52/SIGNATURE 2017-03-31 20:41:38.000000000 +0000 @@ -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-----