FreeBSD Bugzilla – Attachment 166799 Details for
Bug 207057
net-mgmt/observium: fix with rrdtool 1.5+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch (text/plain), 2.02 KB, created by
Mathieu Arnold
on 2016-02-09 13:44:03 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mathieu Arnold
Created:
2016-02-09 13:44:03 UTC
Size:
2.02 KB
patch
obsolete
>diff --git a/net-mgmt/observium/Makefile b/net-mgmt/observium/Makefile >index 79812e8..e7b3035 100644 >--- a/net-mgmt/observium/Makefile >+++ b/net-mgmt/observium/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= observium > PORTVERSION= 0.16.1.7533 >-PORTREVISION= 0 >+PORTREVISION= 1 > CATEGORIES= net-mgmt > MASTER_SITES= http://www.observium.org/ > DISTNAME= ${PORTNAME}-community-latest >diff --git a/net-mgmt/observium/files/patch-html_includes_graphs_generic__multi__bits__separated.inc.php b/net-mgmt/observium/files/patch-html_includes_graphs_generic__multi__bits__separated.inc.php >new file mode 100644 >index 0000000..b6054c8 >--- /dev/null >+++ b/net-mgmt/observium/files/patch-html_includes_graphs_generic__multi__bits__separated.inc.php >@@ -0,0 +1,27 @@ >+--- html/includes/graphs/generic_multi_bits_separated.inc.php.orig 2016-01-15 08:37:56 UTC >++++ html/includes/graphs/generic_multi_bits_separated.inc.php >+@@ -76,13 +76,13 @@ foreach ($rrd_list as $rrd) >+ $rrd_options .= " VDEF:totout".$i."=outB".$i.",TOTAL"; >+ $rrd_options .= " VDEF:tot".$i."=octets".$i.",TOTAL"; >+ >+- if ($i) { $stack="STACK"; } >++ if ($i) { $stack=":STACK"; } >+ >+ if ($vars['line_graph']) >+ { >+ $rrd_options .= " LINE1.25:inB".$i."#" . $colour_in . ":'" . $descr . "'"; >+ } else { >+- $rrd_options .= " AREA:inB".$i."#" . $colour_in . ":'" . $descr . "':$stack"; >++ $rrd_options .= " AREA:inB".$i."#" . $colour_in . ":'" . $descr . "'$stack"; >+ } >+ $rrd_options .= " GPRINT:inB".$i.":LAST:%6.2lf%s$units"; >+ $rrd_options .= " GPRINT:inB".$i.":AVERAGE:%6.2lf%s$units"; >+@@ -97,7 +97,7 @@ foreach ($rrd_list as $rrd) >+ $rrd_options .= " 'LINE1.25:outB".$i."_neg#" . $colour_out . ":" . $descr_out . "'"; >+ } else { >+ $rrd_options .= " 'HRULE:0#" . $colour_out.":".$descr_out."'"; >+- $rrd_optionsb .= " 'AREA:outB".$i."_neg#" . $colour_out . "::$stack'"; >++ $rrd_optionsb .= " 'AREA:outB".$i."_neg#" . $colour_out . ":$stack'"; >+ } >+ $rrd_options .= " GPRINT:outB".$i.":LAST:%6.2lf%s$units"; >+ $rrd_options .= " GPRINT:outB".$i.":AVERAGE:%6.2lf%s$units";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207057
: 166799 |
166814