Sun Oct 4 06:05:49 2020 UTC ()
www/pear-HTTP_Request2: update to 2.4.2

Update pear-HTTP_Request2 package to 2.4.2.

Update

2.4.2 (2020-09-24 18:13 UTC)

Changelog:

Socket adapter could prematurely end receiving the response body due to
fread() call returning an empty string

2.4.1 (2020-08-01 05:16 UTC)

Changelog:

Switch socket to blocking mode when enabling crypto, this fixes HTTPS
requests through proxy with Socket adapter
https://github.com/pear/HTTP_Request2/issues/20

2.4.0 (2020-07-26 13:43 UTC)

Changelog:

* Minimum required version is now PHP 5.6, as using older versions for HTTPS
  requests may be insecure

* Removed support for magic_quotes_runtime, as get_magic_quotes_runtime()
  was deprecated in PHP 7.4 and the functionality itself was disabled since
  PHP 5.4 (bug #23839)

* Socket adapter now uses socket in non-blocking mode, as some configurations
  could have problems with timeouts in HTTPS requests (bug #21229)

* Fixed bogus size check error with gzipped responses larger than 4 GiB
  uncompressed (bug #21239)

* Use current "Intermediate compatibility" cipher list
* Updated Public Suffix List

The package is now 100% autoload-compatible, when installed with composer it
no longer uses include-path and does not contain require_once statements


(taca)
diff -r1.3 -r1.4 pkgsrc/www/pear-HTTP_Request2/Makefile
diff -r1.3 -r1.4 pkgsrc/www/pear-HTTP_Request2/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/www/pear-HTTP_Request2/Makefile (expand / switch to unified diff)

--- pkgsrc/www/pear-HTTP_Request2/Makefile 2016/07/19 15:33:27 1.3
+++ pkgsrc/www/pear-HTTP_Request2/Makefile 2020/10/04 06:05:49 1.4
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.3 2016/07/19 15:33:27 taca Exp $ 1# $NetBSD: Makefile,v 1.4 2020/10/04 06:05:49 taca Exp $
2# 2#
3 3
4DISTNAME= HTTP_Request2-2.3.0 4DISTNAME= HTTP_Request2-2.4.2
5CATEGORIES+= www 5CATEGORIES+= www
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= PHP classes to provides an easy way to perform HTTP requests 8COMMENT= PHP classes to provides an easy way to perform HTTP requests
9LICENSE= modified-bsd 9LICENSE= modified-bsd
10 10
11DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_URL2>=2.0.0:../../net/pear-Net_URL2 11DEPENDS+= ${PHP_PKG_PREFIX}-pear-Net_URL2>=2.0.0:../../net/pear-Net_URL2
12 12
13USE_LANGUAGES= # none 13USE_LANGUAGES= # none
14 14
15.include "../../lang/php/pear.mk" 15.include "../../lang/php/pear.mk"
16.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/www/pear-HTTP_Request2/distinfo (expand / switch to unified diff)

--- pkgsrc/www/pear-HTTP_Request2/distinfo 2016/07/19 15:33:27 1.3
+++ pkgsrc/www/pear-HTTP_Request2/distinfo 2020/10/04 06:05:49 1.4
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.3 2016/07/19 15:33:27 taca Exp $ 1$NetBSD: distinfo,v 1.4 2020/10/04 06:05:49 taca Exp $
2 2
3SHA1 (pear/HTTP_Request2-2.3.0.tgz) = 6ab5ca1005eee4f7079d54c4b1d8e4cb00a81c15 3SHA1 (pear/HTTP_Request2-2.4.2.tgz) = 9d46f0b0fe07ff8e14507ff7e29afe55deaeec1d
4RMD160 (pear/HTTP_Request2-2.3.0.tgz) = aa958bf1608eea695b8eb32fc147c76837a27cb7 4RMD160 (pear/HTTP_Request2-2.4.2.tgz) = a02b11f8344f3dcfd7065b45c67cac5bb0e2cde0
5SHA512 (pear/HTTP_Request2-2.3.0.tgz) = 52fc2768f3c5afe6fd4505d427255e467b5b7cac8a4116cbabc3f1c0ffe6f1bd061a9c9b31de2ebbd4a7844ae73085ab0d52adf905dce28eb31197117657d77b 5SHA512 (pear/HTTP_Request2-2.4.2.tgz) = c122df64f3f87d562fd4f818b3f02f7639dc907f724d034c420ddeabc5295d0a94d77221287349bcb7a790a97cf7c9b078d9a8086a476789eae906c6e124c910
6Size (pear/HTTP_Request2-2.3.0.tgz) = 119717 bytes 6Size (pear/HTTP_Request2-2.4.2.tgz) = 125530 bytes