pkgsrc/www/p5-CGI/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

Upgrade to p5-CGI-2.98 - Fixed crash in Dump() function. - Removed warning from reset() method. - Moved <area> and <map> tags into the :html3 group. Hope this removes undefined CGI::Area errors. - Changed CGI::Carp to play with mod_perl2 and to (hopefully) restore reporting of compile-time errors. - Fixed potential deadlock between web server and CGI.pm when aborting a read due to POST_MAX (reported by Antti Lankila). - Fixed issue with tag-generating function not incorporating content when first variable undef. - Fixed cross-site scripting bug reported by obscure. - Fixed Dump() function to return correctly formed XHTML - bug reported by Ralph Siemsen. - Fix to be P3P compliant submitted from MPREWITT. - Added CGI->r() API for mod_perl1/mod_perl2. - Fixed bug in redirect() that was corrupting cookies. - Minor fix to behavior of reset() button to make it consistent with submit() button (first time this has been changed in 9 years). - Patch from Dan Kogai to handle UTF-8 correctly in 5.8 and higher. - Patch from Steve Hay to make CGI::Carp's error messages appear on MSIE browsers. - Added Yair Lenga's patch for non-urlencoded postings. - Added Stas Bekman's patches for mod_perl 2 compatibility. - Fixed uninitialized escape behavior submitted by William Campbell. - Fixed tied behavior so that you can pass arguments to tie() - Fixed incorrect generation of URLs when the path_info contains + and other odd characters. - Fixed redirect(-cookies=&gt;$cookie) problem. - Fixed tag generation bug that affects -javascript passed to start_html().
2003-09-14 07:33:29 +02:00
# $NetBSD: Makefile,v 1.24 2003/09/14 05:33:29 kim Exp $
#
Upgrade to p5-CGI-2.98 - Fixed crash in Dump() function. - Removed warning from reset() method. - Moved <area> and <map> tags into the :html3 group. Hope this removes undefined CGI::Area errors. - Changed CGI::Carp to play with mod_perl2 and to (hopefully) restore reporting of compile-time errors. - Fixed potential deadlock between web server and CGI.pm when aborting a read due to POST_MAX (reported by Antti Lankila). - Fixed issue with tag-generating function not incorporating content when first variable undef. - Fixed cross-site scripting bug reported by obscure. - Fixed Dump() function to return correctly formed XHTML - bug reported by Ralph Siemsen. - Fix to be P3P compliant submitted from MPREWITT. - Added CGI->r() API for mod_perl1/mod_perl2. - Fixed bug in redirect() that was corrupting cookies. - Minor fix to behavior of reset() button to make it consistent with submit() button (first time this has been changed in 9 years). - Patch from Dan Kogai to handle UTF-8 correctly in 5.8 and higher. - Patch from Steve Hay to make CGI::Carp's error messages appear on MSIE browsers. - Added Yair Lenga's patch for non-urlencoded postings. - Added Stas Bekman's patches for mod_perl 2 compatibility. - Fixed uninitialized escape behavior submitted by William Campbell. - Fixed tied behavior so that you can pass arguments to tie() - Fixed incorrect generation of URLs when the path_info contains + and other odd characters. - Fixed redirect(-cookies=&gt;$cookie) problem. - Fixed tag generation bug that affects -javascript passed to start_html().
2003-09-14 07:33:29 +02:00
VERS= 2.98
DISTNAME= CGI.pm-${VERS}
PKGNAME= p5-CGI-${VERS}
SVR4_PKGNAME= p5cgi
CATEGORIES= www perl5
MASTER_SITES+= ${MASTER_SITE_PERL_CPAN:=CGI/}
2003-07-18 00:50:55 +02:00
MAINTAINER= jlam@NetBSD.org
HOMEPAGE= http://stein.cshl.org/WWW/software/CGI/
COMMENT= Perl5 module for writing forms-based CGI programs
# Some perl packages install their own versions of this module.
# Can't simply define USE_PERL5.
BUILDLINK_DEPENDS.perl= {perl-5.0*,perl-5.6.0nb2,perl-base>=5.6.0,perl>=5.6.1nb2}
USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
2000-09-15 16:50:58 +02:00
HTMLDIR= ${PREFIX}/share/doc/html/p5-CGI
post-build:
cd ${WRKSRC}/examples; \
for file in *.cgi *.pl; do \
${SED} -e "s|^#!/.*|#!${PERL5}|g" \
$${file} > $${file}.tmp; \
${MV} -f $${file}.tmp $${file}; \
done; \
${CHMOD} +x *.cgi; \
${PERL5} make_links.pl
2000-09-15 16:50:58 +02:00
post-install:
${INSTALL_DATA_DIR} ${HTMLDIR}
${INSTALL_DATA_DIR} ${HTMLDIR}/examples
cd ${WRKSRC}; ${INSTALL_DATA} *.html ${HTMLDIR}
cd ${WRKSRC}/examples; \
${INSTALL_DATA} *.gif *.html *.txt *.xbm ${HTMLDIR}/examples; \
${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples
2000-09-15 16:50:58 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"