[security update] net/monitoring-plugins: 3.0.2

"Alvar Penning" <[email protected]> Wed, 29 Jul 2026 22:04:50 +0200
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
Hi Stuart,
Hi ports@,

A diff for the security release 3.0.2 of the Monitoring Plugins follows.

- https://www.monitoring-plugins.org/news/release-3-0-2.html
- https://github.com/monitoring-plugins/monitoring-plugins/releases/tag/v3.=
0.2

The patch-plugins_check_ntp_time_c patch was removed since the change
went upstream.

Best,
Alvar


diff --git Makefile Makefile
index 74221dbf3aa..4cd0b253584 100644
--- Makefile
+++ Makefile
@@ -8,7 +8,7 @@ COMMENT-pgsql=3D	postgresql monitoring plugin
 COMMENT-snmp=3D	monitoring plugins using snmp
 COMMENT-radius=3D	RADIUS monitoring plugin
=20
-V=3D		3.0.1
+V=3D		3.0.2
 SITES=3D		https://www.monitoring-plugins.org/download/
=20
 DISTNAME=3D	monitoring-plugins-${V:S/rc/-rc/:S/pl0//}
diff --git distinfo distinfo
index 7e7c22c5e35..4674e2c17ca 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (monitoring-plugins-3.0.1.tar.gz) =3D aDqvYQilRaOenEMej6wEoYc6aVBBx=
mN4+SS9VMuyJcw=3D
-SIZE (monitoring-plugins-3.0.1.tar.gz) =3D 3005747
+SHA256 (monitoring-plugins-3.0.2.tar.gz) =3D e38SyjVne10/wxv4zeZ9wI6221Adg=
9kqrQWhMHsBBls=3D
+SIZE (monitoring-plugins-3.0.2.tar.gz) =3D 3006040
diff --git patches/patch-plugins_check_ntp_time_c patches/patch-plugins_che=
ck_ntp_time_c
deleted file mode 100644
index 642a422c7b5..00000000000
--- patches/patch-plugins_check_ntp_time_c
+++ /dev/null
@@ -1,14 +0,0 @@
-error: incompatible pointer types passing 'struct sockaddr_un *' to parame=
ter of type 'const struct sockaddr *' [-Wincompatible-pointer-types]
-
-Index: plugins/check_ntp_time.c
---- plugins/check_ntp_time.c.orig
-+++ plugins/check_ntp_time.c
-@@ -401,7 +401,7 @@ static offset_request_wrapper offset_request(const cha
- 		}
- 		strncpy(unix_socket.sun_path, host, sizeof(unix_socket.sun_path));
-=20
--		if (connect(socklist[0], &unix_socket, sizeof(unix_socket))) {
-+		if (connect(socklist[0], (const struct sockaddr *)&unix_socket, sizeof(=
unix_socket))) {
- 			/* don't die here, because it is enough if there is one server
- 			   answering in time. This also would break for dual ipv4/6 stacked
- 			   ntp servers when the client only supports on of them.