diff --git a/data/supported-extensions b/data/supported-extensions index 9e986d5..5a83031 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -87,5 +87,6 @@ xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 +yar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4 diff --git a/install-php-extensions b/install-php-extensions index d72cd40..6883f80 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -818,6 +818,13 @@ buildRequiredPackageLists() { buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libyaml-0-2" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libyaml-dev" ;; + yar@alpine) + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev" + ;; + yar@debian) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libcurl3-gnutls" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libcurl4-gnutls-dev" + ;; zip@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libzip" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake gnutls-dev libzip-dev libressl-dev zlib-dev" @@ -1910,6 +1917,21 @@ installRemoteModule() { fi fi ;; + yar) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -le 506; then + installRemoteModule_version=1.2.5 + fi + fi + if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 1.2.4) -ge 0; then + # Enable Msgpack Supports + if php --ri msgpack >/dev/null 2>/dev/null; then + addConfigureOption enable-msgpack yes + else + addConfigureOption enable-msgpack no + fi + fi + ;; zookeeper) case "$DISTRO" in alpine)