Merge pull request #240 from mlocati/yar

Add support for yar
pull/245/head
Michele Locati 2021-01-05 15:24:05 +01:00 committed by GitHub
commit a6128d14d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -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 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 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 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 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 zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4

View File

@ -818,6 +818,13 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libyaml-0-2" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libyaml-0-2"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libyaml-dev" 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) zip@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libzip" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libzip"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake gnutls-dev libzip-dev libressl-dev zlib-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile cmake gnutls-dev libzip-dev libressl-dev zlib-dev"
@ -1910,6 +1917,21 @@ installRemoteModule() {
fi fi
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) zookeeper)
case "$DISTRO" in case "$DISTRO" in
alpine) alpine)