From 3083278fa9f9464b8da95cbd5801a1eb38500cf7 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Sun, 19 Dec 2021 14:33:14 +0100 Subject: [PATCH] php8-pecl-http: add compile-time hint about TLS13 ciphers (fixes #17332) When cURL is built with OpenSSL as backend SSL/TLS library, pecl_http's configure tries to detect whether TLS 1.3 ciphers are enabled. This does not work when cross-compiling so let's pass it based on OpenSSL build configuration. Signed-off-by: Michael Heimpold --- lang/php8-pecl-http/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/php8-pecl-http/Makefile b/lang/php8-pecl-http/Makefile index c5ff0a52a..3caea50f1 100644 --- a/lang/php8-pecl-http/Makefile +++ b/lang/php8-pecl-http/Makefile @@ -9,7 +9,7 @@ PECL_NAME:=pecl_http PECL_LONGNAME:=Extended HTTP Support PKG_VERSION:=4.2.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_HASH:=ab07d55ccdfa897c897c26f1c0851b557b363431766c9ea4c799ea61443bdcdc PKG_NAME:=php8-pecl-http @@ -43,6 +43,7 @@ CONFIGURE_VARS+= \ PECL_cv_HAVE_LIBCURL_axTLS=no \ PECL_cv_LIBCURL_TLSAUTH_SRP=$(if $(CONFIG_LIBCURL_TLS_SRP),yes,no) \ PECL_cv_LIBCURL_SHARE_SSL=yes \ + PECL_cv_LIBCURL_TLS13_CIPHERS=$(if $(CONFIG_OPENSSL_WITH_TLS13),yes,no) \ CONFIGURE_ARGS+= \ --with-http \