diff -Nru libcgi-fast-perl-2.10/Changes libcgi-fast-perl-2.13/Changes --- libcgi-fast-perl-2.10/Changes 2015-06-22 14:13:21.000000000 +0000 +++ libcgi-fast-perl-2.13/Changes 2017-11-17 07:16:52.000000000 +0000 @@ -1,5 +1,18 @@ Revision history for CGI::Fast +2.13 2017-11-17 + [TESTING] + remove use of Test::Deep completely (GH #17) + +2.12 2016-11-22 + [DOCUMENTATION] + - tweak docs about overriding STDIN due to interference with POST + requests (GH #16, thanks to melak) + +2.11 2016-11-17 + [FIX] + - make sure we use CGI::Carp as we depend on it (GH #15, thanks to melak) + 2.10 2015-06-22 [DOCUMENTATION] - Kwalitee improvements in distribution diff -Nru libcgi-fast-perl-2.10/debian/changelog libcgi-fast-perl-2.13/debian/changelog --- libcgi-fast-perl-2.10/debian/changelog 2015-06-26 20:27:23.000000000 +0000 +++ libcgi-fast-perl-2.13/debian/changelog 2021-03-21 19:05:05.000000000 +0000 @@ -1,3 +1,49 @@ +libcgi-fast-perl (1:2.13-1~16.04.sav0) xenial; urgency=medium + + * Backport to Xenial + + -- Rob Savoury Sun, 21 Mar 2021 12:05:05 -0700 + +libcgi-fast-perl (1:2.13-1) unstable; urgency=medium + + * Team upload + + * New upstream version 2.13 + * declare conformance with Policy 4.1.1 (no changes needed) + + -- Damyan Ivanov Sat, 18 Nov 2017 20:20:30 +0000 + +libcgi-fast-perl (1:2.12-1) unstable; urgency=medium + + * Team upload. + + * Import upstream version 2.12 + * Refresh man-cgi-fast.patch (offset). + + -- Nick Morrott Tue, 29 Nov 2016 12:49:57 +0000 + +libcgi-fast-perl (1:2.11-1) unstable; urgency=medium + + * Team upload. + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + + [ Nick Morrott ] + * Import upstream version 2.11 + * Bump Standards-Version to 3.9.8 (no changes) + * Refresh (build)-dependencies (cme fix) + * Update debian/upstream/metadata + * Bump debhelper compatibility level to 9 + + [ gregor herrmann ] + * Refresh man-cgi-fast.patch (offset). + + -- Nick Morrott Mon, 21 Nov 2016 17:32:26 +0000 + libcgi-fast-perl (1:2.10-1) unstable; urgency=medium * Import upstream version 2.10 diff -Nru libcgi-fast-perl-2.10/debian/compat libcgi-fast-perl-2.13/debian/compat --- libcgi-fast-perl-2.10/debian/compat 2015-06-26 20:27:23.000000000 +0000 +++ libcgi-fast-perl-2.13/debian/compat 2017-06-21 18:39:53.000000000 +0000 @@ -1 +1 @@ -8 +9 diff -Nru libcgi-fast-perl-2.10/debian/control libcgi-fast-perl-2.13/debian/control --- libcgi-fast-perl-2.10/debian/control 2015-06-26 20:27:23.000000000 +0000 +++ libcgi-fast-perl-2.13/debian/control 2017-11-18 20:19:56.000000000 +0000 @@ -2,17 +2,16 @@ Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 9) Build-Depends-Indep: libcgi-pm-perl (>= 4), libfcgi-perl, - libtest-deep-perl (>= 0.110), - perl, - perl (>= 5.13.11) | libtest-simple-perl (>= 0.98) -Standards-Version: 3.9.6 + libtest-deep-perl, + perl +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcgi-fast-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcgi-fast-perl.git -Testsuite: autopkgtest-pkg-perl +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libcgi-fast-perl.git Homepage: https://metacpan.org/release/CGI-Fast Package: libcgi-fast-perl diff -Nru libcgi-fast-perl-2.10/debian/copyright libcgi-fast-perl-2.13/debian/copyright --- libcgi-fast-perl-2.10/debian/copyright 2015-06-26 20:27:23.000000000 +0000 +++ libcgi-fast-perl-2.13/debian/copyright 2017-06-21 18:39:53.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/CGI-Fast Upstream-Contact: Lee Johnson Upstream-Name: CGI-Fast diff -Nru libcgi-fast-perl-2.10/debian/patches/man-cgi-fast.patch libcgi-fast-perl-2.13/debian/patches/man-cgi-fast.patch --- libcgi-fast-perl-2.10/debian/patches/man-cgi-fast.patch 2015-06-26 20:27:23.000000000 +0000 +++ libcgi-fast-perl-2.13/debian/patches/man-cgi-fast.patch 2017-06-21 18:39:53.000000000 +0000 @@ -4,7 +4,7 @@ Author: AGOSTINI Yves Reviewed-by: Nicholas Bamber , gregor herrmann -Last-Update: 2015-06-26 +Last-Update: 2016-11-21 --- a/lib/CGI/Fast.pm +++ b/lib/CGI/Fast.pm diff -Nru libcgi-fast-perl-2.10/debian/upstream/metadata libcgi-fast-perl-2.13/debian/upstream/metadata --- libcgi-fast-perl-2.10/debian/upstream/metadata 2015-06-26 20:27:23.000000000 +0000 +++ libcgi-fast-perl-2.13/debian/upstream/metadata 2017-06-21 18:39:53.000000000 +0000 @@ -1,6 +1,8 @@ --- Archive: CPAN Bug-Database: https://github.com/leejo/cgi-fast/issues -Contact: unknown +Bug-Submit: https://github.com/leejo/cgi-fast/issues/new +Contact: leejo@cpan.org Name: CGI-Fast -Repository: https://github.com/leejo/cgi-fast +Repository: https://github.com/leejo/cgi-fast.git +Repository-Browse: https://github.com/leejo/cgi-fast diff -Nru libcgi-fast-perl-2.10/lib/CGI/Fast.pm libcgi-fast-perl-2.13/lib/CGI/Fast.pm --- libcgi-fast-perl-2.10/lib/CGI/Fast.pm 2015-06-22 14:12:30.000000000 +0000 +++ libcgi-fast-perl-2.13/lib/CGI/Fast.pm 2017-11-17 07:17:04.000000000 +0000 @@ -3,9 +3,10 @@ use warnings; use if $] >= 5.019, 'deprecate'; -$CGI::Fast::VERSION='2.10'; +$CGI::Fast::VERSION='2.13'; use CGI; +use CGI::Carp; use FCGI; # use vars works like "our", but is compatible with older Perls. use vars qw( @@ -119,9 +120,8 @@ $COUNTER = 0; - # optional, will default to STDOUT, STDIN, STDERR + # optional, will default to STDOUT, STDERR CGI::Fast->file_handles({ - fcgi_input_file_handle => IO::Handle->new, fcgi_output_file_handle => IO::Handle->new, fcgi_error_file_handle => IO::Handle->new, }); @@ -274,14 +274,13 @@ =head1 FILE HANDLES -FCGI defaults to using STDIN, STDOUT, and STDERR as its filehandles - this +FCGI defaults to using STDOUT and STDERR as its output filehandles - this may lead to unexpected redirect of output if you migrate scripts from CGI.pm to CGI::Fast. To get around this you can use the file_handles method, which you must do B the first call to CGI::Fast->new. For example using IO::Handle: CGI::Fast->file_handles({ - fcgi_input_file_handle => IO::Handle->new, fcgi_output_file_handle => IO::Handle->new, fcgi_error_file_handle => IO::Handle->new, }); @@ -290,6 +289,9 @@ .. } +Overriding STDIN using the C key is also possible, +however doing so is likely to break at least POST requests. + =head1 CAVEATS I haven't tested this very much. diff -Nru libcgi-fast-perl-2.10/Makefile.PL libcgi-fast-perl-2.13/Makefile.PL --- libcgi-fast-perl-2.10/Makefile.PL 2015-06-22 14:02:21.000000000 +0000 +++ libcgi-fast-perl-2.13/Makefile.PL 2017-11-17 07:15:17.000000000 +0000 @@ -18,7 +18,6 @@ }, TEST_REQUIRES => { 'Test::More' => 0, - 'Test::Deep' => 0.11, 'File::Temp' => 0, }, test => { TESTS => 't/*.t' }, diff -Nru libcgi-fast-perl-2.10/MANIFEST libcgi-fast-perl-2.13/MANIFEST --- libcgi-fast-perl-2.10/MANIFEST 2015-06-22 14:14:01.000000000 +0000 +++ libcgi-fast-perl-2.13/MANIFEST 2017-11-17 07:19:18.000000000 +0000 @@ -1,7 +1,7 @@ Changes lib/CGI/Fast.pm Makefile.PL -MANIFEST This list of files +MANIFEST README README.md t/001_basic.t diff -Nru libcgi-fast-perl-2.10/META.json libcgi-fast-perl-2.13/META.json --- libcgi-fast-perl-2.10/META.json 2015-06-22 14:14:01.000000000 +0000 +++ libcgi-fast-perl-2.13/META.json 2017-11-17 07:19:18.000000000 +0000 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -35,6 +35,12 @@ "if" : "0", "perl" : "5.008001" } + }, + "test" : { + "requires" : { + "File::Temp" : "0", + "Test::More" : "0" + } } }, "release_status" : "stable", @@ -50,5 +56,6 @@ "url" : "https://github.com/leejo/cgi-fast" } }, - "version" : "2.10" + "version" : "2.13", + "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff -Nru libcgi-fast-perl-2.10/META.yml libcgi-fast-perl-2.13/META.yml --- libcgi-fast-perl-2.10/META.yml 2015-06-22 14:14:01.000000000 +0000 +++ libcgi-fast-perl-2.13/META.yml 2017-11-17 07:19:18.000000000 +0000 @@ -2,10 +2,12 @@ abstract: unknown author: - unknown -build_requires: {} +build_requires: + File::Temp: '0' + Test::More: '0' configure_requires: {} dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -27,4 +29,5 @@ homepage: https://metacpan.org/module/CGI::Fast license: http://dev.perl.org/licenses/ repository: https://github.com/leejo/cgi-fast -version: '2.10' +version: '2.13' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -Nru libcgi-fast-perl-2.10/README libcgi-fast-perl-2.13/README --- libcgi-fast-perl-2.10/README 2015-06-22 14:00:29.000000000 +0000 +++ libcgi-fast-perl-2.13/README 2016-11-22 13:16:21.000000000 +0000 @@ -19,9 +19,8 @@ $COUNTER = 0; - # optional, will default to STDOUT, STDIN, STDERR + # optional, will default to STDOUT, STDERR CGI::Fast->file_handles({ - fcgi_input_file_handle => IO::Handle->new, fcgi_output_file_handle => IO::Handle->new, fcgi_error_file_handle => IO::Handle->new, }); @@ -169,14 +168,13 @@ # FILE HANDLES -FCGI defaults to using STDIN, STDOUT, and STDERR as its filehandles - this +FCGI defaults to using STDOUT and STDERR as its output filehandles - this may lead to unexpected redirect of output if you migrate scripts from CGI.pm to CGI::Fast. To get around this you can use the file\_handles method, which you must do **before** the first call to CGI::Fast->new. For example using IO::Handle: CGI::Fast->file_handles({ - fcgi_input_file_handle => IO::Handle->new, fcgi_output_file_handle => IO::Handle->new, fcgi_error_file_handle => IO::Handle->new, }); @@ -185,6 +183,9 @@ .. } +Overriding STDIN using the `fcgi_input_file_handle` key is also possible, +however doing so is likely to break at least POST requests. + # CAVEATS I haven't tested this very much. diff -Nru libcgi-fast-perl-2.10/README.md libcgi-fast-perl-2.13/README.md --- libcgi-fast-perl-2.10/README.md 2015-06-22 14:00:29.000000000 +0000 +++ libcgi-fast-perl-2.13/README.md 2016-11-22 13:16:21.000000000 +0000 @@ -19,9 +19,8 @@ $COUNTER = 0; - # optional, will default to STDOUT, STDIN, STDERR + # optional, will default to STDOUT, STDERR CGI::Fast->file_handles({ - fcgi_input_file_handle => IO::Handle->new, fcgi_output_file_handle => IO::Handle->new, fcgi_error_file_handle => IO::Handle->new, }); @@ -169,14 +168,13 @@ # FILE HANDLES -FCGI defaults to using STDIN, STDOUT, and STDERR as its filehandles - this +FCGI defaults to using STDOUT and STDERR as its output filehandles - this may lead to unexpected redirect of output if you migrate scripts from CGI.pm to CGI::Fast. To get around this you can use the file\_handles method, which you must do **before** the first call to CGI::Fast->new. For example using IO::Handle: CGI::Fast->file_handles({ - fcgi_input_file_handle => IO::Handle->new, fcgi_output_file_handle => IO::Handle->new, fcgi_error_file_handle => IO::Handle->new, }); @@ -185,6 +183,9 @@ .. } +Overriding STDIN using the `fcgi_input_file_handle` key is also possible, +however doing so is likely to break at least POST requests. + # CAVEATS I haven't tested this very much. diff -Nru libcgi-fast-perl-2.10/t/003_env_pollution.t libcgi-fast-perl-2.13/t/003_env_pollution.t --- libcgi-fast-perl-2.10/t/003_env_pollution.t 2014-06-06 06:15:07.000000000 +0000 +++ libcgi-fast-perl-2.13/t/003_env_pollution.t 2017-11-17 07:14:02.000000000 +0000 @@ -3,8 +3,7 @@ use strict; use warnings; -use Test::More tests => 5; -use Test::Deep; +use Test::More tests => 18; use CGI::Fast socket_path => ":7070"; @@ -42,26 +41,12 @@ }; if ( $i % 2 == 0 ) { - cmp_deeply( - $cgi_vars, - { - remote_addr => ignore(), - raw_cookie => '', - path_info => '', - query_string => '', - }, - 'ENV variables not reused from last request' - ); + is( $cgi_vars->{$_},'','ENV variables not reused from last request' ) + for qw/ raw_cookie path_info query_string /; } else { - cmp_deeply( - $cgi_vars, - { - remote_addr => 'REMOTE_ADDR', - raw_cookie => 'HTTP_COOKIE', - path_info => 'PATH_INFO', - query_string => '', - }, - 'ENV variables set from current environment' - ); + is( $cgi_vars->{remote_addr},'REMOTE_ADDR','ENV variables set from current environment' ); + is( $cgi_vars->{raw_cookie},'HTTP_COOKIE','ENV variables set from current environment' ); + is( $cgi_vars->{path_info},'PATH_INFO','ENV variables set from current environment' ); + is( $cgi_vars->{query_string},'','ENV variables set from current environment' ); } }