NetBSD Problem Report #49345

From www@NetBSD.org  Fri Oct 31 10:23:57 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 38418A666E
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 31 Oct 2014 10:23:57 +0000 (UTC)
Message-Id: <20141031102355.D5333A66AF@mollari.NetBSD.org>
Date: Fri, 31 Oct 2014 10:23:55 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Update net/darkstat to 3.0.718
X-Send-Pr-Version: www-1.0

>Number:         49345
>Category:       pkg
>Synopsis:       Update net/darkstat to 3.0.718
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 31 10:25:00 +0000 2014
>Closed-Date:    Sun Dec 14 08:40:44 +0000 2014
>Last-Modified:  Sun Dec 14 08:40:44 +0000 2014
>Originator:     Bartosz Kuzma
>Release:        
>Organization:
>Environment:
>Description:
v3.0.718 (25 January 2014)
 - (SECURITY!) Don't chroot() by default.  The user must specify
   a --chroot dir for this to happen now.
 - Bring back the "--base /path" functionality.
 - Add explicit warning about graphs being blank if we can't get
   local IPs on an interface.
 - Don't crash in timer_stop() if monotonic time stops or goes
   backwards.
 - Lots of internal cleanups.
 - Use time_t instead of "long" for time.  This is more correct
   and should fix darkstat on OpenBSD 5.5 on 32-bit systems.
>How-To-Repeat:

>Fix:
Please apply the following patch:

diff --exclude=CVS -ru darkstat/Makefile darkstat-3.0.718/Makefile
--- darkstat/Makefile	2014-07-21 14:11:05.000000000 +0200
+++ darkstat-3.0.718/Makefile	2014-10-31 11:11:58.000000000 +0100
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.15 2013/09/16 17:42:09 abs Exp $

-DISTNAME=		darkstat-3.0.717
+DISTNAME=		darkstat-3.0.718
 CATEGORIES=		net
 MASTER_SITES=		http://unix4lyfe.org/darkstat/
 EXTRACT_SUFX=		.tar.bz2
@@ -13,14 +13,9 @@
 BUILD_TARGET=		darkstat

 GNU_CONFIGURE=		yes
-CONFIGURE_ARGS+=	--with-chroot-dir=${PREFIX}/share/darkstat/chroot

 RCD_SCRIPTS=		darkstat

-post-install:
-	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat
-	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat/chroot
-
 .include "../../devel/zlib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libpcap+=	libpcap>=0.6.0
 .include "../../net/libpcap/buildlink3.mk"
diff --exclude=CVS -ru darkstat/PLIST darkstat-3.0.718/PLIST
--- darkstat/PLIST	2014-04-02 12:44:22.000000000 +0200
+++ darkstat-3.0.718/PLIST	2014-10-31 11:15:16.000000000 +0100
@@ -1,4 +1,3 @@
 @comment $NetBSD: PLIST,v 1.7 2014/03/11 14:05:07 jperkin Exp $
 man/man8/darkstat.8
 sbin/darkstat
-@pkgdir share/darkstat/chroot
diff --exclude=CVS -ru darkstat/distinfo darkstat-3.0.718/distinfo
--- darkstat/distinfo	2014-07-21 14:11:05.000000000 +0200
+++ darkstat-3.0.718/distinfo	2014-10-31 11:05:12.000000000 +0100
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.11 2013/09/16 17:42:09 abs Exp $

-SHA1 (darkstat-3.0.717.tar.bz2) = 3a774ab48f9523a3a47a5f2b89174843a1b6fa76
-RMD160 (darkstat-3.0.717.tar.bz2) = 82177d8f60d2d3b29da17bcb171ec4a4df6af752
-Size (darkstat-3.0.717.tar.bz2) = 112436 bytes
+SHA1 (darkstat-3.0.718.tar.bz2) = c11c699741d6967489c0aa30b36a6d0649c5d4cd
+RMD160 (darkstat-3.0.718.tar.bz2) = 37863f883009953e83482dc91e4617caca718aea
+Size (darkstat-3.0.718.tar.bz2) = 116044 bytes

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49345 CVS commit: pkgsrc/net/darkstat
Date: Sun, 14 Dec 2014 08:39:56 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Dec 14 08:39:56 UTC 2014

 Modified Files:
 	pkgsrc/net/darkstat: Makefile PLIST distinfo

 Log Message:
 Update darkstat to 3.0.718.
 per maintainer update request by PR pkg/49345.

 v3.0.718 (25 January 2014)
  - (SECURITY!) Don't chroot() by default.  The user must specify
    a --chroot dir for this to happen now.
  - Bring back the "--base /path" functionality.
  - Add explicit warning about graphs being blank if we can't get
    local IPs on an interface.
  - Don't crash in timer_stop() if monotonic time stops or goes
    backwards.
  - Lots of internal cleanups.
  - Use time_t instead of "long" for time.  This is more correct
    and should fix darkstat on OpenBSD 5.5 on 32-bit systems.


 To generate a diff of this commit:
 cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/darkstat/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/darkstat/PLIST
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/net/darkstat/distinfo

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

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 14 Dec 2014 08:40:44 +0000
State-Changed-Why:
Updated.  Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.