summaryrefslogtreecommitdiff
path: root/package/ulogd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/ulogd/Makefile')
-rw-r--r--package/ulogd/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/package/ulogd/Makefile b/package/ulogd/Makefile
index eb40a89c6..07f75a280 100644
--- a/package/ulogd/Makefile
+++ b/package/ulogd/Makefile
@@ -4,13 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= ulogd
-PKG_VERSION:= 2.0.0beta4
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 21143aecf8e39008d143a0fb0f742b0c
+PKG_VERSION:= 2.0.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 211e68781e3860959606fc94b97cf22e
PKG_DESCR:= Netfilter userspace logging daemon
PKG_SECTION:= firewall
-PKG_DEPENDS:= iptables libnetfilter-conntrack libnetfilter-log
-PKG_BUILDDEP:= iptables libnetfilter_conntrack libnetfilter_log
+PKG_DEPENDS:= iptables libnetfilter-conntrack libnetfilter-log libnetfilter-acct libmnl
+PKG_BUILDDEP:= iptables libnetfilter_conntrack libnetfilter_log libnetfilter_acct libmnl
PKG_URL:= http://www.netfilter.org/projects/ulogd/
PKG_SITES:= http://www.netfilter.org/projects/ulogd/files/
PKG_MULTI:= 1
@@ -20,6 +20,7 @@ PKG_SUBPKGS:= ULOGD ULOGD_MOD_MYSQL ULOGD_MOD_PCAP ULOGD_MOD_PGSQL ULOGD_MOD_SQ
PKGSB_ULOGD_MOD_MYSQL:= mysql
PKGSB_ULOGD_MOD_PGSQL:= postgresql
PKGSB_ULOGD_MOD_SQLITE:= sqlite
+PKGSB_ULOGD_MOD_PCAP:= libpcap
PKG_HOST_DEPENDS:= !cygwin
@@ -29,7 +30,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ULOGD,ulogd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ULOGD_MOD_MYSQL,ulogd-mod-mysql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-#$(eval $(call PKG_template,ULOGD_MOD_PCAP,ulogd-mod-pcap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ULOGD_MOD_PCAP,ulogd-mod-pcap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ULOGD_MOD_PGSQL,ulogd-mod-pgsql,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ULOGD_MOD_SQLITE,ulogd-mod-sqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,ULOGD_MOD_EXTRA,ulogd-mod-extra,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -44,10 +45,6 @@ ifneq (${ADK_PACKAGE_ULOGD_MOD_PGSQL},)
CONFIGURE_ARGS+= --with-pgsql=${STAGING_TARGET_DIR}/usr
endif
-ifneq (${ADK_PACKAGE_ULOGD_MOD_SQLITE},)
-CONFIGURE_ARGS+= --with-sqlite3=${STAGING_TARGET_DIR}/usr
-endif
-
post-install:
${INSTALL_DIR} ${IDIR_ULOGD}/usr/sbin ${IDIR_ULOGD}/usr/lib/ulogd/
${INSTALL_BIN} ${WRKINST}/usr/lib/ulogd/ulogd_raw2packet_BASE.so \
@@ -59,6 +56,11 @@ ulogd-mod-extra-install:
${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_{LOGEMU,OPRINT,SYSLOG}.so \
${IDIR_ULOGD_MOD_EXTRA}/usr/lib/ulogd
+ulogd-mod-pcap-install:
+ ${INSTALL_DIR} ${IDIR_ULOGD_MOD_PCAP}/usr/lib/ulogd
+ ${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_PCAP.so \
+ ${IDIR_ULOGD_MOD_PCAP}/usr/lib/ulogd
+
ulogd-mod-sqlite-install:
${INSTALL_DIR} ${IDIR_ULOGD_MOD_SQLITE}/usr/lib/ulogd
${CP} ${WRKINST}/usr/lib/ulogd/ulogd_output_SQLITE3.so \