ports/155002: Update net-mgmt/mrtg to 2.17.1

Alexey V. Panfilov ports at subnets.ru
Thu Feb 24 11:50:09 UTC 2011


>Number:         155002
>Category:       ports
>Synopsis:       Update net-mgmt/mrtg to 2.17.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 24 11:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Panfilov
>Release:        8.1-STABLE
>Organization:
n/a
>Environment:
FreeBSD book.lehis.ru 8.1-STABLE FreeBSD 8.1-STABLE #1: Fri Dec 10 18:46:07 MSK 2010 root at book.lehis.ru:/usr/src/sys/amd64/compile/book amd64
>Description:
Update to 2.17.1 (the "BUGFIX" release) includes:

* Fix scaling when noo and noi options are used. fix for  #95
* Stop staticly linking rateup. fix for #97
* Only set LD_RUN_PATH if it is actually necessary. patch from #98
* Net::SNMP only support aes128, des and 3des ... fix for cfgmaker from #99
* Understand desc and descr in ifdesc option of cfgmaker
* only set $args{'-maxrepetitions'} if $Net_SNMP_util::MaxRepetitions > 0
* do not load Net_SNMP_util unless snmpv3 is requested ... fix for #75
* be more aggressive about updating the confcache. If a key is missing, go
  looking for it again and complain. fix for #74
* only apply 32bit counter wrap compensation when the wrap is within 32bit
  range. fix for #70
* implement pngdate as TimeStrPos[x]: RU instead of separately. for for #68
* add missing <p> tag around 'last updated ... ' in html output. fix for #63
* remove racecondition when writing new traffic graph files by writing to a
  temp file and moving it later. fix for #51
* make snmpopt_current available in cfgmaker templates. fix for #48
* explicitly import Socket6 routines in SNMP_Session. fix for #45
* default ThreshHyst to 0.1 only if ThreshDir is define. fix for #42
* point out when there is an unknown interface found. fix for #41.
* allow for $speed to return 0 and still use SNMPv2 ... some Cisco Gear
  seems todo that. Fix for #33
* add dlink support for ifAlias OIDs to cfgmaker from #50
* add WWP (Ciena) support for ifAlias OIDs to cfgmaker from #66
* Updated squid docu #80
* Fix russian translation bug #92

>How-To-Repeat:
n/a
>Fix:


Patch attached with submission follows:

diff -dddruN mrtg.orig/Makefile mrtg/Makefile
--- mrtg.orig/Makefile	2010-12-20 22:50:45.000000000 +0300
+++ mrtg/Makefile	2011-02-24 14:03:09.000000000 +0300
@@ -2,11 +2,11 @@
 # Date created:				April 18th 1997
 # Whom:	      				James FitzGibbon <jfitz at FreeBSD.org>
 #
-# $FreeBSD: ports/net-mgmt/mrtg/Makefile,v 1.108 2010/12/20 19:50:45 ohauer Exp $
+# $FreeBSD: ports/net-mgmt/mrtg/Makefile,v 1.107 2010/08/09 08:54:35 nemoliu Exp $
 #
 
 PORTNAME=	mrtg
-PORTVERSION=	2.17.0
+PORTVERSION=	2.17.1
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt ipv6
 MASTER_SITES=	http://oss.oetiker.ch/mrtg/pub/ \
