All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] riemann-c-client: new package
@ 2016-12-28 22:18 Peter Korsgaard
  2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Peter Korsgaard @ 2016-12-28 22:18 UTC (permalink / raw)
  To: buildroot

Riemann-c-client is a C client library for the Riemann monitoring system,
providing a convenient and simple API, high test coverage and a copyleft
license, along with API and ABI stability.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/Config.in                              |  1 +
 package/riemann-c-client/Config.in             | 17 +++++++++++++++++
 package/riemann-c-client/riemann-c-client.hash |  2 ++
 package/riemann-c-client/riemann-c-client.mk   | 18 ++++++++++++++++++
 4 files changed, 38 insertions(+)
 create mode 100644 package/riemann-c-client/Config.in
 create mode 100644 package/riemann-c-client/riemann-c-client.hash
 create mode 100644 package/riemann-c-client/riemann-c-client.mk

diff --git a/package/Config.in b/package/Config.in
index 18818fa..717b505 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1365,6 +1365,7 @@ endif
 	source "package/protobuf-c/Config.in"
 	source "package/qhull/Config.in"
 	source "package/qlibc/Config.in"
+	source "package/riemann-c-client/Config.in"
 	source "package/shapelib/Config.in"
 	source "package/skalibs/Config.in"
 	source "package/sphinxbase/Config.in"
diff --git a/package/riemann-c-client/Config.in b/package/riemann-c-client/Config.in
new file mode 100644
index 0000000..e9982b2
--- /dev/null
+++ b/package/riemann-c-client/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_RIEMANN_C_CLIENT
+	bool "riemann-c-client"
+	depends on BR2_INSTALL_LIBSTDCPP # protobuf-c
+	depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf-c
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c
+	select BR2_PACKAGE_PROTOBUF_C
+	help
+	  Riemann-c-client is a C client library for the Riemann
+	  monitoring system, providing a convenient and simple API,
+	  high test coverage and a copyleft license, along with API
+	  and ABI stability.
+
+	  https://github.com/algernon/riemann-c-client
+
+comment "riemann-c-client needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
diff --git a/package/riemann-c-client/riemann-c-client.hash b/package/riemann-c-client/riemann-c-client.hash
new file mode 100644
index 0000000..0902881
--- /dev/null
+++ b/package/riemann-c-client/riemann-c-client.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 4b18804f489834fa953f4af887290173c745b471a5993bb108a9142c867de457 riemann-c-client-1.9.1.tar.xz
diff --git a/package/riemann-c-client/riemann-c-client.mk b/package/riemann-c-client/riemann-c-client.mk
new file mode 100644
index 0000000..027898b
--- /dev/null
+++ b/package/riemann-c-client/riemann-c-client.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# riemann-c-client
+#
+################################################################################
+
+RIEMANN_C_CLIENT_VERSION = 1.9.1
+RIEMANN_C_CLIENT_SOURCE = riemann-c-client-$(RIEMANN_C_CLIENT_VERSION).tar.xz
+RIEMANN_C_CLIENT_SITE = https://github.com/algernon/riemann-c-client/releases/download/riemann-c-client-$(RIEMANN_C_CLIENT_VERSION)
+RIEMANN_C_CLIENT_LICENSE = LGPLv3+
+RIEMANN_C_CLIENT_LICENSE_FILES = LICENSE
+RIEMANN_C_CLIENT_INSTALL_STAGING = YES
+RIEMANN_C_CLIENT_DEPENDENCIES = \
+	host-pkgconf protobuf-c \
+	$(if $(BR2_PACKAGE_GNUTLS),gnutls) \
+	$(if $(BR2_PACKAGE_JSON_C),json-c)
+
+$(eval $(autotools-package))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies
  2016-12-28 22:18 [Buildroot] [PATCH 1/2] riemann-c-client: new package Peter Korsgaard
@ 2016-12-28 22:18 ` Peter Korsgaard
  2016-12-28 22:21   ` Thomas Petazzoni
                     ` (2 more replies)
  2017-01-03 18:57 ` [Buildroot] [PATCH 1/2] riemann-c-client: new package Gustavo Zacarias
  2017-01-03 22:49 ` Peter Korsgaard
  2 siblings, 3 replies; 8+ messages in thread
From: Peter Korsgaard @ 2016-12-28 22:18 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.org/results/fe5/fe5b5ed6355a794e84894c4aaf62eda6529ed184/
http://autobuild.buildroot.org/results/6c3/6c393cffb6ad4e676e311e9fc23ddbb2bcc2cf36/

The plugin uses the riemann-c-client library since commit d55584214206
(write_riemann: Use riemann-c-client), so adjust the dependencies to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/collectd/Config.in   | 2 +-
 package/collectd/collectd.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index ab49b71..683141b 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -550,7 +550,7 @@ config BR2_PACKAGE_COLLECTD_RIEMANN
 	depends on BR2_INSTALL_LIBSTDCPP # protobuf
 	# protobuf-c -> host-protobuf
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
-	select BR2_PACKAGE_PROTOBUF_C
+	select BR2_PACKAGE_RIEMANN_C_CLIENT
 	select BR2_PACKAGE_LIBTOOL
 	help
 	  Sends data to Riemann, a stream processing and monitoring system.
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 28c1b31..7ab7dd4 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -146,7 +146,7 @@ COLLECTD_DEPENDENCIES = \
 	$(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),openldap) \
 	$(if $(BR2_PACKAGE_COLLECTD_PING),liboping) \
 	$(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),postgresql) \
-	$(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool protobuf-c) \
+	$(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool riemann-c-client) \
 	$(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),rrdtool) \
 	$(if $(BR2_PACKAGE_COLLECTD_SENSORS),lm-sensors) \
 	$(if $(BR2_PACKAGE_COLLECTD_SMART),libatasmart) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies
  2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
@ 2016-12-28 22:21   ` Thomas Petazzoni
  2016-12-28 23:15     ` Peter Korsgaard
  2017-01-03 18:57   ` Gustavo Zacarias
  2017-01-03 22:49   ` Peter Korsgaard
  2 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2016-12-28 22:21 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 28 Dec 2016 23:18:06 +0100, Peter Korsgaard wrote:

> -	$(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool protobuf-c) \
> +	$(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool riemann-c-client) \

libtool is still needed ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies
  2016-12-28 22:21   ` Thomas Petazzoni
@ 2016-12-28 23:15     ` Peter Korsgaard
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2016-12-28 23:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Wed, 28 Dec 2016 23:18:06 +0100, Peter Korsgaard wrote:

 >> -	$(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool protobuf-c) \
 >> +	$(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool riemann-c-client) \

 > libtool is still needed ?

Yes, it still contains an #include <ltdl.h> line at least:

src/write_riemann_threshold.c:#include <ltdl.h>

I haven't looked closer to see if that include is still really needed
though.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 1/2] riemann-c-client: new package
  2016-12-28 22:18 [Buildroot] [PATCH 1/2] riemann-c-client: new package Peter Korsgaard
  2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
@ 2017-01-03 18:57 ` Gustavo Zacarias
  2017-01-03 22:49 ` Peter Korsgaard
  2 siblings, 0 replies; 8+ messages in thread
From: Gustavo Zacarias @ 2017-01-03 18:57 UTC (permalink / raw)
  To: buildroot

On 2016-12-28 19:18, Peter Korsgaard wrote:

> Riemann-c-client is a C client library for the Riemann monitoring 
> system,
> providing a convenient and simple API, high test coverage and a 
> copyleft
> license, along with API and ABI stability.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies
  2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
  2016-12-28 22:21   ` Thomas Petazzoni
@ 2017-01-03 18:57   ` Gustavo Zacarias
  2017-01-03 22:49   ` Peter Korsgaard
  2 siblings, 0 replies; 8+ messages in thread
From: Gustavo Zacarias @ 2017-01-03 18:57 UTC (permalink / raw)
  To: buildroot

On 2016-12-28 19:18, Peter Korsgaard wrote:

> Fixes:
> http://autobuild.buildroot.org/results/fe5/fe5b5ed6355a794e84894c4aaf62eda6529ed184/
> http://autobuild.buildroot.org/results/6c3/6c393cffb6ad4e676e311e9fc23ddbb2bcc2cf36/
> 
> The plugin uses the riemann-c-client library since commit d55584214206
> (write_riemann: Use riemann-c-client), so adjust the dependencies to 
> match.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 1/2] riemann-c-client: new package
  2016-12-28 22:18 [Buildroot] [PATCH 1/2] riemann-c-client: new package Peter Korsgaard
  2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
  2017-01-03 18:57 ` [Buildroot] [PATCH 1/2] riemann-c-client: new package Gustavo Zacarias
@ 2017-01-03 22:49 ` Peter Korsgaard
  2 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2017-01-03 22:49 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Riemann-c-client is a C client library for the Riemann monitoring system,
 > providing a convenient and simple API, high test coverage and a copyleft
 > license, along with API and ABI stability.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies
  2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
  2016-12-28 22:21   ` Thomas Petazzoni
  2017-01-03 18:57   ` Gustavo Zacarias
@ 2017-01-03 22:49   ` Peter Korsgaard
  2 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2017-01-03 22:49 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes:
 > http://autobuild.buildroot.org/results/fe5/fe5b5ed6355a794e84894c4aaf62eda6529ed184/
 > http://autobuild.buildroot.org/results/6c3/6c393cffb6ad4e676e311e9fc23ddbb2bcc2cf36/

 > The plugin uses the riemann-c-client library since commit d55584214206
 > (write_riemann: Use riemann-c-client), so adjust the dependencies to match.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-03 22:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-28 22:18 [Buildroot] [PATCH 1/2] riemann-c-client: new package Peter Korsgaard
2016-12-28 22:18 ` [Buildroot] [PATCH 2/2] collectd: fix riemann write plugin dependencies Peter Korsgaard
2016-12-28 22:21   ` Thomas Petazzoni
2016-12-28 23:15     ` Peter Korsgaard
2017-01-03 18:57   ` Gustavo Zacarias
2017-01-03 22:49   ` Peter Korsgaard
2017-01-03 18:57 ` [Buildroot] [PATCH 1/2] riemann-c-client: new package Gustavo Zacarias
2017-01-03 22:49 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.