From a29ba9be9072fb3d1e4cf0974f2642c3e24fbb9e Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 11 Jun 2008 13:27:31 +0000 Subject: Update darkstat to 3.0.708. Based on MAINTAINER update request in PR 38930. While here, add DESTDIR support. 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 --- net/darkstat/Makefile | 12 ++++++++---- net/darkstat/PLIST | 3 ++- net/darkstat/distinfo | 8 ++++---- 3 files changed, 14 insertions(+), 9 deletions(-) (limited to 'net/darkstat') diff --git a/net/darkstat/Makefile b/net/darkstat/Makefile index 6c614bdb50b..43860e10620 100644 --- a/net/darkstat/Makefile +++ b/net/darkstat/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2007/10/14 02:17:41 obache Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/11 13:27:31 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 @@ -11,6 +11,8 @@ MAINTAINER= bartosz.kuzma@gmail.com HOMEPAGE= http://dmr.ath.cx/net/darkstat/ COMMENT= Network statistics gatherer +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= darkstat GNU_CONFIGURE= yes @@ -18,9 +20,11 @@ CONFIGURE_ARGS+= --with-chroot-dir=${PREFIX}/share/darkstat/chroot 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 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat/chroot .include "../../devel/zlib/buildlink3.mk" .include "../../net/libpcap/buildlink3.mk" diff --git a/net/darkstat/PLIST b/net/darkstat/PLIST index 765159a2667..c401a407a79 100644 --- a/net/darkstat/PLIST +++ b/net/darkstat/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.2 2006/10/07 07:49:01 obache Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/06/11 13:27:31 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 diff --git a/net/darkstat/distinfo b/net/darkstat/distinfo index 4a3ce676c2f..ac065a7bc3d 100644 --- a/net/darkstat/distinfo +++ b/net/darkstat/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2007/10/14 02:17:41 obache Exp $ +$NetBSD: distinfo,v 1.5 2008/06/11 13:27:31 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 -- cgit v1.2.3