summaryrefslogtreecommitdiff
path: root/package/pmacct
diff options
context:
space:
mode:
Diffstat (limited to 'package/pmacct')
-rw-r--r--package/pmacct/Config.in31
-rw-r--r--package/pmacct/Makefile10
2 files changed, 10 insertions, 31 deletions
diff --git a/package/pmacct/Config.in b/package/pmacct/Config.in
deleted file mode 100644
index fe3e4d99d..000000000
--- a/package/pmacct/Config.in
+++ /dev/null
@@ -1,31 +0,0 @@
-config ADK_COMPILE_PMACCT
- tristate
- default n
- depends on ADK_PACKAGE_PMACCTD || ADK_PACKAGE_PMACCT_CLIENT || ADK_PACKAGE_SFACCTD || ADK_PACKAGE_NFACCTD
-
-config ADK_PACKAGE_PMACCTD
- prompt "pmacctd....................... IP accounting daemon (libpcap based)"
- tristate
- default n
- help
- An IPv4/IPv6 libpcap-based accounting and aggregation daemon
-
-config ADK_PACKAGE_NFACCTD
- prompt "nfacctd....................... Netflow accounting and aggregation daemon"
- tristate
- select ADK_PACKAGE_LIBPCAP
- help
- An IPv4/IPv6 libpcap-based accounting and aggregation daemon
-
-config ADK_PACKAGE_SFACCTD
- prompt "sfacctd....................... sFlow accounting and aggregation daemon"
- tristate
- select ADK_PACKAGE_LIBPCAP
- help
- An IPv4/IPv6 libpcap-based accounting and aggregation daemon
-
-config ADK_PACKAGE_PMACCT_CLIENT
- prompt "pmacct-client................... Command-line client to gather data from the IMT plugin"
- tristate
- default n
- help
diff --git a/package/pmacct/Makefile b/package/pmacct/Makefile
index c57e9008a..ac7aa9249 100644
--- a/package/pmacct/Makefile
+++ b/package/pmacct/Makefile
@@ -6,6 +6,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= pmacct
PKG_VERSION:= 0.11.6
PKG_RELEASE:= 1
+PKG_BUILDDEP+= libpcap
+ifneq ($(ADK_COMPILE_PMACCT_MYSQL),)
+PKG_BUILDDEP+= mysql
+endif
+ifneq ($(ADK_COMPILE_PMACCT_PGSQL),)
+PKG_BUILDDEP+= postgresql
+endif
+ifneq ($(ADK_COMPILE_PMACCT_SQLITE),)
+PKG_BUILDDEP+= sqlite
+endif
PKG_MD5SUM:= e0f3bcba9a73b7a70bbf5a303cd22f77
PKG_DESCR:= IP accounting daemons
PKG_SECTION:= net