CGI.pm is a stable, complete and mature solution for processing and preparing
HTTP requests and responses. Major features including processing form
submissions, file uploads, reading and writing cookies, query string generation
and manipulation, and processing and preparing HTTP headers.
CGI.pm performs very well in a vanilla CGI.pm environment and also comes with
built-in support for mod_perl and mod_perl2 as well as FastCGI.
It has the benefit of having developed and refined over 20 years with input from
dozens of contributors and being deployed on thousands of websites. CGI.pm was
included in the perl distribution from perl v5.4 to v5.20, however is has now
been removed from the perl core.
The Perl CGI module has been deprecated from the core Perl distribution, and
will be removed in the upcoming Perl 5.22. We already have a www/p5-CGI.pm
port, but at an older version. There were incompatible changes introduced in
p5-CGI-4.00 (in particular, components began to be spun off into separate
Going forward it will be important for us to have the current p5-CGI
module in the ports tree, but the older version should probably remain, at
least for now, to maximize compatibility.
This commit registers conflicts between p5-CGI and p5-CGI.pm. We should
probably consider renaming p5-CGI.pm to p5-CGI-3 to make the difference
I'm putting myself as maintainer in case this port causes problems. If
everything is good in a week I'll transfer it over to perl@.
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX. Add
some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many
miscellaneous modifications. I used more excessive hacks to force p5-Jcode
and p5-WWW-Search to respect CC/CFLAGS.