Add support for stomp

pull/391/head
Michele Locati 2021-07-15 09:47:39 +02:00
parent 2984ef0a40
commit 56393d436e
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
3 changed files with 33 additions and 0 deletions

View File

@ -82,6 +82,7 @@ sockets 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 solr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1
ssh2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 ssh2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
stomp 5.5 5.6 7.0 7.1 7.2 7.3 7.4
swoole 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 swoole 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
sybase_ct 5.5 5.6 sybase_ct 5.5 5.6
sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 sysvmsg 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1

View File

@ -851,6 +851,13 @@ buildRequiredPackageLists() {
ssh2@debian) ssh2@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libssh2-1-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libssh2-1-dev"
;; ;;
stomp@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent $buildRequiredPackageLists_libssl"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev"
;;
stomp@debian)
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile $buildRequiredPackageLists_libssldev"
;;
swoole@alpine) swoole@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent postgresql-libs libstdc++ $buildRequiredPackageLists_libssl" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent postgresql-libs libstdc++ $buildRequiredPackageLists_libssl"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev postgresql-dev linux-headers $buildRequiredPackageLists_libssldev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile curl-dev postgresql-dev linux-headers $buildRequiredPackageLists_libssldev"
@ -2047,6 +2054,18 @@ installRemoteModule() {
fi fi
fi fi
;; ;;
stomp)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=1.0.9
fi
fi
if test "$DISTRO" = debian; then
addConfigureOption with-openssl-dir yes
else
addConfigureOption with-openssl-dir /usr
fi
;;
swoole) swoole)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 502; then if test $PHP_MAJMIN_VERSION -le 502; then

13
scripts/tests/stomp Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
set -o errexit
set -o nounset
rc=0
if test -z "$(php --ri stomp | grep 'SSL Support => enabled')"; then
echo 'stomp has not been compiled with SSL support' >&2
rc=1
else
echo 'stomp has been compiled with SSL support'
fi
exit $rc