package/czmq: add hash file
PATCH 1/2 package/czmq: add hash file
--- package/czmq/czmq.hash | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package/czmq/czmq.hash
package/czmq/czmq.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 e56f8498daf70310b31c42669b2f9b753c5e747eafaff6d4fdac26d72a474b27 czmq-v3.0.2.tar.gz
Signature · 1 line
2.7.2
PATCH 2/2 package/czmq: make zmakecert and zgossip optional
zmakecert and zgossip are optional binaries built by default. Let's make them optional to allow building the czmq library only.
--- package/czmq/Config.in | 15 +++++++++++++++ package/czmq/czmq.mk | 13 +++++++++++++ 2 files changed, 28 insertions(+)
package/czmq/Config.in +15 -0
@@ -10,6 +10,21 @@ config BR2_PACKAGE_CZMQ http://czmq.zeromq.org/ +if BR2_PACKAGE_CZMQ + +config BR2_PACKAGE_CZMQ_ZMAKECERT + bool "zmakecert" + help + Certificate generator for ZeroMQ CURVE security. + +config BR2_PACKAGE_CZMQ_ZGOSSIP + bool "zgossip" + help + Implements a gossip protocol for decentralized configuration + management. + +endif + comment "czmq needs a toolchain w/ C++, wchar, threads" depends on BR2_USE_MMU depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \
package/czmq/czmq.mk +13 -0
@@ -18,6 +18,19 @@ CZMQ_LICENSE_FILES = LICENSE # host-python, so disable asciidoc entirely. CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no +ifeq ($(BR2_PACKAGE_CZMQ_ZMAKECERT),y) +CZMQ_CONF_OPTS += --with-makecert=yes +else +CZMQ_CONF_OPTS += --with-makecert=no +endif + +ifeq ($(BR2_PACKAGE_CZMQ_ZGOSSIP),y) +CZMQ_CONF_OPTS += --with-test_zgossip=yes +else +CZMQ_CONF_OPTS += --with-test_zgossip=no +endif + + define CZMQ_CREATE_CONFIG_DIR mkdir -p $(@D)/config endef
Signature · 1 line
2.7.2
PATCH 2/2 package/czmq: make zmakecert and zgossip optional
Dear J?rg Krause,
package/czmq/Config.in config BR2_PACKAGE_CZMQ · line 24
Quoted 10 lines · J?rg Krause
package/czmq/Config.in +10
-0+config BR2_PACKAGE_CZMQ_ZMAKECERT + bool "zmakecert" + help + Certificate generator for ZeroMQ CURVE security. + +config BR2_PACKAGE_CZMQ_ZGOSSIP + bool "zgossip" + help + Implements a gossip protocol for decentralized configuration + management.
How big are those binaries? Is it worth adding config options for those?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 2/2 package/czmq: make zmakecert and zgossip optional
Quoted 5 lines · Thomas Petazzoni
Dear J?rg Krause,
Quoted 1 line · J?rg Krause
Quoted 13 lines
Review
Quoted 11 lines
package/czmq/Config.in +9
-0+config BR2_PACKAGE_CZMQ_ZMAKECERT + bool "zmakecert" + help + ??Certificate generator for ZeroMQ CURVE security. + +config BR2_PACKAGE_CZMQ_ZGOSSIP + bool "zgossip" + help + ??Implements a gossip protocol for decentralizedconfiguration
(quoted diff) +1
-0+ ??management.How big are those binaries? Is it worth adding config options for those?
I forget that size does not always matters. They are only some kB and zgossip is not even installed. I did not checked this properly.
My intentention was to be able to build the static library successfully, but as you mentioned, the linking issue with libmath is not fixed by this anyway.
So, I'll mark this as rejected in patchwork.
Best regards
J?rg Krause
Thomas Petazzoni
AppliedPATCH 1/2 package/czmq: add hash file
In reply to Jörg KrauseDear J?rg Krause,
Quoted 5 lines · J?rg Krause
Signed-off-by J?rg Krause <[email protected]>--- package/czmq/czmq.hash | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package/czmq/czmq.hash
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com