Opened 10 years ago

Last modified 10 years ago

#44586 closed defect

p5-cgi: update to version 4.0.3, new maintainer, add new ports p5-cgi-fast, p5-cgi-alternatives. — at Initial Version

Reported by: dbevans (David B. Evans) Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-cgi p5-cgi-fasat

Description

After threatening to do so for some time, in git master and perl 5.21.0, upstream perl developers have removed CGI and friends from core on the basis that it is no longer a best practice for perl based web site design. Perl developers that wish to use the CGI perl module will now need to install it separately from CPAN, and perl ports that use CGI (e.g. p5-apache-test) will need to depend on p5-cgi directly.

See https://github.com/leejo/CGI.pm/blob/master/README.md for details and discussion.

As a consequence, CGI now has a new maintainer, upstream development has been moved to GitHub, the module version has been updated to 4.0.3 and there are some important changes.

  • CGI::Fast has been moved out of CGI to a separate module so that the basic CGI module doesn't need a C compiler to build. This may some require adjustment of dependencies as well.
  • Another new documentation-only module, CGI::Alternatives, has been created that does nothing other than explaining some alternatives to CGI web development in perl.

Attached is a proposed patch for p5-cgi that upgrades the port to 4.0.3. After doing so, a new port, p5-cgi-fast needs to be created to replace the missing CGI::Fast functionality. A new p5-cgi-alternatives port might be nice as well.

Change History (1)

Changed 10 years ago by dbevans (David B. Evans)

Attachment: patch-p5-cgi-4.03.diff added

Proposed patch to update p5-cgi to version 4.03

Note: See TracTickets for help on using tickets.