Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] vnstat: new package
@ 2012-03-19  9:48 Alvaro G. M
  2012-03-19  9:51 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Alvaro G. M @ 2012-03-19  9:48 UTC (permalink / raw)
  To: buildroot

From: "Alvaro G. M" <alvaro.gamez@hazent.com>

Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
---
I think this could replace somehow ttcp in the near future. I've used
it sometimes with the help of netcat to stablish a TCP connection.
I am not sure I made this right, because vnstat doesn't use autotools,
so there is no ./configure to do. Please, check it out.
---
 package/Config.in        |    1 +
 package/vnstat/Config.in |    8 ++++++++
 package/vnstat/vnstat.mk |   15 +++++++++++++++
 3 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 package/vnstat/Config.in
 create mode 100644 package/vnstat/vnstat.mk

diff --git a/package/Config.in b/package/Config.in
index f0ce963..dcedcba 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -517,6 +517,7 @@ source "package/tn5250/Config.in"
 source "package/transmission/Config.in"
 source "package/ttcp/Config.in"
 source "package/udpcast/Config.in"
+source "package/vnstat/Config.in"
 source "package/vpnc/Config.in"
 source "package/vsftpd/Config.in"
 source "package/vtun/Config.in"
diff --git a/package/vnstat/Config.in b/package/vnstat/Config.in
new file mode 100644
index 0000000..79427ce
--- /dev/null
+++ b/package/vnstat/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_VNSTAT
+	bool "vnstat"
+	help
+	  vnStat is a console-based network traffic monitor that keeps a log
+	  of network traffic for the selected interface(s).  It uses the
+	  network interface statistics provided by the kernel as information
+	  source.  This means that vnStat won't actually be sniffing any
+	  traffic and also ensures light use of system resources.
diff --git a/package/vnstat/vnstat.mk b/package/vnstat/vnstat.mk
new file mode 100644
index 0000000..5ac070a
--- /dev/null
+++ b/package/vnstat/vnstat.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# vnstat
+#
+#############################################################
+http://humdi.net/vnstat/vnstat-1.11.tar.gz
+VNSTAT_VERSION = 1.11
+VNSTAT_SOURCE = vnstat-$(VNSTAT_VERSION).tar.gz
+VNSTAT_SITE = http://humdi.net/vnstat/
+
+define VNSTAT_CONFIGURE_CMDS
+	touch $@
+endef
+
+$(eval $(call AUTOTARGETS))
-- 
1.7.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-19 12:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19  9:48 [Buildroot] [PATCH] vnstat: new package Alvaro G. M
2012-03-19  9:51 ` Thomas Petazzoni
2012-03-19 10:10   ` Alvaro Gamez
2012-03-19 10:20     ` Thomas Petazzoni
2012-03-19 10:32       ` Alvaro Gamez
2012-03-19 10:46         ` Peter Korsgaard
2012-03-19 10:56           ` Alvaro Gamez
2012-03-19 12:54             ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox