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 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 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