Hello community, here is the log from the commit of package perl-CGI-Simple for openSUSE:Factory checked in at 2018-03-24 16:13:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-CGI-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-CGI-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CGI-Simple" Sat Mar 24 16:13:46 2018 rev:22 rq:583230 version:1.15 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-CGI-Simple/perl-CGI-Simple.changes 2015-04-15 16:22:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-CGI-Simple.new/perl-CGI-Simple.changes 2018-03-24 16:13:47.434935485 +0100 @@ -1,0 +2,6 @@ +Mon Mar 5 06:04:53 UTC 2018 - [email protected] + +- updated to 1.15 + see /usr/share/doc/packages/perl-CGI-Simple/Changes + +------------------------------------------------------------------- Old: ---- CGI-Simple-1.115.tar.gz New: ---- CGI-Simple-1.15.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-CGI-Simple.spec ++++++ --- /var/tmp/diff_new_pack.45kqIR/_old 2018-03-24 16:13:48.178908667 +0100 +++ /var/tmp/diff_new_pack.45kqIR/_new 2018-03-24 16:13:48.182908523 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-CGI-Simple # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,21 +17,26 @@ Name: perl-CGI-Simple -Version: 1.115 +Version: 1.15 Release: 0 %define cpan_name CGI-Simple -Summary: A Simple totally OO CGI interface that is CGI.pm compliant -License: Artistic-1.0 or GPL-1.0+ +Summary: Simple totally OO CGI interface that is CGI.pm compliant +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/CGI-Simple/ -Source: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(IO::Scalar) BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::NoWarnings) Requires: perl(IO::Scalar) +Requires: perl(Test::Exception) +Requires: perl(Test::NoWarnings) %{perl_requires} %description @@ -51,7 +56,7 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Build.PL installdirs=vendor ++++++ CGI-Simple-1.115.tar.gz -> CGI-Simple-1.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/.travis.yml new/CGI-Simple-1.15/.travis.yml --- old/CGI-Simple-1.115/.travis.yml 2014-10-19 14:42:47.000000000 +0200 +++ new/CGI-Simple-1.15/.travis.yml 2016-10-20 10:19:09.000000000 +0200 @@ -9,3 +9,6 @@ - "5.14" - "5.12" - "5.10" +before_install: + - cpanm --notest Test::Version +# - cpanm --notest Test::DistManifest (should run make manifest before this) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/Build.PL new/CGI-Simple-1.15/Build.PL --- old/CGI-Simple-1.115/Build.PL 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/Build.PL 2018-03-03 11:36:47.000000000 +0100 @@ -12,8 +12,11 @@ dist_author => 'Andy Armstrong <[email protected]>', dist_version_from => 'lib/CGI/Simple.pm', requires => { - 'Test::More' => 0, - 'IO::Scalar' => 0 + 'Test::More' => 0, + 'Test::NoWarnings' => 0, + 'Test::Exception' => 0, + 'IO::Scalar' => 0, + 'File::Temp' => 0, }, add_to_cleanup => ['CGI-Simple-*'], ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/Changes new/CGI-Simple-1.15/Changes --- old/CGI-Simple-1.115/Changes 2014-10-19 14:38:08.000000000 +0200 +++ new/CGI-Simple-1.15/Changes 2018-03-03 12:06:44.000000000 +0100 @@ -1,143 +1,99 @@ Revision history for Perl extension CGI::Simple. -0.01 Thu Nov 1 12:21:48 2001 - - original version; created by h2xs 1.21 with options - -X CGI::Simple +1.15 2018-03-04 MANWAR + - Resolved issue RT #124646 (use vars → our), thanks @SREZIC. -0.02 Fri Dec 21 2001 - - added cgi_error() if upload called but CONTENT_TYPE not multipart/form-data - - changed inernal storage names of globals by droping $ - - added mod_perl notes re Selfloader and __DATA__ token - - as per suggestions from Curtis Poe - -0.03 Fri Apr 12 2002 - - modifed test so skipping fork() test is noted as such - - allow '0' as a valid param name - - renamed concur.t to concur.test so that it does not rub by default - - added speed tests comparing CGI.pm to CGI::Simple in the file - cgi-simple_vs_cgi-pm.html in the root dir - -0.04 Sat Apr 12 2002 - - test bug on Solaris reported by [email protected] and fixed - -0.05 Wed Nov 6 2002 - - nasty upload bug reported (with solution) by Brandon Black fixed. Perl would - hang if upload terminated by browser before completion - - also odity with IO::file fixed (Brandon Black once again) - -0.06 Fri Nov 8 2002 - - finally found someone with a solaris box to work out reason for - unexpected test failures. Thanks to John D. Robinson and Jeroen Latour - Details available at: http://www.perlmonks.org/index.pl?node_id=211401 - - Removed another new bug relating to test scripts rather than core code - thanks to the combined effors of Perlmonks tommyw, grinder, Jaap, vek, - erasei, jlongino and strider_corinth -0.07 Sat Aug 2 2003 - - i admit to abject slackness, but anyway finally allocated a few hours - to apply a number of bug fixes which are (in no particular order) - - mod_perl compliant, patched by Mathew Albright - - still need to comment out use Selfloader and __DATA__ token - - still thinking about other solutions to this - - Blessed globs now possible in the constructor thanks to chromatic - - Unicode error 0xfe | ($c >> 30) -> 0xfc | ($c >>30 ) fixed thanks to - Thomas L. Shinnick - - s/$value ||= 0/$value = defined $value ? $value : ''/ in raw_fetch() method - in Cookie.pm to allow value 0. - - Added missing $VERSION to Util.pm - - Added P3P support as suggested by Marc Bauer (parallels CGI.pm) - - updated header() and redirect() methods in Simple.pm -0.071 Sat Aug 2 2003 - - Oops, changed $VERSION to 0.007 not 0.07 so have to change to 0.071 to - upload again. ;-) - - no significant changes since 0.07 (aka 0.007) ;-) -0.072 Tue Sept 9 2003 - - Patched issue with large POSTs where data may not be on STDIN for single - read call. Bug exists in CGI.pm as well. Thanks to Jason Luther - - Added tests for slow post behaviour -0.075 Tue June 1 2004 - - Meant to upload 0.73 and 0.074 but just never got around to it - - Fixed upload hang bug in certain circumstances - - Added upload_fieldnames() method by request - - Added support for $fh = upload('field_name') but this has the issue - of what to do if 'field_name' is duplicated. You can only ever get one - fh from this method unlike the favoured approach using param() to get - the filename(s) which will let you get to all the files. - - Jos� Mic� deserves plaudits as does PodMaster. -0.076 - - Went missing in action. -0.077 Tue 23 Nov 2004 - - Bugfix patches. - - Jos� Mic� supplied patch that relates to character set allowed in headers. - TAB and high ascii chars are definitivelly allowed in headers, and not - accepting them prevents the upload of files with filenames like "Espa�a.txt". - - Jos� Mic� also notes that some versions of IE send extra boundaries in - POSTed data before real ones. New patch should be fix this IE issue. - - Lars Thegler supplied some patches. - - head2/head3 pod changed to head1/head2 for the benefit of some older - tools that exepect this. - - Resolved issue with manpages not being installed on FREEBSD via Makefile - hack - - Steve Purkis supplied a patch for a serious POST_MAX bug. A small modification - to control flow was used instead but this was a serious bug. If you are reading - this you are probably upgrading which is good. +1.14 2018-03-03 MANWAR + - Resolved issue RT #124645 (undeclared dependencies), thanks @SREZIC. -0.078 2007-01-09 - - Maintenance release by Andy Armstrong <[email protected]> - - Rewrote tests to use Test::More - - Implemented mod_perl 2 support +1.13 2018-03-01 MANWAR + - Merged PR #1, thanks @level420. + - Tidied Changes file. + - Tidied up Makefile.PL script. + +1.12 + - add 'use warnings' to code and tests. + - use File::Temp to create temporary directory for testing. RT #92833 + - Test of RT #64160 (CVE-2010-4410 -- CRLF injection and response splitting via header()) added. + - depend on Test::Exception -0.080 2007-03-30 - - Fixed problem parsing query args containing '='. Thanks to Ewan - Edwards for the patch. - -0.081 2007-05-20 - - Fix for sysread under mod_perl. Thanks to Joshua N Pritikin for - the patch. +1.115 2014.10.19 + - Replace indirect calling of constructor both in code an documentation + with direct calling. + Write CGI::Simle->new instead of new CGI::Simple + - add tests to make sure the order of value is kept as they were passed in the QUERY_STRING + - new co-maintainer (SZABGAB) -0.082 2007-05-22 - - Added REST support. Thanks to Mike Barry for the patch. +1.114 + - Drop support for Perls older than 5.6.1. -0.83 2007-05-22 - - Big version jump to move version past badly formatted version in - Cookie, Util. +1.113 2010-12-27 + - (thanks to Yamada Masahiro) randomise multipart boundary string (security). + - Numerous changes from Mark Stosberg: + Port max-age support from CGI.pm, to improve compatibility and -1.0 2007-05-24 - - Another big version jump. I think we're about ready for 1.0. - - Fixed skip count under Win32 in t/40.request.t [27257]. Thanks to - ISHIGAKI for the patch. - -1.1 2007-07-13 - - Added support for Set-Cookie as per CGI.pm patch 15065. Thanks to - Patrick M. Jordan for the suggestion. - -1.1.1 2007-07-31 - - Removed nasty global trap of __DIE__ in CGI::Standard. Thanks to - Jeremy Morton for reporting it. + RFC-compliance + Correct header comment in cookie.t + It claims that is a simple copy/paste/modify from CGI.pm's test + by the same name, but this has not been true for some time-- -1.1.2 2007-07-31 - - Fixed module names in POD for CGI::Simple::Cookie, - CGI::Simple::Util [#27597]. Thanks to BRICAS for reporting it. + CGI::Simple added + httponly tests that CGI.pm lacks, for example. + Sync cookie references with CGI.pm: add reference to the newer RFC 2695 -1.103 2007-07-31 - - Version number chaos continues. One tends to forget that there - is a strange universe in which 1.1 > 1.1.2. + "Interface to browse cookies" looks like it was typo for + "browser". HTTP is more precise. -1.104 2008-05-13 - - Switched from sysread to read. Fixes #35844: sysread used in - CGI::Simple blocks on re-directed STDIO reads. Thanks to - Damjan Pelemis. + Fix awkward "CGI::Simple.pm" language. It looks like it probably + originated from the CGI.pm form. "CGI::Simple" is used instead. + Best Practice: eliminate indirect object notation from new(), + parse() and fetch() calls + + Security: Fix handling of embedded malicious newlines in header + values This is a direct port of the same security fix that + + Security: use a random MIME boundary by default in + multipart_init(). This is a direct port of the same issue + which was addressed in CGI.pm, preventing some kinds of + potential header injection attacks. + + Port from CGI.pm: Fix multi-line header parsing. + This fix is covered by the tests in t/header.t added in + the previous patch. If you run those tests without this + patch, you'll see how the headers would be malformed + without this fix. + + Port CRLF injection prevention from CGI.pm + + Optimize Vars(): Don't build %hash if we aren't going to use it. + + Micro-optimization to Vars(): Don't call "tie" unless we need to. + + - Numerous changes from K. Berov: + Added "+" to the mime character class. + Added tests for C<$mime = $q->upload_info( $filename, 'mime' );> + Fixed wrong match for mimetypes. Example: matched only + 'application/vnd' instead of 'application/vnd.ms-excel'. + Added "\." to the mime character class + +1.112 2009-05-31 + - (thanks bingos) added missing IO::Scalar dependency. + +1.111 2009-05-28 + - Implemented Michael Nachbaur fixes for multipart form data handling. + +1.110 2009-05-24 + - Added missing test to manifest / distro. + - Added a test to ensure the manifest is consistent. + - Migrated to git. -1.105 2008-05-16 - - Fixed skip count in t/040.request.t. Fixes #35945. Thanks - to snaury. - -1.106 2008-09-14 - - Added missing Apache2 modules. Refs #39146 and #38931. Thanks - to RSAVAGE. - - Applied BEROV's patch for UTF-8 form data handling. Refs #12481. - Thanks to BEROV. +1.109 2009-04-16 + - Added support for HttpOnly to CGI::Simple::Cookie. Thanks to Scott Thomson for the patch. -1.107 2009-03-07 +1.108 2009-03-13 + - Remove bogus references to Selfloader in documenation. No functional changes. + +1.107 2009-03-07 - CGI::Simple::Cookie, fixed bug when cookie had both leading and trailing white space (RT#34314, Ron Savage and Mark Stosberg) - Accept a comma as well as semi-colon as a cookie separator. This @@ -149,100 +105,137 @@ - Support cookies in which one of multiple values is empty. Ported from CGI.pm (Mark Stosberg) - Fixed bug when calling unescapeHTML on HTML that wasn't - properly escaped in the first place. Thanks to M-Uchino and - Mark Stosberg. + properly escaped in the first place. Thanks to M-Uchino and Mark Stosberg. - Removed bogus dependency on version.pm. - Add heuristic to upload to handle the case where no boundary is specified in CONTENT_TYPE. See #14838. -1.108 2009-03-13 - - Remove bogus references to Selfloader in documenation. No - functional changes. - -1.109 2009-04-16 - - Added support for HttpOnly to CGI::Simple::Cookie. Thanks to - Scott Thomson for the patch. - -1.110 2009-05-24 - - Added missing test to manifest / distro. - - Added a test to ensure the manifest is consistent. - - Migrated to git. - -1.111 2009-05-28 - - Implemented Michael Nachbaur fixes for multipart form data - handling. - -1.112 2009-05-31 - - (thanks bingos) added missing IO::Scalar dependency. - -1.113 2010-12-27 - - (thanks to Yamada Masahiro) randomise multipart boundary string - (security). - - - Numerous changes from Mark Stosberg: +1.106 2008-09-14 + - Added missing Apache2 modules. Refs #39146 and #38931. Thanks to RSAVAGE. + - Applied BEROV's patch for UTF-8 form data handling. Refs #12481. Thanks to BEROV. - Port max-age support from CGI.pm, to improve compatibility and - RFC-compliance +1.105 2008-05-16 + - Fixed skip count in t/040.request.t. Fixes #35945. Thanks to snaury. - Correct header comment in cookie.t - - It claims that is a simple copy/paste/modify from CGI.pm's test - by the same name, but this has not been true for some time-- - CGI::Simple added - - httponly tests that CGI.pm lacks, for example. - - Sync cookie references with CGI.pm: add reference to the - newer RFC 2695 - - "Interface to browse cookies" looks like it was typo for - "browser". HTTP is more precise. +1.104 2008-05-13 + - Switched from sysread to read. Fixes #35844: sysread used in + CGI::Simple blocks on re-directed STDIO reads. Thanks to Damjan Pelemis. - Fix awkward "CGI::Simple.pm" language. It looks like it probably - originated from the CGI.pm form. "CGI::Simple" is used instead. +1.103 2007-07-31 + - Version number chaos continues. One tends to forget that there + is a strange universe in which 1.1 > 1.1.2. - Best Practice: eliminate indirect object notation from new(), - parse() and fetch() calls +1.1.2 2007-07-31 + - Fixed module names in POD for CGI::Simple::Cookie, + CGI::Simple::Util [#27597]. Thanks to BRICAS for reporting it. - Security: Fix handling of embedded malicious newlines in header - values This is a direct port of the same security fix that +1.1.1 2007-07-31 + - Removed nasty global trap of __DIE__ in CGI::Standard. Thanks to Jeremy Morton for reporting it. - Security: use a random MIME boundary by default in - multipart_init(). This is a direct port of the same issue - which was addressed in CGI.pm, preventing some kinds of - potential header injection attacks. +1.1 2007-07-13 + - Added support for Set-Cookie as per CGI.pm patch 15065. Thanks to Patrick M. Jordan for the suggestion. - Port from CGI.pm: Fix multi-line header parsing. - This fix is covered by the tests in t/header.t added in - the previous patch. If you run those tests without this - patch, you'll see how the headers would be malformed - without this fix. +1.0 2007-05-24 + - Another big version jump. I think we're about ready for 1.0. + - Fixed skip count under Win32 in t/40.request.t [27257]. Thanks to ISHIGAKI for the patch. - Port CRLF injection prevention from CGI.pm +0.83 2007-05-22 + - Big version jump to move version past badly formatted version in Cookie, Util. - Optimize Vars(): Don't build %hash if we aren't going to use it. +0.082 2007-05-22 + - Added REST support. Thanks to Mike Barry for the patch. - Micro-optimization to Vars(): Don't call "tie" unless we need to. +0.081 2007-05-20 + - Fix for sysread under mod_perl. Thanks to Joshua N Pritikin for the patch. - - Numerous changes from K. Berov: +0.080 2007-03-30 + - Fixed problem parsing query args containing '='. Thanks to Ewan Edwards for the patch. - Added "+" to the mime character class. +0.078 2007-01-09 + - Maintenance release by Andy Armstrong <[email protected]> + - Rewrote tests to use Test::More + - Implemented mod_perl 2 support - Added tests for C<$mime = $q->upload_info( $filename, 'mime' );> +0.077 Tue 23 Nov 2004 + - Bugfix patches. + - José Micó supplied patch that relates to character set allowed in headers. + TAB and high ascii chars are definitivelly allowed in headers, and not + accepting them prevents the upload of files with filenames like "España.txt". + - José Micó also notes that some versions of IE send extra boundaries in + POSTed data before real ones. New patch should be fix this IE issue. + - Lars Thegler supplied some patches. + - head2/head3 pod changed to head1/head2 for the benefit of some older + tools that exepect this. + - Resolved issue with manpages not being installed on FREEBSD via Makefile hack + - Steve Purkis supplied a patch for a serious POST_MAX bug. A small modification + to control flow was used instead but this was a serious bug. If you are reading + this you are probably upgrading which is good. - Fixed wrong match for mimetypes. Example: matched only - 'application/vnd' instead of 'application/vnd.ms-excel'. +0.076 + - Went missing in action. - Added "\." to the mime character class +0.075 Tue June 1 2004 + - Meant to upload 0.73 and 0.074 but just never got around to it + - Fixed upload hang bug in certain circumstances + - Added upload_fieldnames() method by request + - Added support for $fh = upload('field_name') but this has the issue + of what to do if 'field_name' is duplicated. You can only ever get one + fh from this method unlike the favoured approach using param() to get + the filename(s) which will let you get to all the files. + - José Micó deserves plaudits as does PodMaster. -1.114 - - Drop support for Perls older than 5.6.1. +0.072 Tue Sept 9 2003 + - Patched issue with large POSTs where data may not be on STDIN for single + read call. Bug exists in CGI.pm as well. Thanks to Jason Luther + - Added tests for slow post behaviour -1.115 2014.10.19 - - Replace indirect calling of constructor both in code an documentation - with direct calling. - Write CGI::Simle->new instead of new CGI::Simple - - add tests to make sure the order of value is kept as they were passed in the QUERY_STRING - - new co-maintainer (SZABGAB( +0.071 Sat Aug 2 2003 + - Oops, changed $VERSION to 0.007 not 0.07 so have to change to 0.071 to upload again. ;-) + - no significant changes since 0.07 (aka 0.007) ;-) +0.07 Sat Aug 2 2003 + - i admit to abject slackness, but anyway finally allocated a few hours + to apply a number of bug fixes which are (in no particular order) + - mod_perl compliant, patched by Mathew Albright + - still need to comment out use Selfloader and __DATA__ token + - still thinking about other solutions to this + - Blessed globs now possible in the constructor thanks to chromatic + - Unicode error 0xfe | ($c >> 30) -> 0xfc | ($c >>30 ) fixed thanks to + Thomas L. Shinnick + - s/$value ||= 0/$value = defined $value ? $value : ''/ in raw_fetch() method + in Cookie.pm to allow value 0. + - Added missing $VERSION to Util.pm + - Added P3P support as suggested by Marc Bauer (parallels CGI.pm) + - updated header() and redirect() methods in Simple.pm + +0.06 Fri Nov 8 2002 + - finally found someone with a solaris box to work out reason for + unexpected test failures. Thanks to John D. Robinson and Jeroen Latour + Details available at: http://www.perlmonks.org/index.pl?node_id=211401 + - Removed another new bug relating to test scripts rather than core code + thanks to the combined effors of Perlmonks tommyw, grinder, Jaap, vek, + erasei, jlongino and strider_corinth + +0.05 Wed Nov 6 2002 + - nasty upload bug reported (with solution) by Brandon Black fixed. Perl would + hang if upload terminated by browser before completion + - also odity with IO::file fixed (Brandon Black once again) + +0.04 Sat Apr 12 2002 + - test bug on Solaris reported by [email protected] and fixed + +0.03 Fri Apr 12 2002 + - modifed test so skipping fork() test is noted as such + - allow '0' as a valid param name + - renamed concur.t to concur.test so that it does not rub by default + - added speed tests comparing CGI.pm to CGI::Simple in the file + cgi-simple_vs_cgi-pm.html in the root dir + +0.02 Fri Dec 21 2001 + - added cgi_error() if upload called but CONTENT_TYPE not multipart/form-data + - changed inernal storage names of globals by droping $ + - added mod_perl notes re Selfloader and __DATA__ token + - as per suggestions from Curtis Poe +0.01 Thu Nov 1 12:21:48 2001 + - original version; created by h2xs 1.21 with options -X CGI::Simple diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/MANIFEST new/CGI-Simple-1.15/MANIFEST --- old/CGI-Simple-1.115/MANIFEST 2014-10-19 14:50:50.000000000 +0200 +++ new/CGI-Simple-1.15/MANIFEST 2018-03-04 04:41:32.000000000 +0100 @@ -21,11 +21,13 @@ t/090.14838.t t/100.set-cookie.t t/110.bad-upload.t +t/120.header-crlf.t t/headers.t t/manifest.t t/pod-coverage.t t/pod.t t/test_file.txt t/upload_info.t +t/version.t META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/META.json new/CGI-Simple-1.15/META.json --- old/CGI-Simple-1.115/META.json 2014-10-19 14:50:50.000000000 +0200 +++ new/CGI-Simple-1.15/META.json 2018-03-04 04:41:32.000000000 +0100 @@ -4,7 +4,7 @@ "Andy Armstrong <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060", + "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -32,11 +32,23 @@ }, "runtime" : { "requires" : { + "File::Temp" : "0", "IO::Scalar" : "0", - "Test::More" : "0" + "Test::Exception" : "0", + "Test::More" : "0", + "Test::NoWarnings" : "0" } } }, "release_status" : "stable", - "version" : "1.115" + "resources" : { + "repository" : { + "type" : "git", + "url" : "http://github.com/manwar/CGI--Simple.git", + "web" : "http://github.com/manwar/CGI--Simple", + "x_license" : "http://dev.perl.org/licenses/" + } + }, + "version" : "1.15", + "x_serialization_backend" : "JSON::PP version 2.27400" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/META.yml new/CGI-Simple-1.15/META.yml --- old/CGI-Simple-1.115/META.yml 2014-10-19 14:50:50.000000000 +0200 +++ new/CGI-Simple-1.15/META.yml 2018-03-04 04:41:32.000000000 +0100 @@ -7,7 +7,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060' +generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -18,6 +18,12 @@ - t - inc requires: + File::Temp: '0' IO::Scalar: '0' + Test::Exception: '0' Test::More: '0' -version: '1.115' + Test::NoWarnings: '0' +resources: + repository: http://github.com/manwar/CGI--Simple.git +version: '1.15' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/Makefile.PL new/CGI-Simple-1.15/Makefile.PL --- old/CGI-Simple-1.115/Makefile.PL 2014-10-19 14:50:40.000000000 +0200 +++ new/CGI-Simple-1.15/Makefile.PL 2018-03-01 15:59:11.000000000 +0100 @@ -1,26 +1,38 @@ use strict; use ExtUtils::MakeMaker; -WriteMakefile( - #( MM->can( 'signature_target' ) ? ( SIGN => 1 ) : () ), - license( 'perl' ), - NAME => 'CGI::Simple', - AUTHOR => 'Andy Armstrong <[email protected]>', - VERSION_FROM => 'lib/CGI/Simple.pm', - ABSTRACT_FROM => 'lib/CGI/Simple.pm', - PL_FILES => {}, - PREREQ_PM => { - 'Test::More' => 0, - 'IO::Scalar' => 0 - }, - dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - clean => { FILES => 'CGI-Simple-*' }, +my %conf = ( + NAME => 'CGI::Simple', + AUTHOR => 'Andy Armstrong <[email protected]>', + VERSION_FROM => 'lib/CGI/Simple.pm', + ABSTRACT_FROM => 'lib/CGI/Simple.pm', + PREREQ_PM => { + 'Test::More' => 0, + 'Test::NoWarnings' => 0, + 'Test::Exception' => 0, + 'IO::Scalar' => 0, + 'File::Temp' => 0, + }, + dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, + clean => { FILES => 'CGI-Simple-*' }, ); -sub license { - my $lic = shift; - local $^W = 0; # Silence warning about non-numeric version - return - unless $ExtUtils::MakeMaker::VERSION >= '6.31'; - return ( LICENSE => $lic ); +if (eval { ExtUtils::MakeMaker->VERSION(6.3002) }) { + $conf{LICENSE} = 'perl'; } + +if (eval { ExtUtils::MakeMaker->VERSION(6.46) }) { + $conf{META_MERGE} = { + 'meta-spec' => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'http://github.com/manwar/CGI--Simple.git', + web => 'http://github.com/manwar/CGI--Simple', + license => 'http://dev.perl.org/licenses/', + }, + }, + }; +} + +WriteMakefile(%conf); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/lib/CGI/Simple/Cookie.pm new/CGI-Simple-1.15/lib/CGI/Simple/Cookie.pm --- old/CGI-Simple-1.115/lib/CGI/Simple/Cookie.pm 2014-10-19 14:38:43.000000000 +0200 +++ new/CGI-Simple-1.15/lib/CGI/Simple/Cookie.pm 2018-03-03 12:05:09.000000000 +0100 @@ -11,8 +11,9 @@ # Interface remains identical and passes all original CGI::Cookie tests use strict; +use warnings; use vars '$VERSION'; -$VERSION = '1.114'; +$VERSION = '1.15'; use CGI::Simple::Util qw(rearrange unescape escape); use overload '""' => \&as_string, 'cmp' => \&compare, 'fallback' => 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/lib/CGI/Simple/Standard.pm new/CGI-Simple-1.15/lib/CGI/Simple/Standard.pm --- old/CGI-Simple-1.115/lib/CGI/Simple/Standard.pm 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/lib/CGI/Simple/Standard.pm 2018-03-03 12:05:09.000000000 +0100 @@ -1,13 +1,14 @@ package CGI::Simple::Standard; use strict; +#use warnings; use CGI::Simple; use Carp; use vars qw( $VERSION $USE_CGI_PM_DEFAULTS $DISABLE_UPLOADS $POST_MAX $NO_UNDEF_PARAMS $USE_PARAM_SEMICOLONS $HEADERS_ONCE $NPH $DEBUG $NO_NULL $FATAL *in %EXPORT_TAGS $AUTOLOAD ); -$VERSION = "1.114"; +$VERSION = "1.15"; %EXPORT_TAGS = ( ':html' => [qw(:misc)], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/lib/CGI/Simple/Util.pm new/CGI-Simple-1.15/lib/CGI/Simple/Util.pm --- old/CGI-Simple-1.115/lib/CGI/Simple/Util.pm 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/lib/CGI/Simple/Util.pm 2018-03-03 12:05:09.000000000 +0100 @@ -1,7 +1,8 @@ package CGI::Simple::Util; use strict; +use warnings; use vars qw( $VERSION @EXPORT_OK @ISA $UTIL ); -$VERSION = '1.114'; +$VERSION = '1.15'; require Exporter; @ISA = qw( Exporter ); @EXPORT_OK = qw( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/lib/CGI/Simple.pm new/CGI-Simple-1.15/lib/CGI/Simple.pm --- old/CGI-Simple-1.115/lib/CGI/Simple.pm 2014-10-19 14:38:27.000000000 +0200 +++ new/CGI-Simple-1.15/lib/CGI/Simple.pm 2018-03-03 12:05:09.000000000 +0100 @@ -5,15 +5,15 @@ # this module is both strict (and warnings) compliant, but they are only used # in testing as they add an unnecessary compile time overhead in production. use strict; +#use warnings; use Carp; -use vars qw( - $VERSION $USE_CGI_PM_DEFAULTS $DISABLE_UPLOADS $POST_MAX - $NO_UNDEF_PARAMS $USE_PARAM_SEMICOLONS $PARAM_UTF8 $HEADERS_ONCE - $NPH $DEBUG $NO_NULL $FATAL *in -); +use vars qw(*in); +our ($VERSION, $USE_CGI_PM_DEFAULTS, $DISABLE_UPLOADS, $POST_MAX, + $NO_UNDEF_PARAMS, $USE_PARAM_SEMICOLONS, $PARAM_UTF8, $HEADERS_ONCE, + $NPH, $DEBUG, $NO_NULL, $FATAL); -$VERSION = "1.115"; +$VERSION = "1.15"; # you can hard code the global variable settings here if you want. # warning - do not delete the unless defined $VAR part unless you @@ -431,9 +431,10 @@ next if $value eq '' and $self->{'.globals'}->{'NO_UNDEF_PARAMS'}; - $value =~ tr/\000//d if $self->{'.globals'}->{'NO_NULL'}; + $value =~ tr/\000//d + if $self->{'.globals'}->{'NO_NULL'} and $param ne 'PUTDATA' and $param ne 'POSTDATA'; $value = Encode::decode( utf8 => $value ) - if $self->{'.globals'}->{PARAM_UTF8}; + if $self->{'.globals'}->{PARAM_UTF8} and $param ne 'PUTDATA' and $param ne 'POSTDATA'; push @{ $self->{$param} }, $value; unless ( $self->{'.fieldnames'}->{$param} ) { push @{ $self->{'.parameters'} }, $param; @@ -504,7 +505,7 @@ while ( $data =~ m/^$boundary$CRLF/ ) { ## TAB and high ascii chars are definitivelly allowed in headers. ## Not accepting them in the following regex prevents the upload of - ## files with filenames like "Espa�a.txt". + ## files with filenames like "España.txt". # next READ unless $data =~ m/^([\040-\176$CRLF]+?$CRLF$CRLF)/o; next READ unless $data =~ m/^([\x20-\x7E\x80-\xFF\x09$CRLF]+?$CRLF$CRLF)/o; @@ -1488,7 +1489,7 @@ =head1 VERSION -This document describes CGI::Simple version 1.114. +This document describes CGI::Simple version 1.15. =head1 SYNOPSIS @@ -1867,7 +1868,7 @@ =head2 param() Retrieving non-application/x-www-form-urlencoded data -If POSTed or PUTed data is not of type application/x-www-form-urlencoded or multipart/form-data, +If POSTed or PUTed data is not of type application/x-www-form-urlencoded or multipart/form-data, then the data will not be processed, but instead be returned as-is in a parameter named POSTDATA or PUTDATA. To retrieve it, use code like this: @@ -3943,4 +3944,3 @@ L<CGI::Simple::Util>, L<CGI::Minimal> =cut - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/020.cookie.t new/CGI-Simple-1.15/t/020.cookie.t --- old/CGI-Simple-1.115/t/020.cookie.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/020.cookie.t 2016-10-20 10:19:09.000000000 +0200 @@ -9,8 +9,11 @@ *CORE::GLOBAL::time = sub { 100 }; } -use Test::More tests => 98; use strict; +use warnings; +use Test::More tests => 99; +use Test::NoWarnings; + use CGI::Simple::Util qw(escape unescape); use POSIX qw(strftime); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/030.function.t new/CGI-Simple-1.15/t/030.function.t --- old/CGI-Simple-1.115/t/030.function.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/030.function.t 2016-10-20 10:19:09.000000000 +0200 @@ -1,5 +1,6 @@ -use Test::More tests => 27; use strict; +use warnings; +use Test::More tests => 27; use Config; use CGI::Simple::Standard qw(:all -default); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/040.request.t new/CGI-Simple-1.15/t/040.request.t --- old/CGI-Simple-1.115/t/040.request.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/040.request.t 2016-10-20 10:19:09.000000000 +0200 @@ -2,8 +2,9 @@ # The only change is to change the use statement and change references # from CGI to CGI::Simple -use Test::More tests => 43; use strict; +use warnings; +use Test::More tests => 43; use Config; use CGI::Simple ( -default ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/041.multipart.t new/CGI-Simple-1.15/t/041.multipart.t --- old/CGI-Simple-1.115/t/041.multipart.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/041.multipart.t 2016-10-20 10:19:09.000000000 +0200 @@ -1,6 +1,7 @@ -use Test::More tests => 5; use strict; use warnings; +use Test::More tests => 6; +use Test::NoWarnings; use Config; use Data::Dumper; use IO::Scalar; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/050.simple.t new/CGI-Simple-1.15/t/050.simple.t --- old/CGI-Simple-1.115/t/050.simple.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/050.simple.t 2016-10-20 10:19:09.000000000 +0200 @@ -1,12 +1,16 @@ -use Test::More tests => 319; -use Carp; use strict; +use warnings; +use Test::More tests => 320; +use Test::NoWarnings; +use Carp; +use File::Temp qw(tempdir); use vars qw(%field %in); use CGI::Simple; my ( $q, $sv, @av ); -my $tmpfile = './cgi-tmpfile.tmp'; +my $dir = tempdir( CLEANUP => 1 ); +my $tmpfile = "$dir/cgi-tmpfile.tmp"; $ENV{'AUTH_TYPE'} = 'PGP MD5 DES rot13'; $ENV{'CONTENT_LENGTH'} = '42'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/060.slow_post.t new/CGI-Simple-1.15/t/060.slow_post.t --- old/CGI-Simple-1.115/t/060.slow_post.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/060.slow_post.t 2016-10-20 10:19:09.000000000 +0200 @@ -1,5 +1,6 @@ -use Test::More tests => 2; use strict; +use warnings; +use Test::More tests => 2; use Config; use CGI::Simple; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/070.standard.t new/CGI-Simple-1.15/t/070.standard.t --- old/CGI-Simple-1.115/t/070.standard.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/070.standard.t 2016-10-20 10:19:09.000000000 +0200 @@ -1,12 +1,16 @@ -use Test::More tests => 289; -use Carp; use strict; +use warnings; +use Test::More tests => 290; +use Test::NoWarnings; +use Carp; +use File::Temp qw(tempdir); use vars qw(%field %in); use CGI::Simple::Standard qw( :all ); my ( $q, $sv, @av ); -my $tmpfile = './cgi-tmpfile.tmp'; +my $dir = tempdir( CLEANUP => 1 ); +my $tmpfile = "$dir/cgi-tmpfile.tmp"; my $debug = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/110.bad-upload.t new/CGI-Simple-1.15/t/110.bad-upload.t --- old/CGI-Simple-1.115/t/110.bad-upload.t 2014-09-10 22:05:56.000000000 +0200 +++ new/CGI-Simple-1.15/t/110.bad-upload.t 2016-10-20 10:19:09.000000000 +0200 @@ -1,6 +1,7 @@ #!perl use strict; +use warnings; use Test::More; Test::More->builder->no_ending( 1 ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/120.header-crlf.t new/CGI-Simple-1.15/t/120.header-crlf.t --- old/CGI-Simple-1.115/t/120.header-crlf.t 1970-01-01 01:00:00.000000000 +0100 +++ new/CGI-Simple-1.15/t/120.header-crlf.t 2016-10-20 10:19:09.000000000 +0200 @@ -0,0 +1,20 @@ +use strict; +use Test::More tests => 2; +use Test::Exception; +use CGI::Simple; + +my $cgi = CGI::Simple->new; + +my $CRLF = $cgi->crlf; + +is( $cgi->header( '-Test' => "test$CRLF part" ), + "Test: test part" + . $CRLF + . 'Content-Type: text/html; charset=ISO-8859-1' + . $CRLF + . $CRLF +); + +throws_ok { $cgi->header( '-Test' => "test$CRLF$CRLF part" ) } +qr/Invalid header value contains a newline not followed by whitespace: test="test/, + 'invalid CRLF caught'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CGI-Simple-1.115/t/version.t new/CGI-Simple-1.15/t/version.t --- old/CGI-Simple-1.115/t/version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/CGI-Simple-1.15/t/version.t 2016-10-20 10:19:09.000000000 +0200 @@ -0,0 +1,15 @@ +use strict; +use warnings; +use Test::More; + +eval q{use Test::Version 1.004000 qw( version_all_ok ), { + is_strict => 1, + has_version => 1, + consistent => 1, + }; +}; +plan skip_all => "Test::Version 1.004000 required for testing version numbers" if $@; +version_all_ok(); +done_testing; +# vim:ts=2:sw=2:et:ft=perl + ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
