summaryrefslogtreecommitdiff
path: root/www/p5-CGI
diff options
context:
space:
mode:
authorjlam <jlam>2001-02-02 17:52:25 +0000
committerjlam <jlam>2001-02-02 17:52:25 +0000
commit60cc9491f54356127296977093d061a1364b6dfb (patch)
tree3d0dbd1b6c1fbafa21a6d5deb604afb4f600683f /www/p5-CGI
parentbda17d6cfee7f4c4f98f785ec42ad4205b867e68 (diff)
downloadpkgsrc-60cc9491f54356127296977093d061a1364b6dfb.tar.gz
Update p5-CGI to 2.75. Changes from version 2.74:
1. Fixed bug in server push boundary strings (CGI.pm and CGI::Push). 2. Fixed bug that occurs when uploading files with funny characters in the name 3. Fixed non-XHTML-compliant attributes produced by textfield() 4. Added EPOC support. 5. Fixed minor XHTML bugs. 6. Made escape() and unescape() symmetric with respect to EBCDIC. 7. Removed uninitialized variable warning from CGI::Cookie. 8. Fixed bug in CGI::Pretty that causes it to print partial end tags when the $INDENT global is changed. 9. Single quotes are changed to character entity ' for compatibility with URLs.
Diffstat (limited to 'www/p5-CGI')
-rw-r--r--www/p5-CGI/Makefile35
-rw-r--r--www/p5-CGI/files/md54
-rw-r--r--www/p5-CGI/pkg/DESCR16
3 files changed, 34 insertions, 21 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile
index f78521f5f29..e97710b12f9 100644
--- a/www/p5-CGI/Makefile
+++ b/www/p5-CGI/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2000/10/15 02:17:16 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2001/02/02 17:52:25 jlam Exp $
#
-DISTNAME= CGI.pm-2.74
-PKGNAME= p5-CGI-2.74
+DISTNAME= CGI.pm-2.75
+PKGNAME= p5-CGI-2.75
CATEGORIES= www perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/} \
- http://stein.cshl.org/WWW/software/CGI/
+MASTER_SITES= http://stein.cshl.org/WWW/software/CGI/ \
+ ${MASTER_SITE_PERL_CPAN:=CGI/}
MAINTAINER= christos@netbsd.org
HOMEPAGE= http://stein.cshl.org/WWW/software/CGI/
@@ -17,25 +17,26 @@ DEPENDS+= perl-{5.0*,5.6.0nb2,base-5.[6-9]*}:../../lang/perl5-base
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
HTMLDIR= ${PREFIX}/share/doc/html/p5-CGI
-post-extract:
- @cd ${WRKSRC}/examples; for file in *.cgi *.html *.pl; do \
- ${MV} -f $${file} $${file}.tmp; \
- ${SED} -e "s,/usr/local/bin/perl,${PERL5},g" \
- < $${file}.tmp > $${file}; \
- ${RM} -f $${file}.tmp; \
- done
-
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
post-build:
- @cd ${WRKSRC}/examples; ${PERL5} make_links.pl
+ cd ${WRKSRC}/examples; \
+ for file in *.cgi *.pl; do \
+ ${MV} -f $${file} $${file}.tmp; \
+ ${SED} -e "s|^#!/.*|#!${PERL5}|g" \
+ $${file}.tmp > $${file}; \
+ ${RM} -f $${file}.tmp; \
+ done; \
+ ${CHMOD} +x *.cgi; \
+ ${PERL5} make_links.pl
post-install:
${INSTALL_DATA_DIR} ${HTMLDIR}
${INSTALL_DATA_DIR} ${HTMLDIR}/examples
cd ${WRKSRC}; ${INSTALL_DATA} *.html ${HTMLDIR}
- cd ${WRKSRC}/examples; ${INSTALL_DATA} *.cgi *.gif *.html *.txt *.xbm \
- ${HTMLDIR}/examples
+ cd ${WRKSRC}/examples; \
+ ${INSTALL_DATA} *.gif *.html *.txt *.xbm ${HTMLDIR}/examples; \
+ ${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples
.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-CGI/files/md5 b/www/p5-CGI/files/md5
index 45ecd93a2bd..519e9bcdcef 100644
--- a/www/p5-CGI/files/md5
+++ b/www/p5-CGI/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.3 2000/10/15 02:17:16 jlam Exp $
+$NetBSD: md5,v 1.4 2001/02/02 17:52:26 jlam Exp $
-MD5 (CGI.pm-2.74.tar.gz) = ed84941bb444297527558a432c8c8195
+MD5 (CGI.pm-2.75.tar.gz) = 334eacf7fb74f11bfa99eb7d9c5dfb5a
diff --git a/www/p5-CGI/pkg/DESCR b/www/p5-CGI/pkg/DESCR
index 61154fcac59..5b6cd01e2c1 100644
--- a/www/p5-CGI/pkg/DESCR
+++ b/www/p5-CGI/pkg/DESCR
@@ -1,2 +1,14 @@
-This is CGI.pm, a Perl5 library for writing
-forms-based World Wide Web CGI scripts.
+This perl library uses perl5 objects to make it easy to create Web
+fill-out forms and parse their contents. This package defines CGI
+objects, entities that contain the values of the current query string
+and other state variables. Using a CGI object's methods, you can
+examine keywords and parameters passed to your script, and create
+forms whose initial values are taken from the current query (thereby
+preserving state information). The module provides shortcut functions
+that produce boilerplate HTML, reducing typing and coding errors. It
+also provides functionality for some of the more advanced features of
+CGI scripting, including support for file uploads, cookies, cascading
+style sheets, server push, and frames.
+
+CGI.pm also provides a simple function-oriented programming style for
+those who don't need its object-oriented features.