pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49345: Update net/darkstat to 3.0.718



>Number:         49345
>Category:       pkg
>Synopsis:       Update net/darkstat to 3.0.718
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 31 10:25:00 +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



Home | Main Index | Thread Index | Old Index