2012-10-28 07:30:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.60 2012/10/28 06:30:27 asau Exp $
|
2000-05-11 22:04:03 +02:00
|
|
|
|
Updating package for CPAN module CGI(.pm) in www/p5-CGI from 3.58 to 3.60.
upstream changes:
Version 3.60 Aug 15th, 2012
[BUG FIXES]
- In some caes, When unescapeHTML() hit something it didn't recognize with an ampersand and
and semicolon, it would throw away the semicolon and ampersand. It now does a better job.
of preserving content it doesn't recognize. Thanks to CEBJYRE@cpan.org (RT#75595)
- Remove trailing newline after <form> tag inserted by startform and start_form. It can
cause rendering problems in some cases. Thanks to SJOHNSTON@cpan.org (RT#67719)
- Workaround "Insecure Dependency" warning generated by some versions of Perl (RT#53733).
Thanks to degatcpan@ntlworld.com, klchu@lbl.gov and Anonymous Monk
[DOCUMENTATION]
- Clarify that when -status is used, the human-readable phase should be included, per RFC 2616.
Thanks to SREZIC@cpan.org (RT#76691).
[INTERNALS]
- More tests for header(), thanks to Ryo Anazawa.
- t/url.t has been fixed on VMS. Thanks to cberry@cpan.org (RT#72380)
- MANIFEST patched so that t/multipart_init.t is included again. Thanks to shay@cpan.org (RT#76189)
Version 3.59 Dec 29th, 2011
[BUG FIXES]
- We no longer read from STDIN when the Content-Length is not set, preventing
requests with no Content-Length from freezing in some cases. This is consistent
with the CGI RFC 3875, and is also consistent with CGI::Simple. However, the old
behavior may have been expected by some command-line uses of CGI.pm.
Thanks to Philip Potter and Yanick Champoux. See RT#52469 for details:
https://rt.cpan.org/Public/Bug/Display.html?id=52469
[INTERNALS]
- remove tmpdirs more aggressively. Thanks to rjbs (RT#73288)
- use Text::ParseWords instead of ancient shellwords.pl. Thanks to AlexBio.
- remove use of define(@arr). Thanks to rjbs.
- spelling fixes. Thanks to Gregor Herrmann and Alessandro Ghedini.
- fix test count and warning in t/fast.t. Thanks to Yanick.
2012-09-11 09:43:53 +02:00
|
|
|
VERS= 3.60
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= CGI.pm-${VERS}
|
|
|
|
PKGNAME= p5-CGI-${VERS}
|
2012-10-03 23:53:53 +02:00
|
|
|
PKGREVISION= 1
|
2007-10-13 13:55:14 +02:00
|
|
|
SVR4_PKGNAME= p5cgi
|
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/}
|
2000-05-11 22:04:03 +02:00
|
|
|
|
2007-10-13 13:55:14 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://search.cpan.org/dist/CGI.pm/
|
|
|
|
COMMENT= Perl5 module for writing forms-based CGI programs
|
2009-08-09 15:01:48 +02:00
|
|
|
LICENSE= gnu-gpl-v2 OR artistic-2.0
|
2000-05-11 22:04:03 +02:00
|
|
|
|
2004-01-07 02:20:30 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-04-25 08:07:02 +02:00
|
|
|
USE_LANGUAGES= # empty
|
2007-10-13 13:55:14 +02:00
|
|
|
USE_TOOLS+= perl
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/CGI/.packlist
|
2007-10-13 13:55:14 +02:00
|
|
|
REPLACE_PERL+= examples/*.pl
|
|
|
|
REPLACE_PERL+= examples/*.cgi
|
|
|
|
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/p5-CGI
|
2008-08-24 16:00:59 +02:00
|
|
|
DEPENDS+= p5-FCGI>=0.67:../../www/p5-FCGI
|
2000-09-15 16:50:58 +02:00
|
|
|
|
|
|
|
post-build:
|
2007-10-13 13:55:14 +02:00
|
|
|
cd ${WRKSRC}/examples && chmod +x *.cgi && perl make_links.pl
|
2000-09-15 16:50:58 +02:00
|
|
|
|
|
|
|
post-install:
|
2009-05-19 00:14:20 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR}/examples
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.html ${DESTDIR}${HTMLDIR}
|
2007-10-13 13:55:14 +02:00
|
|
|
cd ${WRKSRC}/examples && \
|
2009-05-19 00:14:20 +02:00
|
|
|
${INSTALL_DATA} *.gif *.html *.txt *.xbm \
|
|
|
|
${DESTDIR}${HTMLDIR}/examples && ${INSTALL_SCRIPT} *.cgi \
|
|
|
|
${DESTDIR}${HTMLDIR}/examples
|
2000-09-15 16:50:58 +02:00
|
|
|
|
2002-10-08 00:34:23 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2000-05-11 22:04:03 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|