018089b187
per maintainer updater request by PR 46241. v3.0.715 (January 2012) - Compatibility fixes for Hurd and Solaris. - Use link-time optimization and automake-like silent rules. - Support systems without ifaddrs.h again. - Continuing fixes for IPv6 support. - Only update lastseen time for sender, not recipient. - Implement --local-only: accounting for hosts on the local net. - Make failure to bind() a socket non-fatal. - Make failure to get local IP non-fatal. - Fall back to gethostbyaddr() if getnameinfo() fails. - Fix detection of IPv4 multicast addresses. - Fix decoding on OpenBSD DLT_NULL interfaces (e.g. gif(4))
30 lines
787 B
Makefile
30 lines
787 B
Makefile
# $NetBSD: Makefile,v 1.12 2012/03/22 12:30:42 obache Exp $
|
|
#
|
|
|
|
DISTNAME= darkstat-3.0.715
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://unix4lyfe.org/darkstat/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= bartosz.kuzma@gmail.com
|
|
HOMEPAGE= http://unix4lyfe.org/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
|
|
|
|
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"
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|