1 ################################################################################
5 ################################################################################
8 ULOGD_SOURCE
= ulogd-
$(ULOGD_VERSION
).
tar.bz2
9 ULOGD_SITE
= http
://www.netfilter.org
/projects
/ulogd
/files
10 ULOGD_CONF_OPTS
= --with-dbi
=no
--with-pgsql
=no
11 ULOGD_DEPENDENCIES
= host-pkgconf \
12 libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
15 ULOGD_LICENSE_FILES
= COPYING
17 # DB backends need threads
18 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS
),y
)
19 ifeq ($(BR2_PACKAGE_MYSQL
),y
)
20 ULOGD_CONF_OPTS
+= --with-mysql
=$(STAGING_DIR
)/usr
21 ULOGD_DEPENDENCIES
+= mysql
23 ULOGD_CONF_OPTS
+= --with-mysql
=no
25 ifeq ($(BR2_PACKAGE_SQLITE
),y
)
26 ULOGD_DEPENDENCIES
+= sqlite
29 ULOGD_CONF_OPTS
+= --with-mysql
=no
--without-sqlite
32 ifeq ($(BR2_PACKAGE_LIBPCAP
),y
)
33 ULOGD_CONF_OPTS
+= --with-pcap
34 ULOGD_DEPENDENCIES
+= libpcap
36 ULOGD_CONF_OPTS
+= --without-pcap
39 ifeq ($(BR2_PACKAGE_JANSSON
),y
)
40 ULOGD_CONF_OPTS
+= --with-jansson
41 ULOGD_DEPENDENCIES
+= jansson
43 ULOGD_CONF_OPTS
+= --without-jansson
46 $(eval
$(autotools-package
))