php8-pecl-http: add compile-time hint about TLS13 ciphers (fixes #17332) 17395/head
authorMichael Heimpold <mhei@heimpold.de>
Sun, 19 Dec 2021 13:33:14 +0000 (14:33 +0100)
committerMichael Heimpold <mhei@heimpold.de>
Sun, 19 Dec 2021 13:49:32 +0000 (14:49 +0100)
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 <mhei@heimpold.de>
lang/php8-pecl-http/Makefile

index c5ff0a52abc2578d7dbb7489fc05ab87ddd7e8b9..3caea50f1b2e538ead958dee453d6c591fa28155 100644 (file)
@@ -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 \