git: 1924e64f4198 - main - net-mgmt/monitoring-plugins: fix check_swap with multiple swap volumes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Sep 2026 16:03:06 UTC
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1924e64f4198ecd5dfa5dd256e81d0efaffc55fe
commit 1924e64f4198ecd5dfa5dd256e81d0efaffc55fe
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2026-09-15 16:01:21 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2026-09-15 16:03:03 +0000
net-mgmt/monitoring-plugins: fix check_swap with multiple swap volumes
Pull upstream patch:
https://github.com/monitoring-plugins/monitoring-plugins/pull/2342
---
net-mgmt/monitoring-plugins/Makefile | 9 +++++++--
net-mgmt/monitoring-plugins/distinfo | 6 +++++-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index d50fa8c6af7b..f0c896c6074e 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -1,10 +1,15 @@
PORTNAME= monitoring-plugins
PORTVERSION= 3.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= https://www.monitoring-plugins.org/download/ \
LOCAL/mat/${PORTNAME}
+# Fix wrong swap: https://github.com/monitoring-plugins/monitoring-plugins/pull/2342
+PATCH_SITES+= https://github.com/monitoring-plugins/monitoring-plugins/pull/
+PATCHFILES+= 2342.patch:-p1 \
+ 2325.patch:-p1
+
MAINTAINER= ports@FreeBSD.org
COMMENT= Monitoring Plugins for Nagios
WWW= https://www.monitoring-plugins.org/
@@ -12,7 +17,7 @@ WWW= https://www.monitoring-plugins.org/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= charsetfix gmake libtool perl5 ssl
+USES= autoreconf charsetfix gmake libtool perl5 ssl
USE_SUBMAKE= yes
GNU_CONFIGURE= yes
diff --git a/net-mgmt/monitoring-plugins/distinfo b/net-mgmt/monitoring-plugins/distinfo
index 9f48808a1570..40ba40a99c11 100644
--- a/net-mgmt/monitoring-plugins/distinfo
+++ b/net-mgmt/monitoring-plugins/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1786423683
+TIMESTAMP = 1789487870
SHA256 (monitoring-plugins-3.0.3.tar.gz) = a1df32ef4791defd5418907b54be1549c81598fd02e339c4595d2d26107b3280
SIZE (monitoring-plugins-3.0.3.tar.gz) = 3006770
+SHA256 (2342.patch) = df703462c7e8b20a73f7e3b71a36506d9a72d1d97ae76fe57eede826f733943f
+SIZE (2342.patch) = 3513
+SHA256 (2325.patch) = 81aa3b7b33d35df7b214a965261dec97620a998b86e42b0bd533e34292a543ff
+SIZE (2325.patch) = 18163