Subject: pkg/37052: net/darkstat update to 3.0.707
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <bartosz.kuzma@gmail.com>
List: pkgsrc-bugs
Date: 10/02/2007 09:50:00
>Number:         37052
>Category:       pkg
>Synopsis:       net/darkstat update to 3.0.707
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 02 09:50:00 +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