From: David GOUARIN <dgouarin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] packages/rsyslog: add support for RELP
Date: Mon, 21 Sep 2020 18:58:34 +0200 [thread overview]
Message-ID: <20200921165834.7514-3-dgouarin@gmail.com> (raw)
In-Reply-To: <20200921165834.7514-1-dgouarin@gmail.com>
Signed-off-by: David GOUARIN <dgouarin@gmail.com>
---
package/rsyslog/Config.in | 7 +++++++
package/rsyslog/rsyslog.mk | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/package/rsyslog/Config.in b/package/rsyslog/Config.in
index 8c024e69c7..286de804e3 100644
--- a/package/rsyslog/Config.in
+++ b/package/rsyslog/Config.in
@@ -17,6 +17,13 @@ config BR2_PACKAGE_RSYSLOG
http://www.rsyslog.com
+config BR2_PACKAGE_RSYSLOG_RELP
+ bool "enable support for relp logging protocol"
+ depends on BR2_PACKAGE_RSYSLOG
+ select BR2_PACKAGE_LIBRELP
+ help
+ Enable relp rsyslog plugin.
+
comment "rsyslog needs a uClibc or glibc toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk
index 90f21559f8..0d95ee6f36 100644
--- a/package/rsyslog/rsyslog.mk
+++ b/package/rsyslog/rsyslog.mk
@@ -14,6 +14,12 @@ RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \
mmanon mmaudit mmfields mmjsonparse mmpstrucdata mmsequence mmutf8fix \
mail omprog omruleset omstdout omuxsock \
pmaixforwardedfrom pmciscoios pmcisconames pmlastmsg pmsnare
+
+ifeq ($(BR2_PACKAGE_RSYSLOG_RELP),y)
+RSYSLOG_DEPENDENCIES += librelp
+RSYSLOG_PLUGINS += relp
+endif
+
RSYSLOG_CONF_OPTS = --disable-generate-man-pages \
$(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x))
--
2.17.1
next prev parent reply other threads:[~2020-09-21 16:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-21 16:58 [Buildroot] [PATCH 0/2] Add RELP plugin to rsyslog David GOUARIN
2020-09-21 16:58 ` [Buildroot] [PATCH 1/2] packages/librelp: new package David GOUARIN
2020-09-23 20:17 ` Thomas Petazzoni
2020-09-21 16:58 ` David GOUARIN [this message]
2020-09-23 20:19 ` [Buildroot] [PATCH 2/2] packages/rsyslog: add support for RELP Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200921165834.7514-3-dgouarin@gmail.com \
--to=dgouarin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox