diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/utcount/Makefile | 17 | ||||
-rw-r--r-- | sysutils/utcount/distinfo | 1 | ||||
-rw-r--r-- | sysutils/utcount/pkg-descr | 3 | ||||
-rw-r--r-- | sysutils/utcount/pkg-plist | 12 |
5 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index dbc4b079b31e..d99c2f9aaf4b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -274,6 +274,7 @@ SUBDIR += userinfo SUBDIR += userlist SUBDIR += usermin + SUBDIR += utcount SUBDIR += uwatch SUBDIR += vcp SUBDIR += videogen diff --git a/sysutils/utcount/Makefile b/sysutils/utcount/Makefile new file mode 100644 index 000000000000..5ae2d31b08b2 --- /dev/null +++ b/sysutils/utcount/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: utcount +# Date created: May 14 2003 +# Whom: Denis N. Peplin <info@volginfo.ru> +# +# $FreeBSD$ +# + +PORTNAME= utcount +PORTVERSION= 0.1 +CATEGORIES= sysutils net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=utcount + +MAINTAINER= info@volginfo.ru +COMMENT= Users Traffic Count + +.include <bsd.port.mk> diff --git a/sysutils/utcount/distinfo b/sysutils/utcount/distinfo new file mode 100644 index 000000000000..d87ff4974e47 --- /dev/null +++ b/sysutils/utcount/distinfo @@ -0,0 +1 @@ +MD5 (utcount-0.1.tar.gz) = 30e3104406376019bb405382ce548b4b diff --git a/sysutils/utcount/pkg-descr b/sysutils/utcount/pkg-descr new file mode 100644 index 000000000000..4d726c99821a --- /dev/null +++ b/sysutils/utcount/pkg-descr @@ -0,0 +1,3 @@ +Count traffic from users with dynamic ip addresses. Uses information from +application level (Samba, pppd, etc.) to operate on network level (modify +ipfw or another firewall rules for traffic counting). diff --git a/sysutils/utcount/pkg-plist b/sysutils/utcount/pkg-plist new file mode 100644 index 000000000000..76fb16c1d684 --- /dev/null +++ b/sysutils/utcount/pkg-plist @@ -0,0 +1,12 @@ +@comment $FreeBSD$ +bin/count_client +bin/count_gate +bin/count_ipa +bin/count_ipfw +bin/count_pppd +bin/count_samba +bin/count_user +etc/rc.d/utcount.sh.default +@unexec if [ -f %D/etc/utcount.conf ] && cmp -s %D/etc/utcount.conf %D/etc/utcount.conf.default; then rm -f %D/etc/utcount.conf; fi +etc/utcount.conf.default +@exec if [ ! -f %D/etc/utcount.conf ] ; then cp -p %D/%F %B/utcount.conf; fi |