summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-12-28 03:05:55 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-28 16:54:49 +0100
commitec10d81e46cbcbb644dcfe0f91961fb09706be77 (patch)
treec34614a004f1e9e4566163d51d8906fceaad4b9b
parent14c0544003cff4d00e638e6b13a884bc61e56a9f (diff)
downloadbuildroot-novena-ec10d81e46cbcbb644dcfe0f91961fb09706be77.tar.gz
buildroot-novena-ec10d81e46cbcbb644dcfe0f91961fb09706be77.zip
ulogd: add support for mysql output
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ulogd/ulogd.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/ulogd/ulogd.mk b/package/ulogd/ulogd.mk
index 4620bbd5a..34d866527 100644
--- a/package/ulogd/ulogd.mk
+++ b/package/ulogd/ulogd.mk
@@ -7,7 +7,7 @@
ULOGD_VERSION = 2.0.1
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
-ULOGD_CONF_OPT = --with-dbi=no --with-mysql=no --with-pgsql=no
+ULOGD_CONF_OPT = --with-dbi=no --with-pgsql=no
ULOGD_AUTORECONF = YES
ULOGD_DEPENDENCIES = host-pkgconf \
libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
@@ -15,4 +15,11 @@ ULOGD_DEPENDENCIES = host-pkgconf \
ULOGD_LICENSE = GPLv2
ULOGD_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
+ULOGD_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
+ULOGD_DEPENDENCIES += mysql_client
+else
+ULOGD_CONF_OPT += --with-mysql=no
+endif
+
$(eval $(autotools-package))