NetBSD Problem Report #38461

From martin@duskware.de  Sat Apr 19 10:15:21 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 4D79263B293
	for <gnats-bugs@gnats.netbsd.org>; Sat, 19 Apr 2008 10:15:21 +0000 (UTC)
Message-Id: <20080419071615.BF6D463B293@narn.NetBSD.org>
Date: Sat, 19 Apr 2008 07:16:15 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: net/nload update to 0.7.0
X-Send-Pr-Version: www-1.0

>Number:         38461
>Category:       pkg
>Synopsis:       net/nload update to 0.7.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 19 10:20:00 +0000 2008
>Closed-Date:    Sat Apr 19 10:58:31 +0000 2008
>Last-Modified:  Sat Apr 19 11:00:07 +0000 2008
>Originator:     Bartosz Kuzma
>Release:        
>Organization:
>Environment:
>Description:
net/nload update to 0.7.0

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)
>How-To-Repeat:

>Fix:
Remove patches/patch-ab and apply the following patch:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/nload/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile    22 May 2006 15:10:38 -0000      1.2
+++ Makefile    19 Apr 2008 07:14:30 -0000
@@ -1,11 +1,11 @@
 # $NetBSD: Makefile,v 1.2 2006/05/22 15:10:38 joerg 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

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/nload/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    23 Mar 2006 00:13:10 -0000      1.2
+++ distinfo    19 Apr 2008 07:14:30 -0000
@@ -1,8 +1,7 @@
 $NetBSD: distinfo,v 1.2 2006/03/23 00:13:10 joerg 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
cvs diff: Diffing patches
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/net/nload/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa    13 Nov 2005 08:31:05 -0000      1.1.1.1
+++ patches/patch-aa    19 Apr 2008 07:14:30 -0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/11/13 08:31:05 minskim Exp $
+$NetBSD$

---- 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()
Index: patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/net/nload/patches/patch-ac,v
retrieving revision 1.2
diff -u -r1.2 patch-ac
--- patches/patch-ac    23 Mar 2006 00:13:10 -0000      1.2
+++ patches/patch-ac    19 Apr 2008 07:14:30 -0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.2 2006/03/23 00:13:10 joerg Exp $
+$NetBSD$

---- 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

          ;;

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 19 Apr 2008 10:52:14 +0000
Responsible-Changed-Why:
I'll take this.


State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 19 Apr 2008 10:58:31 +0000
State-Changed-Why:
Updated.  Thanks for the PR!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38461 CVS commit: pkgsrc/net/nload
Date: Sat, 19 Apr 2008 10:57:35 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sat Apr 19 10:57:35 UTC 2008

 Modified Files:
 	pkgsrc/net/nload: Makefile distinfo
 	pkgsrc/net/nload/patches: patch-aa patch-ac
 Removed Files:
 	pkgsrc/net/nload/patches: patch-ab

 Log Message:
 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)


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/net/nload/Makefile pkgsrc/net/nload/distinfo
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/net/nload/patches/patch-aa
 cvs rdiff -r1.2 -r0 pkgsrc/net/nload/patches/patch-ab
 cvs rdiff -r1.2 -r1.3 pkgsrc/net/nload/patches/patch-ac

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.