[Midnightbsd-cvs] mports [19591] trunk/www/p5-CGI/pkg-plist: add newer p5-CGI
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jul 15 08:57:00 EDT 2015
Revision: 19591
http://svnweb.midnightbsd.org/mports/?rev=19591
Author: laffer1
Date: 2015-07-15 08:56:59 -0400 (Wed, 15 Jul 2015)
Log Message:
-----------
add newer p5-CGI
Modified Paths:
--------------
trunk/www/Makefile
trunk/www/p5-CGI/Makefile
trunk/www/p5-CGI/distinfo
trunk/www/p5-CGI/pkg-descr
trunk/www/p5-CGI/pkg-plist
Added Paths:
-----------
trunk/www/p5-CGI/
Property Changed:
----------------
trunk/www/p5-CGI/pkg-descr
Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile 2015-07-15 12:52:17 UTC (rev 19590)
+++ trunk/www/Makefile 2015-07-15 12:56:59 UTC (rev 19591)
@@ -60,6 +60,7 @@
SUBDIR += nspluginwrapper
SUBDIR += opera
SUBDIR += p5-CGI-Ajax
+SUBDIR += p5-CGI
SUBDIR += p5-CGI.pm
SUBDIR += p5-FCGI
SUBDIR += p5-HTML-Breadcrumbs
Modified: trunk/www/p5-CGI/Makefile
===================================================================
--- trunk/www/p5-CGI.pm/Makefile 2015-06-25 01:46:16 UTC (rev 19527)
+++ trunk/www/p5-CGI/Makefile 2015-07-15 12:56:59 UTC (rev 19591)
@@ -1,47 +1,32 @@
# $MidnightBSD$
-PORTNAME= CGI.pm
-PORTVERSION= 3.63
-PORTREVISION= 1
-PORTEPOCH= 1
+PORTNAME= CGI
+PORTVERSION= 4.21
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:MARKSTOS
+MASTER_SITE_SUBDIR= CPAN:LEEJO
PKGNAMEPREFIX= p5-
MAINTAINER= ports at MidnightBSD.org
-COMMENT= Simple Common Gateway Interface Class for Perl
+COMMENT= Handle Common Gateway Interface requests and responses
-LICENSE= artistic gpl
+LICENSE= artistic2 gpl
LICENSE_COMB= dual
PERL_CONFIGURE= yes
-.if !defined(NOPORTEXAMPLES)
-EXAMPLES= examples/caution.xbm examples/clickable_image.cgi \
- examples/cookie.cgi examples/crash.cgi examples/customize.cgi \
- examples/diff_upload.cgi examples/dna.small.gif \
- examples/file_upload.cgi examples/frameset.cgi \
- examples/index.html examples/internal_links.cgi \
- examples/javascript.cgi examples/make_links.pl \
- examples/monty.cgi examples/multiple_forms.cgi \
- examples/nph-clock.cgi examples/nph-multipart.cgi \
- examples/popup.cgi examples/save_state.cgi \
- examples/tryit.cgi examples/wilogo.gif
+PORTSCOUT= limit:^[0-9\.]*$$
-post-install:
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
- @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-.endif
+NO_ARCH= yes
+USES= perl5
+USE_PERL5= configure
-post-patch:
- @${REINPLACE_CMD} -e '/require 5\.6/d; /INSTALLDIRS/d' ${WRKSRC}/Makefile.PL
+PORTEXAMPLES= *
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= EXAMPLES
-.if ${PERL_LEVEL} < 501400
-TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
-.endif
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: trunk/www/p5-CGI/distinfo
===================================================================
--- trunk/www/p5-CGI.pm/distinfo 2015-06-25 01:46:16 UTC (rev 19527)
+++ trunk/www/p5-CGI/distinfo 2015-07-15 12:56:59 UTC (rev 19591)
@@ -1,2 +1,2 @@
-SHA256 (CGI.pm-3.63.tar.gz) = f180778f9d1bcb5029bffb8c6be305c6deec60bf71ef14170fce9dfe6c548e2c
-SIZE (CGI.pm-3.63.tar.gz) = 247277
+SHA256 (CGI-4.21.tar.gz) = 340d20a2b67211752d7c270c589e463d71aea8b8d75d9417250618219d3cf884
+SIZE (CGI-4.21.tar.gz) = 194539
Modified: trunk/www/p5-CGI/pkg-descr
===================================================================
--- trunk/www/p5-CGI.pm/pkg-descr 2015-06-25 01:46:16 UTC (rev 19527)
+++ trunk/www/p5-CGI/pkg-descr 2015-07-15 12:56:59 UTC (rev 19591)
@@ -1,11 +1,15 @@
-There are two styles of programming with CGI.pm, an object-oriented
-style and a function-oriented style. In the object-oriented style you
-create one or more CGI objects and then use object methods to create the
-various elements of the page. Each CGI object starts out with the list
-of named parameters that were passed to your CGI script by the server.
-You can modify the objects, save them to a file or database and recreate
-them. Because each object corresponds to the "state" of the CGI script,
-and because each object's parameter list is independent of the others,
-this allows you to save the state of the script and restore it later.
+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.
-WWW: http://search.cpan.org/dist/CGI.pm/
+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
Property changes on: trunk/www/p5-CGI/pkg-descr
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Modified: trunk/www/p5-CGI/pkg-plist
===================================================================
--- trunk/www/p5-CGI.pm/pkg-plist 2015-06-25 01:46:16 UTC (rev 19527)
+++ trunk/www/p5-CGI/pkg-plist 2015-07-15 12:56:59 UTC (rev 19591)
@@ -1,40 +1,18 @@
%%SITE_PERL%%/CGI.pm
-%%SITE_PERL%%/CGI/Apache.pm
+%%SITE_PERL%%/CGI.pod
%%SITE_PERL%%/CGI/Carp.pm
%%SITE_PERL%%/CGI/Cookie.pm
-%%SITE_PERL%%/CGI/Fast.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/Switch.pm
%%SITE_PERL%%/CGI/Util.pm
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/caution.xbm
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clickable_image.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crash.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/customize.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diff_upload.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dna.small.gif
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/file_upload.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/frameset.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/internal_links.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/javascript.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/make_links.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/monty.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/multiple_forms.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nph-clock.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nph-multipart.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/popup.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/save_state.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tryit.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wilogo.gif
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%SITE_PERL%%/Fh.pm
%%PERL5_MAN3%%/CGI.3.gz
-%%PERL5_MAN3%%/CGI::Apache.3.gz
%%PERL5_MAN3%%/CGI::Carp.3.gz
%%PERL5_MAN3%%/CGI::Cookie.3.gz
-%%PERL5_MAN3%%/CGI::Fast.3.gz
+%%PERL5_MAN3%%/CGI::HTML::Functions.3.gz
%%PERL5_MAN3%%/CGI::Pretty.3.gz
%%PERL5_MAN3%%/CGI::Push.3.gz
-%%PERL5_MAN3%%/CGI::Switch.3.gz
%%PERL5_MAN3%%/CGI::Util.3.gz
More information about the Midnightbsd-cvs
mailing list