NetBSD Problem Report #37052

From martin@duskware.de  Tue Oct  2 09:48:40 2007
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 861CD63B8C2
	for <gnats-bugs@gnats.netbsd.org>; Tue,  2 Oct 2007 09:48:40 +0000 (UTC)
Message-Id: <20071002065941.487FA63B8C2@narn.NetBSD.org>
Date: Tue,  2 Oct 2007 06:59:41 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: net/darkstat update to 3.0.707
X-Send-Pr-Version: www-1.0

>Number:         37052
>Category:       pkg
>Synopsis:       net/darkstat update to 3.0.707
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obache
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 02 09:50:00 +0000 2007
>Closed-Date:    Sun Oct 14 02:19:49 +0000 2007
>Last-Modified:  Sun Oct 14 02:20:01 +0000 2007
>Originator:     Bartosz Kuzma
>Release:        
>Organization:
>Environment:
>Description:
net/darkstat update to 3.0.707

Changes since 3.0.619:

- Fix silly bug in formatting hex.
- Check for pcap.h in include/pcap/ for old RedHat-a-likes.
- New commandline parser.
- To stay in foreground, pass --debug instead of -d.
- We can now reset all statistics at runtime (send SIGUSR1)
- Make chroot dir configurable on cmdline (--chroot)
- Make privdrop user configurable on cmdline (--user)
- Implement daylog (brings back a v2 feature)
- Import and export hosts and graphs, this brings back a fairly
  major v2 feature.  Big ups to Ben for doing a lot of the
  design and implementation of this feature!
  Note that the v3 database format is, by design, incompatible
  with the v2 format.
- Report average KB/s in and out on graphs.
  Thanks to Damian Lozinski for suggestion and first cut at the
  implementation.
- Fix graph rotation when the delay between rotations is big
  enough to clear an entire graph.
- Make ip_proto 8 bits wide, to match the IP header.
- Implement pidfile functionality for people who prefer to
  handle daemons in this manner.

>How-To-Repeat:

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

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/darkstat/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	11 Jun 2007 15:23:12 -0000	1.5
+++ Makefile	2 Oct 2007 06:53:21 -0000
@@ -1,8 +1,8 @@
 # $NetBSD: Makefile,v 1.5 2007/06/11 15:23:12 obache Exp $
 #

-DISTNAME=		darkstat-3.0.619
-PKGREVISION=		1
+DISTNAME=		darkstat-3.0.707
+PKGREVISION=
 CATEGORIES=		net
 MASTER_SITES=		http://dmr.ath.cx/net/darkstat/
 DIST_SUBDIR=		darkstat
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/darkstat/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	9 May 2007 13:39:11 -0000	1.3
+++ distinfo	2 Oct 2007 06:53:21 -0000
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.3 2007/05/09 13:39:11 obache Exp $

-SHA1 (darkstat/darkstat-3.0.619.tar.bz2) = d38aeb6c6a77b324cd1e267625f40509b358a83a
-RMD160 (darkstat/darkstat-3.0.619.tar.bz2) = 39fc8fa9e49b7cfe73917d97a062cd8855f38828
-Size (darkstat/darkstat-3.0.619.tar.bz2) = 82508 bytes
-SHA1 (patch-ab) = afb531d2c041582c1c6d62c948e7b58ca7f6bd1c
+SHA1 (darkstat/darkstat-3.0.707.tar.bz2) = a5df521ffbd801b32cb52aaa846fea3448f5750f
+RMD160 (darkstat/darkstat-3.0.707.tar.bz2) = 91a19ef837a58f6b464cc24c4dc34bcb8ef15a59
+Size (darkstat/darkstat-3.0.707.tar.bz2) = 90459 bytes

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Sun, 14 Oct 2007 02:06:33 +0000
Responsible-Changed-Why:
I'll handle this.


State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Sun, 14 Oct 2007 02:19:49 +0000
State-Changed-Why:
Patch applided.  Thanks!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/37052 CVS commit: pkgsrc/net/darkstat
Date: Sun, 14 Oct 2007 02:17:42 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Oct 14 02:17:42 UTC 2007

 Modified Files:
 	pkgsrc/net/darkstat: Makefile distinfo
 Removed Files:
 	pkgsrc/net/darkstat/patches: patch-ab

 Log Message:
 Update darkstat to 3.0.707.
 Patch provided by MAINTAINER, Bartosz Kuzma in PR 37052.

 Changes since 3.0.619:

 - Fix silly bug in formatting hex.
 - Check for pcap.h in include/pcap/ for old RedHat-a-likes.
 - New commandline parser.
 - To stay in foreground, pass --debug instead of -d.
 - We can now reset all statistics at runtime (send SIGUSR1)
 - Make chroot dir configurable on cmdline (--chroot)
 - Make privdrop user configurable on cmdline (--user)
 - Implement daylog (brings back a v2 feature)
 - Import and export hosts and graphs, this brings back a fairly
   major v2 feature.  Big ups to Ben for doing a lot of the
   design and implementation of this feature!
   Note that the v3 database format is, by design, incompatible
   with the v2 format.
 - Report average KB/s in and out on graphs.
   Thanks to Damian Lozinski for suggestion and first cut at the
   implementation.
 - Fix graph rotation when the delay between rotations is big
   enough to clear an entire graph.
 - Make ip_proto 8 bits wide, to match the IP header.
 - Implement pidfile functionality for people who prefer to
   handle daemons in this manner.


 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 pkgsrc/net/darkstat/Makefile
 cvs rdiff -r1.3 -r1.4 pkgsrc/net/darkstat/distinfo
 cvs rdiff -r1.1 -r0 pkgsrc/net/darkstat/patches/patch-ab

 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.