pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/pear-HTTP_Request Update pear-HTTP_Request package...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3381b76dac30
branches:  trunk
changeset: 571017:3381b76dac30
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Feb 06 16:08:48 2010 +0000

description:
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

diffstat:

 www/pear-HTTP_Request/Makefile |  7 +++----
 www/pear-HTTP_Request/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r 85bf3036cffe -r 3381b76dac30 www/pear-HTTP_Request/Makefile
--- a/www/pear-HTTP_Request/Makefile    Sat Feb 06 16:07:58 2010 +0000
+++ b/www/pear-HTTP_Request/Makefile    Sat Feb 06 16:08:48 2010 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2010/02/04 16:36:05 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2010/02/06 16:08:48 taca Exp $
 
-DISTNAME=      HTTP_Request-1.3.0
+DISTNAME=      HTTP_Request-1.4.4
 #CATEGORIES+=  www
-PKGREVISION=   1
 
 MAINTAINER=    jdolecek%NetBSD.org@localhost
 COMMENT=       PHP classes to provides an easy way to perform HTTP requests
@@ -12,7 +11,7 @@
 CONFLICTS=     php-pear-HTTP_Request-[0-9]*
 
 DEPENDS+=      ${PHP_PKG_PREFIX}-pear-Net_URL>=1.0.12:../../net/pear-Net_URL
-DEPENDS+=      ${PHP_PKG_PREFIX}-pear-Net_Socket>=1.0.2:../../net/pear-Net_Socket
+DEPENDS+=      ${PHP_PKG_PREFIX}-pear-Net_Socket>=1.0.7:../../net/pear-Net_Socket
 
 .include "../../lang/php/pear.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 85bf3036cffe -r 3381b76dac30 www/pear-HTTP_Request/distinfo
--- a/www/pear-HTTP_Request/distinfo    Sat Feb 06 16:07:58 2010 +0000
+++ b/www/pear-HTTP_Request/distinfo    Sat Feb 06 16:08:48 2010 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2006/10/23 20:13:38 jdolecek Exp $
+$NetBSD: distinfo,v 1.6 2010/02/06 16:08:48 taca Exp $
 
-SHA1 (pear/HTTP_Request-1.3.0.tgz) = e801bda826b869a561c11ea30eb212ba92174293
-RMD160 (pear/HTTP_Request-1.3.0.tgz) = b4f9dc6e1922c517059f082ebb0a1bb8f7ac33ae
-Size (pear/HTTP_Request-1.3.0.tgz) = 13808 bytes
+SHA1 (pear/HTTP_Request-1.4.4.tgz) = 71a3b4cc3cec8dcd24052e97c53517dfb5605875
+RMD160 (pear/HTTP_Request-1.4.4.tgz) = 976c2ed0a1fcbcf5dc4f890c4d7c01c6211f8595
+Size (pear/HTTP_Request-1.4.4.tgz) = 17109 bytes



Home | Main Index | Thread Index | Old Index