Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2000 11:23:43 +0300 (EEST)
From:      Michael Vasilenko <acid@ci.net.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19596: trafd port update
Message-ID:  <200006300823.LAA34576@triton.ci.net.ua>

next in thread | raw e-mail | index | archive | help

>Number:         19596
>Category:       ports
>Synopsis:       trafd port update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 30 01:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Vasilenko <acid@ci.net.ua>
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
JSC "CINET"
>Environment:

FreeBSD triton.ci.net.ua 4.0-STABLE FreeBSD 4.0-STABLE #1: Thu Jun 29 17:53:50 E
EST 2000     root@triton.ci.net.ua:/usr/src/sys/compile/TRITON  i386

>Description:

		This is call for trafd port update. New version
		seems to be free from byte counters overflow.

>How-To-Repeat:

		Run trafd for couple of days,
		then run traflog -a -s -n | head -n5
		and you'll get negative summary values

>Fix:

diff -urN trafd.bak/Makefile trafd/Makefile
--- trafd.bak/Makefile	Tue Apr 11 06:07:47 2000
+++ trafd/Makefile	Fri Jun 30 11:13:19 2000
@@ -2,11 +2,11 @@
 # Date created:		22 January 2000
 # Whom:			Michael Vasilenko <acid@stu.cn.ua>
 #
-# $FreeBSD: ports/net/trafd/Makefile,v 1.3 2000/04/09 18:13:50 cpiazza Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	trafd
-PORTVERSION=	3.0
+PORTVERSION=	3.0.1
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.riss-telecom.ru/pub/dev/trafd/
 EXTRACT_SUFX=	.tgz
@@ -26,8 +26,8 @@
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/bpft
-	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/bpft/README
+	${MKDIR} ${PREFIX}/share/doc/trafd
+	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/trafd/README
 .endif
 	${MKDIR} ${PREFIX}/var/trafd
 	${MKDIR} ${PREFIX}/var/log
diff -urN trafd.bak/files/md5 trafd/files/md5
--- trafd.bak/files/md5	Sat Jan 29 07:37:37 2000
+++ trafd/files/md5	Fri Jun 30 11:08:46 2000
@@ -1 +1 @@
-MD5 (trafd-3.0.tgz) = 7880a8de300414e6afefc8f9fcc1f69e
+MD5 (trafd-3.0.1.tgz) = 4793d475ed8403d86012023ce459f88d
diff -urN trafd.bak/pkg/DESCR trafd/pkg/DESCR
--- trafd.bak/pkg/DESCR	Sat Jan 29 07:37:41 2000
+++ trafd/pkg/DESCR	Fri Jun 30 11:14:38 2000
@@ -1,12 +1,12 @@
-bpft is a superset of trafshow, and extends it by adding a daemon
+trafd is a superset of trafshow, and extends it by adding a daemon
 which collects data about network connections (src, dst, protocol
 and length). The resulting data can be dumped to a file for later
 processing.
 
-Read /usr/local/share/doc/bpft/README after installation for more
+Read /usr/local/share/doc/trafd/README after installation for more
 information.
 
-To use bpft, your kernel must be rebuilt with the following line
+To use trafd, your kernel must be rebuilt with the following line
 added to your kernel config file (/sys/i386/conf/<YourMachine>):
 
 pseudo-device   bpfilter        4       # Berkeley packet filter
diff -urN trafd.bak/pkg/PLIST trafd/pkg/PLIST
--- trafd.bak/pkg/PLIST	Sun Feb 13 02:49:11 2000
+++ trafd/pkg/PLIST	Fri Jun 30 11:10:13 2000
@@ -7,8 +7,8 @@
 bin/trafstatd
 bin/trafstop
 etc/traflog.format
-share/doc/bpft/README
-@dirrm share/doc/bpft
+share/doc/trafd/README
+@dirrm share/doc/trafd
 @dirrm var/trafd
 @unexec rmdir %D/var/log 2>/dev/null || true
 @unexec rmdir %D/var 2>/dev/null || true

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006300823.LAA34576>