Skip to content

Commit

Permalink
www/php-http3: update to 3.2.1
Browse files Browse the repository at this point in the history
Update php-http3 to 3.2.1.

pkgsrc change:
* Update supported PHP versions.
* Add a few dependency.

3.2.1, 2019-06-07

* Fixed gh-issue #88: Unable to run test suite (Remi Collet)
* Fixed gh-issue #86: test failure with curl 7.64
* Fixed gh-issue #85: [-Wformat-extra-args] build warnings
* Fixed gh-issue #84: segfault and build failure since curl 7.62
* Fixed gh-issue #82: Test harness improvements (Chris Wright)
* Fixed gh-issue #64: compress and connecttimeout interfere with
  low_speed_limit (@rcanavan)
* Fixed http\QueryString::getGlobalInstance()
* Fixed missing 2nd reflection argument info of http\Client::notify()
* Fixed PHP-7.4 compatibility

3.2.0, 2018-07-19

* PHP-7.2 compatibility
* Fixed gh-issue #73: build fails with libidn and libidn2
* Added brotli compression support
* Implemented gh-issue #58: Notify observers before any request is built

3.2.0RC1, 2018-04-09

* PHP-7.2 compatibility
* Fixed gh-issue #73: build fails with libidn and libidn2
* Added brotli compression support
* Implemented gh-issue #58: Notify observers before any request is built

3.1.0, 2016-12-12

* 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 (Mike, Maik Wagner)
* Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value() (Mike,
  @rc0r)
* Fix gh-issue #45: HTTP/2 response message parsing broken with libcurl >=
  7.49.1 (Mike)
* Fix gh-issue #43: Joining query with empty original variable in query
  (Mike, Sander Backus)
* Fix gh-issue #42: fatal error when using punycode in URLs (Mike, Sebastian
  Thielen)
* Fix gh-issue #41: Use curl_version_info_data.features when initializing
  options (Mike)
* Fix gh-issue #40: determinde the SSL backend used by curl at runtime
  (Mike, @rcanavan)
* Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set option
  proxy_service_name (Mike, @rcanavan)
* Fix gh-issue #38: Persistent curl handles: error code not properly reset
  (Mike, @afflerbach)
* Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is used
  (Mike, @rcanavan, @afflerbach)
* Fix gh-issue #34: allow setting multiple headers with the same name (Mike,
  @rcanavan)
* Fix gh-issue #33: allow setting prodyhost request option to NULL (Mike,
  @rcanavan)
* Fix gh-issue #31: add/improve configure checks for default CA bundle/path
  (Mike, @rcanavan)
  • Loading branch information
taca committed Jan 3, 2021
1 parent 45e786b commit 0858766
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
21 changes: 7 additions & 14 deletions www/php-http3/Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# $NetBSD: Makefile,v 1.22 2020/05/27 19:37:44 wiz Exp $
# $NetBSD: Makefile,v 1.23 2021/01/03 07:00:04 taca Exp $

MODNAME= http
PECL_VERSION= 3.0.1
PECL_VERSION= 3.2.3
CATEGORIES+= www

PECL_DISTNAME= pecl_http-${PECL_VERSION}

MAINTAINER= [email protected]
HOMEPAGE= http://pecl.php.net/package/pecl_http
COMMENT= PHP extension for extended HTTP support
PKGREVISION= 16
LICENSE= 2-clause-bsd AND isc

CONFLICTS= php-http-[0-9]*

PHP_VERSIONS_ACCEPTED= 72
PHP_VERSIONS_INCOMPATIBLE= 56

USE_LANGUAGES= c c++
USE_LIBTOOL= yes
Expand All @@ -23,25 +22,19 @@ CONFIGURE_ARGS+= --with-http
CONFIGURE_ARGS+= --with-http-libcurl-dir=${BUILDLINK_PREFIX.curl}
CONFIGURE_ARGS+= --with-http-libevent-dir=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+= --with-http-libidn-dir=${BUILDLINK_PREFIX.libidn}
CONFIGURE_ARGS+= --with-http-libicu-dir=${BUILDLINK_PREFIX.icu}
CONFIGURE_ARGS+= --with-http-zlib-dir=${BUILDLINK_PREFIX.zlib}

SUBST_CLASSES+= ini
SUBST_STAGE.ini= pre-patch
SUBST_MESSAGE.ini= Redirecting to temporary php.ini file
SUBST_FILES.ini= config9.m4
SUBST_SED.ini= -e 's,PHP_EXECUTABLE -m,PHP_EXECUTABLE -c ${WRKDIR} -m,'

post-extract:
(${ECHO} "[PHP]" ;\
${ECHO} "extension=propro.so" ; ${ECHO} "extension=raphf.so" \
) > ${WRKDIR}/php.ini
BUILDLINK_API_DEPENDS.libevent= libevent>=2

.include "../../devel/libevent/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/php-raphf2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../www/php-propro2/buildlink3.mk"
.include "../../converters/php-iconv/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
10 changes: 5 additions & 5 deletions www/php-http3/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/03/12 09:15:15 fhajny Exp $
$NetBSD: distinfo,v 1.2 2021/01/03 07:00:04 taca Exp $

SHA1 (php-http/pecl_http-3.0.1.tgz) = 9d1015774dcd50ac7c7fa845062269fdbac4c719
RMD160 (php-http/pecl_http-3.0.1.tgz) = 63ea318a0bb3858b894a675726de762d16a4941e
SHA512 (php-http/pecl_http-3.0.1.tgz) = 344ae45987269d9505ffed6059be378005298d89c5e39bda6f771d8bf5a1998e91c214c03d32b9c78329c95e4928d35d3659dd3a1c70071aa5b2bd2763852098
Size (php-http/pecl_http-3.0.1.tgz) = 197372 bytes
SHA1 (php-http/pecl_http-3.2.3.tgz) = 60a0a0cceb39e78f5ac3c41e8171807091488e69
RMD160 (php-http/pecl_http-3.2.3.tgz) = 437779f935b0ec0ef4ceb2dc45ce92d5bbd88a52
SHA512 (php-http/pecl_http-3.2.3.tgz) = e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666
Size (php-http/pecl_http-3.2.3.tgz) = 220204 bytes

0 comments on commit 0858766

Please sign in to comment.