Browse Source

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 <mhei@heimpold.de>
lilik-openwrt-22.03
Michael Heimpold 3 years ago
parent
commit
3083278fa9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lang/php8-pecl-http/Makefile

+ 2
- 1
lang/php8-pecl-http/Makefile View File

@ -9,7 +9,7 @@ PECL_NAME:=pecl_http
PECL_LONGNAME:=Extended HTTP Support PECL_LONGNAME:=Extended HTTP Support
PKG_VERSION:=4.2.1 PKG_VERSION:=4.2.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_HASH:=ab07d55ccdfa897c897c26f1c0851b557b363431766c9ea4c799ea61443bdcdc PKG_HASH:=ab07d55ccdfa897c897c26f1c0851b557b363431766c9ea4c799ea61443bdcdc
PKG_NAME:=php8-pecl-http PKG_NAME:=php8-pecl-http
@ -43,6 +43,7 @@ CONFIGURE_VARS+= \
PECL_cv_HAVE_LIBCURL_axTLS=no \ PECL_cv_HAVE_LIBCURL_axTLS=no \
PECL_cv_LIBCURL_TLSAUTH_SRP=$(if $(CONFIG_LIBCURL_TLS_SRP),yes,no) \ PECL_cv_LIBCURL_TLSAUTH_SRP=$(if $(CONFIG_LIBCURL_TLS_SRP),yes,no) \
PECL_cv_LIBCURL_SHARE_SSL=yes \ PECL_cv_LIBCURL_SHARE_SSL=yes \
PECL_cv_LIBCURL_TLS13_CIPHERS=$(if $(CONFIG_OPENSSL_WITH_TLS13),yes,no) \
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--with-http \ --with-http \


Loading…
Cancel
Save