Fix amqp for Debian 8 (Jessie)

Test: amqp
pull/73/head
Michele Locati 2019-12-20 15:01:47 +01:00
parent 32a0cc4262
commit 9b24025eab
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 10 additions and 1 deletions

View File

@ -214,7 +214,7 @@ buildRequiredPackageLists () {
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile rabbitmq-c-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile rabbitmq-c-dev"
;; ;;
amqp@debian) amqp@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent librabbitmq4" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent librabbitmq[0-9]"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile librabbitmq-dev libssh-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile librabbitmq-dev libssh-dev"
;; ;;
bz2@alpine) bz2@alpine)
@ -873,7 +873,16 @@ installPECLModule () {
installPECLModule_actual="$2" installPECLModule_actual="$2"
installPECLModule_stdin='\n' installPECLModule_stdin='\n'
installPECLModule_manuallyInstalled=0 installPECLModule_manuallyInstalled=0
installPECLModule_distroVersion="$(getDistroVersion)"
case "$2" in case "$2" in
amqp)
case "$installPECLModule_distroVersion" in
debian@8)
# in Debian Jessie we have librammitmq version 0.5.2
installPECLModule_actual="$2-1.9.3"
;;
esac
;;
apcu) apcu)
if test $1 -le 506; then if test $1 -le 506; then
installPECLModule_actual="$2-4.0.11" installPECLModule_actual="$2-4.0.11"