From 9395d89ec093d24a5195c9c2571a449ff621ec89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sat, 11 Jun 2022 17:10:23 +0200 Subject: [PATCH] Add sockets PHP 8.2 support (#590) --- data/supported-extensions | 2 +- install-php-extensions | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 6add410..8b672c3 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -87,7 +87,7 @@ smbclient 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 snmp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 snuffleupagus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 -sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 sodium 5.6 7.0 7.1 8.2 solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 sourceguardian 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 diff --git a/install-php-extensions b/install-php-extensions index bb90065..9955a35 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1106,6 +1106,11 @@ buildRequiredPackageLists() { soap@debian) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxml2-dev" ;; + sockets@alpine) + if test $PHP_MAJMIN_VERSION -ge 802; then + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile linux-headers" + fi + ;; sodium@alpine | libsodium@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libsodium" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libsodium-dev"