aboutsummaryrefslogtreecommitdiff
path: root/package/zeromq
diff options
context:
space:
mode:
Diffstat (limited to 'package/zeromq')
-rw-r--r--package/zeromq/Config.in5
-rw-r--r--package/zeromq/zeromq.hash6
-rw-r--r--package/zeromq/zeromq.mk31
3 files changed, 38 insertions, 4 deletions
diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
index aeedff17b8..cf5c644c39 100644
--- a/package/zeromq/Config.in
+++ b/package/zeromq/Config.in
@@ -59,4 +59,9 @@ config BR2_PACKAGE_ZEROMQ_DRAFTS
https://pyzmq.readthedocs.io/en/latest/draft.html
+config BR2_PACKAGE_ZEROMQ_WEBSOCKET
+ bool "WebSocket support"
+ help
+ Enable WebSocket transport
+
endif
diff --git a/package/zeromq/zeromq.hash b/package/zeromq/zeromq.hash
index 17ffff8762..5085fbca33 100644
--- a/package/zeromq/zeromq.hash
+++ b/package/zeromq/zeromq.hash
@@ -1,7 +1,7 @@
# From https://github.com/zeromq/libzmq/releases
-md5 78acc277d95e10812d71b2b3c3c3c9a9 zeromq-4.3.3.tar.gz
-sha1 d78bc504194d6908df40a2b9e41849b181b02491 zeromq-4.3.3.tar.gz
+md5 c897d4005a3f0b8276b00b7921412379 zeromq-4.3.4.tar.gz
+sha1 47277a64749049123d1401600e8cfbab10a3ae28 zeromq-4.3.4.tar.gz
# Locally computed
-sha256 9d9285db37ae942ed0780c016da87060497877af45094ff9e1a1ca736e3875a2 zeromq-4.3.3.tar.gz
+sha256 c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5 zeromq-4.3.4.tar.gz
sha256 4fd86507c9b486764343065a9e035222869a27b5789efeb4fd93edc85412d7a3 COPYING
sha256 83f32abe61ee58ffb1b007412c08415168c052501dbf56d7a47aaaac52b03ef6 COPYING.LESSER
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index 8d2619817b..182699403c 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -4,13 +4,15 @@
#
################################################################################
-ZEROMQ_VERSION = 4.3.3
+ZEROMQ_VERSION = 4.3.4
ZEROMQ_SITE = https://github.com/zeromq/libzmq/releases/download/v$(ZEROMQ_VERSION)
ZEROMQ_INSTALL_STAGING = YES
ZEROMQ_DEPENDENCIES = util-linux
ZEROMQ_CONF_OPTS = --disable-Werror --without-documentation
ZEROMQ_LICENSE = LGPL-3.0+ with exceptions
ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER
+ZEROMQ_CPE_ID_VENDOR = zeromq
+ZEROMQ_CPE_ID_PRODUCT = libzmq
# Assume these flags are always available. It is true, at least for
# SOCK_CLOEXEC, since linux v2.6.27.
@@ -53,6 +55,33 @@ else
ZEROMQ_CONF_OPTS += --disable-drafts
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)
+ZEROMQ_DEPENDENCIES += host-pkgconf libbsd
+ZEROMQ_CONF_OPTS += --enable-libbsd
+else
+ZEROMQ_CONF_OPTS += --disable-libbsd
+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.
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
ZEROMQ_DEPENDENCIES += libsodium