Mon Apr 4 11:45:34 2022 UTC ()
munin-common: Update to version 2.0.69.

Patch provided by Steve Mokris in joyent/pkgsrc#330.

munin-2.0.69, 2021-11-22

Lars Kruse (1):
      Fix loading of "local_address" configuration

munin-2.0.68, 2021-11-14

Andreas Perhab (1):
      plugins/postgres_: enable configuring warning/critical

Christoph Moench-Tegeder (2):
      postgres_querylength: catch real statements only
      ntp_: do not mask required variable from Net::IP

Guillaume Rousse (2):
      display locally-defined tresholds
      use dedicated munin SNMP plugin

Kim B. Heino (2):
      plugins/mailman: add missing "graph_category" header
      plugins/postfix_mailqueue: don't run postconf if spooldir-override is defined

Lars Kruse (11):
      Remove obsolete links to old bug tracker ("trac")
      Fix typo
      plugin.sh: remove conversation log regarding shell redirects
      Remove old "authors" file
      Fix typos
      munin-asyncd: use configured update rate if undefined
      Munin::Master::Node: unify configuration access
      munin-run: allow to pass additional arguments to the plugin (#1419)
      Fix homepage link
      fix(postgres_querylength_): fix wrong PostgreSQL version (for 9.4)
      docs: remove stale content from release checklist

Sven Edge (1):
      Handle NVME drives in the Linux iostat plugin (2.0 branch)

Ville Skyttè¾° (1):
      Use `grep -E/-F` instead of `egrep` and `fgrep`

wferi (1):
      Use the host-specific local_address configuration if present


(jperkin)
diff -r1.6 -r1.7 pkgsrc/sysutils/munin-common/Makefile.common
diff -r1.7 -r1.8 pkgsrc/sysutils/munin-common/distinfo
diff -r0 -r1.1 pkgsrc/sysutils/munin-common/patches/patch-common_lib_Munin_Common_Defaults.pm
diff -r0 -r1.1 pkgsrc/sysutils/munin-common/patches/patch-plugins_node.d.sunos_if__.in
diff -r0 -r1.1 pkgsrc/sysutils/munin-common/patches/patch-plugins_node.d.sunos_if__err__.in
diff -r1.2 -r0 pkgsrc/sysutils/munin-common/patches/patch-lib_Munin_Common_Defaults.pm

cvs diff -r1.6 -r1.7 pkgsrc/sysutils/munin-common/Makefile.common (expand / switch to unified diff)

--- pkgsrc/sysutils/munin-common/Makefile.common 2021/07/25 13:26:35 1.6
+++ pkgsrc/sysutils/munin-common/Makefile.common 2022/04/04 11:45:33 1.7
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1# $NetBSD: Makefile.common,v 1.6 2021/07/25 13:26:35 tm Exp $ 1# $NetBSD: Makefile.common,v 1.7 2022/04/04 11:45:33 jperkin Exp $
2# 2#
3# used by sysutils/munin-common/Makefile 3# used by sysutils/munin-common/Makefile
4# used by sysutils/munin-master/Makefile 4# used by sysutils/munin-master/Makefile
5# used by sysutils/munin-node/Makefile 5# used by sysutils/munin-node/Makefile
6 6
7VERSION= 2.0.67 7VERSION= 2.0.69
8DISTNAME= munin-${VERSION} 8DISTNAME= munin-${VERSION}
9CATEGORIES= sysutils 9CATEGORIES= sysutils
10MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=munin/} 10MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=munin/}
11 11
12MAINTAINER= tm@NetBSD.org 12MAINTAINER= tm@NetBSD.org
13HOMEPAGE= http://munin-monitoring.org/ 13HOMEPAGE= http://munin-monitoring.org/
14LICENSE= gnu-gpl-v2 14LICENSE= gnu-gpl-v2
15 15
16BUILD_DEPENDS+= p5-Module-Build>=0.42050:../../devel/p5-Module-Build 16BUILD_DEPENDS+= p5-Module-Build>=0.42050:../../devel/p5-Module-Build
17DEPENDS= p5-Net-SSLeay>=0:../../security/p5-Net-SSLeay 17DEPENDS= p5-Net-SSLeay>=0:../../security/p5-Net-SSLeay
18 18
19DISTINFO_FILE= ${.CURDIR}/../../sysutils/munin-common/distinfo 19DISTINFO_FILE= ${.CURDIR}/../../sysutils/munin-common/distinfo
20PATCHDIR= ${.CURDIR}/../../sysutils/munin-common/patches 20PATCHDIR= ${.CURDIR}/../../sysutils/munin-common/patches

cvs diff -r1.7 -r1.8 pkgsrc/sysutils/munin-common/distinfo (expand / switch to unified diff)

--- pkgsrc/sysutils/munin-common/distinfo 2021/10/26 11:19:53 1.7
+++ pkgsrc/sysutils/munin-common/distinfo 2022/04/04 11:45:33 1.8
@@ -1,10 +1,12 @@ @@ -1,10 +1,12 @@
1$NetBSD: distinfo,v 1.7 2021/10/26 11:19:53 nia Exp $ 1$NetBSD: distinfo,v 1.8 2022/04/04 11:45:33 jperkin Exp $
2 2
3BLAKE2s (munin-2.0.67.tar.gz) = 208af60160d6ddfc98ae0d9c711bffce5d2c2c410710ab586a9a9c1fee00b11b 3BLAKE2s (munin-2.0.69.tar.gz) = e1dbd5bf8ad7385c12de8ccfb4807aa2dcd9f2bd697068e8e027ae15fad45bbe
4SHA512 (munin-2.0.67.tar.gz) = 1f3766b52b99f625ff9cf4d3748a8935abed32b129d2a4714e37118e0116019bee3c1fd0e95da416fb3e39c9be9df17d11bca7f5a835be65ac5147e8b9858417 4SHA512 (munin-2.0.69.tar.gz) = e79c446d04df97d77b36972203667163ee662e0894e264c5dd84bd9402df780c5e67b69314bfdaddd87f102c4cdedb8fa7d2c07aeea46a8e4e9f08e50a08408f
5Size (munin-2.0.67.tar.gz) = 2252301 bytes 5Size (munin-2.0.69.tar.gz) = 2250283 bytes
6SHA1 (patch-MANIFEST) = 538cec30723a6d41b732c9dc4a175472fb821609 6SHA1 (patch-MANIFEST) = 538cec30723a6d41b732c9dc4a175472fb821609
7SHA1 (patch-Makefile) = f3fd52b56fcddda3efca61453c23243fac35568a 7SHA1 (patch-Makefile) = f3fd52b56fcddda3efca61453c23243fac35568a
8SHA1 (patch-Makefile.config) = aeaae9374c58c6baf1901ddb9b55a8fac77cf30c 8SHA1 (patch-Makefile.config) = aeaae9374c58c6baf1901ddb9b55a8fac77cf30c
9SHA1 (patch-common_Build.PL) = 7d7f5afde978d0e5641f931d3f2585651ff40c1a 9SHA1 (patch-common_Build.PL) = 7d7f5afde978d0e5641f931d3f2585651ff40c1a
10SHA1 (patch-lib_Munin_Common_Defaults.pm) = 09b464d828e12da26d8f41916eb876863b4b4cb3 10SHA1 (patch-common_lib_Munin_Common_Defaults.pm) = 09b464d828e12da26d8f41916eb876863b4b4cb3
 11SHA1 (patch-plugins_node.d.sunos_if__.in) = 9fe08aebbd759c6fc374e8a43740d28ec8004c90
 12SHA1 (patch-plugins_node.d.sunos_if__err__.in) = e905228aa8c5c0d1c3a4d9562d550a0d8c0fbd4c

File Added: pkgsrc/sysutils/munin-common/patches/patch-common_lib_Munin_Common_Defaults.pm
$NetBSD: patch-common_lib_Munin_Common_Defaults.pm,v 1.1 2022/04/04 11:45:33 jperkin Exp $

Initialize default paths for all Munin components.

--- common/lib/Munin/Common/Defaults.pm.orig	2019-05-09 03:45:43.000000000 +0000
+++ common/lib/Munin/Common/Defaults.pm
@@ -18,25 +18,25 @@ my $COMPONENT_ROOT = dirname(__FILE__) .
 our $DROPDOWNLIMIT     = 1;
 
 our $MUNIN_PREFIX     = '';
-our $MUNIN_CONFDIR    = "$COMPONENT_ROOT/t/config/";
+our $MUNIN_CONFDIR    = '@PKG_SYSCONFDIR@/';
 our $MUNIN_BINDIR     = '';
 our $MUNIN_SBINDIR    = '';
 our $MUNIN_DOCDIR     = '';
