mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/zeromq: add websocket option
websocket support is available since version 4.3.3 and9be8334938It is enabled if --enable-drafts is passed by the user. websocket can use libnss or gnutls instead of its builtin SHA1 since7296fb5b15Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
aef744c13b
commit
85008cc884
@@ -59,4 +59,9 @@ config BR2_PACKAGE_ZEROMQ_DRAFTS
|
|||||||
|
|
||||||
https://pyzmq.readthedocs.io/en/latest/draft.html
|
https://pyzmq.readthedocs.io/en/latest/draft.html
|
||||||
|
|
||||||
|
config BR2_PACKAGE_ZEROMQ_WEBSOCKET
|
||||||
|
bool "WebSocket support"
|
||||||
|
help
|
||||||
|
Enable WebSocket transport
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -53,6 +53,19 @@ else
|
|||||||
ZEROMQ_CONF_OPTS += --disable-drafts
|
ZEROMQ_CONF_OPTS += --disable-drafts
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZEROMQ_WEBSOCKET),y)
|
||||||
|
ZEROMQ_CONF_OPTS += --enable-ws
|
||||||
|
else
|
||||||
|
ZEROMQ_CONF_OPTS += --disable-ws
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||||
|
ZEROMQ_DEPENDENCIES += host-pkgconf gnutls
|
||||||
|
ZEROMQ_CONF_OPTS += --with-tls
|
||||||
|
else
|
||||||
|
ZEROMQ_CONF_OPTS += --without-tls
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
||||||
ZEROMQ_DEPENDENCIES += host-pkgconf libbsd
|
ZEROMQ_DEPENDENCIES += host-pkgconf libbsd
|
||||||
ZEROMQ_CONF_OPTS += --enable-libbsd
|
ZEROMQ_CONF_OPTS += --enable-libbsd
|
||||||
@@ -60,6 +73,13 @@ else
|
|||||||
ZEROMQ_CONF_OPTS += --disable-libbsd
|
ZEROMQ_CONF_OPTS += --disable-libbsd
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
||||||
|
ZEROMQ_DEPENDENCIES += host-pkgconf libnss
|
||||||
|
ZEROMQ_CONF_OPTS += --with-nss
|
||||||
|
else
|
||||||
|
ZEROMQ_CONF_OPTS += --without-nss
|
||||||
|
endif
|
||||||
|
|
||||||
# ZeroMQ uses libsodium if it's available.
|
# ZeroMQ uses libsodium if it's available.
|
||||||
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
||||||
ZEROMQ_DEPENDENCIES += libsodium
|
ZEROMQ_DEPENDENCIES += libsodium
|
||||||
|
|||||||
Reference in New Issue
Block a user