summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--0001-re-add-curl-7.61-specific-code.patch94
-rw-r--r--PHPINFO8
-rw-r--r--REFLECTION18
-rw-r--r--pecl_http-build.patch22
-rw-r--r--pecl_http-php84.patch100
-rw-r--r--php-pecl-http.spec124
6 files changed, 177 insertions, 189 deletions
diff --git a/0001-re-add-curl-7.61-specific-code.patch b/0001-re-add-curl-7.61-specific-code.patch
new file mode 100644
index 0000000..d357279
--- /dev/null
+++ b/0001-re-add-curl-7.61-specific-code.patch
@@ -0,0 +1,94 @@
+From fea4a62212dd9a33f572894e47af5e00ce2f0b35 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 10 Oct 2025 08:22:16 +0200
+Subject: [PATCH] re-add curl 7.61 specific code
+
+---
+ src/php_http_client_curl.c | 64 ++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 64 insertions(+)
+
+diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c
+index d5262f6..a02a87e 100644
+--- a/src/php_http_client_curl.c
++++ b/src/php_http_client_curl.c
+@@ -1880,6 +1880,50 @@ static ZEND_RESULT_CODE php_http_curle_set_option(php_http_option_t *opt, zval *
+ return rv;
+ }
+
++#if !PHP_HTTP_CURL_VERSION(7,62,0)
++static ZEND_RESULT_CODE php_http_curlm_option_set_pipelining_bl(php_http_option_t *opt, zval *value, void *userdata)
++{
++ php_http_client_t *client = userdata;
++ php_http_client_curl_t *curl = client->ctx;
++ CURLM *ch = curl->handle->multi;
++ HashTable tmp_ht;
++ char **bl = NULL;
++
++ /* array of char *, ending with a NULL */
++ if (value && Z_TYPE_P(value) != IS_NULL) {
++ zval *entry;
++ HashTable *ht = HASH_OF(value);
++ int c = zend_hash_num_elements(ht);
++ char **ptr = ecalloc(c + 1, sizeof(char *));
++
++ bl = ptr;
++
++ zend_hash_init(&tmp_ht, c, NULL, ZVAL_PTR_DTOR, 0);
++ array_join(ht, &tmp_ht, 0, ARRAY_JOIN_STRINGIFY);
++
++ ZEND_HASH_FOREACH_VAL(&tmp_ht, entry)
++ {
++ *ptr++ = Z_STRVAL_P(entry);
++ }
++ ZEND_HASH_FOREACH_END();
++ }
++
++ if (CURLM_OK != curl_multi_setopt(ch, opt->option, bl)) {
++ if (bl) {
++ efree(bl);
++ zend_hash_destroy(&tmp_ht);
++ }
++ return FAILURE;
++ }
++
++ if (bl) {
++ efree(bl);
++ zend_hash_destroy(&tmp_ht);
++ }
++ return SUCCESS;
++}
++#endif
++
+ static inline ZEND_RESULT_CODE php_http_curlm_use_eventloop(php_http_client_t *h, php_http_client_curl_ops_t *ev_ops, zval *init_data)
+ {
+ php_http_client_curl_t *curl = h->ctx;
+@@ -1978,6 +2022,26 @@ static void php_http_curlm_options_init(php_http_options_t *registry)
+ }
+ #endif
+
++#if !PHP_HTTP_CURL_VERSION(7,62,0)
++ /* enable/disable HTTP pipelining */
++ php_http_option_register(registry, ZEND_STRL("pipelining"), CURLMOPT_PIPELINING, _IS_BOOL);
++ /* maximum number of requests in a pipeline */
++ if ((opt = php_http_option_register(registry, ZEND_STRL("max_pipeline_length"), CURLMOPT_MAX_PIPELINE_LENGTH, IS_LONG))) {
++ ZVAL_LONG(&opt->defval, 5);
++ }
++ /* chunk length threshold for pipelining */
++ php_http_option_register(registry, ZEND_STRL("chunk_length_penalty_size"), CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, IS_LONG);
++ /* size threshold for pipelining penalty */
++ php_http_option_register(registry, ZEND_STRL("content_length_penalty_size"), CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, IS_LONG);
++ /* pipelining server blacklist */
++ if ((opt = php_http_option_register(registry, ZEND_STRL("pipelining_server_bl"), CURLMOPT_PIPELINING_SERVER_BL, IS_ARRAY))) {
++ opt->setter = php_http_curlm_option_set_pipelining_bl;
++ }
++ /* pipelining host blacklist */
++ if ((opt = php_http_option_register(registry, ZEND_STRL("pipelining_site_bl"), CURLMOPT_PIPELINING_SITE_BL, IS_ARRAY))) {
++ opt->setter = php_http_curlm_option_set_pipelining_bl;
++ }
++#endif
+ /* events */
+ if ((opt = php_http_option_register(registry, ZEND_STRL("use_eventloop"), 0, 0))) {
+ opt->setter = php_http_curlm_option_set_use_eventloop;
+--
+2.51.0
+
diff --git a/PHPINFO b/PHPINFO
index b554302..7191ef4 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,13 +2,13 @@
http
HTTP Support => enabled
-Extension Version => 4.2.4
+Extension Version => 4.3.1
Used Library => Compiled => Linked
-libz => 1.2.12 => 1.2.12
-libcurl => 7.85.0 => 7.85.0
+libz => 1.3.1.zlib-ng => 1.3.1.zlib-ng
+libcurl => 8.9.1 => 8.9.1
libevent => 2.1.12-stable => 2.1.12-stable
-libicu (IDNA2008/IDNA2003) => 72.1 => 72.1
+libicu (IDNA2008/IDNA2003) => 74.2 => 74.2
libidn2 (IDNA2008) => disabled => disabled
libidn (IDNA2003) => disabled => disabled
libidnkit2 (IDNA2008) => disabled => disabled
diff --git a/REFLECTION b/REFLECTION
index 9c05ddb..8ad6726 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #114 http version 4.2.4 ] {
+Extension [ <persistent> extension #136 http version 4.3.1 ] {
- Dependencies {
Dependency [ raphf (Required) ]
@@ -12,7 +12,7 @@ Extension [ <persistent> extension #114 http version 4.2.4 ] {
}
- Constants [90] {
- Constant [ int http\Client\Curl\FEATURES ] { 1371522973 }
+ Constant [ int http\Client\Curl\FEATURES ] { 1362036621 }
Constant [ int http\Client\Curl\Features\IPV6 ] { 1 }
Constant [ int http\Client\Curl\Features\KERBEROS4 ] { 2 }
Constant [ int http\Client\Curl\Features\SSL ] { 4 }
@@ -39,15 +39,15 @@ Extension [ <persistent> extension #114 http version 4.2.4 ] {
Constant [ int http\Client\Curl\Features\ZSTD ] { 67108864 }
Constant [ int http\Client\Curl\Features\UNICODE ] { 134217728 }
Constant [ int http\Client\Curl\Features\HSTS ] { 268435456 }
- Constant [ string http\Client\Curl\VERSIONS ] { libcurl/7.85.0 OpenSSL/3.0.9 zlib/1.2.12 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.3) libssh/0.10.5/openssl/zlib nghttp2/1.51.0 }
- Constant [ string http\Client\Curl\Versions\CURL ] { 7.85.0 }
- Constant [ string http\Client\Curl\Versions\SSL ] { OpenSSL/3.0.9 }
- Constant [ string http\Client\Curl\Versions\LIBZ ] { 1.2.12 }
+ Constant [ string http\Client\Curl\VERSIONS ] { libcurl/8.9.1 OpenSSL/3.2.4 zlib/1.3.1.zlib-ng libidn2/2.3.8 nghttp2/1.62.1 }
+ Constant [ string http\Client\Curl\Versions\CURL ] { 8.9.1 }
+ Constant [ string http\Client\Curl\Versions\SSL ] { OpenSSL/3.2.4 }
+ Constant [ string http\Client\Curl\Versions\LIBZ ] { 1.3.1.zlib-ng }
Constant [ null http\Client\Curl\Versions\ARES ] { }
- Constant [ string http\Client\Curl\Versions\IDN ] { 2.3.4 }
+ Constant [ string http\Client\Curl\Versions\IDN ] { 2.3.8 }
Constant [ null http\Client\Curl\Versions\ICONV ] { }
- Constant [ string http\Client\Curl\Versions\BROTLI ] { 1.0.9 }
- Constant [ string http\Client\Curl\Versions\NGHTTP2 ] { 1.51.0 }
+ Constant [ null http\Client\Curl\Versions\BROTLI ] { }
+ Constant [ string http\Client\Curl\Versions\NGHTTP2 ] { 1.62.1 }
Constant [ null http\Client\Curl\Versions\QUIC ] { }
Constant [ string http\Client\Curl\Versions\CAINFO ] { /etc/pki/tls/certs/ca-bundle.crt }
Constant [ null http\Client\Curl\Versions\CAPATH ] { }
diff --git a/pecl_http-build.patch b/pecl_http-build.patch
deleted file mode 100644
index 887a6ed..0000000
--- a/pecl_http-build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 88e279db21e25244ecb6b804af0a6565db4ecbf1 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Mon, 29 Jan 2024 16:10:26 +0100
-Subject: [PATCH] Fix incompatible pointer types
-
----
- src/php_http_url.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/php_http_url.c b/src/php_http_url.c
-index 943a436c..459396f3 100644
---- a/src/php_http_url.c
-+++ b/src/php_http_url.c
-@@ -73,7 +73,7 @@ static inline char *localhostname(void)
- static php_http_url_t *php_http_url_from_env(void)
- {
- zval *https, *zhost, *zport;
-- long port;
-+ zend_long port;
- php_http_buffer_t buf;
-
- php_http_buffer_init_ex(&buf, MAX(PHP_HTTP_BUFFER_DEFAULT_SIZE, sizeof(php_http_url_t)<<2), PHP_HTTP_BUFFER_INIT_PREALLOC);
diff --git a/pecl_http-php84.patch b/pecl_http-php84.patch
deleted file mode 100644
index 93ca5b1..0000000
--- a/pecl_http-php84.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 74984d42a8b71fefc6f3400e0a569f778a0f101e Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 9 Jul 2024 15:33:05 +0200
-Subject: [PATCH 1/2] Fix header name for 8.4
-
----
- src/php_http_message_body.c | 4 ++++
- src/php_http_misc.c | 4 ++++
- 2 files changed, 8 insertions(+)
-
-diff --git a/src/php_http_message_body.c b/src/php_http_message_body.c
-index 8bde1a77..105e369c 100644
---- a/src/php_http_message_body.c
-+++ b/src/php_http_message_body.c
-@@ -12,7 +12,11 @@
-
- #include "php_http_api.h"
-
-+#if PHP_VERSION_ID < 80400
- #include "ext/standard/php_lcg.h"
-+#else
-+#include "ext/random/php_random.h"
-+#endif
-
- #define BOUNDARY_OPEN(body) \
- do {\
-diff --git a/src/php_http_misc.c b/src/php_http_misc.c
-index 261387f6..d5da37fd 100644
---- a/src/php_http_misc.c
-+++ b/src/php_http_misc.c
-@@ -12,7 +12,11 @@
-
- #include "php_http_api.h"
-
-+#if PHP_VERSION_ID < 80400
- #include "ext/standard/php_lcg.h"
-+#else
-+#include "ext/random/php_random.h"
-+#endif
- #include "zend_exceptions.h"
-
- /* SLEEP */
-
-From e0919d1756b661573a248c8b83705cd05094c0c8 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 9 Jul 2024 15:33:22 +0200
-Subject: [PATCH 2/2] Fix tests for 8.4
-
----
- tests/client002.phpt | 2 +-
- tests/client028.phpt | 2 +-
- tests/info002.phpt | 4 ++--
- 3 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/tests/client002.phpt b/tests/client002.phpt
-index d020f16e..8849ae94 100644
---- a/tests/client002.phpt
-+++ b/tests/client002.phpt
-@@ -15,7 +15,7 @@ echo "Test\n";
- class Observer implements SplObserver
- {
- #[ReturnTypeWillChange]
-- function update(SplSubject $client, http\Client\Request $request = null, StdClass $progress = null) {
-+ function update(SplSubject $client, ?http\Client\Request $request = null, ?StdClass $progress = null) {
- echo "P";
- /* fence against buggy infof() calls in some curl versions */
- $compare = $client->getProgressInfo($request);
-diff --git a/tests/client028.phpt b/tests/client028.phpt
-index f14fb8e5..58adc685 100644
---- a/tests/client028.phpt
-+++ b/tests/client028.phpt
-@@ -80,7 +80,7 @@ class UserHandler implements http\Client\Curl\User
- return count($this->client);
- }
-
-- function wait(int $timeout_ms = null) {
-+ function wait(?int $timeout_ms = null) {
- echo "W";
-
- if ($timeout_ms === null) {
-diff --git a/tests/info002.phpt b/tests/info002.phpt
-index 4d034403..44172b8d 100644
---- a/tests/info002.phpt
-+++ b/tests/info002.phpt
-@@ -37,13 +37,13 @@ Test
- http\Exception\BadMessageException: http\Message::__construct(): Failed to parse headers: unexpected character '\057' at pos 4 of 'HTTP/1.1 99 Apples in my Basket' in %sinfo002.php:%d
- Stack trace:
- #0 %sinfo002.php(%d): http\Message->__construct('HTTP/1.1 99 App...')
--#1 %sinfo002.php(%d): {closure}()
-+#1 %sinfo002.php(%d): {closur%s}()
- #2 %sinfo002.php(%d): trap(Object(Closure))
- #3 {main}
- http\Exception\BadMessageException: http\Message::__construct(): Failed to parse headers: unexpected character '\040' at pos 7 of 'CONNECT HTTP/1.1' in %sinfo002.php:%d
- Stack trace:
- #0 %sinfo002.php(%d): http\Message->__construct('CONNECT HTTP/1....')
--#1 %sinfo002.php(%d): {closure}()
-+#1 %sinfo002.php(%d): {closur%s}()
- #2 %sinfo002.php(%d): trap(Object(Closure))
- #3 {main}
- HTTP/1.1 200
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index 793b4c2..b2931fa 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -3,57 +3,44 @@
#
# Fedora spec file for php-pecl-http
#
-# Copyright (c) 2012-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2012-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
%if 0%{?scl:1}
-%scl_package php-pecl-http
+%scl_package php-pecl-http
%else
%global _root_prefix %{_prefix}
%endif
-%bcond_without libbrotli
+%bcond_without libbrotli
+%bcond_without tests
%global gh_commit a84b499418ee7b8992fd9e7e2abc661735a869bd
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner m6w6
%global gh_project ext-http
-#global gh_date 20150928
+%global pie_vend m6w6
+%global pie_proj ext-http
# The project is pecl_http but the extension is only http
-%global proj_name pecl_http
-%global pecl_name http
-%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%global proj_name pecl_http
+%global pecl_name http
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
# after 40-raphf
-%global ini_name 50-%{pecl_name}.ini
-%ifarch %{arm}
-# Test suite disabled because of erratic results on slow ARM (timeout)
-%bcond_with tests
-%else
-%bcond_without tests
-%endif
+%global ini_name 50-%{pecl_name}.ini
-%global upstream_version 4.2.4
+%global upstream_version 4.3.1
#global upstream_prever beta1
#global upstream_lower beta1
-%if 0%{?gh_date:1}
-%global sources %{gh_project}-%{gh_commit}
-%else
%global sources %{proj_name}-%{upstream_version}%{?upstream_prever}
-%endif
%global _configure ../%{sources}/configure
Name: %{?scl_prefix}php-pecl-http
Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}}
-%if 0%{?gh_date:1}
-Release: 0.10.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz
-%else
-Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
-%endif
Summary: Extended HTTP support
License: BSD-2-Clause
@@ -62,8 +49,7 @@ URL: https://pecl.php.net/package/pecl_http
# From http://www.php.net/manual/en/http.configuration.php
Source1: %{proj_name}.ini
-Patch0: %{proj_name}-build.patch
-Patch1: %{proj_name}-php84.patch
+Patch0: 0001-re-add-curl-7.61-specific-code.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -71,7 +57,7 @@ BuildRequires: %{?scl_prefix}php-devel >= 8.0
BuildRequires: %{?scl_prefix}php-spl
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: zlib-devel >= 1.2.0.4
-BuildRequires: curl-devel >= 7.18.2
+BuildRequires: curl-devel >= 7.61.1
# We require 73 to ensure we use the same version than PHP
BuildRequires: pkgconfig(icu-i18n) >= 73
BuildRequires: %{?scl_prefix}php-pecl-raphf-devel >= 2
@@ -93,12 +79,17 @@ Obsoletes: %{?scl_prefix}php-pecl-http1 < 2
# to allow migration from PHP 7 (last is 2.1.0)
Obsoletes: %{?scl_prefix}php-pecl-propro < 2.2
-Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# Extension
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
+Provides: %{?scl_prefix}php-pecl(%{proj_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{proj_name})%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
+Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -130,19 +121,15 @@ These are the files needed to compile programs using HTTP extension.
%prep
%setup -c -q
-%if 0%{?gh_date}
-mv NTS/package.xml .
-%endif
sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
cd %{sources}
%patch -P0 -p1
-%patch -P1 -p1
extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h)
-if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:dev}"; then
- : Error: Upstream HTTP version is now ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:dev}.
+if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
+ : Error: Upstream HTTP version is now ${extver}, expecting %{upstream_version}%{?upstream_prever}.
: Update the pdover macro and rebuild.
exit 1
fi
@@ -152,7 +139,6 @@ cp %{SOURCE1} %{ini_name}
mkdir NTS
%if %{with_zts}
-# Duplicate source tree for NTS / ZTS build
mkdir ZTS
%endif
@@ -184,22 +170,23 @@ grep IDNA config.h
cd %{sources}
%{__phpize}
+sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
cd ../NTS
peclconf %{__phpconfig}
-make %{?_smp_mflags}
+%make_build
%if %{with_zts}
cd ../ZTS
peclconf %{__ztsphpconfig}
-make %{?_smp_mflags}
+%make_build
%endif
%install
%{?dtsenable}
-make -C NTS install INSTALL_ROOT=%{buildroot}
+%make_install -C NTS
# Install XML package description
install -Dpm 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
@@ -208,7 +195,7 @@ install -Dpm 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml
install -Dpm644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
%if %{with_zts}
-make -C ZTS install INSTALL_ROOT=%{buildroot}
+%make_install -C ZTS
install -Dpm644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -271,13 +258,6 @@ TEST_PHP_ARGS="-n $modules -d extension=$PWD/../NTS/modules/%{pecl_name}.so" \
$modules \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep '^%{pecl_name}$'
-
-%if %{with tests}
-: Upstream test suite ZTS extension
-TEST_PHP_EXECUTABLE=%{__ztsphp} \
-TEST_PHP_ARGS="-n $modules -d extension=$PWD/../ZTS/modules/%{pecl_name}.so" \
-%{__ztsphp} -n run-tests.php -q --show-diff
-%endif
%endif
@@ -303,6 +283,42 @@ TEST_PHP_ARGS="-n $modules -d extension=$PWD/../ZTS/modules/%{pecl_name}.so" \
%changelog
+* Fri Oct 10 2025 Remi Collet <remi@remirepo.net> - 4.3.1-1
+- update to 4.3.1
+- open https://github.com/m6w6/ext-http/issues/151
+ test suite hangs with old libcurl (EL-8)
+- fix build with libcurl 7.61 (EL-8) using patch from
+ https://github.com/m6w6/ext-http/pull/152
+
+* Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 4.2.6-8
+- rebuild for PHP 8.5.0RC1
+
+* Mon Sep 1 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-7
+- add upstream patches for 8.5.0beta2
+
+* Wed Jul 30 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-6
+- ignore 1 test with PHP 8.5.0apha3 reported as
+ https://github.com/m6w6/ext-http/issues/150
+
+* Fri Jul 18 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-5
+- add patch for test suite with PHP 8.5.0apha2 from
+ https://github.com/m6w6/ext-http/pull/149
+
+* Tue Jul 8 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-4
+- add patch for test suite with PHP 8.5.0alpha1 from
+ https://github.com/m6w6/ext-http/pull/148
+
+* Thu Jan 23 2025 Remi Collet <remi@fedoraproject.org> - 4.2.6-3
+- fix incompatible pointer type FTBFS #2341063
+ using patch from https://github.com/m6w6/ext-http/pull/143
+- re-license spec file to CECILL-2.1
+
+* Wed Nov 6 2024 Remi Collet <remi@remirepo.net> - 4.2.6-1
+- update to 4.2.6
+
+* Mon Sep 30 2024 Remi Collet <remi@remirepo.net> - 4.2.4-6
+- add upstream patch for libcurl 8.9
+
* Tue Jul 9 2024 Remi Collet <remi@remirepo.net> - 4.2.4-5
- Fix build with PHP 8.4 using patch from
https://github.com/m6w6/ext-http/pull/135