Date: Tue, 11 Nov 2003 14:47:14 +0100 From: "Clement Laforet" <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Clement Laforet <sheepkiller@cultdeadsheep.org> Subject: ports/59175: [maintainer update] net/bandwidthd: update to 1.1.6 Message-ID: <20031111134716.7858B43FAF@mx1.FreeBSD.org> Resent-Message-ID: <200311111350.hABDoIQr030486@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59175 >Category: ports >Synopsis: [maintainer update] net/bandwidthd: update to 1.1.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Nov 11 05:50:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 5.1-CURRENT i386 >Organization: cotds.org >Environment: System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #3: Sun Nov 9 13:26:28 CET 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386 >Description: Update bandwidthd to 1.1.6. Changes: The buggy sort algorithm has been replaced. The contents of the log file are loaded back into bandwidthd on restart, so data is persistent between restarts. Log rotation has been added. RecoverCdf has been modified to load large log files much faster, and to load files from the rotation. A segmentation fault in DropOldData has been fixed. >How-To-Repeat: N/A. >Fix: --- bandwidthd.diff begins here --- Index: bandwidthd/Makefile =================================================================== RCS file: /WORK/REPO/FreeBSD/ports/net/bandwidthd/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- bandwidthd/Makefile 6 Nov 2003 09:15:28 -0000 1.1 +++ bandwidthd/Makefile 11 Nov 2003 13:40:23 -0000 @@ -6,7 +6,7 @@ # PORTNAME= bandwidthd -PORTVERSION= 1.1.5 +PORTVERSION= 1.1.6 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} Index: bandwidthd/distinfo =================================================================== RCS file: /WORK/REPO/FreeBSD/ports/net/bandwidthd/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- bandwidthd/distinfo 6 Nov 2003 09:15:28 -0000 1.1 +++ bandwidthd/distinfo 11 Nov 2003 13:00:52 -0000 @@ -1 +1 @@ -MD5 (bandwidthd-1.1.5.tgz) = a1376f78f7f3414bb95ce76f1a9deac7 +MD5 (bandwidthd-1.1.6.tgz) = 0255e5c61cacf0e283da620c2e8ec712 Index: bandwidthd/files/patch-bandwidthd.c =================================================================== RCS file: /WORK/REPO/FreeBSD/ports/net/bandwidthd/files/patch-bandwidthd.c,v retrieving revision 1.1 diff -u -r1.1 patch-bandwidthd.c --- bandwidthd/files/patch-bandwidthd.c 6 Nov 2003 09:15:28 -0000 1.1 +++ bandwidthd/files/patch-bandwidthd.c 11 Nov 2003 13:40:13 -0000 @@ -1,6 +1,6 @@ ---- bandwidthd.c.orig Fri Oct 10 20:22:39 2003 -+++ bandwidthd.c Sun Nov 2 12:21:17 2003 -@@ -114,7 +114,11 @@ +--- bandwidthd.c.orig Mon Nov 10 17:16:04 2003 ++++ bandwidthd.c Tue Nov 11 13:52:27 2003 +@@ -129,7 +129,11 @@ } else { @@ -12,12 +12,12 @@ exit(1); } } -@@ -244,7 +248,7 @@ +@@ -264,7 +268,7 @@ tcp = (struct tcphdr *)(ip+1); tcp = (struct tcphdr *) ( ((char *)tcp) + ((ip->ip_hl-5)*4) ); // Compensate for IP Options Stats->tcp += size; --#ifdef SOLARIS -+#if defined(SOLARIS) || defined(FREEBSD) +-#if defined(SOLARIS) ++#if defined(SOLARIS) || defined (FREEBSD) sport = ntohs(tcp->th_sport); dport = ntohs(tcp->th_dport); #else --- bandwidthd.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031111134716.7858B43FAF>