[packages/monit] Up to 6.0.0

arekm arekm at pld-linux.org
Thu Oct 29 08:48:03 CET 2026


commit b6ebf1674b1a52d91381293f451824f22a26e6fe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 29 00:41:55 2026 +0100

    Up to 6.0.0
    
    Fixes CVE-2022-26563, CVE-2019-11455, CVE-2019-11454, CVE-2011-1473.

 config.patch | 16 ++++++++--------
 monit.spec   | 14 ++++++++------
 2 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/monit.spec b/monit.spec
index c1eb89a..d189780 100644
--- a/monit.spec
+++ b/monit.spec
@@ -11,22 +11,23 @@
 Summary:	Process monitor and restart utility
 Summary(pl.UTF-8):	Narzędzie do monitorowania procesów i ich restartowania
 Name:		monit
-Version:	5.25.2
-Release:	3
+Version:	6.0.0
+Release:	1
 License:	AGPL v3
 Group:		Daemons
-Source0:	http://mmonit.com/monit/dist/%{name}-%{version}.tar.gz
-# Source0-md5:	890df599d6c1e9cfbbdd3edbacb7db81
+Source0:	https://mmonit.com/monit/dist/%{name}-%{version}.tar.gz
+# Source0-md5:	5ff8668b131e4b6bbf0f2c9246565f6c
 Source1:	%{name}.init
 Source2:	%{name}rc
 Source3:	%{name}.config
 Patch0:		config.patch
-URL:		http://mmonit.com/monit/
+URL:		https://mmonit.com/monit/
 BuildRequires:	bison
 BuildRequires:	flex
 %{?with_ssl:BuildRequires:	openssl-devel >= 0.9.7d}
 %{?with_pam:BuildRequires:	pam-devel}
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	zlib-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts >= 0.4.0.15
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,6 +50,7 @@ program przestaje odpowiadać.
 %build
 %configure \
 	--bindir=%{_sbindir} \
+	--with-piddir=/run \
 	%{__with_without ssl} \
 	%{__with_without pam} \
 	--with-ssl-lib-dir=%{_libdir}
@@ -83,7 +85,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc CONTRIBUTORS README*
+%doc CHANGES
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/monitrc
 %dir %attr(751,root,root) %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/default.monitrc
diff --git a/config.patch b/config.patch
index d227fd1..c9814ce 100644
--- a/config.patch
+++ b/config.patch
@@ -1,17 +1,17 @@
-diff -urNp -x '*.orig' monit-5.25.2.org/monitrc monit-5.25.2/monitrc
---- monit-5.25.2.org/monitrc	2018-05-29 21:03:45.000000000 +0200
-+++ monit-5.25.2/monitrc	2021-10-05 22:43:27.407462292 +0200
-@@ -76,7 +76,8 @@ set log syslog
+diff -urNp -x '*.orig' monit-6.0.0.org/monitrc monit-6.0.0/monitrc
+--- monit-6.0.0.org/monitrc	2026-06-15 10:40:52.000000000 +0200
++++ monit-6.0.0/monitrc	2026-10-29 00:39:53.394702267 +0100
+@@ -77,7 +77,8 @@ set log syslog
  ## specified using a comma separator. If the first mail server fails, Monit
- # will use the second mail server in the list and so on. By default Monit uses
- # port 25 - it is possible to override this with the PORT option.
+ ## will use the second mail server in the list and so on. By default Monit uses
+ ## port 25 - it is possible to override this with the PORT option.
 -#
 +
 +set mailserver localhost
  # set mailserver mail.bar.baz,               # primary mailserver
  #                backup.bar.baz port 10025,  # backup mailserver on port 10025
  #                localhost                   # fallback relay
-@@ -137,9 +138,9 @@ set log syslog
+@@ -140,9 +141,9 @@ set log syslog
  ## You can set alert recipients whom will receive alerts if/when a
  ## service defined in this file has errors. Alerts may be restricted on
  ## events by using a filter as in the second example below.
@@ -24,7 +24,7 @@ diff -urNp -x '*.orig' monit-5.25.2.org/monitrc monit-5.25.2/monitrc
  ## Do not alert when Monit starts, stops or performs a user initiated action.
  ## This filter is recommended to avoid getting alerts for trivial cases.
  #
-@@ -300,6 +301,5 @@ set httpd port 2812 and
+@@ -311,6 +312,5 @@ set httpd port 2812 and
  ##
  ## It is possible to include additional configuration parts from other files or
  ## directories.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/monit.git/commitdiff/b6ebf1674b1a52d91381293f451824f22a26e6fe



More information about the pld-cvs-commit mailing list