Changes since 2.001:
url_decode now interprets "+"s correctly, as encoded spaces.
url_encode ensures that all hex-encodings are padded correctly, to 2 digits (so
"%09" for a tab, not "%9"). The fake-encoding done on standard input when
testing at the command-line has been fixed equivalently.
url_encode also converts spaces to "+"s and emits hex characters in upper-case,
since this what web-browsers seem to do. Encoding is now performed on all but
known-safe characters, rather listing all the characters believed to be in need
of encoding.
The internal method _decode_url_encoded_data now uses url_decode, rather than
duplicating its content.
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.
Note from the CPAN administration: The CGI::Lite module seems to be
abandoned by its original author. We cannot contact him anymore. The
2.0 release has been made on 2000-08-20. This 2.001 release is just an
emergency release that fixes the most urgent security need. It is not
endorsed by the original author. It was put together by me after the
advisory http://msgs.securepoint.com/cgi-bin/get/bugtraq0302/94.html
on the bugtraq mailing list.
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.
Name change from CGI_Lite to CGI::Lite.
Added parse_new_form_data(), for use under persistant applications
Removed $` and $' from the code, and "optimized" an important regexp.
The set_file_type method now works as it should.
Added the get_ordered_keys method
Added a set of miscellaneous functions: browser_escape, url_encode,
url_decode, is_dangerous, escape_dangerous_chars.
Fields containing more than one value in multipart forms are now
handled correctly.
You can now parse/decode cookies in much the same manner as forms.
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 :)
In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz,
and .tar.bz2).
EXTRACT_USING_PAX can be set as before.
For custom extractions, instead of using EXTRACT_BEFORE_ARGS,
EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the
command needed to decompress and extract the lements from the archive.
${DOWNLOADED_DISTFILE} can be used to reference the distfile(s).
e.g. for compressed shars, where previously there was:
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= |sh
now use:
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}