From 64caf0b9f3f417b6b9e6c32c4438ff7b4e69b6fa Mon Sep 17 00:00:00 2001
From: "Chris D. Faulhaber" <jedgar@FreeBSD.org>
Date: Sat, 11 Mar 2000 15:36:23 +0000
Subject: IP Flow Meter is a bandwidth analysis tool, that measures how much
 bandwidth specified hosts use on their Internet link.

PR:		17190
Submitted by:	Roman Shterenzon <roman@xpert.com>
---
 net-mgmt/ipfm/Makefile       | 21 +++++++++++++++++++++
 net-mgmt/ipfm/distinfo       |  1 +
 net-mgmt/ipfm/files/patch-aa | 11 +++++++++++
 net-mgmt/ipfm/files/patch-ab | 11 +++++++++++
 net-mgmt/ipfm/pkg-comment    |  1 +
 net-mgmt/ipfm/pkg-descr      |  7 +++++++
 net-mgmt/ipfm/pkg-plist      |  4 ++++
 7 files changed, 56 insertions(+)
 create mode 100644 net-mgmt/ipfm/Makefile
 create mode 100644 net-mgmt/ipfm/distinfo
 create mode 100644 net-mgmt/ipfm/files/patch-aa
 create mode 100644 net-mgmt/ipfm/files/patch-ab
 create mode 100644 net-mgmt/ipfm/pkg-comment
 create mode 100644 net-mgmt/ipfm/pkg-descr
 create mode 100644 net-mgmt/ipfm/pkg-plist

(limited to 'net-mgmt/ipfm')

diff --git a/net-mgmt/ipfm/Makefile b/net-mgmt/ipfm/Makefile
new file mode 100644
index 000000000000..0acf21f0a79b
--- /dev/null
+++ b/net-mgmt/ipfm/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for:	ipfm
+# Version required:			0.10.4
+# Date Created:				4 Mar 2000
+# Whom:					Roman Shterenzon <roman@xpert.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME=	ipfm-0.10.4
+CATEGORIES=     net
+MASTER_SITES=	http://www.via.ecp.fr/~tibob/ipfm/archive/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	roman@xpert.com
+
+WRKSRC=		${WRKDIR}/${PKGNAME}
+PATCH_STRIP=	-p1
+
+GNU_CONFIGURE=	yes
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/ipfm/distinfo b/net-mgmt/ipfm/distinfo
new file mode 100644
index 000000000000..49137eecea7e
--- /dev/null
+++ b/net-mgmt/ipfm/distinfo
@@ -0,0 +1 @@
+MD5 (ipfm-0.10.4.tgz) = bf5b0adc9301449dce2da0d42a0116d0
diff --git a/net-mgmt/ipfm/files/patch-aa b/net-mgmt/ipfm/files/patch-aa
new file mode 100644
index 000000000000..0778be48bd19
--- /dev/null
+++ b/net-mgmt/ipfm/files/patch-aa
@@ -0,0 +1,11 @@
+--- ipfm-0.10.4.orig/configure	Sat Oct 16 17:18:30 1999
++++ ipfm-0.10.4/configure	Sat Mar  4 23:57:54 2000
+@@ -1370,7 +1370,7 @@
+ done
+ 
+ 
+-sysconfdir=/etc
++sysconfdir=$prefix/etc
+ 
+ trap '' 1 2 15
+ cat > confcache <<\EOF
diff --git a/net-mgmt/ipfm/files/patch-ab b/net-mgmt/ipfm/files/patch-ab
new file mode 100644
index 000000000000..996ed7f79691
--- /dev/null
+++ b/net-mgmt/ipfm/files/patch-ab
@@ -0,0 +1,11 @@
+--- ipfm-0.10.4/Makefile.in	Mon Oct 11 15:45:58 1999
++++ ipfm-0.10.4.orig/Makefile.in	Sun Mar  5 00:48:36 2000
+@@ -15,7 +15,7 @@
+ 
+ install: all
+ 	$(INSTALL) -d -m 755 $(SBINDIR)
+-	$(INSTALL) -m 755 source/ipfm $(SBINDIR)/ipfm
++	$(INSTALL) -s -m 755 source/ipfm $(SBINDIR)/ipfm
+ 	$(INSTALL) -d -m 755 $(ETCDIR)
+ 	[ -f $(CONFIGURATION_FILE) ] || \
+ 	  $(INSTALL) -m 644 ipfm.conf.sample $(CONFIGURATION_FILE)
diff --git a/net-mgmt/ipfm/pkg-comment b/net-mgmt/ipfm/pkg-comment
new file mode 100644
index 000000000000..1f645d2a1d1b
--- /dev/null
+++ b/net-mgmt/ipfm/pkg-comment
@@ -0,0 +1 @@
+IP Flow Meter is a bandwidth analysis tool
diff --git a/net-mgmt/ipfm/pkg-descr b/net-mgmt/ipfm/pkg-descr
new file mode 100644
index 000000000000..7cd5879ab32a
--- /dev/null
+++ b/net-mgmt/ipfm/pkg-descr
@@ -0,0 +1,7 @@
+IP Flow Meter is a bandwidth analysis tool, that measures how much bandwidth
+specified hosts use on their Internet link. 
+
+It is written using libpcap ( ftp://ftp.ee.lbl.gov/libpcap.tar.Z ),
+so it ought to be portable.
+
+WWW: http://www.via.ecp.fr/~tibob/ipfm/
diff --git a/net-mgmt/ipfm/pkg-plist b/net-mgmt/ipfm/pkg-plist
new file mode 100644
index 000000000000..3720022e7699
--- /dev/null
+++ b/net-mgmt/ipfm/pkg-plist
@@ -0,0 +1,4 @@
+sbin/ipfm
+man/man5/ipfm.conf.5
+man/man8/ipfm.8
+etc/ipfm.conf
-- 
cgit v1.2.3