www/p5-CGI 4.72 MidnightBSD
Handle Common Gateway Interface requests and responses
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
787dcc0cd6- License
- artistic2, gpl
- Categories
- www, perl5
Description
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.
In the other systems
The newest version among them is 4.72, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | www/p5-CGI | 4.72 newest | no data | - | [email protected] | 2026-07-14 |
| FreeBSD | www/p5-CGI | 4.72 newest | none known | - | [email protected] | - |
| OpenBSD | www/p5-CGI | 4.72 newest | no data | - | Andrew Hewus Fresh <[email protected]> | 2026-08-18 |
| NetBSD | www/p5-CGI | 4.72nb1 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | www/p5-CGI | 4.67 behind since 2026-08-18 | none known | - | [email protected] | - |
| HardenedBSD | www/p5-CGI | 4.72 newest | no data | - | [email protected] | - |
| GhostBSD | www/p5-CGI | 4.72 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-CGI
From mports:
cd /usr/mports/www/p5-CGI && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-CGI>0:www/p5-CGI
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
p5-HTML-Parser>=3.69: www/p5-HTML-Parserp5-URI>=1.76: net/p5-URI
Runtime 2
p5-HTML-Parser>=3.69: www/p5-HTML-Parserp5-URI>=1.76: net/p5-URI
Test 2
p5-Test-NoWarnings>=0: devel/p5-Test-NoWarningsp5-Test-Warn>=0: devel/p5-Test-Warn
Build dependencies 2
Run dependencies 2
Configuration
Options name: www_CGI
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off |
- USES
- perl5
- Service scripts
- none
- Conflicts with
- p5-CGI.pm-[1-3]*
Files
pkg-plist 25
- %%SITE_PERL%%/CGI.pm
- %%SITE_PERL%%/CGI.pod
- %%SITE_PERL%%/CGI/Carp.pm
- %%SITE_PERL%%/CGI/Cookie.pm
- %%SITE_PERL%%/CGI/File/Temp.pm
- %%SITE_PERL%%/CGI/HTML/Functions.pm
- %%SITE_PERL%%/CGI/HTML/Functions.pod
- %%SITE_PERL%%/CGI/Pretty.pm
- %%SITE_PERL%%/CGI/Push.pm
- %%SITE_PERL%%/CGI/Util.pm
- %%SITE_PERL%%/Fh.pm
- %%PERL5_MAN3%%/CGI.3.gz
- %%PERL5_MAN3%%/CGI::Carp.3.gz
- %%PERL5_MAN3%%/CGI::Cookie.3.gz
- %%PERL5_MAN3%%/CGI::HTML::Functions.3.gz
- %%PERL5_MAN3%%/CGI::Pretty.3.gz
- %%PERL5_MAN3%%/CGI::Push.3.gz
- %%PERL5_MAN3%%/CGI::Util.3.gz
- share/examples/p5-CGI/clickable_image.cgi
- share/examples/p5-CGI/cookie.cgi
- share/examples/p5-CGI/crash.cgi
- share/examples/p5-CGI/file_upload.cgi
- share/examples/p5-CGI/mojo_proxy.pl
- share/examples/p5-CGI/wikipedia_example.cgi
- share/examples/p5-CGI/wilogo.gif
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| CGI-4.72.tar.gz | 208136 | babc1ca72db188083a1c3812debe88c4473b943b1f7c662281cd57c580a8bdd9 |
Master sites 1
- CPAN
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
787dcc0cd6 |
Lucas Holt | all p5 ports: fix CPAN author fetch paths Add CPAN author subdirectories for 42 distributions whose generic module paths no longer resolve.
AI-Assisted-by: Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |