Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/syslog-ng: add optional rabbitmq-c dependency
@ 2019-02-20 22:26 Arnout Vandecappelle
  2019-02-21  8:32 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-02-20 22:26 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=2fb86873db4deaa49ac3c247d753a759568cf4a5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

rabbitmq-c is not an embedded submodule since version 3.16.1 and
https://github.com/balabit/syslog-ng/commit/c0559593c377f04662368dbecf282d2670aad12f

So enable/disable amqp depending on rabbitmq-c availability and remove
uneeded -lrt from LIBS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Fabrice Fontaine &lt;<a href="mailto:fontaine.fabrice@gmail.com" target="_blank" rel="noreferrer">fontaine.fabrice at gmail.com</a>&gt;<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Looks good to me</div><div dir="auto"><br></div><div dir="auto">Reviewed-by: Chris Packham &lt;<a href="mailto:judge.packham@gmail.com">judge.packham at gmail.com</a>&gt;<br><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/syslog-ng/syslog-ng.mk | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
index 0c92b091b4..4ac25a675b 100644
--- a/package/syslog-ng/syslog-ng.mk
+++ b/package/syslog-ng/syslog-ng.mk
@@ -14,8 +14,6 @@ SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \
 	eventlog libglib2 openssl pcre
 # We're patching configure.ac
 SYSLOG_NG_AUTORECONF = YES
-# rabbit-mq needs -lrt
-SYSLOG_NG_CONF_ENV = LIBS=-lrt
 SYSLOG_NG_CONF_OPTS = --disable-manpages --localstatedir=/var/run \
 	--disable-java --disable-java-modules --disable-mongodb
 
@@ -83,6 +81,13 @@ else
 SYSLOG_NG_CONF_OPTS += --disable-http
 endif
 
+ifeq ($(BR2_PACKAGE_RABBITMQ_C),y)
+SYSLOG_NG_DEPENDENCIES += rabbitmq-c
+SYSLOG_NG_CONF_OPTS += --enable-amqp
+else
+SYSLOG_NG_CONF_OPTS += --disable-amqp
+endif
+
 ifeq ($(BR2_INIT_SYSTEMD),y)
 SYSLOG_NG_DEPENDENCIES += systemd
 SYSLOG_NG_CONF_OPTS += \

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

* [Buildroot] [git commit] package/syslog-ng: add optional rabbitmq-c dependency
  2019-02-20 22:26 [Buildroot] [git commit] package/syslog-ng: add optional rabbitmq-c dependency Arnout Vandecappelle
@ 2019-02-21  8:32 ` Thomas Petazzoni
  2019-02-21  9:08   ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-02-21  8:32 UTC (permalink / raw)
  To: buildroot

On Wed, 20 Feb 2019 23:26:04 +0100
Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> wrote:

> commit: https://git.buildroot.net/buildroot/commit/?id=2fb86873db4deaa49ac3c247d753a759568cf4a5
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> 
> rabbitmq-c is not an embedded submodule since version 3.16.1 and
> https://github.com/balabit/syslog-ng/commit/c0559593c377f04662368dbecf282d2670aad12f
> 
> So enable/disable amqp depending on rabbitmq-c availability and remove
> uneeded -lrt from LIBS
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> Reviewed-by: Chris Packham <judge.packham@gmail.com>
> Signed-off-by: Fabrice Fontaine &lt;<a href="mailto:fontaine.fabrice@gmail.com" target="_blank" rel="noreferrer">fontaine.fabrice at gmail.com</a>&gt;<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Looks good to me</div><div dir="auto"><br></div><div dir="auto">Reviewed-by: Chris Packham &lt;<a href="mailto:judge.packham@gmail.com">judge.packham at gmail.com</a>&gt;<br><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Not sure what happened here, but we have a nice amount of HTML crap :-)

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [git commit] package/syslog-ng: add optional rabbitmq-c dependency
  2019-02-21  8:32 ` Thomas Petazzoni
@ 2019-02-21  9:08   ` Arnout Vandecappelle
  2019-02-21 10:20     ` Chris Packham
  0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-02-21  9:08 UTC (permalink / raw)
  To: buildroot



