Date: Thu, 24 Feb 2011 11:48:03 GMT From: "Alexey V. Panfilov" <ports@subnets.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/155002: Update net-mgmt/mrtg to 2.17.1 Message-ID: <201102241148.p1OBm3aA070684@red.freebsd.org> Resent-Message-ID: <201102241150.p1OBo82r054302@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102241148.p1OBm3aA070684>