* [Buildroot] [PATCH 1/2] package/czmq: add hash file
@ 2016-03-05 20:02 Jörg Krause
2016-03-05 20:02 ` [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional Jörg Krause
2016-03-06 12:24 ` [Buildroot] [PATCH 1/2] package/czmq: add hash file Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Jörg Krause @ 2016-03-05 20:02 UTC (permalink / raw)
To: buildroot
Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
package/czmq/czmq.hash | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 package/czmq/czmq.hash
diff --git a/package/czmq/czmq.hash b/package/czmq/czmq.hash
new file mode 100644
index 0000000..6398552
--- /dev/null
+++ b/package/czmq/czmq.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 e56f8498daf70310b31c42669b2f9b753c5e747eafaff6d4fdac26d72a474b27 czmq-v3.0.2.tar.gz
--
2.7.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional
2016-03-05 20:02 [Buildroot] [PATCH 1/2] package/czmq: add hash file Jörg Krause
@ 2016-03-05 20:02 ` Jörg Krause
2016-03-05 20:27 ` Thomas Petazzoni
2016-03-06 12:24 ` [Buildroot] [PATCH 1/2] package/czmq: add hash file Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Jörg Krause @ 2016-03-05 20:02 UTC (permalink / raw)
To: buildroot
zmakecert and zgossip are optional binaries built by default. Let's make them
optional to allow building the czmq library only.
Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
package/czmq/Config.in | 15 +++++++++++++++
package/czmq/czmq.mk | 13 +++++++++++++
2 files changed, 28 insertions(+)
diff --git a/package/czmq/Config.in b/package/czmq/Config.in
index 6a99336..afad57b 100644
--- a/package/czmq/Config.in
+++ b/package/czmq/Config.in
@@ -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 && \
diff --git a/package/czmq/czmq.mk b/package/czmq/czmq.mk
index 0060c89..3eb2d92 100644
--- a/package/czmq/czmq.mk
+++ b/package/czmq/czmq.mk
@@ -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
--
2.7.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional
2016-03-05 20:02 ` [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional Jörg Krause
@ 2016-03-05 20:27 ` Thomas Petazzoni
2016-03-06 9:09 ` Jörg Krause
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-03-05 20:27 UTC (permalink / raw)
To: buildroot
Dear J?rg Krause,
On Sat, 5 Mar 2016 21:02:24 +0100, J?rg Krause wrote:
> +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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional
2016-03-05 20:27 ` Thomas Petazzoni
@ 2016-03-06 9:09 ` Jörg Krause
0 siblings, 0 replies; 5+ messages in thread
From: Jörg Krause @ 2016-03-06 9:09 UTC (permalink / raw)
To: buildroot
On Sa, 2016-03-05 at 21:27 +0100, Thomas Petazzoni wrote:
> Dear J?rg Krause,
>
> On Sat,??5 Mar 2016 21:02:24 +0100, J?rg Krause wrote:
>
> >
> > +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?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/czmq: add hash file
2016-03-05 20:02 [Buildroot] [PATCH 1/2] package/czmq: add hash file Jörg Krause
2016-03-05 20:02 ` [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional Jörg Krause
@ 2016-03-06 12:24 ` Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-03-06 12:24 UTC (permalink / raw)
To: buildroot
Dear J?rg Krause,
On Sat, 5 Mar 2016 21:02:23 +0100, J?rg Krause wrote:
> Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
> ---
> package/czmq/czmq.hash | 2 ++
> 1 file changed, 2 insertions(+)
> create mode 100644 package/czmq/czmq.hash
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-06 12:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-05 20:02 [Buildroot] [PATCH 1/2] package/czmq: add hash file Jörg Krause
2016-03-05 20:02 ` [Buildroot] [PATCH 2/2] package/czmq: make zmakecert and zgossip optional Jörg Krause
2016-03-05 20:27 ` Thomas Petazzoni
2016-03-06 9:09 ` Jörg Krause
2016-03-06 12:24 ` [Buildroot] [PATCH 1/2] package/czmq: add hash file Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox