packages/rsyslog: add optional support for RELP
authorDavid GOUARIN <dgouarin@gmail.com>
Mon, 21 Sep 2020 16:58:34 +0000 (18:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 23 Sep 2020 20:08:37 +0000 (22:08 +0200)
Signed-off-by: David GOUARIN <dgouarin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rsyslog/rsyslog.mk

index 90f21559f8cd5b4e463b49c153bc069dd05f6cfe..50f3328493f478bfdd493a5c9764f04978cfab36 100644 (file)
@@ -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_LIBRELP),y)
+RSYSLOG_DEPENDENCIES += librelp
+RSYSLOG_PLUGINS += relp
+endif
+
 RSYSLOG_CONF_OPTS = --disable-generate-man-pages \
        $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x))