-our $MUNIN_LIBDIR     = '';
-our $MUNIN_HTMLDIR    = '';
-our $MUNIN_CGIDIR     = '';
+our $MUNIN_LIBDIR     = '@MUNIN_LIBDIR@';
+our $MUNIN_HTMLDIR    = '@MUNIN_WWWDIR@/munin/data';
+our $MUNIN_CGIDIR     = '@MUNIN_WWWDIR@/cgi-bin';
 our $MUNIN_CGITMPDIR     = '';
-our $MUNIN_DBDIR      = '';
-our $MUNIN_PLUGSTATE  = ''; 
+our $MUNIN_DBDIR      = '@MUNIN_DBDIR@';
+our $MUNIN_PLUGSTATE  = '@MUNIN_PLUGSTATE@';
 our $MUNIN_SPOOLDIR   = '';
 our $MUNIN_MANDIR     = '';
-our $MUNIN_LOGDIR     = "$COMPONENT_ROOT/log/";
-our $MUNIN_STATEDIR   = ''; 
+our $MUNIN_LOGDIR     = '@MUNIN_LOGDIR@/';
+our $MUNIN_STATEDIR   = '@MUNIN_STATEDIR@';
 our $MUNIN_USER       = getpwuid $UID;
 our $MUNIN_GROUP      = getgrgid $GID;
 our $MUNIN_PLUGINUSER = getpwuid $UID;
 our $MUNIN_VERSION    = 'svn';
-our $MUNIN_PERL       = '/usr/bin/perl';
+our $MUNIN_PERL       = '@PERL5@';
 our $MUNIN_PERLLIB    = '';
 our $MUNIN_GOODSH     = '';
 our $MUNIN_BASH       = '';

File Added: pkgsrc/sysutils/munin-common/patches/patch-plugins_node.d.sunos_if__.in
$NetBSD: patch-plugins_node.d.sunos_if__.in,v 1.1 2022/04/04 11:45:33 jperkin Exp $

Fix kstats.

--- plugins/node.d.sunos/if_.in.orig	2021-11-22 22:12:17.000000000 +0000
+++ plugins/node.d.sunos/if_.in
@@ -56,7 +56,7 @@ fi
 
 if [ "$1" = "suggest" ]; then
 	if [ -x /usr/bin/kstat ]; then
-		kstat -p -m '/^(?!unix)/' -n '/^(?!mac$)/' -s rbytes64 | awk -F: '{ print $3 }'
+		kstat -p -s rbytes64 | awk -F: '$3 != "mac" { print $3 }'
 		exit 0
 	else
 		exit 1
@@ -87,5 +87,5 @@ if [ "$1" = "config" ]; then
 	exit 0
 fi;
 
-kstat -p -m '/^(?!unix)/' -n $INTERFACE -s '*bytes64' | sed \
+kstat -p -n $INTERFACE -s '*bytes64' | sed \
 	's/.*\(.bytes\)64./\1.value /'

File Added: pkgsrc/sysutils/munin-common/patches/patch-plugins_node.d.sunos_if__err__.in
$NetBSD: patch-plugins_node.d.sunos_if__err__.in,v 1.1 2022/04/04 11:45:33 jperkin Exp $

Fix kstats.

--- plugins/node.d.sunos/if_err_.in.orig	2021-11-22 22:12:17.000000000 +0000
+++ plugins/node.d.sunos/if_err_.in
@@ -56,7 +56,7 @@ fi
 
 if [ "$1" = "suggest" ]; then
 	if [ -x /usr/bin/kstat ]; then
-		kstat -p -m '/^(?!unix)/' -n '/^(?!mac$)/' -s ierrors | awk -F: '{ print $3 }'
+		kstat -p -s ierrors | awk -F: '$1 != "unix" && $3 != "mac" { print $3 }'
 		exit 0
 	else
 		exit 1
@@ -88,8 +88,8 @@ if [ "$1" = "config" ]; then
 	exit 0
 fi
 
-kstat -p -m '/^(?!unix)/' -n $INTERFACE -s '/^([io]errors|collisions)$/' | awk -F: '
-{
+kstat -p -n $INTERFACE -s '/^([io]errors|collisions)$/' | awk -F: '
+$1 != "unix" {
 	split($4, four, "\t")
 	print four[1] ".value", four[2]
 }'

File Deleted: pkgsrc/sysutils/munin-common/patches/Attic/patch-lib_Munin_Common_Defaults.pm