svn commit: r379681 - in head/www: . p5-CGI p5-CGI.pm
Adam Weinberger
adamw at FreeBSD.org
Mon Feb 23 14:36:38 UTC 2015
Author: adamw
Date: Mon Feb 23 14:36:35 2015
New Revision: 379681
URL: https://svnweb.freebsd.org/changeset/ports/379681
QAT: https://qat.redports.org/buildarchive/r379681/
Log:
Add www/p5-CGI.
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
packages).
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
clearer.
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 at .
Added:
head/www/p5-CGI/
head/www/p5-CGI/Makefile (contents, props changed)
head/www/p5-CGI/distinfo (contents, props changed)
head/www/p5-CGI/pkg-descr (contents, props changed)
head/www/p5-CGI/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
head/www/p5-CGI.pm/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Mon Feb 23 14:34:45 2015 (r379680)
+++ head/www/Makefile Mon Feb 23 14:36:35 2015 (r379681)
@@ -605,6 +605,7 @@
SUBDIR += p5-Blog-Spam
SUBDIR += p5-Browser-Open
SUBDIR += p5-Business-PayPal
+ SUBDIR += p5-CGI
SUBDIR += p5-CGI-Ajax
SUBDIR += p5-CGI-Application
SUBDIR += p5-CGI-Application-Dispatch
Modified: head/www/p5-CGI.pm/Makefile
==============================================================================
--- head/www/p5-CGI.pm/Makefile Mon Feb 23 14:34:45 2015 (r379680)
+++ head/www/p5-CGI.pm/Makefile Mon Feb 23 14:36:35 2015 (r379681)
@@ -15,6 +15,8 @@ COMMENT= Simple Common Gateway Interface
LICENSE= ART20 GPLv1
LICENSE_COMB= dual
+CONFLICTS= p5-CGI-[4-9]*
+
USES= perl5
USE_PERL5= configure
Added: head/www/p5-CGI/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-CGI/Makefile Mon Feb 23 14:36:35 2015 (r379681)
@@ -0,0 +1,30 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= CGI
+PORTVERSION= 4.13
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:LEEJO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= adamw at FreeBSD.org
+COMMENT= Handle Common Gateway Interface requests and responses
+
+LICENSE= ART20 GPLv1
+LICENSE_COMB= dual
+
+CONFLICTS= p5-CGI.pm-[1-3]*
+
+USES= perl5
+USE_PERL5= configure
+
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= EXAMPLES
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.mk>
Added: head/www/p5-CGI/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-CGI/distinfo Mon Feb 23 14:36:35 2015 (r379681)
@@ -0,0 +1,2 @@
+SHA256 (CGI-4.13.tar.gz) = 76596c8b51e75c4d9434ae8add5a4a151d5b28d1e055a257d6f5c40360966be6
+SIZE (CGI-4.13.tar.gz) = 186050
Added: head/www/p5-CGI/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-CGI/pkg-descr Mon Feb 23 14:36:35 2015 (r379681)
@@ -0,0 +1,15 @@
+This is the continuance of the classic perl CGI module, bundled with Perl until
+Perl 5.22. Development is continuing on p5-CGI and components of it are
+actively splitting to other modules.
+
+The older, everything-in-one-package module is still available in www/p5-CGI.pm.
+
+See also: https://metacpan.org/pod/CGI::Alternatives
+
+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. Some HTML
+generation utilities are included as well.
+
+WWW: https://metacpan.org/pod/CGI
Added: head/www/p5-CGI/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-CGI/pkg-plist Mon Feb 23 14:36:35 2015 (r379681)
@@ -0,0 +1,14 @@
+%%SITE_PERL%%/CGI.pm
+%%SITE_PERL%%/CGI/Carp.pm
+%%SITE_PERL%%/CGI/Cookie.pm
+%%SITE_PERL%%/CGI/File/Temp.pm
+%%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::Pretty.3.gz
+%%PERL5_MAN3%%/CGI::Push.3.gz
+%%PERL5_MAN3%%/CGI::Util.3.gz
More information about the svn-ports-all
mailing list