From 237f55ba171f34864ef5495baf2f7d70834cdb53 Mon Sep 17 00:00:00 2001
From: Anton Berezin <tobez@FreeBSD.org>
Date: Mon, 17 Jun 2002 07:52:36 +0000
Subject: Update from 0.10.4 to 0.11.4 Install manpages correctly Various fixes

PR:		39248
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
Approved by:	maintainer
---
 net-mgmt/ipfm/Makefile       | 12 ++++++++----
 net-mgmt/ipfm/distinfo       |  2 +-
 net-mgmt/ipfm/files/patch-aa | 11 -----------
 net-mgmt/ipfm/files/patch-ab | 11 -----------
 net-mgmt/ipfm/pkg-descr      |  8 +++++---
 net-mgmt/ipfm/pkg-plist      |  3 +--
 net/ipfm/Makefile            | 12 ++++++++----
 net/ipfm/distinfo            |  2 +-
 net/ipfm/files/patch-aa      | 11 -----------
 net/ipfm/files/patch-ab      | 11 -----------
 net/ipfm/pkg-descr           |  8 +++++---
 net/ipfm/pkg-plist           |  3 +--
 12 files changed, 30 insertions(+), 64 deletions(-)
 delete mode 100644 net-mgmt/ipfm/files/patch-aa
 delete mode 100644 net-mgmt/ipfm/files/patch-ab
 delete mode 100644 net/ipfm/files/patch-aa
 delete mode 100644 net/ipfm/files/patch-ab

diff --git a/net-mgmt/ipfm/Makefile b/net-mgmt/ipfm/Makefile
index 040eb1e5c92e..60b82149105d 100644
--- a/net-mgmt/ipfm/Makefile
+++ b/net-mgmt/ipfm/Makefile
@@ -6,15 +6,19 @@
 #
 
 PORTNAME=	ipfm
-PORTVERSION=	0.10.4
+PORTVERSION=	0.11.4
 CATEGORIES=	net
-MASTER_SITES=	http://www.via.ecp.fr/~tibob/ipfm/archive/
+MASTER_SITES=	http://robert.cheramy.net/ipfm/archive/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	roman@xpert.com
 
-PATCH_STRIP=	-p1
-
 GNU_CONFIGURE=	yes
 
+MAN5=		ipfm.conf.5
+MAN8=		ipfm.8
+
+post-install:
+	@strip ${PREFIX}/sbin/ipfm
+
 .include <bsd.port.mk>
diff --git a/net-mgmt/ipfm/distinfo b/net-mgmt/ipfm/distinfo
index 49137eecea7e..1d62ba86c759 100644
--- a/net-mgmt/ipfm/distinfo
+++ b/net-mgmt/ipfm/distinfo
@@ -1 +1 @@
-MD5 (ipfm-0.10.4.tgz) = bf5b0adc9301449dce2da0d42a0116d0
+MD5 (ipfm-0.11.4.tgz) = 51fd94d3bb4aa1225de08262d50114b6
diff --git a/net-mgmt/ipfm/files/patch-aa b/net-mgmt/ipfm/files/patch-aa
deleted file mode 100644
index 0778be48bd19..000000000000
--- a/net-mgmt/ipfm/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index 996ed7f79691..000000000000
--- a/net-mgmt/ipfm/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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-descr b/net-mgmt/ipfm/pkg-descr
index 7cd5879ab32a..e42b27691f81 100644
--- a/net-mgmt/ipfm/pkg-descr
+++ b/net-mgmt/ipfm/pkg-descr
@@ -1,7 +1,9 @@
 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.
+It is written using libpcap, so it ought to be portable.
 
-WWW: http://www.via.ecp.fr/~tibob/ipfm/
+WWW: http://robert.cheramy.net/ipfm/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/net-mgmt/ipfm/pkg-plist b/net-mgmt/ipfm/pkg-plist
index 8d60c11b7b4f..ddc80a00a81b 100644
--- a/net-mgmt/ipfm/pkg-plist
+++ b/net-mgmt/ipfm/pkg-plist
@@ -1,5 +1,4 @@
 sbin/ipfm
-man/man5/ipfm.conf.5
-man/man8/ipfm.8
 etc/ipfm.conf
+@exec mkdir -p /var/log/ipfm
 @unexec rm -rf /var/log/ipfm
diff --git a/net/ipfm/Makefile b/net/ipfm/Makefile
index 040eb1e5c92e..60b82149105d 100644
--- a/net/ipfm/Makefile
+++ b/net/ipfm/Makefile
@@ -6,15 +6,19 @@
 #
 
 PORTNAME=	ipfm
-PORTVERSION=	0.10.4
+PORTVERSION=	0.11.4
 CATEGORIES=	net
-MASTER_SITES=	http://www.via.ecp.fr/~tibob/ipfm/archive/
+MASTER_SITES=	http://robert.cheramy.net/ipfm/archive/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	roman@xpert.com
 
-PATCH_STRIP=	-p1
-
 GNU_CONFIGURE=	yes
 
+MAN5=		ipfm.conf.5
+MAN8=		ipfm.8
+
+post-install:
+	@strip ${PREFIX}/sbin/ipfm
+
 .include <bsd.port.mk>
diff --git a/net/ipfm/distinfo b/net/ipfm/distinfo
index 49137eecea7e..1d62ba86c759 100644
--- a/net/ipfm/distinfo
+++ b/net/ipfm/distinfo
@@ -1 +1 @@
-MD5 (ipfm-0.10.4.tgz) = bf5b0adc9301449dce2da0d42a0116d0
+MD5 (ipfm-0.11.4.tgz) = 51fd94d3bb4aa1225de08262d50114b6
diff --git a/net/ipfm/files/patch-aa b/net/ipfm/files/patch-aa
deleted file mode 100644
index 0778be48bd19..000000000000
--- a/net/ipfm/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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/ipfm/files/patch-ab b/net/ipfm/files/patch-ab
deleted file mode 100644
index 996ed7f79691..000000000000
--- a/net/ipfm/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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/ipfm/pkg-descr b/net/ipfm/pkg-descr
index 7cd5879ab32a..e42b27691f81 100644
--- a/net/ipfm/pkg-descr
+++ b/net/ipfm/pkg-descr
@@ -1,7 +1,9 @@
 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.
+It is written using libpcap, so it ought to be portable.
 
-WWW: http://www.via.ecp.fr/~tibob/ipfm/
+WWW: http://robert.cheramy.net/ipfm/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/net/ipfm/pkg-plist b/net/ipfm/pkg-plist
index 8d60c11b7b4f..ddc80a00a81b 100644
--- a/net/ipfm/pkg-plist
+++ b/net/ipfm/pkg-plist
@@ -1,5 +1,4 @@
 sbin/ipfm
-man/man5/ipfm.conf.5
-man/man8/ipfm.8
 etc/ipfm.conf
+@exec mkdir -p /var/log/ipfm
 @unexec rm -rf /var/log/ipfm
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0