2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-30 03:29:52 +01:00
|
|
|
#
|
|
|
|
# ulogd
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-30 03:29:52 +01:00
|
|
|
|
2013-11-26 12:58:07 +01:00
|
|
|
ULOGD_VERSION = 2.0.3
|
2012-10-30 03:29:52 +01:00
|
|
|
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
|
|
|
|
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
|
2012-12-28 04:05:55 +01:00
|
|
|
ULOGD_CONF_OPT = --with-dbi=no --with-pgsql=no
|
2012-10-30 03:29:52 +01:00
|
|
|
ULOGD_AUTORECONF = YES
|
|
|
|
ULOGD_DEPENDENCIES = host-pkgconf \
|
|
|
|
libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
|
2013-12-26 12:34:42 +01:00
|
|
|
libnfnetlink
|
2012-10-30 03:29:52 +01:00
|
|
|
ULOGD_LICENSE = GPLv2
|
|
|
|
ULOGD_LICENSE_FILES = COPYING
|
|
|
|
|
2013-12-26 12:34:42 +01:00
|
|
|
# DB backends need threads
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
2014-01-22 07:24:35 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
2013-12-26 12:34:42 +01:00
|
|
|
ULOGD_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
|
2014-01-22 07:24:35 +01:00
|
|
|
ULOGD_DEPENDENCIES += mysql
|
2013-12-26 12:34:42 +01:00
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
|
|
ULOGD_DEPENDENCIES += sqlite
|
|
|
|
endif
|
2012-12-28 04:05:55 +01:00
|
|
|
else
|
2013-12-26 12:34:42 +01:00
|
|
|
ULOGD_CONF_OPT += --with-mysql=no --without-sqlite
|
2012-12-28 04:05:55 +01:00
|
|
|
endif
|
|
|
|
|
2012-10-30 03:29:52 +01:00
|
|
|
$(eval $(autotools-package))
|