d74a02291d
Changes: - Don't require --verbose for pcap_stats. - Survive interface going down on Linux. - Support DLT_RAW, implemented by Anton S. Ustyuzhanin. - Skip accounting for hosts or ports if their max is set to zero. - Implement --hexdump for troubleshooting. - Web: Implement --no-lastseen - Implement --snaplen manual override. - Fix snaplen problem on recent (1-2 years?) Linux kernels. - Implement --syslog - Implement --wait as a NetworkManager workaround.
32 lines
811 B
Makefile
32 lines
811 B
Makefile
# $NetBSD: Makefile,v 1.10 2010/04/13 21:02:00 morr Exp $
|
|
#
|
|
|
|
DISTNAME= darkstat-3.0.713
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://dmr.ath.cx/net/darkstat/
|
|
DIST_SUBDIR= darkstat
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= bartosz.kuzma@gmail.com
|
|
HOMEPAGE= http://dmr.ath.cx/net/darkstat/
|
|
COMMENT= Network statistics gatherer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_TARGET= darkstat
|
|
|
|
GNU_CONFIGURE= yes
|
|
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} ${DESTDIR}${PREFIX}/share/darkstat
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat/chroot
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|