From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 10 17:10:08 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19FAF1065670 for ; Tue, 10 Mar 2009 17:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E93C98FC16 for ; Tue, 10 Mar 2009 17:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2AHA7mr037802 for ; Tue, 10 Mar 2009 17:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2AHA7n1037801; Tue, 10 Mar 2009 17:10:07 GMT (envelope-from gnats) Resent-Date: Tue, 10 Mar 2009 17:10:07 GMT Resent-Message-Id: <200903101710.n2AHA7n1037801@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Janos Mohacsi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 020501065673 for ; Tue, 10 Mar 2009 17:09:29 +0000 (UTC) (envelope-from mohacsi@csoki.ki.iif.hu) Received: from csoki.ki.iif.hu (csoki.ki.iif.hu [IPv6:2001:738:0:401::3]) by mx1.freebsd.org (Postfix) with ESMTP id 83FF18FC1C for ; Tue, 10 Mar 2009 17:09:28 +0000 (UTC) (envelope-from mohacsi@csoki.ki.iif.hu) Received: from csoki.ki.iif.hu (localhost [127.0.0.1]) by csoki.ki.iif.hu (8.14.3/8.14.3) with ESMTP id n2AH9QWN086666 for ; Tue, 10 Mar 2009 18:09:26 +0100 (CET) (envelope-from mohacsi@csoki.ki.iif.hu) Received: (from root@localhost) by csoki.ki.iif.hu (8.14.3/8.14.3/Submit) id n2AH9QoB086665; Tue, 10 Mar 2009 18:09:26 +0100 (CET) (envelope-from mohacsi) Message-Id: <200903101709.n2AH9QoB086665@csoki.ki.iif.hu> Date: Tue, 10 Mar 2009 18:09:26 +0100 (CET) From: Janos Mohacsi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/132513: [MAINTAINER] net-mgmt/nfdump: [fixing DST change error] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 17:10:08 -0000 >Number: 132513 >Category: ports >Synopsis: [MAINTAINER] net-mgmt/nfdump: [fixing DST change error] >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 Mar 10 17:10:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 6.4-STABLE i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD csoki.ki.iif.hu 6.4-STABLE FreeBSD 6.4-STABLE #12: Wed Feb 4 20:24:23 CET >Description: the daylight saving patch for nfdump-1.5.6 was not integrated into 1.5.7. Without this patch the -R/-M options may produce incorrect file lists for files not collected in the same daylight saving periode. Added file(s): - files/patch-util.c Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- nfdump-1.5.7_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net-mgmt/nfdump.orig/Makefile /usr/ports/net-mgmt/nfdump/Makefile --- /usr/ports/net-mgmt/nfdump.orig/Makefile 2008-08-22 17:18:46.000000000 +0200 +++ /usr/ports/net-mgmt/nfdump/Makefile 2009-03-10 10:17:52.000000000 +0100 @@ -7,6 +7,7 @@ PORTNAME= nfdump PORTVERSION= 1.5.7 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff -ruN --exclude=CVS /usr/ports/net-mgmt/nfdump.orig/files/patch-util.c /usr/ports/net-mgmt/nfdump/files/patch-util.c --- /usr/ports/net-mgmt/nfdump.orig/files/patch-util.c 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/net-mgmt/nfdump/files/patch-util.c 2009-03-10 17:25:50.000000000 +0100 @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- util.c.orig ++++ util.c +@@ -301,6 +301,7 @@ + static char timestring[16]; + + when = localtime(&t); ++ when->tm_isdst = -1; + snprintf(timestring, 15, "%i%02i%02i%02i%02i", + when->tm_year + 1900, when->tm_mon + 1, when->tm_mday, when->tm_hour, when->tm_min); + timestring[15] = '\0'; +@@ -320,6 +321,7 @@ + when.tm_sec = 0; + when.tm_wday = 0; + when.tm_yday = 0; ++ when.tm_isdst = -1; + + if ( strlen(timestring) != 12 ) { + LogError( "Wrong time format '%s'\n", timestring); --- nfdump-1.5.7_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: