Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
net/darkstat/DESCR Normal file
View File

@@ -0,0 +1,11 @@
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.

29
net/darkstat/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.14 2013/02/06 19:30:56 jperkin Exp $
#
DISTNAME= darkstat-3.0.715
PKGREVISION= 1
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
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"

5
net/darkstat/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 21:00:03 joerg Exp $
man/man8/darkstat.8
sbin/darkstat
share/examples/rc.d/darkstat
@pkgdir share/darkstat/chroot

5
net/darkstat/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.10 2012/03/22 12:30:42 obache Exp $
SHA1 (darkstat-3.0.715.tar.bz2) = e635f7ae0c6dfe3a7d1fac3855ca733187163973
RMD160 (darkstat-3.0.715.tar.bz2) = d85ab00ae73ba388fbcccfa00a2fafc02838c513
Size (darkstat-3.0.715.tar.bz2) = 110881 bytes

View File

@@ -0,0 +1,16 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: darkstat.sh,v 1.1 2008/06/11 13:30:06 obache Exp $
#
# PROVIDE: darkstat
# REQUIRE: NETWORKING named
. /etc/rc.subr
name="darkstat"
rcvar=$name
command="@PREFIX@/sbin/${name}"
load_rc_config $name
run_rc_command "$1"