pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/php-http Update www/php-http to 2.6.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89867ca37601
branches:  trunk
changeset: 357892:89867ca37601
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Jan 31 11:02:45 2017 +0000

description:
Update www/php-http to 2.6.0.

- Added http\Client\Curl\User interface for userland event loops
- Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and
  http\Url::STDFLAGS
- Added http\Client::setDebug(callable $debug)
- Added http\Client\Curl\FEATURES constants and namespace
- Added http\Client\Curl\VERSIONS constants and namespace
- Added share_cookies and share_ssl (libcurl >= 7.23.0) options to
  http\Client::configure()
- http\Client uses curl_share handles to properly share cookies and
  SSL/TLS sessions between requests
- Improved configure checks for default CA bundles
- Improved negotiation precision
- Fixed regression introduced by http\Params::PARSE_RFC5987:
  negotiation using the params parser would receive param keys without
  the trailing asterisk, stripped by http\Params::PARSE_RFC5987.
- Fix gh-issue #50: http\Client::dequeue() within
  http\Client::setDebug() causes segfault
- Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value()
- Fix gh-issue #45: HTTP/2 response message parsing broken with
  libcurl >= 7.49.1
- Fix gh-issue #43: Joining query with empty original variable in
  query
- Fix gh-issue #42: fatal error when using punycode in URLs
- Fix gh-issue #41: Use curl_version_info_data.features when
  initializing options
- Fix gh-issue #40: determinde the SSL backend used by curl at runtime
- Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set
  option proxy_service_name
- Fix gh-issue #38: Persistent curl handles: error code not properly
  reset
- Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is
  used
- Fix gh-issue #34: allow setting multiple headers with the same name
- Fix gh-issue #33: allow setting prodyhost request option to NULL
- Fix gh-issue #31: add/improve configure checks for default CA
  bundle/path

Changes from beta1:
- Fixed PHP-5.3 compatibility
- Fixed recursive calls to the event loop dispatcher

Changes from beta2:
- Fix bug #73055: crash in http\QueryString (CVE-2016-7398)
- Fix bug #73185: Buffer overflow in HTTP parse_hostinfo()
  (CVE-2016-7961)
- Fix HTTP/2 version parser for older libcurl versions

diffstat:

 www/php-http/Makefile |   5 ++---
 www/php-http/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r e1c3bc1d20a2 -r 89867ca37601 www/php-http/Makefile
--- a/www/php-http/Makefile     Tue Jan 31 10:14:32 2017 +0000
+++ b/www/php-http/Makefile     Tue Jan 31 11:02:45 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2017/01/01 16:06:39 adam Exp $
+# $NetBSD: Makefile,v 1.12 2017/01/31 11:02:45 fhajny Exp $
 
 MODNAME=               http
-PECL_VERSION=          2.5.6
+PECL_VERSION=          2.6.0
 CATEGORIES+=           www
 
 PECL_DISTNAME=         pecl_http-${PECL_VERSION}
@@ -9,7 +9,6 @@
 MAINTAINER=            filip%joyent.com@localhost
 HOMEPAGE=              http://pecl.php.net/package/pecl_http
 COMMENT=               PHP extension for extended HTTP support
-PKGREVISION=           2
 LICENSE=               2-clause-bsd AND isc
 
 CONFLICTS=             php-http-[0-9]*
diff -r e1c3bc1d20a2 -r 89867ca37601 www/php-http/distinfo
--- a/www/php-http/distinfo     Tue Jan 31 10:14:32 2017 +0000
+++ b/www/php-http/distinfo     Tue Jan 31 11:02:45 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2016/03/12 08:38:39 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2017/01/31 11:02:45 fhajny Exp $
 
-SHA1 (php-http/pecl_http-2.5.6.tgz) = 935a51fe0463497fbcd63755efc89abc6fff4186
-RMD160 (php-http/pecl_http-2.5.6.tgz) = 054adc8c50ed2ed494d70c3ccf154746d2ee3333
-SHA512 (php-http/pecl_http-2.5.6.tgz) = a4ddb2e55b537a240dc79ad38665f9cb79ef56a70f50e0393ca19c36f744c21374ba801e31e68545516c4be98cff65587ee91b2b25f05dd587120afcb87dfe4a
-Size (php-http/pecl_http-2.5.6.tgz) = 200469 bytes
+SHA1 (php-http/pecl_http-2.6.0.tgz) = 3f7b80d60514a0ebf77e85d531033f5229db0707
+RMD160 (php-http/pecl_http-2.6.0.tgz) = b27da93f43eed98d3678a2edc990df9a9b310b24
+SHA512 (php-http/pecl_http-2.6.0.tgz) = 12d18049411a4133008449a1e7458a3055322dc337f421e0e2be126ec965f15b0189af6fccd9ca4537c48819c763b9e020906ac6d09d87ead92f4436fac595ad
+Size (php-http/pecl_http-2.6.0.tgz) = 217673 bytes



Home | Main Index | Thread Index | Old Index