From 66bdbf7ce48c1ecd013c45cfa334fcd1403251c0 Mon Sep 17 00:00:00 2001 From: demon Date: Wed, 1 Oct 2003 16:08:10 +0000 Subject: Update to version 2.10.5. --- net/mrtg/Makefile | 3 +-- net/mrtg/distinfo | 2 +- net/mrtg/files/patch-aa | 27 --------------------------- 3 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 net/mrtg/files/patch-aa (limited to 'net/mrtg') diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 144a0637530a..dd84f9ac4b42 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -6,8 +6,7 @@ # PORTNAME= mrtg -PORTVERSION= 2.9.29 -PORTREVISION= 3 +PORTVERSION= 2.10.5 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \ diff --git a/net/mrtg/distinfo b/net/mrtg/distinfo index da09862bd81e..b9f385f4e86f 100644 --- a/net/mrtg/distinfo +++ b/net/mrtg/distinfo @@ -1 +1 @@ -MD5 (mrtg-2.9.29.tar.gz) = 17ae5e4cdd69a8995e3a861f6a00e153 +MD5 (mrtg-2.10.5.tar.gz) = 5657edcdc3ca0af2d4e063867dbd1529 diff --git a/net/mrtg/files/patch-aa b/net/mrtg/files/patch-aa deleted file mode 100644 index a1732e98acba..000000000000 --- a/net/mrtg/files/patch-aa +++ /dev/null @@ -1,27 +0,0 @@ ---- src/rateup.c.orig Sat Apr 12 15:41:20 2003 -+++ src/rateup.c Mon Jun 2 10:42:04 2003 -@@ -62,7 +62,7 @@ - #ifdef __MINGW32_VERSION - #define LLD "%I64d" - #else --#define LLD "%lld" -+#define LLD "%qd" - #endif - - /* WATCOM C/C++ 10.6 under Win95/NT */ -@@ -840,12 +840,14 @@ char *file; - struct HISTORY *hist; - long long rd[5]; - time_t cur; -+ long lasttime; - - if ((fi = fopen(file,"r")) != NULL) { -- if (fscanf(fi,"%ld %s %s\n",(long int *)&last.time,&last.in[0],&last.out[0]) != 3){ -+ if (fscanf(fi,"%ld %s %s\n",&lasttime,&last.in[0],&last.out[0]) != 3){ - fprintf(stderr,"Read Error: File %s lin 1\n",file); - retcode = 1; - } -+ last.time = lasttime; - cur = last.time; - x = histvalid=0; - hist = history; -- cgit