Opened 10 years ago
Closed 10 years ago
#44586 closed defect (fixed)
p5-cgi: update to version 4.0.3, new maintainer, add support for perl 5.18 5.20, new ports p5-cgi-fast, p5-cgi-alternatives.
Reported by: | dbevans (David B. Evans) | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | p5-cgi p5-cgi-fasat |
Description (last modified by dbevans (David B. Evans))
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 require some 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 as well as adding subports for perl branches 5.18 5.20. 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.
Attachments (2)
Change History (7)
Changed 10 years ago by dbevans (David B. Evans)
Attachment: | patch-p5-cgi-4.03.diff added |
---|
comment:1 Changed 10 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|---|
Summary: | p5-cgi: update to version 4.0.3, new maintainer, add new ports p5-cgi-fast, p5-cgi-alternatives. → p5-cgi: update to version 4.0.3, new maintainer, add support for perl 5.18 5.20, new ports p5-cgi-fast, p5-cgi-alternatives. |
comment:2 Changed 10 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|
Changed 10 years ago by dbevans (David B. Evans)
Portfile for new port p5-cgi-fast.
comment:3 Changed 10 years ago by dbevans (David B. Evans)
Portfile attached for new port p5-cgi-fast. It requires p5-cgi >= 4.0 and can be committed after that upgrade to restore CGI::Fast functionality. Please feel free to assume maintainership if you like.
comment:4 Changed 10 years ago by dbevans (David B. Evans)
p5-cgi-alternatives committed in r123606.
comment:5 Changed 10 years ago by dbevans (David B. Evans)
Port: | p5-cgi-fasat added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Proposed patch to update p5-cgi to version 4.03