summaryrefslogtreecommitdiff
path: root/net/nload
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-04-19 10:57:34 +0000
committerobache <obache@pkgsrc.org>2008-04-19 10:57:34 +0000
commitd4a86013818d1297cbec0ad99741bfc7e5f77c36 (patch)
tree317c6143637a53b2fdba68592abdfd3e14eafce0 /net/nload
parentd6c4f394e0a6291b3c1dc18c8d3d3f3155ef4fdb (diff)
downloadpkgsrc-d4a86013818d1297cbec0ad99741bfc7e5f77c36.tar.gz
Update nload to 0.7.0, based on maintainer update request in PR 38461.
While here, marked as DESTDIR ready. Changes since 0.6.0 - Abort configure script if ncurses is not found - Rewrite the linux proc devreader - Implement hpux device detection - Implement reading and writing of config files (fixes debian bug #247030) - Add F5 and F6 key shortcuts for reading and writing current settings - Change defaults for traffic units to human readable - Make shown devices configurable at run time and save this setting as well - Remove "-t 0" - Change key shortcuts, especially F2 for the option window - Replace "average smoothness" by average window period in seconds - Apply patch by Paul Brook <paul@nowt.org> so that nload works correctly on 64-bit kernels - Fix SIGSEGV when /proc/net/dev doesn't exist - Make compilation work with GCC 4.3 (fixes debian bug #417449)
Diffstat (limited to 'net/nload')
-rw-r--r--net/nload/Makefile8
-rw-r--r--net/nload/distinfo13
-rw-r--r--net/nload/patches/patch-aa16
-rw-r--r--net/nload/patches/patch-ab13
-rw-r--r--net/nload/patches/patch-ac6
5 files changed, 22 insertions, 34 deletions
diff --git a/net/nload/Makefile b/net/nload/Makefile
index c3ec8650c96..79075dabc16 100644
--- a/net/nload/Makefile
+++ b/net/nload/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.2 2006/05/22 15:10:38 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/04/19 10:57:34 obache Exp $
#
-DISTNAME= nload-0.6.0
+DISTNAME= nload-0.7.0
CATEGORIES= net sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nload/}
-MAINTAINER= bartosz@atom.eu.org
+MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= http://www.roland-riegel.de/nload/
COMMENT= Monitoring network traffic and bandwidth usage
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
MANCOMPRESSED= yes
GNU_CONFIGURE= yes
diff --git a/net/nload/distinfo b/net/nload/distinfo
index dc8d35c2008..a4744c1879f 100644
--- a/net/nload/distinfo
+++ b/net/nload/distinfo
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.2 2006/03/23 00:13:10 joerg Exp $
+$NetBSD: distinfo,v 1.3 2008/04/19 10:57:34 obache 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) = 5f19ad4fc4e30627ae90e0e4855f6bae1daf2983
-SHA1 (patch-ac) = 8fc18710ea7e8cdea04e763f6b44ce364979175b
+SHA1 (nload-0.7.0.tar.gz) = 6717fff8488efd617cbd2b4f16650c0ac1f5edf4
+RMD160 (nload-0.7.0.tar.gz) = da05bed97cf4cf83765103e17fd87ac4b1c1b942
+Size (nload-0.7.0.tar.gz) = 144214 bytes
+SHA1 (patch-aa) = 1551e7059eb0ebde05ed8cdc561099192d048503
+SHA1 (patch-ac) = d45ade6c24dce6444badf408a3aeb09f28fe80b4
diff --git a/net/nload/patches/patch-aa b/net/nload/patches/patch-aa
index f5ce3f744c1..1a3873d576b 100644
--- a/net/nload/patches/patch-aa
+++ b/net/nload/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2008/04/19 10:57:35 obache 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 @@
+--- src/form_field.cpp.orig 2008-02-02 17:14:34.000000000 +0100
++++ src/form_field.cpp
+@@ -36,7 +36,7 @@ Field::~Field()
- void Field::setBuffer( const char* new_buffer )
+ void Field::setText(const string& text)
{
-- set_field_buffer( m_field, 0, new_buffer );
-+ set_field_buffer( m_field, 0, ( char* )new_buffer );
+- set_field_buffer(m_field, 0, text.c_str());
++ set_field_buffer(m_field, 0, (char *)text.c_str());
}
- const char* Field::buffer()
+ string Field::getText()
diff --git a/net/nload/patches/patch-ab b/net/nload/patches/patch-ab
deleted file mode 100644
index 2533e2e0184..00000000000
--- a/net/nload/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2006/03/23 00:13:10 joerg 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* | *dragonfly*)
- 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
index 32ce1309946..81d5b937e4b 100644
--- a/net/nload/patches/patch-ac
+++ b/net/nload/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.2 2006/03/23 00:13:10 joerg Exp $
+$NetBSD: patch-ac,v 1.3 2008/04/19 10:57:35 obache Exp $
---- configure.orig 2003-12-14 23:41:34.000000000 -0800
+--- configure.orig 2008-02-02 18:44:21.000000000 +0100
+++ configure
-@@ -3833,7 +3833,7 @@ fi
+@@ -4563,7 +4563,7 @@ fi
done
;;