summaryrefslogtreecommitdiff
path: root/net/darkstat/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-06-11 13:27:31 +0000
committerobache <obache@pkgsrc.org>2008-06-11 13:27:31 +0000
commita29ba9be9072fb3d1e4cf0974f2642c3e24fbb9e (patch)
treea6ac0917b8693e3638875dbd8b6d7564de4bdea8 /net/darkstat/Makefile
parent7ffd761631296c5e891b206b4e122ac37e0e0b61 (diff)
downloadpkgsrc-a29ba9be9072fb3d1e4cf0974f2642c3e24fbb9e.tar.gz
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
Diffstat (limited to 'net/darkstat/Makefile')
-rw-r--r--net/darkstat/Makefile12
1 files changed, 8 insertions, 4 deletions
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"