aboutsummaryrefslogtreecommitdiff
path: root/sysutils/utcount
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2003-06-03 04:33:04 +0000
committerWill Andrews <will@FreeBSD.org>2003-06-03 04:33:04 +0000
commit687abae3bf2be53844c6f29de4d8f4e023d12e52 (patch)
tree9cbb82af493332b2317021e300f195dc745189d2 /sysutils/utcount
parent450582be5878038f8972e166d4ce4782cf7eff6a (diff)
downloadports-687abae3bf2be53844c6f29de4d8f4e023d12e52.tar.gz
ports-687abae3bf2be53844c6f29de4d8f4e023d12e52.zip
Notes
Diffstat (limited to 'sysutils/utcount')
-rw-r--r--sysutils/utcount/Makefile17
-rw-r--r--sysutils/utcount/distinfo1
-rw-r--r--sysutils/utcount/pkg-descr3
-rw-r--r--sysutils/utcount/pkg-plist12
4 files changed, 33 insertions, 0 deletions
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