add kafka extension

pull/64/head
Minh-Quan TRAN 2019-12-18 15:13:56 +01:00
parent 9d30d8806f
commit 8201d060ab
No known key found for this signature in database
GPG Key ID: F59505DFB0B9AFD7
1 changed files with 13 additions and 0 deletions

View File

@ -431,6 +431,14 @@ buildRequiredPackageLists () {
pthreads@alpine)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $PHPIZE_DEPS"
;;
rdkafka@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent librdkafka"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile librdkafka-dev"
;;
rdkafka@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent librdkafka++1"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile librdkafka-dev"
;;
recode@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent recode"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile recode-dev"
@ -893,6 +901,11 @@ installPECLModule () {
installPECLModule_actual="$2-2.0.10"
fi
;;
rdkafka)
if test ! -z "$(apt-cache show librdkafka++1 | grep -E '^Version: 0.9')"; then
installPECLModule_actual="$2-3.1.3"
fi
;;
redis)
if test $1 -le 506; then
installPECLModule_actual="$2-4.3.0"