Commit graph

42 commits

Author SHA1 Message Date
abs
387091ce18 Update www/p5-CGI to 3.11:
Version 3.11
1. Killed warning in CGI::Cookie about MOD_PERL_API_VERSION
2. Fixed append() so that it works in function mode.
3. Workaround for a bug that appears in Apache2 versions through 2.0.54 in
   which SCRIPT_NAME and PATH_INFO are incorrect if the additional path_info
   contains a double slash. This workaround will handle the common case of
   http://mysite.com/cgi-bin/log.cgi/http://www.some.other.site/args, but
   will not handle the uncommon case of a ScriptAlias directive that adds
   additional path information to the end of the translated URI.
2005-10-20 17:33:04 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
reed
8fee1d3f51 Update to version 3.10 which is apparently needed
for new apache2/modperl2.0. This will close PR #30302.

Changes says:
  Version 3.10
    1. Added Apache2::RequestIO, which is necessary for mp2 interoperability.

  Version 3.09
    1. Fixed tabindex="0" when using CGI to create forms without a prior start_html
    2. Removed warning about non-numeric MOD_PERL_API_VERSION.

  Version 3.08
    1. update support for mod_perl 2.0.  versions prior to
       mod_perl 1.999_22 (2.0.0-RC5) are no longer supported.

  Version 3.07
    1. Fixed typo in mod_perl detection.

  Version 3.06

    1. Fixed bare call to script() in start_html
    2. Moved Fh::DESTROY out of autoloaded functions so as to avoid
       clobbering $@ when CGI functions are executed in an eval{}
       context.
    3. mod_perl 2.0 version detection patch in CGI::Cookie provided by
       Allen Day.
    4. autoEscape() flag is now respected when generating extra
       attributes.
    5. Tests for *tag start/end generation from Shlomi Fish.
    6. Support for can() method provided by Ron Savage.
    7. Fix for lang='' when outputting XHTML.
    8. Added support for chunked transfer encoding, as suggested by
	Hakan Ardo
    9. Fixed clobbering of row and column headers in tableized radio
	and checkbox groups, as reported by Nicolas Thierry-Mieg.
   10. <Label> tags are now associated with form elements, as suggested
	by accessibility guidelines.
   11. The <?xml> directive produced by start_html is now turned off by
        default and the charset is specified in a <meta> directive.  Apparently
        IE6 (and maybe some versions of Opera) were getting confused by this.
   12. Support for tab indexes.
   13. Retired the HTML docs.  The POD docs are now primary documentation.
   14. CGI::Carp now correctly detects and handles Apache::Dispatch.
   15. CGI::Util::utf8_chr now correctly sets the UTF8 flag on 5.006 or
	higher perls (fix courtesy Slaven Rezic).
