From 561f1d33383fc626ae42de81002ef347eb7b0d65 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 3 Sep 2024 18:07:17 +0200 Subject: [PATCH 01/24] Fix installing ev on PHP < 8.0 (#969) --- install-php-extensions | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index 2de0b1eb..cd1150a9 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3067,6 +3067,13 @@ installRemoteModule() { installRemoteModule_version=alpha fi ;; + ev) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -lt 800; then + installRemoteModule_version=1.1.5 + fi + fi + ;; event) installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")" if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 2.4.0) -ge 0; then From 742bf56caec3075a237a988bf8bfa6abe1e86d2e Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 6 Sep 2024 15:08:56 +0200 Subject: [PATCH 02/24] Update snuffleupagus to v0.11.0 (#971) --- data/supported-extensions | 2 +- install-php-extensions | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/supported-extensions b/data/supported-extensions index 806d27ff..a9dd20f6 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -102,7 +102,7 @@ simdjson 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 smbclient 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 snappy 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 snmp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -snuffleupagus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +snuffleupagus 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 soap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 sodium 5.6 7.0 7.1 diff --git a/install-php-extensions b/install-php-extensions index cd1150a9..73d8be82 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3846,10 +3846,10 @@ installRemoteModule() { snuffleupagus) if test -z "$installRemoteModule_path"; then if test -z "$installRemoteModule_version"; then - if test $PHP_MAJMIN_VERSION -le 704; then + if test $PHP_MAJMIN_VERSION -le 800; then installRemoteModule_version=0.9.0 else - installRemoteModule_version=0.10.0 + installRemoteModule_version=0.11.0 fi fi installRemoteModule_src="$(getPackageSource https://codeload.github.com/jvoisin/snuffleupagus/tar.gz/v$installRemoteModule_version)" From a0754bf9d5568bd0e82161d701659f8ce8bb2b2d Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 6 Sep 2024 13:09:11 +0000 Subject: [PATCH 03/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3add52ea..e578ac9f 100644 --- a/README.md +++ b/README.md @@ -305,7 +305,7 @@ install-php-extensions @fix_letsencrypt | smbclient | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | snappy | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | snmp | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| snuffleupagus | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | +| snuffleupagus | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | soap | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | sockets | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | sodium[*](#special-requirements-for-sodium) | | | | | | | | | ✓ | ✓ | ✓ | | From e48ac94508d644c7368cb9b5ac37687c76c40168 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 6 Sep 2024 15:17:27 +0200 Subject: [PATCH 04/24] Support pdo_oci on PHP 8.4 (#972) --- data/supported-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index a9dd20f6..682e28e8 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -76,7 +76,7 @@ pcov 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 pdo_dblib 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pdo_firebird 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pdo_mysql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -pdo_oci 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +pdo_oci 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pdo_odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pdo_pgsql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pdo_sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 From e0676b55ceccc4b145e4516785c6681453ecfe1c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 6 Sep 2024 13:17:40 +0000 Subject: [PATCH 05/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e578ac9f..c09c1cee 100644 --- a/README.md +++ b/README.md @@ -279,7 +279,7 @@ install-php-extensions @fix_letsencrypt | pdo_dblib | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | pdo_firebird | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | pdo_mysql | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| pdo_oci | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | +| pdo_oci | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | pdo_odbc | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | pdo_pgsql | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | pdo_sqlsrv | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | From 46c6aa63765fcd4bf03f4818d6bdfc95dcca9f2f Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 6 Sep 2024 15:28:01 +0200 Subject: [PATCH 06/24] Support ionCube Loader on PHP 8.3 (#973) --- data/supported-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 682e28e8..7097e58c 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -40,7 +40,7 @@ inotify 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 interbase 5.5 5.6 7.0 7.1 7.2 7.3 intl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 ion 8.1 8.2 8.3 8.4 -ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.1 8.2 +ioncube_loader 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.1 8.2 8.3 jsmin 5.5 5.6 7.0 7.1 7.2 7.3 7.4 json_post 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 jsonpath 7.4 8.0 8.1 8.2 8.3 8.4 From 9a03eb347d4588c46c4d1d92f3b76928ac68e828 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 6 Sep 2024 13:28:14 +0000 Subject: [PATCH 07/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c09c1cee..d5950539 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ install-php-extensions @fix_letsencrypt | interbase | | | | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | intl | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | ion | ✓ | ✓ | ✓ | ✓ | | | | | | | | | -| ioncube_loader | | | ✓ | ✓ | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| ioncube_loader | | ✓ | ✓ | ✓ | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | jsmin | | | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | json_post | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | jsonpath | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | | From 34b3f1d131fc7897435e8270748ee0b0271fdf53 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 8 Sep 2024 11:03:16 +0200 Subject: [PATCH 08/24] Allow launching actions from web interface --- .github/workflows/monitor-php8.4.yml | 1 + .github/workflows/readme-release.yml | 1 + .github/workflows/test-recent-extensions.yml | 1 + .github/workflows/test-sending-notifications.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/monitor-php8.4.yml b/.github/workflows/monitor-php8.4.yml index 4e7aec29..52b3d1bb 100644 --- a/.github/workflows/monitor-php8.4.yml +++ b/.github/workflows/monitor-php8.4.yml @@ -6,6 +6,7 @@ on: repository_dispatch: types: - monitor-php8.4 + workflow_dispatch: jobs: test_extensions: diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index e8a91b11..1a567d15 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -10,6 +10,7 @@ on: repository_dispatch: types: - readme-release + workflow_dispatch: jobs: readme-release: diff --git a/.github/workflows/test-recent-extensions.yml b/.github/workflows/test-recent-extensions.yml index d51c926d..827da639 100644 --- a/.github/workflows/test-recent-extensions.yml +++ b/.github/workflows/test-recent-extensions.yml @@ -6,6 +6,7 @@ on: repository_dispatch: types: - test-recent-extensions + workflow_dispatch: jobs: determine_extension_list: diff --git a/.github/workflows/test-sending-notifications.yml b/.github/workflows/test-sending-notifications.yml index f1264cb5..d17b37a2 100644 --- a/.github/workflows/test-sending-notifications.yml +++ b/.github/workflows/test-sending-notifications.yml @@ -4,6 +4,7 @@ on: repository_dispatch: types: - test-sending-notifications + workflow_dispatch: jobs: send_sampe_notification: From 4e8a3a3ff2699b48519a6ca7a9184e2c48d68315 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 8 Sep 2024 11:14:19 +0200 Subject: [PATCH 09/24] test-recent-extensions action: update actions version --- .github/workflows/test-recent-extensions.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-recent-extensions.yml b/.github/workflows/test-recent-extensions.yml index 827da639..a51af1e6 100644 --- a/.github/workflows/test-recent-extensions.yml +++ b/.github/workflows/test-recent-extensions.yml @@ -27,10 +27,12 @@ jobs: fi printf "$EXTENSIONS_TO_TEST" > extensions-to-test.txt - name: Persist list of extensions to be tested - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: artifact path: extensions-to-test.txt + if-no-files-found: error + retention-days: 1 test_extensions: runs-on: ubuntu-latest needs: determine_extension_list @@ -62,12 +64,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Loading list of extensions to be tested - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: artifact - name: Test extensions run: | - EXTENSIONS_TO_TEST="$(cat artifact/extensions-to-test.txt)" + EXTENSIONS_TO_TEST="$(cat extensions-to-test.txt)" if test -z "$EXTENSIONS_TO_TEST"; then echo 'No extensions to be tested' else From 7b907338850c7b882131bf3a6d0137adb8462e56 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 9 Sep 2024 17:09:41 +0200 Subject: [PATCH 10/24] Add support for xpass (#976) --- data/special-requirements | 1 + data/supported-extensions | 1 + install-php-extensions | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) diff --git a/data/special-requirements b/data/special-requirements index f5a98d23..c0cc3312 100644 --- a/data/special-requirements +++ b/data/special-requirements @@ -14,3 +14,4 @@ sodium !jessie sqlsrv !7.1-alpine3.9 !7.1-alpine3.10 vips !alpine3.9 !jessie wikidiff2 !jessie !stretch +xpass !buster diff --git a/data/supported-extensions b/data/supported-extensions index 7097e58c..5859385b 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -136,6 +136,7 @@ xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 xmldiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 +xpass 8.0 8.1 8.2 8.3 8.4 xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 yac 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 diff --git a/install-php-extensions b/install-php-extensions index 73d8be82..29e0e075 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1554,6 +1554,12 @@ buildRequiredPackageLists() { xmlrpc@debian) buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxml2-dev" ;; + xpass@alpine) + if ! isLibXCryptInstalled; then + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile linux-headers" + COMPILE_LIBS="$COMPILE_LIBS libxcrypt" + fi + ;; xsl@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libxslt" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libxslt-dev libgcrypt-dev" @@ -2423,6 +2429,25 @@ installFirebird() { cd - >/dev/null fi } + +isLibXCryptInstalled() { + if ! test -f /usr/local/lib/libcrypt.so && ! test -f /usr/lib/libcrypt.so && ! test -f /usr/lib/x86_64*/libcrypt.so; then + return 1 + fi + return 0 +} + +installLibXCrypt() { + printf 'Installing libxcrypt\n' + installLibXCrypt_version=4.4.36 + installLibXCrypt_src="$(getPackageSource "https://github.com/besser82/libxcrypt/releases/download/v$installLibXCrypt_version/libxcrypt-$installLibXCrypt_version.tar.xz")" + cd -- "$installLibXCrypt_src" + ./configure --prefix /usr + make -j$(getProcessorCount) + make install + cd - >/dev/null +} + # Install Composer installComposer() { installComposer_version="$(getWantedPHPModuleVersion @composer)" @@ -2618,6 +2643,9 @@ compileLibs() { if stringInList firebird "$COMPILE_LIBS"; then installFirebird fi + if stringInList libxcrypt "$COMPILE_LIBS"; then + installLibXCrypt + fi } # Install a bundled PHP module given its handle From b84f0fb1c977d01de4baa10de8277b3303f70413 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 9 Sep 2024 15:09:53 +0000 Subject: [PATCH 11/24] [skip ci] Automatically update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d5950539..578b581d 100644 --- a/README.md +++ b/README.md @@ -339,6 +339,7 @@ install-php-extensions @fix_letsencrypt | xlswriter | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | xmldiff | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | xmlrpc | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| xpass[*](#special-requirements-for-xpass) | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | | | | xsl | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | yac | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | yaml | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | @@ -349,7 +350,7 @@ install-php-extensions @fix_letsencrypt | zookeeper | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | zstd | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -*Number of supported extensions: 147* +*Number of supported extensions: 148* PS: the pre-installed PHP extensions are excluded from this list. @@ -455,6 +456,7 @@ Some extensions have special requirements: | sqlsrv | • Not available in `7.1-alpine3.9` docker images
• Not available in `7.1-alpine3.10` docker images | | vips | • Not available in `alpine3.9` docker images
• Not available in `jessie` docker images | | wikidiff2 | • Not available in `jessie` docker images
• Not available in `stretch` docker images | +| xpass | Not available in `buster` docker images | ### How do I know which Linux distribution I am using? From 186b3b19a8d3646eeaa87b90b9c96321bf086a08 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 9 Sep 2024 17:28:50 +0200 Subject: [PATCH 12/24] Upgrade docker/login-action@v1 to docker/login-action@v3 --- .github/workflows/readme-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index 1a567d15..5d67b331 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -154,7 +154,7 @@ jobs: run: sed -i -E "s/^(IPE_VERSION=)master$/\1$VERSIONTAG_THIS/" install-php-extensions - name: Login to Docker Hub if: env.VERSIONTAG_THIS != '' - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: mlocati password: ${{ secrets.DOCKERHUB_TOKEN }} From d4a1c15926b76ae62c7f91d5855c54cd257ab30d Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 9 Sep 2024 17:38:17 +0200 Subject: [PATCH 13/24] Use softprops/action-gh-release@v2 action instead of deprecated actions/create-release & actions/upload-release-asset --- .github/workflows/readme-release.yml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index 5d67b331..789351d2 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -171,24 +171,15 @@ jobs: if: env.VERSIONTAG_THIS != '' run: docker push --all-tags mlocati/php-extension-installer - name: Create release - id: create_release if: env.VERSIONTAG_THIS != '' - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 with: tag_name: ${{ env.VERSIONTAG_THIS }} - release_name: ${{ env.RELEASE_NAME }} + name: ${{ env.RELEASE_NAME }} body: ${{ env.RELEASE_NOTES }} draft: false prerelease: false - - name: Upload release asset - if: env.VERSIONTAG_THIS != '' - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./install-php-extensions - asset_name: install-php-extensions - asset_content_type: application/octet-stream + generate_release_notes: false + fail_on_unmatched_files: true + files: | + install-php-extensions From 96eb62e1d32cc58202e51e8c23dda01e6eafbe0b Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 9 Sep 2024 17:39:17 +0200 Subject: [PATCH 14/24] Minor change --- .github/workflows/readme-release.yml | 42 ++++++++++++++++++---------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/.github/workflows/readme-release.yml b/.github/workflows/readme-release.yml index 789351d2..1e413d14 100644 --- a/.github/workflows/readme-release.yml +++ b/.github/workflows/readme-release.yml @@ -18,7 +18,8 @@ jobs: env: VERSIONTAG_THIS: "" steps: - - name: Checkout + - + name: Checkout if: > (github.event_name == 'push' && github.ref == 'refs/heads/master') || (github.event_name == 'create' && github.event.ref_type == 'tag') @@ -27,7 +28,8 @@ jobs: with: ref: master fetch-depth: 0 - - name: Update README + - + name: Update README if: > (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'repository_dispatch' @@ -43,7 +45,8 @@ jobs: git commit -m '[skip ci] Automatically update README.md' git push fi - - name: Look for the recent version tags + - + name: Look for the recent version tags if: > (github.event_name == 'push' && github.ref == 'refs/heads/master') || (github.event_name == 'create' && github.event.ref_type == 'tag') @@ -69,7 +72,8 @@ jobs: fi printf 'VERSIONTAG_LAST=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV" printf 'VERSIONTAG_PENULTIMATE=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV" - - name: Check if we need to create a version tag after a push + - + name: Check if we need to create a version tag after a push if: github.event_name == 'push' && github.ref == 'refs/heads/master' run: | VERSIONTAG_THIS= @@ -96,17 +100,20 @@ jobs: fi printf 'VERSIONTAG_THIS=%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV" printf 'VERSIONTAG_PREVIOUS=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV" - - name: Sleep for a while before creating a tag + - + name: Sleep for a while before creating a tag if: env.VERSIONTAG_THIS != '' uses: juliangruber/sleep-action@v1 with: time: 30s - - name: Create version tag after a push in the local repository + - + name: Create version tag after a push in the local repository if: env.VERSIONTAG_THIS != '' run: | git tag -- "$VERSIONTAG_THIS" printf 'VERSIONTAG_THIS_SHA=%s\n' "$(git rev-parse HEAD)" >> "$GITHUB_ENV" - - name: Create version tag after a push in the remote repository + - + name: Create version tag after a push in the remote repository if: env.VERSIONTAG_THIS != '' uses: actions/github-script@v3 with: @@ -118,7 +125,8 @@ jobs: ref: `refs/tags/${process.env.VERSIONTAG_THIS}`, sha: process.env.VERSIONTAG_THIS_SHA }) - - name: Check format of received tag + - + name: Check format of received tag if: github.event_name == 'create' && github.event.ref_type == 'tag' run: | VERSIONTAG_THIS="${GITHUB_REF#refs/tags/}" @@ -135,7 +143,8 @@ jobs: fi printf 'VERSIONTAG_THIS=%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV" printf 'VERSIONTAG_PREVIOUS=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV" - - name: Extract release notes + - + name: Extract release notes if: env.VERSIONTAG_THIS != '' run: | printf 'Generating release notes for tag %s\n' "$VERSIONTAG_THIS" @@ -149,16 +158,19 @@ jobs: printf 'Release notes:\n%s\n' "$RELEASE_NOTES" printf 'RELEASE_NAME=v%s\n' "$VERSIONTAG_THIS" >> "$GITHUB_ENV" printf 'RELEASE_NOTES<> "$GITHUB_ENV" - - name: Set script version + - + name: Set script version if: env.VERSIONTAG_THIS != '' run: sed -i -E "s/^(IPE_VERSION=)master$/\1$VERSIONTAG_THIS/" install-php-extensions - - name: Login to Docker Hub + - + name: Login to Docker Hub if: env.VERSIONTAG_THIS != '' uses: docker/login-action@v3 with: username: mlocati password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build docker image + - + name: Build docker image if: env.VERSIONTAG_THIS != '' run: > docker build @@ -167,10 +179,12 @@ jobs: --tag "mlocati/php-extension-installer:${VERSIONTAG_THIS%%.*}" --tag mlocati/php-extension-installer:latest . - - name: Push docker image to Docker Hub + - + name: Push docker image to Docker Hub if: env.VERSIONTAG_THIS != '' run: docker push --all-tags mlocati/php-extension-installer - - name: Create release + - + name: Create release if: env.VERSIONTAG_THIS != '' uses: softprops/action-gh-release@v2 with: From cc1a94fc1671b41b75f220d5220b877b35684eb9 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 20 Sep 2024 14:04:27 +0200 Subject: [PATCH 15/24] APCu doesn't work with PHP 8.4 at the moment (#977) See https://github.com/krakjoe/apcu/issues/523 --- data/supported-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 5859385b..91bc2ab5 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -1,5 +1,5 @@ amqp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 +apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 apcu_bc 7.0 7.1 7.2 7.3 7.4 ast 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 bcmath 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 From 253d769ab6920ab5cceb2380199c0b7ca3755726 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 20 Sep 2024 12:04:40 +0000 Subject: [PATCH 16/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 578b581d..17c3024b 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ install-php-extensions @fix_letsencrypt | Extension | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 | PHP 8.0 | PHP 7.4 | PHP 7.3 | PHP 7.2 | PHP 7.1 | PHP 7.0 | PHP 5.6 | PHP 5.5 | |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| | amqp | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| apcu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| apcu | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | apcu_bc | | | | | | ✓ | ✓ | ✓ | ✓ | ✓ | | | | ast | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | bcmath | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | From be508269ae6515d36db5b5bc7d67e7f40819aba2 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 21 Sep 2024 22:15:58 +0200 Subject: [PATCH 17/24] apcu: add support for PHP 8.4 (#978) --- data/supported-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 91bc2ab5..5859385b 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -1,5 +1,5 @@ amqp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 apcu_bc 7.0 7.1 7.2 7.3 7.4 ast 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 bcmath 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 From 504727daa183dbaa6b4feacbbbe8b3b042a2e858 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 21 Sep 2024 20:16:14 +0000 Subject: [PATCH 18/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17c3024b..578b581d 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ install-php-extensions @fix_letsencrypt | Extension | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 | PHP 8.0 | PHP 7.4 | PHP 7.3 | PHP 7.2 | PHP 7.1 | PHP 7.0 | PHP 5.6 | PHP 5.5 | |:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:| | amqp | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| apcu | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| apcu | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | apcu_bc | | | | | | ✓ | ✓ | ✓ | ✓ | ✓ | | | | ast | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | bcmath | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | From eb55ad5cb44fa2af4f7c0e327be14937b3ad6a5b Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 30 Sep 2024 15:58:07 +0200 Subject: [PATCH 19/24] mailparse doesn't support PHP 8.4 anymore (#980) Error: implicit declaration of function 'php_strtolower' From https://github.com/php/php-src/blob/php-8.4.0RC1/UPGRADING.INTERNALS: The php_strtoupper(), php_string_toupper(), php_strtolower(), and php_string_tolower() functions has been removed, use zend_str_toupper(), zend_string_toupper(), zend_str_tolower(), and zend_string_tolower() respectively instead. --- data/supported-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 5859385b..9a9a73f0 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -48,7 +48,7 @@ ldap 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 luasandbox 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 lz4 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 +mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 maxminddb 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 mcrypt 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 memcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 From 444a3768ffff31120b39d407a7cfda311f2d2849 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 30 Sep 2024 13:58:21 +0000 Subject: [PATCH 20/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 578b581d..25da57ba 100644 --- a/README.md +++ b/README.md @@ -251,7 +251,7 @@ install-php-extensions @fix_letsencrypt | luasandbox | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | lz4[*](#special-requirements-for-lz4) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | lzf | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| mailparse | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| mailparse | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | maxminddb | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | mcrypt | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | memcache | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | From 8fda930a7b24b3f569836ca559c42d4f907c512e Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 30 Sep 2024 16:03:37 +0200 Subject: [PATCH 21/24] seaslog doesn't support PHP 8.4 anymore (#981) Error: implicit declaration of function 'php_mkdir_ex' From https://github.com/php/php-src/blob/php-8.4.0RC1/UPGRADING.INTERNALS: The php_mkdir() and php_mkdir_ex() APIs have been removed, use php_stream_mkdir() instead. --- data/supported-extensions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/supported-extensions b/data/supported-extensions index 9a9a73f0..78cd2209 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -96,7 +96,7 @@ redis 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 relay 7.4 8.0 8.1 8.2 8.3 saxon 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 seasclick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 -seaslog 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 +seaslog 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 shmop 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 simdjson 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 smbclient 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 From f6f86702886f176007535078a4fbe0749afa4dc6 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 30 Sep 2024 14:03:50 +0000 Subject: [PATCH 22/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25da57ba..213469ed 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,7 @@ install-php-extensions @fix_letsencrypt | relay | | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | | | saxon[*](#special-requirements-for-saxon) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | seasclick | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| seaslog | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| seaslog | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | shmop | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | simdjson[*](#special-requirements-for-simdjson) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | smbclient | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | From 6e958ede38990a0d227827566166e1a14fdef30e Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 30 Sep 2024 16:11:00 +0200 Subject: [PATCH 23/24] spx: add support for PHP 8.4 (#982) --- data/supported-extensions | 2 +- install-php-extensions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/supported-extensions b/data/supported-extensions index 78cd2209..504f0e6a 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -108,7 +108,7 @@ sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 sodium 5.6 7.0 7.1 solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 sourceguardian 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 -spx 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +spx 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 ssh2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 stomp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.2 8.3 8.4 diff --git a/install-php-extensions b/install-php-extensions index 29e0e075..1655976d 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3921,7 +3921,7 @@ installRemoteModule() { spx) if test -z "$installRemoteModule_path"; then if test -z "$installRemoteModule_version"; then - installRemoteModule_version=v0.4.16 + installRemoteModule_version=v0.4.17 fi if test "${installRemoteModule_version%.*}" = "$installRemoteModule_version"; then installRemoteModule_displayVersion="$installRemoteModule_version" From 037831380bf94355e90a77dbe8a4c886092b1d08 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 30 Sep 2024 14:11:14 +0000 Subject: [PATCH 24/24] [skip ci] Automatically update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 213469ed..5f6d6557 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ install-php-extensions @fix_letsencrypt | sodium[*](#special-requirements-for-sodium) | | | | | | | | | ✓ | ✓ | ✓ | | | solr | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | sourceguardian | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | -| spx | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| spx | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | sqlsrv[*](#special-requirements-for-sqlsrv) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | ssh2 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | stomp | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |