Re: [security update] net/monitoring-plugins: 3.0.2

Stuart Henderson <[email protected]> Wed, 29 Jul 2026 21:08:18 +0100
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
ah, he fixed the 403 then :) will commit soon.


On 2026/07/29 22:04, Alvar Penning wrote:
> 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=	postgresql monitoring plugin
>  COMMENT-snmp=	monitoring plugins using snmp
>  COMMENT-radius=	RADIUS monitoring plugin
>  
> -V=		3.0.1
> +V=		3.0.2
>  SITES=		https://www.monitoring-plugins.org/download/
>  
>  DISTNAME=	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) = aDqvYQilRaOenEMej6wEoYc6aVBBxmN4+SS9VMuyJcw=
> -SIZE (monitoring-plugins-3.0.1.tar.gz) = 3005747
> +SHA256 (monitoring-plugins-3.0.2.tar.gz) = e38SyjVne10/wxv4zeZ9wI6221Adg9kqrQWhMHsBBls=
> +SIZE (monitoring-plugins-3.0.2.tar.gz) = 3006040
> diff --git patches/patch-plugins_check_ntp_time_c patches/patch-plugins_check_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 parameter 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));
> - 
> --		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.