On 21/02/2019 09:32, Thomas Petazzoni wrote:
> On Wed, 20 Feb 2019 23:26:04 +0100
> Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> wrote:
> 
>> commit: https://git.buildroot.net/buildroot/commit/?id=2fb86873db4deaa49ac3c247d753a759568cf4a5
>> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>>
>> rabbitmq-c is not an embedded submodule since version 3.16.1 and
>> https://github.com/balabit/syslog-ng/commit/c0559593c377f04662368dbecf282d2670aad12f
>>
>> So enable/disable amqp depending on rabbitmq-c availability and remove
>> uneeded -lrt from LIBS
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>> Reviewed-by: Chris Packham <judge.packham@gmail.com>
>> Signed-off-by: Fabrice Fontaine &lt;<a href="mailto:fontaine.fabrice@gmail.com" target="_blank" rel="noreferrer">fontaine.fabrice at gmail.com</a>&gt;<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Looks good to me</div><div dir="auto"><br></div><div dir="auto">Reviewed-by: Chris Packham &lt;<a href="mailto:judge.packham@gmail.com">judge.packham at gmail.com</a>&gt;<br><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> 
> Not sure what happened here, but we have a nice amount of HTML crap :-)

 Probably patchwork misparsed the HTML mail with Chris's Reviewed-by. I reviewed
the patch on the website and didn't look at the result of pwclient git-am
anymore :-(

 Regards,
 Arnout

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

* [Buildroot] [git commit] package/syslog-ng: add optional rabbitmq-c dependency
  2019-02-21  9:08   ` Arnout Vandecappelle
@ 2019-02-21 10:20     ` Chris Packham
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Packham @ 2019-02-21 10:20 UTC (permalink / raw)
  To: buildroot

On Thu, 21 Feb 2019 22:08 Arnout Vandecappelle <arnout@mind.be wrote:

>
>
> On 21/02/2019 09:32, Thomas Petazzoni wrote:
> > On Wed, 20 Feb 2019 23:26:04 +0100
> > Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> wrote:
> >
> >> commit:
> https://git.buildroot.net/buildroot/commit/?id=2fb86873db4deaa49ac3c247d753a759568cf4a5
> >> branch:
> https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> >>
> >> rabbitmq-c is not an embedded submodule since version 3.16.1 and
> >>
> https://github.com/balabit/syslog-ng/commit/c0559593c377f04662368dbecf282d2670aad12f
> >>
> >> So enable/disable amqp depending on rabbitmq-c availability and remove
> >> uneeded -lrt from LIBS
> >>
> >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> >> Reviewed-by: Chris Packham <judge.packham@gmail.com>
> >> Signed-off-by: Fabrice Fontaine &lt;<a href="mailto:
> fontaine.fabrice at gmail.com" target="_blank" rel="noreferrer">
> fontaine.fabrice at gmail.com</a>&gt;<br></blockquote></div></div><div
> dir="auto"><br></div><div dir="auto">Looks good to me</div><div
> dir="auto"><br></div><div dir="auto">Reviewed-by: Chris Packham &lt;<a
> href="mailto:judge.packham at gmail.com">judge.packham at gmail.com</a>&gt;<br><br></div><div
> dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote"
> style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> >
> > Not sure what happened here, but we have a nice amount of HTML crap :-)
>
>  Probably patchwork misparsed the HTML mail with Chris's Reviewed-by. I
> reviewed
> the patch on the website and didn't look at the result of pwclient git-am
> anymore :-(
>

Yeah sorry for my part. I replied from a smart device which is obviously
too dumb to just pass email around as plain text.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190221/e8b6bdec/attachment.html>

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

end of thread, other threads:[~2019-02-21 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 22:26 [Buildroot] [git commit] package/syslog-ng: add optional rabbitmq-c dependency Arnout Vandecappelle
2019-02-21  8:32 ` Thomas Petazzoni
2019-02-21  9:08   ` Arnout Vandecappelle
2019-02-21 10:20     ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox