summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-13 08:31:05 +0000
committerminskim <minskim@pkgsrc.org>2005-11-13 08:31:05 +0000
commit476282a1cafa09a57e7e28eacbb9c3aad42f192c (patch)
tree24883026468a106f2c87c43f04bde6f8e34184fc
parent21921fb67ac5ccea9c0340a2359795cee07c0267 (diff)
downloadpkgsrc-476282a1cafa09a57e7e28eacbb9c3aad42f192c.tar.gz
Import nload from pkgsrc-wip. Packaged by Bartosz Kuzma.
nload is a console application which monitors network traffic and bandwidth usage in real time. It visualizes the in- and outgoing traffic using two graphs and provides additional info like the total amount of transfered data and min/max network usage.
-rw-r--r--net/nload/DESCR4
-rw-r--r--net/nload/Makefile16
-rw-r--r--net/nload/PLIST3
-rw-r--r--net/nload/distinfo8
-rw-r--r--net/nload/patches/patch-aa13
-rw-r--r--net/nload/patches/patch-ab13
-rw-r--r--net/nload/patches/patch-ac13
7 files changed, 70 insertions, 0 deletions
diff --git a/net/nload/DESCR b/net/nload/DESCR
new file mode 100644
index 00000000000..974753c83e0
--- /dev/null
+++ b/net/nload/DESCR
@@ -0,0 +1,4 @@
+nload is a console application which monitors network traffic and
+bandwidth usage in real time. It visualizes the in- and outgoing
+traffic using two graphs and provides additional info like the total
+amount of transfered data and min/max network usage.
diff --git a/net/nload/Makefile b/net/nload/Makefile
new file mode 100644
index 00000000000..b6b05a4cfc5
--- /dev/null
+++ b/net/nload/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+#
+
+DISTNAME= nload-0.6.0
+CATEGORIES= net sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nload/}
+
+MAINTAINER= bartosz@atom.eu.org
+HOMEPAGE= http://www.roland-riegel.de/nload/
+COMMENT= Monitoring network traffic and bandwidth usage
+
+MANCOMPRESSED= yes
+GNU_CONFIGURE= yes
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/nload/PLIST b/net/nload/PLIST
new file mode 100644
index 00000000000..6f2340adebf
--- /dev/null
+++ b/net/nload/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+bin/nload
+man/man1/nload.1
diff --git a/net/nload/distinfo b/net/nload/distinfo
new file mode 100644
index 00000000000..484337626be
--- /dev/null
+++ b/net/nload/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+SHA1 (nload-0.6.0.tar.gz) = 3f71fb4fce9b8f4da7dccf9ab9696c3d051012c2
+RMD160 (nload-0.6.0.tar.gz) = d7bcd89d32b90ce4e5676c6630e478cd3e73a9d7
+Size (nload-0.6.0.tar.gz) = 121136 bytes
+SHA1 (patch-aa) = 2a335e0aa7d080247c03a0b5692621ddd5dcf61f
+SHA1 (patch-ab) = 2c404b9eb92a1a79a7c1b0b442bcfa1047b89758
+SHA1 (patch-ac) = 83de623394a7ec1eefa672c4c1f98366f887b0b9
diff --git a/net/nload/patches/patch-aa b/net/nload/patches/patch-aa
new file mode 100644
index 00000000000..f5ce3f744c1
--- /dev/null
+++ b/net/nload/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+--- src/form_field.cpp.orig 2003-11-25 19:05:01.000000000 +0100
++++ src/form_field.cpp 2005-11-07 21:50:38.000000000 +0100
+@@ -30,7 +30,7 @@
+
+ void Field::setBuffer( const char* new_buffer )
+ {
+- set_field_buffer( m_field, 0, new_buffer );
++ set_field_buffer( m_field, 0, ( char* )new_buffer );
+ }
+
+ const char* Field::buffer()
diff --git a/net/nload/patches/patch-ab b/net/nload/patches/patch-ab
new file mode 100644
index 00000000000..1851ba1bc7e
--- /dev/null
+++ b/net/nload/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+--- configure.in.orig 2003-12-14 23:41:18.000000000 -0800
++++ configure.in
+@@ -32,7 +32,7 @@ case $host_os in
+ AC_DEFINE(HAVE_LINUX, 1, [Define to 1 if your build target is Linux.])
+ AC_CHECK_FUNCS([memset])
+ ;;
+- *bsd*)
++ *bsd* | *darwin*)
+ AC_DEFINE(HAVE_BSD, 1, [Define to 1 if your build target is BSD.])
+ AC_FUNC_MALLOC
+ ;;
diff --git a/net/nload/patches/patch-ac b/net/nload/patches/patch-ac
new file mode 100644
index 00000000000..e0214a7c338
--- /dev/null
+++ b/net/nload/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+
+--- configure.orig 2003-12-14 23:41:34.000000000 -0800
++++ configure
+@@ -3833,7 +3833,7 @@ fi
+ done
+
+ ;;
+- *bsd*)
++ *bsd* | *darwin*)
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_BSD 1