X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/445d5e12cf785fd0741298de731fe801d46a8417..296af0765342e14cb545763aa7b1d906e224d7ca:/openwrt/package/pmacct/Config.in diff --git a/openwrt/package/pmacct/Config.in b/openwrt/package/pmacct/Config.in index cd3966dfd..2c6289113 100644 --- a/openwrt/package/pmacct/Config.in +++ b/openwrt/package/pmacct/Config.in @@ -1,30 +1,36 @@ menu "pmacct............................ IPv4/IPv6 accounting and aggregation tools" config BR2_COMPILE_PMACCT - bool + tristate default n - depends BR2_COMPILE_PMACCT_BASIC || BR2_COMPILE_PMACCT_MYSQL || BR2_COMPILE_PMACCT_PGSQL || BR2_COMPILE_PMACCT_CUSTOM + depends BR2_COMPILE_PMACCT_BASIC || BR2_COMPILE_PMACCT_MYSQL || BR2_COMPILE_PMACCT_PGSQL || BR2_COMPILE_PMACCT_SQLITE || BR2_COMPILE_PMACCT_CUSTOM config BR2_COMPILE_PMACCT_BASIC - bool + tristate default n depends BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC select BR2_COMPILE_PMACCT config BR2_COMPILE_PMACCT_MYSQL - bool + tristate default n depends BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_PMACCTD_MYSQL select BR2_COMPILE_PMACCT config BR2_COMPILE_PMACCT_PGSQL - bool + tristate default n depends BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_PMACCTD_PGSQL select BR2_COMPILE_PMACCT +config BR2_COMPILE_PMACCT_SQLITE + tristate + default n + depends BR2_PACKAGE_NFACCTD_SQLITE || BR2_PACKAGE_PMACCTD_SQLITE + select BR2_COMPILE_PMACCT + config BR2_COMPILE_PMACCT_CUSTOM - bool + tristate default n depends BR2_PACKAGE_NFACCTD_CUSTOM || BR2_PACKAGE_PMACCTD_CUSTOM select BR2_COMPILE_PMACCT @@ -43,7 +49,9 @@ choice Depends: - libmysqlclient (for MySQL database logging support) - libpq (for PostgreSQL database logging support) - + - libsqlite (for SQLite database logging support) + + config BR2_PACKAGE_NFACCTD_BASIC prompt "nfacctd....................... built without database support" tristate @@ -63,7 +71,14 @@ choice select BR2_COMPILE_PMACCT_PGSQL select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBPQ - + + config BR2_PACKAGE_NFACCTD_SQLITE + prompt "nfacctd-sqlite................ built with SQLite database support" + tristate + select BR2_COMPILE_PMACCT_SQLITE + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_LIBSQLITE + config BR2_PACKAGE_NFACCTD_CUSTOM prompt "nfacctd-custom................ customized to your needs" tristate @@ -96,6 +111,13 @@ choice depends BR2_PACKAGE_NFACCTD_CUSTOM select BR2_PACKAGE_LIBPQ + config BR2_COMPILE_NFACCTD_WITH_SQLITE + prompt "SQLite database support" + bool + default n + depends BR2_PACKAGE_NFACCTD_CUSTOM + select BR2_PACKAGE_LIBSQLITE + endchoice choice @@ -113,7 +135,8 @@ choice - libpcap - libmysqlclient (for MySQL database logging support) - libpq (for PostgreSQL database logging support) - + - libsqlite (for SQLite database logging support) + config BR2_PACKAGE_PMACCTD_BASIC prompt "pmacctd....................... built without database support" @@ -134,7 +157,14 @@ choice select BR2_COMPILE_PMACCT_PGSQL select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_LIBPQ - + + config BR2_PACKAGE_PMACCTD_SQLITE + prompt "pmacctd-sqlite................ built with SQLite database support" + tristate + select BR2_COMPILE_PMACCT_SQLITE + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_LIBSQLITE + config BR2_PACKAGE_PMACCTD_CUSTOM prompt "pmacctd-custom................ customized to your needs" tristate @@ -167,6 +197,13 @@ choice depends BR2_PACKAGE_PMACCTD_CUSTOM select BR2_PACKAGE_LIBPQ + config BR2_COMPILE_PMACCTD_WITH_SQLITE + prompt "SQLite database support" + bool + default n + depends BR2_PACKAGE_PMACCTD_CUSTOM + select BR2_PACKAGE_LIBSQLITE + endchoice config BR2_PACKAGE_PMACCT_CLIENT