pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38930: net/darkstat updated to 3.0.708
>Number: 38930
>Category: pkg
>Synopsis: net/darkstat updated to 3.0.708
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 10 14:15:00 +0000 2008
>Originator: Bartosz Kuzma
>Release:
>Organization:
>Environment:
>Description:
Changes since 3.0.707:
- Implement limiting of number of ports tracked per host,
configurable on the commandline (--ports-max)
- Optionally don't track high ports (--highest-port)
Thanks Dennis!
- Fix rare use-after-free resulting from hosts table reduction.
- Make hosts limit configurable (--hosts-max)
- Option to read from capfile as alternative to live capture
(really only useful for development, benchmarking)
- Add the sniffed interface name to HTML reports.
Thanks Chris!
- pkgsrc - add rc.d script
>How-To-Repeat:
>Fix:
Apply the following patch and create new file files/darkstat.sh.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/darkstat/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 14 Oct 2007 02:17:41 -0000 1.6
+++ Makefile 10 Jun 2008 14:07:24 -0000
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 2007/10/14 02:17:41 obache Exp $
#
-DISTNAME= darkstat-3.0.707
+DISTNAME= darkstat-3.0.708
CATEGORIES= net
MASTER_SITES= http://dmr.ath.cx/net/darkstat/
DIST_SUBDIR= darkstat
@@ -18,6 +18,8 @@
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0
+RCD_SCRIPTS= darkstat
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat
${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat/chroot
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/darkstat/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST 7 Oct 2006 07:49:01 -0000 1.2
+++ PLIST 10 Jun 2008 14:07:24 -0000
@@ -1,6 +1,7 @@
@comment $NetBSD: PLIST,v 1.2 2006/10/07 07:49:01 obache Exp $
man/man1/darkstat.1
sbin/darkstat
+share/examples/rc.d/darkstat
@exec ${MKDIR} %D/share/darkstat/chroot
@dirrm share/darkstat/chroot
@dirrm share/darkstat
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/darkstat/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 14 Oct 2007 02:17:41 -0000 1.4
+++ distinfo 10 Jun 2008 14:07:24 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2007/10/14 02:17:41 obache Exp $
-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
+SHA1 (darkstat/darkstat-3.0.708.tar.bz2) =
3e6185a5a473fdd5d50a15ef717f3c44f62ece33
+RMD160 (darkstat/darkstat-3.0.708.tar.bz2) =
c3061997a7070c6da9c99bdec67c90643672952b
+Size (darkstat/darkstat-3.0.708.tar.bz2) = 91765 bytes
files/darkstat.sh
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD$
#
# PROVIDE: darkstat
# REQUIRE: NETWORKING named
. /etc/rc.subr
name="darkstat"
rcvar=$name
command="@PREFIX@/sbin/${name}"
load_rc_config $name
run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index