- Update to 1.5.8

PR:		136441
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
Martin Wilke 2009-07-09 09:05:19 +00:00
parent c6925c31d1
commit 709876b59e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237487
3 changed files with 4 additions and 26 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= nfdump
PORTVERSION= 1.5.7
PORTREVISION= 1
PORTVERSION= 1.5.8
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (nfdump-1.5.7.tar.gz) = 0be4eee4811d21685573fb0b91d49487
SHA256 (nfdump-1.5.7.tar.gz) = d3890848ca6502391c6d2798b7d06c712d916fdcee38dfe0006a6bb3830bb5b5
SIZE (nfdump-1.5.7.tar.gz) = 324603
MD5 (nfdump-1.5.8.tar.gz) = f314513652df18259f8303c542918cbb
SHA256 (nfdump-1.5.8.tar.gz) = 3fbfb874377316cf322cf13cfab667207fe78e0910bbc82ba012e3a77c00de36
SIZE (nfdump-1.5.8.tar.gz) = 331279

View File

@ -1,21 +0,0 @@
$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);