Up to [cvs.NetBSD.org] / pkgsrc / www / pear-HTTP_Request
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
multiple PHP support * Use PHP_BASE_VERS in DEPENDS if required. * Use REPLACE_PHP. Bump PKGREVISION.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Reset maintainer, developer has left the building
Update pear-HTTP_Request package from 1.3.0 to 1.4.4. 1.4.4 Development of HTTP_Request package is halted, only bug fixing will be done. Please submit feature requests for HTTP_Request2 package. Fixes: * Improved memory usage of _buildRequest() method (bug #14574) * Clarified documentation for addFile() method to mention that it is useful only for POST method file uploads (bug #14635) * Do not send "Content-Length: 0" header for methods other than POST and PUT, as some servers may return error 400 (bug #14740) 1.4.3 * Added possibility to get reason phrase from HTTP response (request #12352) * PHP 4.2.0 should be the minimal PHP version (bug #12354), also updated other dependencies' versions to saner values * Send a Content-Length header in request even if body is empty (request #12900) * Do not pass length parameter to gzinflate(), it could cause problems in some corner cases (bugs #13135, #14370) * Return an error if trying to do a HTTPS request without OpenSSL support (bug #14127) * Do not stop reading chunked response body prematurely (bug #14200) 1.4.2 * The final CRLF was not properly added to request headers on POST request with no post data (Thanks to Brock Weaver) * Added error codes (request #12335, thanks to Joe Stump for the patch) * HTTP_Request sent broken requests on redirects with no trailing slash (bug #12308, thanks to Joe Stump for the patch) * Requests with a body consisting of only a symbol '0' were sent without body (reported privately by Sam Ghods) * download-progress.php example was broken since 1.4.0 due to addition of 'connect' and 'disconnect' events. Now works again. 1.4.1 * Removed bogus parameter for getURL() (Bug #9586, thanks to Martin Jansen) * Improved API documentation (Bug #9984, thanks to Martin Jansen) * Fixed wrong Content-Length if using mbstring function overloading (bug #10605) * Fixed bogus "data CRC check failed" error on 64-bit systems (bug #10790, thanks to Bill Moran) * Redone the way package handles mbstring function overloading, this will allow using gzip Content-Encoding when said overloading is switched on * Added proper header comment blocks, improved phpdoc comments 1.4.0 * Added Keep-Alive support (request #4806), thanks to Justin Patrin for the initial patch. Please note that "Connection: close" header is still added by default, you need to explicitly add "Connection: Keep-Alive" header or remove "Connection" header if using HTTP 1.1 * A new disconnect() method was added which forces disconnection from the server if Keep-Alive is used. Also two new events are sent to the Listeners: "connect" and "disconnect" * Added getUrl() method (request #6589) * Added method to properly parse header of gzip-encoded data (see RFC 1952). This takes care of situations when the server adds some additional data to the header (bug #8245) or sends data that is not gzip-encoded when "Content-Encoding: gzip" header is present (bug #8213) * "Proxy-Authorization" header is now properly set by constructor (bug #5913) * Fixed doc comments mentioning addBody() method instead of proper setBody() (bug #5969) * Fixed erroneous removal of "Content-Type" header from request (bug #7922) * Bogus HTTP headers are now ignored (bug #8214) * Path is set to "/" if an URL without path (http://www.example.com) is given (bug #8662) * Moved to package.xml version 2.0
Mark PEAR packages as DESTDIR ready. Thanks to obache@ for the backend support.
PKGREVISION++ for the recent PEAR/PHP changes so that all child packages pick up the new dependencies properly
Updated pear-HTTP_Request to 1.3.0. Changes in 1.3.0: * All request and response headers are now treated case-insensitively, per RFC 2616 (bug #1045, bug #4367). * Values of multiple response headers with the same name are combined into a comma-separated string per RFC 2616 (bug #1045) * Generate proper closing boundary for multipart/form-data requests, per RFC 1521 (bug #4397) * magic_quotes_runtime directive is switched off when performing the request since it may break file uploads and chunked responses (bug #4543) * Response::_readChunked() will finish on zero-length chunk rather than socket eof (patch from bug #3037) * Added HTTP_Request::setBody() method, deprecated addRawPostData() due to misleading name. The request body will be sent with all request methods except those that explicitly forbid this (e.g. TRACE). Data set via addPostData() / addFile() will only be sent with POST (see request #4716) Changes in 1.2.4: * Notice was raised when processing a response containing secure cookies (bug #2741) * Warning was raised when processing a response with empty body and chunked Transfer-encoding (bug #2792) * Improved inline documentation on constructor parameters (bug #2751) Adresses PR pkg/34469 by Martin Wilke
Fix CONFLICTS of php/pear packages, the asterix was missing (thanks tv). While going through the tree, fix some more packages which had similiar issues with too strict conflicts, bump the revisions of those.
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*, all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
Recursive revision bump / recommended bump for gettext ABI change.
Pullup ticket 457 - requested by Takahiro Kambe security update for php4 Revisions pulled up: - pkgsrc/graphics/php-gd/Makefile 1.7 - pkgsrc/mail/php-imap/Makefile 1.5-1.7 - pkgsrc/net/pear-Net_SMTP/Makefile 1.3 - pkgsrc/net/pear-Net_SMTP/buildlink3.mk removed - pkgsrc/net/pear-Net_SMTP/builtin.mk removed - pkgsrc/net/pear-Net_SMTP/distinfo 1.2 - pkgsrc/net/pear-Net_Socket/Makefile 1.4 - pkgsrc/net/pear-Net_Socket/buildlink3.mk removed - pkgsrc/net/pear-Net_Socket/builtin.mk removed - pkgsrc/www/php-curl/Makefile 1.5 - pkgsrc/www/php4/Makefile 1.42 - pkgsrc/www/php4/Makefile.common 1.47 - pkgsrc/www/php4/PLIST 1.12 - pkgsrc/www/php4/buildlink3.mk 1.6 - pkgsrc/www/php4/distinfo 1.39-1.40 - pkgsrc/www/php4/patches/patch-ab removed - pkgsrc/www/php4/patches/patch-aj 1.9 - pkgsrc/www/php4/patches/patch-ak 1.4 - pkgsrc/www/php4/patches/patch-am removed - pkgsrc/www/pear-HTML_Common/Makefile 1.9 - pkgsrc/www/pear-HTTP_Request/Makefile 1.4 Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:02:57 UTC 2005 Modified Files: pkgsrc/doc: CHANGES pkgsrc/graphics/php-gd: Makefile pkgsrc/www/php-curl: Makefile pkgsrc/www/php4: Makefile Makefile.common PLIST buildlink3.mk distinfo pkgsrc/www/php4/patches: patch-aj Removed Files: pkgsrc/www/php4/patches: patch-am Log Message: Update php4 to 4.3.11. This is a maintenance release that in addition to over 70 non-critical bug fixes addresses several security issues inside the exif and fbsql extensions as well as the unserialize(), swf_definepoly() and getimagesize() functions. All Users of PHP are strongly encouraged to upgrade to this release. Bugfix release * Crash in bzopen() if supplied path to non-existent file. * DOM crashing when attribute appended to Document. * unserialize() float problem on non-English locales. * Crash in msg_send() when non-string is stored without being serialized. * Possible infinite loop in imap_mail_compose(). * Fixed crash in chunk_split(), when chunklen > strlen. * session_set_save_handler crashes PHP when supplied non-existent object ref. * Memory leak in zend_language_scanner.c. * Compile failures of zend_strtod.c. * Fixed crash in overloaded objects & overload() function. * cURL functions bypass open_basedir. PHP4 also doesn't bundle PEAR Net_Socket and Net_SMTP anymore now. --- Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:03:58 UTC 2005 Removed Files: pkgsrc/www/php4/patches: patch-ab Log Message: doesn't appear to be needed anymore --- Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:06:36 UTC 2005 Modified Files: pkgsrc/net/pear-Net_SMTP: distinfo Log Message: regen with RMD160 hash --- Module Name: pkgsrc Committed By: jdolecek Date: Mon Apr 11 20:08:43 UTC 2005 Modified Files: pkgsrc/net/pear-Net_SMTP: Makefile pkgsrc/net/pear-Net_Socket: Makefile pkgsrc/www/pear-HTML_Common: Makefile pkgsrc/www/pear-HTTP_Request: Makefile Removed Files: pkgsrc/net/pear-Net_SMTP: buildlink3.mk builtin.mk pkgsrc/net/pear-Net_Socket: buildlink3.mk builtin.mk Log Message: Net_Socket and Net_SMTP were unbundled from PHP4 in 4.3.11, g/c the related conditionals and buildlink logic, and convert to standard DEPENDS --- Module Name: pkgsrc Committed By: kim Date: Fri Apr 15 22:38:16 UTC 2005 Modified Files: pkgsrc/mail/php-imap: Makefile Log Message: I'm not sure why I need to set PHP_OPENSSL for OpenSSL to be found, but now the package builds again. --- Module Name: pkgsrc Committed By: jdolecek Date: Sat Apr 16 07:37:31 UTC 2005 Modified Files: pkgsrc/mail/php-imap: Makefile Log Message: g/c LIBS setting --- Module Name: pkgsrc Committed By: kim Date: Wed Apr 20 12:03:25 UTC 2005 Modified Files: pkgsrc/mail/php-imap: Makefile Log Message: Explain setting PHP_OPENSSL (from Stoned Elipot) --- Module Name: pkgsrc Committed By: salo Date: Thu Apr 21 23:47:47 UTC 2005 Modified Files: pkgsrc/www/php4: distinfo pkgsrc/www/php4/patches: patch-ak Log Message: Apply cleanly after update to 4.3.11
Net_Socket and Net_SMTP were unbundled from PHP4 in 4.3.11, g/c the related conditionals and buildlink logic, and convert to standard DEPENDS
Update pear-HTTP_Request to 1.2.3. Changes since 1.2 include many bugfixes and possibility to add misc. socket options. Full list http://pear.php.net/package/HTTP_Request/download/. Package requires Net_Socket>=1.0.2 and Net_URL>=1.0.12.
Use HOMEPAGE provided by lang/php/pear.mk
Add pear-HTTP_Request-1.2 - PHP classes to provides an easy way to perform HTTP requests. Courtesy of pkgsrc-wip.
Initial revision