Download raw body.
[security update] net/monitoring-plugins: 3.0.1
thanks; it was already in by then :)
amd64/i386 -stable packages heading to mirrors.
On 2026/07/01 18:00, Alvar Penning wrote:
> Hi Stuart,
> Hi ports@,
>
> A diff for the security release version 3.0.1 of the Monitoring Plugins
> follows.
>
> https://www.monitoring-plugins.org/news/release-3-0-1.html
>
> At least there's something positive: The affected check_icmp plugin
> starts with a pledge(2) call, which should limit the damage on OpenBSD.
>
> Best,
> Alvar
>
>
> diff --git a/Makefile b/Makefile
> index 28c3aaa84d9..74221dbf3aa 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -8,7 +8,7 @@ COMMENT-pgsql= postgresql monitoring plugin
> COMMENT-snmp= monitoring plugins using snmp
> COMMENT-radius= RADIUS monitoring plugin
>
> -V= 3.0.0
> +V= 3.0.1
> SITES= https://www.monitoring-plugins.org/download/
>
> DISTNAME= monitoring-plugins-${V:S/rc/-rc/:S/pl0//}
> diff --git a/distinfo b/distinfo
> index a22daf3ca7b..7e7c22c5e35 100644
> --- a/distinfo
> +++ b/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (monitoring-plugins-3.0.0.tar.gz) = KfyWkqZsEFGfX5j8JR/CFvzRMnG0/MtC6wEok7rsWUk=
> -SIZE (monitoring-plugins-3.0.0.tar.gz) = 3005255
> +SHA256 (monitoring-plugins-3.0.1.tar.gz) = aDqvYQilRaOenEMej6wEoYc6aVBBxmN4+SS9VMuyJcw=
> +SIZE (monitoring-plugins-3.0.1.tar.gz) = 3005747
> diff --git a/patches/patch-plugins-root_check_icmp_c b/patches/patch-plugins-root_check_icmp_c
> index c794e08e05e..02b55192800 100644
> --- a/patches/patch-plugins-root_check_icmp_c
> +++ b/patches/patch-plugins-root_check_icmp_c
> @@ -5,7 +5,7 @@ on OpenBSD, time_t is always 64-bit, even on 32-bit archs.
> Index: plugins-root/check_icmp.c
> --- plugins-root/check_icmp.c.orig
> +++ plugins-root/check_icmp.c
> -@@ -957,15 +957,15 @@ int main(int argc, char **argv) {
> +@@ -963,15 +963,15 @@ int main(int argc, char **argv) {
>
> if (debug) {
> if (max_completion_time > (timeout * 1000000)) {
> @@ -26,7 +26,7 @@ Index: plugins-root/check_icmp.c
> printf("icmp_pkt_size: %u timeout: %u\n", config.icmp_data_size + ICMP_MINLEN, timeout);
> }
>
> -@@ -1066,8 +1066,8 @@ static void run_checks(unsigned short icmp_pkt_size, t
> +@@ -1072,8 +1072,8 @@ static void run_checks(unsigned short icmp_pkt_size, t
> time_t final_wait = max_completion_time - time_passed;
>
> if (debug) {
> @@ -37,7 +37,7 @@ Index: plugins-root/check_icmp.c
> }
> if (time_passed > max_completion_time) {
> if (debug) {
> -@@ -1079,7 +1079,7 @@ static void run_checks(unsigned short icmp_pkt_size, t
> +@@ -1085,7 +1085,7 @@ static void run_checks(unsigned short icmp_pkt_size, t
> /* catch the packets that might come in within the timeframe, but
> * haven't yet */
> if (debug) {
> @@ -46,7 +46,7 @@ Index: plugins-root/check_icmp.c
> (float)final_wait / 1000);
> }
> if (targets_alive(number_of_targets, program_state->targets_down) ||
> -@@ -1142,7 +1142,7 @@ static int wait_for_reply(check_icmp_socket_set sockse
> +@@ -1148,7 +1148,7 @@ static int wait_for_reply(check_icmp_socket_set sockse
> &loop_time_interval, &packet_received_timestamp);
> if (!recv_foo.received) {
> if (debug > 1) {
[security update] net/monitoring-plugins: 3.0.1