Add support for mongo/mongodb extensions

pull/57/head
Michele Locati 2019-12-12 12:41:49 +01:00
parent 3f1b4452f0
commit 82bd7ea934
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 25 additions and 0 deletions

View File

@ -19,6 +19,8 @@ ldap 5.6 7.0 7.1 7.2 7.3 7.4
mcrypt 5.6 7.0 7.1 7.2 7.3 7.4
memcache 5.6
memcached 5.6 7.0 7.1 7.2 7.3 7.4
mongo 5.6
mongodb 5.6 7.0 7.1 7.2 7.3 7.4
msgpack 5.6 7.0 7.1 7.2 7.3 7.4
mssql 5.6
mysql 5.6

View File

@ -317,6 +317,24 @@ buildRequiredPackageLists () {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libmemcachedutil2"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmemcached-dev zlib1g-dev"
;;
mongo@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libsasl libssl1.0"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS openssl-dev cyrus-sasl-dev"
;;
mongo@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libssl-dev libsasl2-dev"
;;
mongodb@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent icu-libs libsasl snappy"
if test -z "$(apk info | grep -E ^libssl)"; then
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libssl1.0"
fi
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS icu-dev cyrus-sasl-dev snappy-dev openssl-dev zlib-dev"
;;
mongodb@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libsnappy1v5"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libicu-dev libsasl2-dev libsnappy-dev libssl-dev zlib1g-dev"
;;
msgpack@alpine)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS"
;;
@ -814,6 +832,11 @@ installPECLModule () {
installPECLModule_stdin="${installPECLModule_stdin}yes\n"
fi
;;
mongo)
installPECLModule_stdin=''
# --with-mongo-sasl (default: no) Build with Cyrus SASL (MongoDB Enterprise Authentication) support?
installPECLModule_stdin="${installPECLModule_stdin}yes\n"
;;
msgpack)
if test $1 -le 506; then
installPECLModule_actual="$2-0.5.7"