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
|
|
|
|
2015-06-24 20:39:19 +02:00
|
|
|
ULOGD_VERSION = 2.0.5
|
2012-10-30 03:29:52 +01:00
|
|
|
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
|
|
|
|
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
|
2014-09-27 21:32:44 +02:00
|
|
|
ULOGD_CONF_OPTS = --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)
|
2015-03-31 09:21:57 +02:00
|
|
|
ULOGD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
|
|
|
|
ULOGD_DEPENDENCIES += mysql
|
2014-05-07 18:04:48 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
ULOGD_CONF_OPTS += --with-mysql=no
|
2013-12-26 12:34:42 +01:00
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
ULOGD_DEPENDENCIES += sqlite
|
2013-12-26 12:34:42 +01:00
|
|
|
endif
|
2012-12-28 04:05:55 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
ULOGD_CONF_OPTS += --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))
|