From fe3d554c6a9b3d0e572deca05acfbcf094687b04 Mon Sep 17 00:00:00 2001 From: Marko Ratkaj Date: Thu, 28 May 2015 16:00:36 +0200 Subject: [PATCH] ulogd: add json plugin Signed-off-by: Marko Ratkaj --- net/ulogd/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/net/ulogd/Makefile b/net/ulogd/Makefile index 0cca3e4d9d..4dfdb2868e 100644 --- a/net/ulogd/Makefile +++ b/net/ulogd/Makefile @@ -50,6 +50,12 @@ define Package/ulogd-mod-dbi TITLE:=Output plugin for logging to a database using libdbi endef +define Package/ulogd-mod-json + $(call Package/ulogd/Default) + DEPENDS:=ulogd +jansson + TITLE:=JSON output plugin +endef + define Package/ulogd-mod-mysql $(call Package/ulogd/Default) DEPENDS:=ulogd +libmysqlclient @@ -188,6 +194,7 @@ ULOGD_EXTRA_PLUGINS:= \ $(eval $(call BuildPackage,ulogd)) $(eval $(call BuildPlugin,dbi,output_DBI)) +$(eval $(call BuildPlugin,json,output_JSON)) $(eval $(call BuildPlugin,mysql,output_MYSQL)) $(eval $(call BuildPlugin,nfacct,inpflow_NFACCT)) $(eval $(call BuildPlugin,nfct,inpflow_NFCT)) -- 2.30.2