pkgsrc/net/darkstat/Makefile
obache ddc8531d19 Update darkstat to 3.0.707.
Patch provided by MAINTAINER, Bartosz Kuzma in PR 37052.

Changes since 3.0.619:

- Fix silly bug in formatting hex.
- Check for pcap.h in include/pcap/ for old RedHat-a-likes.
- New commandline parser.
- To stay in foreground, pass --debug instead of -d.
- We can now reset all statistics at runtime (send SIGUSR1)
- Make chroot dir configurable on cmdline (--chroot)
- Make privdrop user configurable on cmdline (--user)
- Implement daylog (brings back a v2 feature)
- Import and export hosts and graphs, this brings back a fairly
  major v2 feature.  Big ups to Ben for doing a lot of the
  design and implementation of this feature!
  Note that the v3 database format is, by design, incompatible
  with the v2 format.
- Report average KB/s in and out on graphs.
  Thanks to Damian Lozinski for suggestion and first cut at the
  implementation.
- Fix graph rotation when the delay between rotations is big
  enough to clear an entire graph.
- Make ip_proto 8 bits wide, to match the IP header.
- Implement pidfile functionality for people who prefer to
  handle daemons in this manner.
2007-10-14 02:17:41 +00:00

27 lines
712 B
Makefile

# $NetBSD: Makefile,v 1.6 2007/10/14 02:17:41 obache Exp $
#
DISTNAME= darkstat-3.0.707
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
BUILD_TARGET= darkstat
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-chroot-dir=${PREFIX}/share/darkstat/chroot
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat
${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat/chroot
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"