Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/munin-{common,master,node}: update to 2.0.75
add LICENSE_FILE fix Change distribution source sourceforge -> github Fixed version reference bug when generating man portlint(1) portclippy(1) compliant Changes: https://github.com/munin-monitoring/munin/blob/2.0.75/ChangeLog PR: 276218
- Loading branch information
Showing
9 changed files
with
101 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1679676638 | ||
SHA256 (munin-2.0.73.tar.gz) = 027853d848206d6f1b06c230baeb2b28a47915f8b73a0aad4f18d497c840350a | ||
SIZE (munin-2.0.73.tar.gz) = 2252776 | ||
TIMESTAMP = 1704717976 | ||
SHA256 (munin-monitoring-munin-2.0.75_GH0.tar.gz) = 9ea2c8d81b96a19e8f26bb9ee6b2cc35790997a53e574c2d4beaf170e5173553 | ||
SIZE (munin-monitoring-munin-2.0.75_GH0.tar.gz) = 2258514 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- getversion.orig 2023-10-25 08:03:45 UTC | ||
+++ getversion | ||
@@ -74,8 +74,8 @@ generate_version_string_from_dir() { | ||
|
||
if [ -s "RELEASE" ]; then | ||
cat RELEASE | ||
-elif [ "`git rev-parse --is-inside-work-tree 2>/dev/null`" = "true" ]; then | ||
- generate_version_string | ||
+#elif [ "`git rev-parse --is-inside-work-tree 2>/dev/null`" = "true" ]; then | ||
+# generate_version_string | ||
elif [ -n "`generate_version_string_from_dir`" ]; then | ||
generate_version_string_from_dir | ||
else |
38 changes: 38 additions & 0 deletions
38
sysutils/munin-common/files/patch-plugins_lib_Munin_Plugin_SNMP.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- plugins/lib/Munin/Plugin/SNMP.pm.orig 2014-11-24 21:46:24 UTC | ||
+++ plugins/lib/Munin/Plugin/SNMP.pm | ||
@@ -104,7 +104,7 @@ well. | ||
|
||
=cut | ||
|
||
- my ($host, $port, $version, $tail); | ||
+ my ($host, $port, $version, $tail, $domain); | ||
|
||
# Decode plugin/symlink name and extract meaning from it - if possible. | ||
if ($0 =~ /^(?:.*\/)?snmp(v3)?_([^_]+)_(.*)/) { | ||
@@ -122,8 +122,9 @@ well. | ||
$host = $ENV{host} || $host || die "Could not find hostname"; | ||
$version = $ENV{version} || $version || '2'; | ||
$port = $ENV{port} || $port || 161; | ||
+ $domain = $ENV{domain} || $domain || 'UDP/IPv4'; | ||
|
||
- return ($host, $port, $version, $tail); | ||
+ return ($host, $port, $version, $tail, $domain); | ||
} | ||
|
||
|
||
@@ -205,13 +206,14 @@ Security is handled differently for vers | ||
|
||
=cut | ||
|
||
- my ($host, $port, $version, $tail) = config_session(); | ||
+ my ($host, $port, $version, $tail, $domain) = config_session(); | ||
|
||
# Common options. | ||
my @options = ( | ||
-hostname => $host, | ||
-port => $port, | ||
-version => $version, | ||
+ -domain => $domain, | ||
); | ||
|
||
# User defined options |
24 changes: 24 additions & 0 deletions
24
sysutils/munin-common/files/patch-plugins_node.d_bind9__rndc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- plugins/node.d/bind9_rndc.in.orig 2018-03-25 14:01:24 UTC | ||
+++ plugins/node.d/bind9_rndc.in | ||
@@ -13,6 +13,7 @@ The following environment variables are | ||
env.rndc /usr/sbin/rndc | ||
env.rndc_options | ||
env.querystats /var/run/named.stats | ||
+ env.rndckeyfile /etc/namedb/rndc.key | ||
|
||
The user/group that runs the plugin must have read access to the stats | ||
file. To change user or group (usually Munin plugins are run as | ||
@@ -62,9 +63,11 @@ License not documented. | ||
use strict; | ||
|
||
my $rndc = defined($ENV{rndc}) ? $ENV{rndc} : '/usr/sbin/rndc'; | ||
-my $rndc_options = defined($ENV{rndc_options}) ? $ENV{rndc_options} : ''; | ||
+my $rndckeyfile = $ENV{rndckeyfile} ? $ENV{rndckeyfile} : '/etc/namedb/rndc.key'; | ||
my $querystats = $ENV{querystats} || '/var/run/named.stats'; | ||
my %IN; | ||
+my @IN_KEYS; | ||
+my @args = ("$rndc","-k","$rndckeyfile","stats"); | ||
|
||
# attempt to create log file if it doesn't exist | ||
if ( ! -r $querystats ) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- test-mktemp.orig 2023-02-08 07:57:20 UTC | ||
+++ test-mktemp | ||
@@ -53,7 +53,7 @@ MKTEMP='mktemp -p /tmp/ $1' | ||
testfun temp.XXXXXX | ||
|
||
# FreeBSD way | ||
-MKTEMP="mktemp -t /tmp" | ||
+MKTEMP="mktemp -t $1" | ||
testfun temp.XXXXXX | ||
|
||
# Plain mktemp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters