summaryrefslogtreecommitdiff
path: root/www/p5-libapreq2
AgeCommit message (Collapse)AuthorFilesLines
2006-04-22Removed the superfluous "quotes" and 'quotes' from variables that don'trillig1-2/+2
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-20Update p5-libapreq2 to 2.07.hiramatsu2-10/+11
Changes with libapreq2-2.07 (released February 12, 2006) - C API [joes] SECURITY: CVE-2006-0042 (cve.mitre.org) Eliminate potential quadratic behavior in apreq_parse_headers() and apreq_parse_urlencoded(). - Perl API [Philip M. Gollucci] Fix Apache2::Cookie->cookies() to comply with its documentation - C API [Philip M. Gollucci] Use the APREQ_DEFAULT_READ_LIMIT constant for the read_limit - C API [Ville Skyttd, Dirk Nehring] Add explicit cast in apreq_escape()/apreq_util.h to keep C++ compilers happy. - C API [joes] Protect against arbitrary recursion depth in apreq_parse_multipart() by adding a reasonable compile-time MAX_LEVEL limit. - C API [joes] Clean up end-of-file parsing for apreq_parse_multipart(), conforming to rfc-2046 ' 5.1.1. - Perl API [joes] Move APR::Request::Param::Table and APR::Request::Cookie::Table packages to APR::Request module. - Perl XS [Steve Hay] Fix compile problems on Win32 without PERL_IMPLICIT_SYS related to link being an unresolved symbol. - Perl API [joes] APR::Request::Cookie::thaw() isn't a class method. - C API [joes] Fix off-by-one bug in the continuation-lines portion of the header parser. - Perl API [joes] Move APR::Request::upload to APR::Request, where it belongs. - Perl XS [Nikolay Ananiev] Use MP_STATIC declarations to allow Cygwin builds. - Perl API [joes] encode()/decode() were busted with zero-length args. This caused Apache2::Cookie::new() to segfault on cookie value of "". - C API [joes] Add apreq_charset_divine() and eliminate charset offset from return value of apreq_decode(v). - C API [joes] Improve the cp1252-charset heuristics for apreq_decode(v). - C API [Ralph Mattes] Add explicit casts for apreq_param_charset_* to keep c++ compilers happy.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-24Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 becausewiz1-2/+2
of the shlib major bump. PKGREVISION++ for the dependencies.
2005-11-03Using MASTER_SITE_APACHE instead of hard-coded URL.rillig1-2/+2
2005-08-23Fix MESSAGE to reflect new name of module. Bump PKGREVISION for change.tv2-4/+5
Noticed by Charlie Allom <charlie@rubberduck.com>.
2005-08-22Update to 2.06 (fixes PR pkg/31032). Changes:tv3-14/+17
@section v2_06 Changes with libapreq2-2.06 (released July 20, 2005) - C API [Marc GrĂ cia, joes] Fix apreq_decode(v) when iso-latin-1 chars appear at the end of an encoded string. - Perl API [Philip M. Gollucci] Fix "Attempt to free temp prematurely" error in apreq_xs_croak(). - C API [Philip M. Gollucci] Add mod_apreq2 to httpd's server tokens. - Perl API [joes] Drop support for $req->env(), which also died with 2.05-dev. - Perl API [joes] Support for table set/add/delete methods is formally withdrawn. Technically this feature died with the module API refactoring in 2.05-dev. - C API [max] Right-hand limit of apreq_brigade_move() is declared as "excluding", but APR_RING_UNSPLICE() wants an "including" right-hand limit. Fixed this by passing the previous bucket. - Perl API [joes] Drop support for Apache2::Request::new's HOOK_DATA. UPLOAD_HOOK now takes only two arguments: ($upload, $data). - Perl API [joes] Drop support for Apache2::Cookie::Jar::new's VALUE_CLASS. 2.05-dev broke that API, and it's not worth trying to fix. People who need that should use APR::Request::Cookie::Table's cookie_class() API instead. - Perl API [joes] Fix cookie domain/path munging in Apache2::Cookie::new(). @section v2_05_dev Changes with libapreq2-2.05-dev (released May 5, 2005) - Win32 build [Randy Kobes] Have top-level 'nmake', 'nmake test', and 'nmake install' targets, respectively, also include building, testing, and installing the corresponding perl glue targets. - C API [geoff] Minimum httpd version is now 2.0.48, which includes the official apr 0.9.4 release. - C API [Max Kellermann] Fix apreq_quote. - Perl API [joes] Remove Apache2::Request::args. WARNING: through inheritance, args() now maps to Apache2::RequestRec::args. Folks that want the pre-2.05-dev behavior need to invoke APR::Request::args by name. - C API [joes, Max Kellermann] Add apreq_initialize, apreq_pre_initialize and apreq_post_initialize. These are not thread-safe operations, so applications need to ensure they are invoked (in the correct sequence) prior to using any apreq2 modules. - C, Perl API [joes] Add pool, bucket_alloc to apreq_handle_t. - Perl API [joes] Drop $data argument from UPLOAD_HOOK, and also drop HOOK_DATA option. Perl folks should use a closure instead of passing in context data. - Perl API [joes] Move bake, bake2 to Apache2::Cookie, now requiring an extra $r argument. Also ""-operator is mapped to as_string() for Apache2::Cookie; but APR::Request::Cookie maps it to value(). - C API [joes] Remove header_in & header_out from apreq_module_t. Remove apreq_ua_cookie_version() and apreq_cookie_bake*(). Remove cookie2 argument to apreq_handle_custom(). - C API [joes] s/APREQ/APREQ2/g in webserver configuration directives. - C API [Igor Shevchenko, Philip Gollucci] Fix segfault in mfd parser caused by parts w/ empty param names. - C API [joes] Add apreq_cp1252_to_utf8(). - C, Perl API [joes] Add charset support for params and couple the SvUTF8 flag to the param's taint flag. - C API [joes] Replace v->size with v->nlen + v->dlen. Added supporting apreq_value_table_add(). - C API [joes] Remove apreq_cookie_attr(). - C API [joes] - Add apreq_error.h, apreq_module.h. - Rename apreq_run* and apreq_make* funcs to conform with apreq_$obj_$meth scheme. - Replace c->version & c->secure with flags. - Parsers are assumed to be working with external data, so the cookies & params they produce are marked tainted. - C API [joes] apreq_parse_cookie_header() failed to parse RFC Cookie headers which contained no space chars after the '$Version=1' preamble. - C API [joes] Reorganize around include/, library/, and module/ dirs. - C Tests [joes] Replace CuTest-based tests with custom TAP-compliant framework. - C API [Max Kellermann] Continue the API improvements: - Convert APREQ_RUN_PARSER and APREQ_RUN_HOOK to inline, and downcase them. - Remove apreq_memmem. - Convert apreq_(un)escape to inline. - apreq_escape does not create an apreq_value_t*. - Initialize default_parsers explicitly to NULL. - Convert APREQ_BRIGADE_COPY to inline, and downcase it. - Lowercase APREQ_BRIGADE_SETASIDE, APREQ_BRIGADE_COPY. - Convert apreq_cookie_name and apreq_cookie_value macros to inline. - Convert apreq_param_name, apreq_param_value, apreq_param_info, and apreq_param_brigade to inline. - C API [joes] Widespread API refactorization to remove apreq_jar_t and apreq_request_t: - Header includes reorganized; apreq_parsers.h added (back again). - Replaced apreq_jar_t and apreq_request_t with single apreq_env_handle_t. - Added const qualifier to "v" attribute of apreq_cookie_t and apreq_param_t. - Use union type-puns to drop const qualifiers inside the new apreq_value_to_cookie and apreq_value_to_param implementations (gcc generates same object code as the macro versions did). - Moved "flags" attribute from apreq_value_t to apreq_cookie_t and apreq_param_t. - Remove env argument from hooks and parsers. - Reduce apreq_env_module to minimal set of operations. - Replace apreq_log calls with apreq-specific error codes. - Hooks are called on each body param now, not just during file uploads. - Tie the cgi handle to its creator pool. Detailed changes by header file: [apreq.h] - Remove flags from apreq_value_t. - Remove const qualifier from apreq_value_t's "name" attribute. - Remove apreq_value_merge* and apreq_value_copy*. - Remove apreq_char_to_value, apreq_strtoval, and apreq_strlen. - Move apreq_enctype to apreq_env.h. - Move apreq_env_handle_t struct definition to apreq_env.h - Change signature of apreq_decode. - Move apreq_brigade_concat here, changed its signature and improved it alot. - Remove apreq_brigade_spoolfile. - Dropped APREQ_*_ENCTYPE, renamed some APREQ_$foo defaults APREQ_DEFAULT_$foo. - Added APREQ_ERROR_*. [apreq_cookie.h] - Remove apreq_env.h include. - Remove apreq_jar_t. - Add "flags" to apreq_cookie_t, add const qualifier to its "v" attr. - Remove apreq_jar* functions. - Add apreq_parse_cookie_header. - Move apreq_cookie, apreq_cookie_bake(2), and apreq_ua_cookie_version to apreq_env.h. [apreq_params.h] - Remove apreq_env.h include. - Remove apreq_request_t. - Add "flags" to apreq_param_t, and const qualifier to its "v" attr. - Rename "bb" attribute "upload" in apreq_param_t. - Remove apreq_request* functions. - Remove apreq_parse_request. - Changed apreq_decode_param signature. - Replace env argument with apr_table_t in apreq_params_as_array, apreq_params_as_string, - Move remaining apreq_param* to apreq_env.h. - Move parser and hook sections to apreq_parsers.h. - Change apreq_upload(s) old apreq_request_t arg to apr_table_t. [apreq_parsers.h] - Acquire the hook and parser sections of original apreq_params.h. - Remove env argument from APREQ_PARSER_ARGS and APREQ_HOOK_ARGS - Augment apreq_hook_t and apreq_parser_t to replace missing env features. - Change apreq_make_parser and apreq_make_hook signatures. - Rename apreq_add_hook to apreq_parser_add_hook, returning apr_status_t. - Change apreq_parser signature. [apreq_env.h] - Remove read, log, pool, bucket_alloc, request, jar, and query_string methods. - Include apreq_parsers.h. - Reorganize apreq_env_module_t to provide hook, parser, jar, args, & body table ops. - Rename max_brigade to "brigade_limit", max_body to "read_limit". - Change related module sigs, including temp_dir, to get/set methods. - Add parser and read_limit args to apreq_env_make_custom_handle. - Drop "name" arg and APREQ_ENV_MODULE =~ s/_ENV//. - s/apreq_env_make/apreq_handle/ in the handle constructor names. [mod_apreq.c, apreq_env_apache2.h] - Changed APREQ_Max* configs to APREQ_BrigadeLimit and APREQ_ReadLimit. - Handle constructor renamed apreq_handle_apache2. - C API [joes] Make our "libtool current interface" number depend on apr's major number. This allows libapreq2 to be installed into a system-wide location while avoiding ABI conflicts arising from our apr-based interfaces. - C API [Max Kellermann] Introduce apreq_env_handle_t to replace the void *env usage. Also added apreq_env_custom for making private handles, and new apreq_env_apache2.h to let mod_apreq export apreq_env_make_apache2. - C API [Max Kellermann] Rename apreq_env_t to apreq_env_module_t, to prepare for a new thread-safe apreq_env API. - C API [Max Kellermann] mod_apreq must check the return value of apreq_brigade_concat to avoid a RAM-consuming infinite loop. A bad APREQ_TempDir setting can cause this situation. - C API [joes] Provide workaround for chunked trailers bug in ap_http_filter. - C, Perl API [joes] Several upload-related bugfixes: 1) apreq_upload and apreq_uploads did not search the full body table, 2) $upload->slurp and $io->read did not autovivify the resultant string. - C API [joes] Add "flags" attribute to apreq_value_t, planning for charset support. This is an ABI change, starting with libapreq2.so.2.0.24. - C API [joes] Add apreq_env_bucket_alloc() to get an allocator directly from the environment instead of creating them from a pool. This is an ABI change, starting with libapreq2.so.2.0.23. - Build system [joes] Add --with-apache2-httpd option so users can override apxs's notion of where the httpd executable is. XSBuilder's header parser runs from buildconf now instead of configure, so we will include those tables in the release tarball. buildconf gets an additional --with-perl option for running the xsbuilder.pl parsing script. The XS generation code in xsbuilder.pl has moved to glue/perl/Makefile.PL. - Perl API [joes] Allow ctors for Apache::Cookie, Apache::Cookie::Jar and Apache:::Request to accept Apache::Request objects (instead of requiring an Apache::RequestRec object). This thread details the bug http://thread.gmane.org/gmane.comp.apache.mod-perl/15727 - C API [Bojan Smojver] Bake cookies with err_headers_out so they are sent on non-2xx server responses (ie. a 304 redirect). Also ensure that headers are copied with apr_table_add instead of apr_table_addn. Since apreq_cookie_bake() allocates from the stack, the Set-Cookie headers would occasionally get mangled without this patch. - C API [joes] Add apreq_register_parser(), which allows users to add their own parsers to apreq_parser()'s recognized MIME types. - C API [joes] Support "multipart/mixed" file uploads. Support XForms' "multipart/related" enctype. - C API [joes] Add apreq_hook_apr_xml_parser(), which is a simple wrapper hook around APR's expat-based apr_xml_parser. Add a generic parser apreq_parse_generic() to parse arbitrary enctypes using the hook API.
2005-08-06Bump the PKGREVISIONs of all (638) packages that hardcode the locationsjlam1-3/+2
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-2/+2
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 checksums.wiz1-1/+2
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
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-13- Update to 2.4.3adrianp3-13/+21
- Lots of documentation/bugfix/feature improvements, see CHANGES for full details - Closes PR# 27592 opened by carl (at) rollcage2.bl.echidna.id.au which suggested the update. Thanks Carl. CVS ----------------------------------------------------------------------
2004-11-12Adjust for new p5-ExtUtils-XSBuilder location in devel/.seb1-2/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-5/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-05-04Convert to buildlink3.snj1-4/+4
2004-04-12Add p5-libapreq2-2.2.2 (for apache2)kim5-0/+67
This package contains modules for manipulating client request data via the Apache API with Perl and C. Functionality includes: - parsing of application/x-www-form-urlencoded data - parsing of multipart/form-data - parsing of HTTP Cookies