package/rsyslog: add impcap support

impcap is available since version 8.2006.0 and only depends on libpcap:
76318ad926

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021.05.x
Fabrice Fontaine 2021-03-15 08:44:23 +01:00 committed by Thomas Petazzoni
parent 6a3178d133
commit e471e5dd41
1 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,6 @@ RSYSLOG_CONF_OPTS += --disable-elasticsearch \
--disable-omhttp \
--disable-fmhttp \
--disable-imdocker \
--disable-impcap \
--disable-omhttpfs \
--disable-mmkubernetes
@ -60,6 +59,13 @@ else
RSYSLOG_CONF_OPTS += --disable-libgcrypt
endif
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
RSYSLOG_DEPENDENCIES += libpcap
RSYSLOG_CONF_OPTS += --enable-impcap
else
RSYSLOG_CONF_OPTS += --disable-impcap
endif
ifeq ($(BR2_PACKAGE_MYSQL),y)
RSYSLOG_DEPENDENCIES += mysql
RSYSLOG_CONF_OPTS += --enable-mysql