2005-06-22 20:39:25 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
kim
2db0a0bb60 Accept perl-thread in addition perl. 2004-07-17 20:12:23 +00:00
heinz
63525aa6d5 Update to version 3.05.
Revision History

  Version 3.05

    1. Fixed uninitialized variable warning on start_form() when running from
       command line.
    2. Fixed CGI::_set_attributes so that attributes with a - are handled
       correctly.
    3. Fixed CGI::Carp::die() so as to avoid problems from _longmess()
       clobbering @_.
    4. If HTTP_X_FORWARDED_HOST is defined (i.e. running under a proxy), the
       various functions that return HOST will use that instead.
    5. Fix for undefined utf8() call in CGI::Util.
    6. Changed the call to warningsToBrowser() in CGI::Carp::fatalsToBrowser
       to call only after HTTP header is sent (thanks to Didier Lebrun for
       noticing).
    7. Patches from Dan Harkless to make CGI.pm validatable against HTML 3.2.       8. Fixed an extraneous "foo=bar" appearing when extra style parameters             passed to start_html;
    9. Fixed potential cross-site scripting bug in startform().
   10. Fixed documentation to discuss list context behavior of form-element
       generators explicitly.
   11. Fixed incorrect results from end_form() when called in OO manner.
   12. Fixed query string stripping in order to handle URLs containing
       escaped newlines.
   13. During server push, set NPH to 0 rather than 1. This is supposed to
       fix problems with Apache.
   14. Fixed incorrect processing of multipart form fields that contain
       embedded quotes. There's still the issue of how to handle ones that
       contain embedded semicolons, but no one has complained (yet).
   15. Fixed documentation bug in -style argument to start_html()
   16. Added -status argument to redirect().
                                                                                  Version 3.04

    1. Fixed the problem with mod_perl crashing when "defaults" button
       pressed.

  Version 3.03

    1. Fix upload hook functionality                                                2. Workaround for CGI->unescape_html()
    3. Bumped version numbers in CGI::Fast and CGI::Util for 5.8.3-tobe

  Version 3.02

    1. Bring in Apache::Response just in case.
    2. File upload on EBCDIC systems now works.

  Version 3.01

    1. No fix yet for upload failures when running on EBCDIC server.
    2. Fixed uninitialized glob warnings that appeared when file uploading
       under perl 5.8.2.
    3. Added patch from Schlomi Fish to allow debugging of PATH_INFO from
       command line.
    4. Added patch from Steve Hay to correctly unlink tmp files under
       mod_perl/windows
    5. Added upload_hook functionality from Jamie LeTaul
    6. Workarounds for mod_perl 2 IO issues. Check that file upload and state
       saving still working.
    7. Added code for underreads.
    8. Fixed misleading description of redirect() and relative URLs in the
       POD docs.                                                                    9. Workaround for weird interaction of CGI::Carp with Safe module
       reported by William McKee.
   10. Added patches from Ilmari Karonen to improve behavior of CGI::Carp.
   11. Fixed documentation error in -style argument.
   12. Added virtual_port() method for finding out what port server is
       listening on in a virtual-host aware fashion.

  Version 3.00

    1. Patch from Randal Schwartz to fix bug introduced by cross-site
       scripting vulnerability "fix."
    2. Patch from JFreeman to replace UTF-8 escape constant of 0xfe with
       0xfc. Hope this is right!

  Version 2.99

    1. Patch from Steve Hay to fix extra Content-type: appearing on browser
       screen when FatalsToBrowser invoked.
    2. Patch from Ewann Corvellec to fix cross-site scripting vulnerability.
    3. Fixed tmpdir routine for file uploading to solve problem that occurs
       under mod_perl when tmpdir is writable at startup time, but not at
       session time.
2004-05-15 13:22:03 +00:00
minskim
298627ed76 USE_LANGUAGES= # empty 2004-04-25 06:07:02 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
jlam
a39ce7f233 bl3ify 2004-01-07 01:20:30 +00:00
kim
3896221f4f 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 05:33:29 +00:00
jlam
f3bd378891 Remove unneeded patch... module.mk sets INSTALLDIRS for us. 2003-09-13 08:50:37 +00:00
martti
33e2a02324 COMMENT should start with a capital letter. 2003-07-22 04:14:17 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
mjl
27bc4e5859 Update p5-CGI to 2.91
- Attribute generation now correctly respects the value of autoEscape()
  - Fixed endofrm() syntax error
  - Fixed bug in redirect header handling
  - Added P3P option to header()
  - Patches to make CGI::Carp work correctly with object-oriented exceptions
  - Removed inaccurate description of how to set multiple cookies from
    CGI::Cookie pod file
  - Patch to prevent running out of filehandles when uploading lots of files
  - Documentation enhancement to note that the import_names() method
    transforms the parameter names into valid Perl names
  - Patch to suppress lang attribute in <html> tag if not provided explicitly
  - Patch to fix broken XHTML-transitional 1.0 validation on endform()
  - Custom html header fix (first letter correctly upcased now)
  - Added a -verbatim option to stylesheet generation
  - Faster delete() method
  - Added empty charset support
  - Patch to fix file upload failures when uploaded file is a multiple of 4096
  - Fixed behavior of ACTION tag when POSTING to a URL that has a query
    string
  - Patch to handle multipart/mixed uploads from Opera
2003-04-21 18:33:35 +00:00
wiz
3ce30f14f4 Update to 2.88, closes PR 20323.
Edited list of changes (many bug fixes removed):

Version 2.87

1. Security hole patched: when processing multipart/form-data postings,
most arguments were being untainted silently. Returned arguments are
now tainted correctly. This may cause some scripts to fail that used
to work (thanks to Nick Cleaton for pointing this out and persisting
until it was fixed).
2. Update for mod_perl 2.0.
3. Pragmas such as -no_xhtml are now respected in mod_perl environment.

Version 2.84

2. HTML escaping code now replaced 0x8b and 0x9b with unicode references
< and *#8250;

Version 2.83

3. Added Max-Age to list of CGI::Cookie headers.

Version 2.82

