6fc4b59ffd
- Drop patch (already in version) - Update configure options due to https://git.netfilter.org/ulogd2/commit/?id=794f0385ab60fd8c52ff3ce498c8aac78b58ac20 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# ulogd
|
|
#
|
|
################################################################################
|
|
|
|
ULOGD_VERSION = 2.0.8
|
|
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
|
|
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
|
|
ULOGD_CONF_OPTS = --disable-dbi
|
|
ULOGD_DEPENDENCIES = host-pkgconf \
|
|
libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
|
|
libnfnetlink
|
|
ULOGD_LICENSE = GPL-2.0
|
|
ULOGD_LICENSE_FILES = COPYING
|
|
ULOGD_SELINUX_MODULES = ulogd
|
|
|
|
# DB backends need threads
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
ULOGD_CONF_OPTS += --enable-mysql
|
|
ULOGD_DEPENDENCIES += mysql
|
|
else
|
|
ULOGD_CONF_OPTS += --disable-mysql
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
|
ULOGD_CONF_OPTS += --enable-pgsql
|
|
ULOGD_DEPENDENCIES += postgresql
|
|
else
|
|
ULOGD_CONF_OPTS += --disable-pgsql
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
|
ULOGD_CONF_OPTS += --enable-sqlite3
|
|
ULOGD_DEPENDENCIES += sqlite
|
|
else
|
|
ULOGD_CONF_OPTS += --disable-sqlite3
|
|
endif
|
|
else
|
|
ULOGD_CONF_OPTS += --disable-mysql --disable-pgsql --disable-sqlite3
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
|
|
ULOGD_CONF_OPTS += --enable-pcap
|
|
ULOGD_DEPENDENCIES += libpcap
|
|
else
|
|
ULOGD_CONF_OPTS += --disable-pcap
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JANSSON),y)
|
|
ULOGD_CONF_OPTS += --enable-json
|
|
ULOGD_DEPENDENCIES += jansson
|
|
else
|
|
ULOGD_CONF_OPTS += --disable-json
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|