head 1.19; access; symbols pkgsrc-2023Q4:1.18.0.52 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.50 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.18.0.48 pkgsrc-2023Q2-base:1.18 pkgsrc-2023Q1:1.18.0.46 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.44 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.18.0.42 pkgsrc-2022Q3-base:1.18 pkgsrc-2022Q2:1.18.0.40 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.18.0.38 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.36 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.18.0.34 pkgsrc-2021Q3-base:1.18 pkgsrc-2021Q2:1.18.0.32 pkgsrc-2021Q2-base:1.18 pkgsrc-2021Q1:1.18.0.30 pkgsrc-2021Q1-base:1.18 pkgsrc-2020Q4:1.18.0.28 pkgsrc-2020Q4-base:1.18 pkgsrc-2020Q3:1.18.0.26 pkgsrc-2020Q3-base:1.18 pkgsrc-2020Q2:1.18.0.22 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.18.0.2 pkgsrc-2020Q1-base:1.18 pkgsrc-2019Q4:1.18.0.24 pkgsrc-2019Q4-base:1.18 pkgsrc-2019Q3:1.18.0.20 pkgsrc-2019Q3-base:1.18 pkgsrc-2019Q2:1.18.0.18 pkgsrc-2019Q2-base:1.18 pkgsrc-2019Q1:1.18.0.16 pkgsrc-2019Q1-base:1.18 pkgsrc-2018Q4:1.18.0.14 pkgsrc-2018Q4-base:1.18 pkgsrc-2018Q3:1.18.0.12 pkgsrc-2018Q3-base:1.18 pkgsrc-2018Q2:1.18.0.10 pkgsrc-2018Q2-base:1.18 pkgsrc-2018Q1:1.18.0.8 pkgsrc-2018Q1-base:1.18 pkgsrc-2017Q4:1.18.0.6 pkgsrc-2017Q4-base:1.18 pkgsrc-2017Q3:1.18.0.4 pkgsrc-2017Q3-base:1.18 pkgsrc-2017Q2:1.17.0.12 pkgsrc-2017Q2-base:1.17 pkgsrc-2017Q1:1.17.0.10 pkgsrc-2017Q1-base:1.17 pkgsrc-2016Q4:1.17.0.8 pkgsrc-2016Q4-base:1.17 pkgsrc-2016Q3:1.17.0.6 pkgsrc-2016Q3-base:1.17 pkgsrc-2016Q2:1.17.0.4 pkgsrc-2016Q2-base:1.17 pkgsrc-2016Q1:1.17.0.2 pkgsrc-2016Q1-base:1.17 pkgsrc-2015Q4:1.16.0.10 pkgsrc-2015Q4-base:1.16 pkgsrc-2015Q3:1.16.0.8 pkgsrc-2015Q3-base:1.16 pkgsrc-2015Q2:1.16.0.6 pkgsrc-2015Q2-base:1.16 pkgsrc-2015Q1:1.16.0.4 pkgsrc-2015Q1-base:1.16 pkgsrc-2014Q4:1.16.0.2 pkgsrc-2014Q4-base:1.16 pkgsrc-2014Q3:1.15.0.10 pkgsrc-2014Q3-base:1.15 pkgsrc-2014Q2:1.15.0.8 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.15.0.6 pkgsrc-2014Q1-base:1.15 pkgsrc-2013Q4:1.15.0.4 pkgsrc-2013Q4-base:1.15 pkgsrc-2013Q3:1.15.0.2 pkgsrc-2013Q3-base:1.15 pkgsrc-2013Q2:1.14.0.4 pkgsrc-2013Q2-base:1.14 pkgsrc-2013Q1:1.14.0.2 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.13.0.2 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.12.0.6 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.4 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.2 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.11.0.6 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.4 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.2 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.10.0.8 pkgsrc-2011Q1-base:1.10 pkgsrc-2010Q4:1.10.0.6 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.10.0.4 pkgsrc-2010Q3-base:1.10 pkgsrc-2010Q2:1.10.0.2 pkgsrc-2010Q2-base:1.10 pkgsrc-2010Q1:1.9.0.12 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.10 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.8 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.6 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.4 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.2 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.8.0.4 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.2 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.7.0.4 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.2 pkgsrc-2008Q1:1.6.0.4 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.2 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.5.0.4 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.2 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.19 date 2024.03.16.22.36.01; author nia; state Exp; branches; next 1.18; commitid 9cLig8uLUhGJ7r2F; 1.18 date 2017.08.01.14.59.03; author wiz; state Exp; branches; next 1.17; commitid WdGfxAP8wrFJlw1A; 1.17 date 2015.12.28.12.02.10; author bsiegert; state Exp; branches; next 1.16; commitid fExFCZMEghi05IOy; 1.16 date 2014.12.14.08.39.56; author obache; state Exp; branches; next 1.15; commitid jZPCQuTN7kda8Z1y; 1.15 date 2013.09.16.17.42.09; author abs; state Exp; branches; next 1.14; commitid TVm2WOFUTTZzJG5x; 1.14 date 2013.02.06.19.30.56; author jperkin; state Exp; branches; next 1.13; 1.13 date 2012.10.23.17.18.15; author asau; state Exp; branches; next 1.12; 1.12 date 2012.03.22.12.30.42; author obache; state Exp; branches; next 1.11; 1.11 date 2011.06.23.09.21.37; author wiz; state Exp; branches; next 1.10; 1.10 date 2010.04.13.21.02.00; author morr; state Exp; branches; next 1.9; 1.9 date 2008.12.07.11.16.50; author obache; state Exp; branches; next 1.8; 1.8 date 2008.08.24.21.52.29; author obache; state Exp; branches; next 1.7; 1.7 date 2008.06.11.13.27.31; author obache; state Exp; branches; next 1.6; 1.6 date 2007.10.14.02.17.41; author obache; state Exp; branches; next 1.5; 1.5 date 2007.06.11.15.23.12; author obache; state Exp; branches; next 1.4; 1.4 date 2007.05.09.13.39.11; author obache; state Exp; branches; next 1.3; 1.3 date 2006.10.07.07.49.01; author obache; state Exp; branches; next 1.2; 1.2 date 2006.07.20.16.32.46; author minskim; state Exp; branches; next 1.1; 1.1 date 2006.07.19.04.41.47; author minskim; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.07.19.04.41.47; author minskim; state Exp; branches; next ; desc @@ 1.19 log @darkstat: Fix building on Tiger @ text @# $NetBSD: Makefile,v 1.18 2017/08/01 14:59:03 wiz Exp $ DISTNAME= darkstat-3.0.719 CATEGORIES= net MASTER_SITES= https://unix4lyfe.org/darkstat/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= bartosz.kuzma@@gmail.com HOMEPAGE= https://unix4lyfe.org/darkstat/ COMMENT= Network statistics gatherer LICENSE= gnu-gpl-v2 BUILD_TARGET= darkstat GNU_CONFIGURE= yes RCD_SCRIPTS= darkstat .include "../../mk/bsd.prefs.mk" # Macs lacked clock_gettime way past its implement-by date. .if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101200 LDFLAGS+= -lMacportsLegacySupport . include "../../devel/macports-legacy-support/buildlink3.mk" .endif .include "../../devel/zlib/buildlink3.mk" BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0 .include "../../net/libpcap/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.18 log @Follow some http -> https redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2015/12/28 12:02:10 bsiegert Exp $ d19 8 @ 1.17 log @Update darkstat to 3.0.719. From Bartosz Kuzma in PR pkg/50113. v3.0.719 (24 May 2015) - Implement tracking of remote ports: shows which ports the host is making outgoing connections to. Long time feature request. - Bugfix: when the capture interface goes down, exit instead of busy-looping forever. - Fix "clock error" due to machine reboot. - SIGUSR1 now resets the time and bytes reported on the graphs page. - Account for all IP protocols. - Change the default ports_max to only twice the default ports_keep. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2014/12/14 08:39:56 obache Exp $ d5 1 a5 1 MASTER_SITES= http://unix4lyfe.org/darkstat/ d9 1 a9 1 HOMEPAGE= http://unix4lyfe.org/darkstat/ @ 1.16 log @Update darkstat to 3.0.718. per maintainer update request by PR pkg/49345. v3.0.718 (25 January 2014) - (SECURITY!) Don't chroot() by default. The user must specify a --chroot dir for this to happen now. - Bring back the "--base /path" functionality. - Add explicit warning about graphs being blank if we can't get local IPs on an interface. - Don't crash in timer_stop() if monotonic time stops or goes backwards. - Lots of internal cleanups. - Use time_t instead of "long" for time. This is more correct and should fix darkstat on OpenBSD 5.5 on 32-bit systems. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2013/09/16 17:42:09 abs Exp $ d3 1 a3 1 DISTNAME= darkstat-3.0.718 @ 1.15 log @Updated net/darkstat to 3.0.717 (leaf package, mainly bugfixes, checked with MAINTAINER) v3.0.717 (14 August 2013) - (OS X only) Work around lack of clock_gettime(). - Fix crash due to str_appendf() not understanding %ld. v3.0.716 (8 August 2013) - Implement support for multiple capture interfaces. - Support multiple local IPs on an interface. - Only error out if we fail to create all HTTP sockets. In particular, this helps on IPv6-incapable platforms. - Use monotonic time over wall time where appropriate. - Portability fixes for NetBSD and OpenBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2013/02/06 19:30:56 jperkin Exp $ d3 1 a3 1 DISTNAME= darkstat-3.0.717 a15 1 CONFIGURE_ARGS+= --with-chroot-dir=${PREFIX}/share/darkstat/chroot a18 4 post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/darkstat/chroot @ 1.14 log @PKGREVISION bumps for net/libpcap update. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.13 2012/10/23 17:18:15 asau Exp $ # d3 1 a3 2 DISTNAME= darkstat-3.0.715 PKGREVISION= 1 @ 1.13 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2012/03/22 12:30:42 obache Exp $ d5 1 @ 1.12 log @Update darkstat to 3.0.715. 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)) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2011/06/23 09:21:37 wiz Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.11 log @Update to 3.0.714, using patch from Bartosz Kuzma in PR 45095. While here, unset DIST_SUBDIR. Changes since 3.0.713: - IPv6 support! Big ups to Mats Erik Andersson who did most of this work! - Allow sort on last-seen, thanks to Dirk Koopman. - Support multiple bind addresses. - Add --disable-debug configure flag, thanks to Malte S. Stretz. - Make it possible to save the DB without resetting it (SIGUSR2). - Web: Use relative URLs, so darkstat works properly behind mod_proxy, thanks to Malte S. Stretz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2010/04/13 21:02:00 morr Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.714 @ 1.10 log @Update to 3.0.713 from maintainer. 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2008/12/07 11:16:50 obache Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.713 d6 1 a6 2 MASTER_SITES= http://dmr.ath.cx/net/darkstat/ DIST_SUBDIR= darkstat d10 1 a10 1 HOMEPAGE= http://dmr.ath.cx/net/darkstat/ a20 2 BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0 d28 1 @ 1.9 log @Update darkstat to 3.0.712. Requested by maintainer in PR 40128. Changes since 3.0.711: - Web: Add --no-macs option to hide mac addresses. Thanks Dennis! - Web: Make tables prettier. - Host detail view now triggers a DNS lookup. - Manpage tweaks, also move from section 1 to section 8. - Track and show how long ago a host was last seen. Suggested by: Prof A Olowofoyeku (The African Chief) - Show pcap_stats (like number of packets dropped) in the web interface and also upon exit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2008/08/24 21:52:29 obache Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.712 d13 1 @ 1.8 log @Update darkstat to 3.0.711 by mainteiner update request via PR 39401. Changes since 3.0.708: - Split --debug into --verbose and --no-daemon - Include launchd config and instructions for running darkstat on Mac OS X. Contributed by Damien Clauzel. - Implement PPPoE decoding on ethernet iface. (--pppoe) - Web: Add automatic reload button. Thanks Dennis! - Web: Add a graph legend with min/avg/max. - Web: Remove hashtable stats pages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2008/06/11 13:27:31 obache Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.711 @ 1.7 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2007/10/14 02:17:41 obache Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.708 @ 1.6 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2007/06/11 15:23:12 obache Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.707 d14 2 d23 2 d26 2 a27 2 ${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat ${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat/chroot @ 1.5 log @Fix depending version of libpcap, need newer prototype for pcap_freenode. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2007/05/09 13:39:11 obache Exp $ d4 1 a4 2 DISTNAME= darkstat-3.0.619 PKGREVISION= 1 @ 1.4 log @Update darkstat to 3.0.619. Patch provided by MAINTAINER, Bartosz Kuzma in PR 36250. Changes from 3.0.540 to 3.0.619: - Decode DLT_PPP and DLT_PPP_SERIAL on NetBSD, patch courtesy of Bartosz Kuzma. - Don't use pcap_setnonblock(), with help from Colin Phipps. - Reduce the number of syscalls made. - Answer FAQ about graph axes / labels / scale. - Fix build on OpenBSD (thanks Chris!) and Solaris. - Commandline arg (-n) to disable promiscuous mode when sniffing, thanks to Chris Kuethe for the implementation. - Commandline arg (-r) to disable DNS resolver. - Track and report per-host last seen MAC address. - Move FAQ into manpage. - Implement display of start time and running time. - Web: implement sorting the hosts table by in/out/total. - Web: implement paging through the hosts table. - Web: implement full view of hosts table. - Don't die if the capture interface loses its IP address. - Make daemonize (previously -d) the default, and make -D the argument to suppress it. - Commandline arg (-l) to graph traffic entering/leaving the local network as opposed to just the local IP. v2 had this. - Allow configure-time override of CHROOT_DIR and PRIVDROP_USER. - Web: new color scheme. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2006/10/07 07:49:01 obache Exp $ d5 1 d20 2 @ 1.3 log @Update darkstat to 3.0.540. Patch provided by MAINTAINER, Bartosz Kuzma via PR 34158. Changes from 3.0.524 to 3.0.540 - Fix build against old libpcap (thanks Claudio) - Fix build on AIX (thanks Andreas) - Fix build warnings on NetBSD (thanks Bartosz) - Deny writes to BPF socket (thanks Can) - Reverse-resolve IPs less aggressively. - Free up the DNS queue as we process it. - Fix dns_reply silliness. - Web: tweak the look of the top bar. - Web: update total packets and bytes as part of graph update. - Decode DLT_LINUX_SLL (ippp0 on Linux), patch courtesy of Ingo Bressler pkgsrc specific changes: - /var/empty has marked obsolete by etcupdate so I've changed chroot dir for darkstat to ${PREFIX}/share/darkstat/chroot. - patch-aa add support for DLT_PPP_SERIAL (for NetBSD only) and DLT_PPP devices. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2006/07/20 16:32:46 minskim Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.540 d10 1 a10 1 MAINTAINER= bartosz@@atom.eu.org a13 5 SUBST_CLASSES+= conv_c SUBST_STAGE.conv_c= post-patch SUBST_FILES.conv_c= conv.c SUBST_SED.conv_c= -e 's,/var/empty,${PREFIX}/share/darkstat/chroot,' d17 1 @ 1.2 log @This package needs zlib. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2006/07/19 04:41:47 minskim Exp $ d4 1 a4 1 DISTNAME= darkstat-3.0.524 d14 5 d23 4 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d18 1 @ 1.1.1.1 log @Import darkstat from pkgsrc-wip. Packaged by Bartosz Kuzma. Effectively, it's a packet sniffer which runs as a background process on a cable/DSL router, gathers all sorts of useless but interesting statistics, and serves them over HTTP. Features: * Traffic graphs. * Tracks traffic per host. * Tracks traffic per TCP and UDP port for each host. * Embedded web-server with deflate compression. * Asynchronous reverse DNS resolution using a child process. * Small. Portable. Single-threaded. Efficient. @ text @@