1. Patch from Rudolf Troller to add attribute setting and option groups
to form fields.
3. Patch from Scott Gifford allows you to set the program name for
CGI::Carp.

Version 2.81

1. Removed extraneous slash from end of stylesheet tags generated by
start_html in non-XHTML mode.
2. Changed behavior of CGI::Carp with respect to eval{} contexts so that
output behaves properly in mod_perl environments.

Version 2.80

2. Changed checked="1" to checked="checked" for real XHTML compatibility.
3. Resurrected REQUEST_URI code so that url() works correctly with
multiviews.
2003-02-21 14:01:07 +00:00
seb
cf0b1c7919 Convert to buildlink2. Use perl5/module.mk. 2002-10-07 22:34:23 +00:00
jlam
b71fd4996c The distfile at Lincoln Stein's page appears to be larger than the
ones on the various CPAN sites.  Since he's the software author, we
assume his is the definitive file.
2002-02-27 16:28:48 +00:00
jlam
93e36defc7 Update www/p5-CGI to version 2.79. This closes pkg/15342 by Allen Briggs
<briggs@ninthwonder.com>.  If you use CGI.pm, then this update is highly
recommended.  Changes from version 2.75.2 include:

    * Changes to CGI::Carp to avoid "subroutine redefined" error messages.
    * Default DTD is now XHTML 1.0 Transitional
    * Patches to support all HTML4 tags.
    * Added ability to change encoding in <?xml> assertion.
    * Fixed the old escapeHTML('CGI') ne "CGI" bug
    * In accordance with XHTML requirements, there are no longer any
      minimized attributes, such as "checked".
  --> Patched bug which caused file uploads of exactly 4096 bytes to be
      truncated to 4094 (thanks to Kevin Mahony)
    * New tests and fixes to CGI::Pretty (thanks to Michael Schwern).
    * New esc.t regression test for EBCDIC translations courtesy Peter
      Prymmer.
    * Patches from James Jurach to make compatible with FCGI-ProcManager
    * Additional fields passed to header() (like -Content_disposition) now
      honor initial capitalization.
    * Patch from Andrew McNaughton to handle utf-8 escapes (%uXXXX codes) in
      URLs.
2002-01-28 00:27:36 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
a1aafaafc7 Update dependency to new, good versions of perl. Also a minor stability
change in creating replacement files.
2001-09-09 03:12:28 +00:00
jlam
598425d982 Re-add definition of PERL5_SITEARCH accidentally removed during last
update.  Fixes pkg/13157.
2001-06-11 00:34:25 +00:00
jlam
a296bb6770 Update p5-CGI to 2.75.2. Changes include a fix for a syntax error in
a subroutine definition.
2001-06-07 04:29:04 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
jlam
cc35ebc3a5 Add definition of PERL5_SITEARCH used earlier in Makefile. This variable is no
longer automatically defined by bsd.pkg.mk, and this package can't USE_PERL5 as
it's part of the perl5 meta-package.
2001-02-26 07:23:56 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
jlam
8964be8059 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.
2001-02-02 17:52:25 +00:00
jlam
c4c0c7a691 Remove unneeded file. 2000-10-15 02:18:40 +00:00
jlam
4b24a43e67 Update p5-CGI to 2.74. Changes from version 2.72:
* Quashed one-character bug that caused CGI.pm to fail on file uploads.
    * Added -base to the list of arguments accepted by url().
    * Fixes to XHTML support.
    * POST parameters no longer show up in the Location box.
2000-10-15 02:17:16 +00:00
jlam
51c480fc9e Install p5-CGI documentation. 2000-09-15 14:50:58 +00:00
jlam
a8157e15e1 Update perl dependencies to find correct version of perl. 2000-09-05 09:25:20 +00:00
jlam
017c30199f Change directory of perl>=5.6.0 from lang/perl5-current to lang/perl5. 2000-08-30 19:08:13 +00:00
jlam
7b97b8e655 Note dependency on perl>=5.6.0nb2 as older version install their own
version of CGI.pm.
2000-08-29 19:14:28 +00:00
jlam
de143024b9 Update p5-CGI to 2.72. Note specific versions of perl which will conflict
with this package when installed.
2000-08-28 23:06:00 +00:00
jlam
18cba9d7fa Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 07:10:59 +00:00
christos
8e5f2a3b24 p5-CGI-2.66 package; someone who knows more about perl+pgksrc
should check this.
2000-05-11 20:04:03 +00:00