From 2d0b8b0d99eb528bc9aeb5e37bf4a3aa436b65a6 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Fri, 20 Jan 2023 17:02:26 +0100 Subject: [PATCH] Install alpha versions of the ION extension (#680) There's no stable/beta version published on PECL --- MAINTAINERS.md | 6 ++++-- install-php-extensions | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 5772d9a..3e76974 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -61,8 +61,10 @@ We need to monitor new releases at https://jprs.co.jp/idn ### ion -We manually compile the `ion-c` library. -We need to monitor new releases at https://github.com/amzn/ion-c/releases +- We manually compile the `ion-c` library. + We need to monitor new releases at https://github.com/amzn/ion-c/releases +- The only available versions of the `ion` PHP extension are all alpha. + We should switch to the stable release once it will be available. ### ionCube Loader diff --git a/install-php-extensions b/install-php-extensions index 4a205cc..95517a8 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2741,6 +2741,9 @@ installRemoteModule() { fi ;; ion) + if test -z "$installRemoteModule_version"; then + installRemoteModule_version=alpha + fi if ! test -f /usr/local/lib/libionc.so || ! test -f /usr/local/include/ionc/ion.h; then echo 'Installing ion-c... ' installRemoteModule_src="$(mktemp -p /tmp/src -d)"