diff -dddruN mrtg.orig/distinfo mrtg/distinfo
--- mrtg.orig/distinfo	2010-12-20 22:50:45.000000000 +0300
+++ mrtg/distinfo	2011-02-24 14:03:27.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (mrtg-2.17.0.tar.gz) = 88095ed789a50b171f47000338bf3fe3980d38fe8be1050fe07fb8e7f39a8b53
-SIZE (mrtg-2.17.0.tar.gz) = 1093864
+SHA256 (mrtg-2.17.1.tar.gz) = c8b19ade0834f1e3153c95ce3f4a7e3d52ec6d2e9a2f39c2e9e94f4e2227139e
+SIZE (mrtg-2.17.1.tar.gz) = 1095682
diff -dddruN mrtg.orig/files/patch-aa mrtg/files/patch-aa
--- mrtg.orig/files/patch-aa	2010-02-11 22:42:33.000000000 +0300
+++ mrtg/files/patch-aa	1970-01-01 03:00:00.000000000 +0300
@@ -1,11 +0,0 @@
---- bin/mrtg.orig	2010-01-15 17:02:33.000000000 +0300
-+++ bin/mrtg	2010-01-15 16:38:33.000000000 +0300
-@@ -1608,7 +1608,7 @@
-         print HTML "
- <!-- Begin $sample{$peri} -->
- 		<div class=\"graph\">
--			<h2>".&$LOC("$sample{$peri}")." ".&$LOC("Average)")."</h2>
-+			<h2>".&$LOC("$sample{$peri}").&$LOC(" Average\)")."</h2>
- 			<img src=\"$imagepath$router-$full{$peri}.${main::GRAPHFMT}\" title=\"$full{$peri}\" alt=\"$full{$peri}\" />
- 			<table>
- 				<tr>
diff -dddruN mrtg.orig/files/patch-ab mrtg/files/patch-ab
--- mrtg.orig/files/patch-ab	2010-02-11 22:42:33.000000000 +0300
+++ mrtg/files/patch-ab	1970-01-01 03:00:00.000000000 +0300
@@ -1,32 +0,0 @@
---- lib/mrtg2/locales_mrtg.pm.orig	2008-05-16 18:45:41.000000000 +0400
-+++ lib/mrtg2/locales_mrtg.pm	2010-01-15 16:33:33.000000000 +0300
-@@ -4137,10 +4137,10 @@
-      'Max'                                    => 'íÁËÓ.',
-      'Current'                                => 'ôÅËÕÝÉÊ',
-      'version'                                => '×ÅÒÓÉÑ',
--     '`Daily\' Graph \((.*) Minute'           => 'óÕÔÏÞÎÙÊ ÔÒÁÆÉË (ÓÒÅÄÎÅÅ ÚÁ $1 ÍÉÎÕÔ',
--     '`Weekly\' Graph \(30 Minute'            => 'îÅÄÅÌØÎÙÊ ÔÒÁÆÉË (ÓÒÅÄÎÅÅ ÚÁ 30 ÍÉÎÕÔ' ,
--     '`Monthly\' Graph \(2 Hour'              => 'íÅÓÑÞÎÙÊ ÔÒÁÆÉË  (ÓÒÅÄÎÅÅ ÚÁ 2 ÞÁÓÁ',
--     '`Yearly\' Graph \(1 Day'                => 'çÏÄÏ×ÏÊ ÔÒÁÆÉË (ÓÒÅÄÎÅÅ ÚÁ 1 ÄÅÎØ', 
-+     '`Daily\' Graph \((.*) Minute'           => 'óÕÔÏÞÎÙÊ ÇÒÁÆÉË (ÓÒÅÄÎÅÅ ÚÁ $1 ÍÉÎÕÔ',
-+     '`Weekly\' Graph \(30 Minute'            => 'îÅÄÅÌØÎÙÊ ÇÒÁÆÉË (ÓÒÅÄÎÅÅ ÚÁ 30 ÍÉÎÕÔ' ,
-+     '`Monthly\' Graph \(2 Hour'              => 'íÅÓÑÞÎÙÊ ÇÒÁÆÉË  (ÓÒÅÄÎÅÅ ÚÁ 2 ÞÁÓÁ',
-+     '`Yearly\' Graph \(1 Day'                => 'çÏÄÏ×ÏÊ ÇÒÁÆÉË (ÓÒÅÄÎÅÅ ÚÁ 1 ÄÅÎØ', 
-      'Incoming Traffic in (\S+) per Second'   => '÷ÈÏÄÑÝÉÊ ÔÒÁÆÉË × $1 × ÓÅËÕÎÄÕ',
-      'Outgoing Traffic in (\S+) per Second'   => 'éÓÈÏÄÑÝÉÊ ÔÒÁÆÉË × $1 × ÓÅËÕÎÄÕ',
-      'at which time (.*) had been up for(.*)' => '× ÜÔÏ ×ÒÅÍÑ $1 ÂÙÌÁ ×ËÌÀÞÅÎÁ $2',
-@@ -4245,10 +4245,10 @@
-      'Max'                                    => 'Ìàêñèìàëüíî',
-      'Current'                                => 'Ñåé÷àñ',
-      'version'                                => 'âåðñèÿ',
--     '`Daily\' Graph \((.*) Minute'           => 'Ñóòî÷íûé òðàôèê (ñðåäíåå çà $1 ìèíóò',
--     '`Weekly\' Graph \(30 Minute'            => 'Íåäåëüíûé òðàôèê (ñðåäíåå çà 30 ìèíóò' ,
--     '`Monthly\' Graph \(2 Hour'              => 'Ìåñÿ÷íûé òðàôèê  (ñðåäíåå çà 2 ÷àñà',
--     '`Yearly\' Graph \(1 Day'                => 'Ãîäîâîé òðàôèê (ñðåäíåå çà 1 äåíü', 
-+     '`Daily\' Graph \((.*) Minute'           => 'Ñóòî÷íûé ãðàôèê (ñðåäíåå çà $1 ìèíóò',
-+     '`Weekly\' Graph \(30 Minute'            => 'Íåäåëüíûé ãðàôèê (ñðåäíåå çà 30 ìèíóò' ,
-+     '`Monthly\' Graph \(2 Hour'              => 'Ìåñÿ÷íûé ãðàôèê  (ñðåäíåå çà 2 ÷àñà',
-+     '`Yearly\' Graph \(1 Day'                => 'Ãîäîâîé ãðàôèê (ñðåäíåå çà 1 äåíü', 
-      'Incoming Traffic in (\S+) per Second'   => 'Âõîäÿùèé òðàôèê â $1 â ñåêóíäó',
-      'Outgoing Traffic in (\S+) per Second'   => 'Èñõîäÿùèé òðàôèê â $1 â ñåêóíäó',
-      'at which time <strong>(\S+)</strong> had been up for <strong>(\S+)</strong>' => 'âðåìÿ ïîñëå èíèöèàëèçàöèè óñòðîéñòâà <strong>$1</strong>: <strong>$2</strong>.',


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



More information about the freebsd-ports-bugs mailing list