Skip to contentSkip to conversation

package/monit: reformat patch 0001 as git formatted patch

PATCH In review Thomas Petazzoni 3 participants 3 messages Dec 27, 2024 – Dec 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/monit: reformat patch 0001 as git formatted patch

This will make it easier to edit the patch if needed.

---
 .checkpackageignore                           |  2 +-
 ...-building-a-statically-linked-binary.patch | 35 +++++++++++++++++++
 package/monit/0001-no-force-static.patch      | 22 ------------
 3 files changed, 36 insertions(+), 23 deletions(-)
 create mode 100644 package/monit/0001-Do-not-force-building-a-statically-linked-binary.patch
 delete mode 100644 package/monit/0001-no-force-static.patch
.checkpackageignore +1 -1
index 8b874d22bf..37cd4c9460 100644
@@ -848,7 +848,7 @@ package/minissdpd/S50minissdpd Shellcheck lib_sysv.Indent lib_sysv.Variables
 package/modem-manager/S44modem-manager Shellcheck lib_sysv.Variables
 package/mongrel2/0001-Do-not-run-tests.patch lib_patch.Upstream
 package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch lib_patch.Upstream
-package/monit/0001-no-force-static.patch lib_patch.Upstream
+package/monit/0001-Do-not-force-building-a-statically-linked-binary.patch lib_patch.Upstream
 package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch lib_patch.Upstream
 package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch lib_patch.Upstream
 package/mono/0001-Fix-linkage-with-a-system-libatomic_ops-shared-library.patch lib_patch.Upstream
package/monit/0001-Do-not-force-building-a-statically-linked-binary.patch new file +35 -0
new file mode 100644
index 0000000000..3b576f0502
@@ -0,0 +1,35 @@
+From 5beb7918daa46bcc5106e6302f0d8434fc5a23e6 Mon Sep 17 00:00:00 2001
+From: "Yann E. MORIN" <[email protected]>
+Date: Fri, 27 Dec 2024 22:12:02 +0100
+Subject: [PATCH] Do not force building a statically-linked binary
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Statically-linked binary do not work well with glibc, because it
+still dlopen()s the NSS libraries.
+
+Reported-by: Peter Kümmel <[email protected]>
+Signed-off-by: "Yann E. MORIN" <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 6907706a..d2d123ba 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -98,7 +98,7 @@ monit_SOURCES	= src/y.tab.c \
+                   src/statistics/Statistics.c
+ 
+ monit_LDADD 	= libmonit/libmonit.la
+-monit_LDFLAGS 	= -static $(EXTLDFLAGS)
++monit_LDFLAGS 	= $(EXTLDFLAGS)
+ 
+ man_MANS 	= monit.1
+ 
+-- 
+2.47.0
+
package/monit/0001-no-force-static.patch deleted +0 -22
deleted file mode 100644
index 4634a951f3..0000000000
@@ -1,22 +0,0 @@
-Do not force building a statically-linked binary
-
-Statically-linked binary do not work well with glibc, because it
-still dlopen()s the NSS libraries.
-
-Reported-by: Peter Kümmel <[email protected]>
-Signed-off-by: "Yann E. MORIN" <[email protected]>
-[Dario: make the patch to be applied with fuzz factor 0]
-Signed-off-by: Dario Binacchi <[email protected]>
-
-diff -durN monit-5.7.orig/Makefile.am monit-5.7/Makefile.am
---- monit-5.7.orig/Makefile.am	2014-02-20 09:00:42.000000000 +0100
-+++ monit-5.7/Makefile.am	2014-09-05 12:49:43.711104001 +0200
-@@ -97,7 +97,7 @@
-                   src/statistics/Statistics.c
- 
- monit_LDADD 	= libmonit/libmonit.la
--monit_LDFLAGS 	= -static $(EXTLDFLAGS)
-+monit_LDFLAGS 	= $(EXTLDFLAGS)
- 
- man_MANS 	= monit.1
- 
Signature · 6 lines
2.47.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/monit: bump version to 5.43.3

Patch 0002 needs to be slightly refreshed to apply on this new version.

Version 5.34.3
==============

Fixed: If the ping statement did not explicitly specify an outgoing address but a previous ping statement did, the same address was shared by both statements.

Fixed: Monit may crash upon stopping if the ping statement is used in conjunction with the address option.

Fixed: If a directory is set in the 'allow' option of the 'set httpd' statement, instead of file or string, Monit hangs on start.

---
 ...configure.ac-fixes-missing-config-macro-dir.patch | 12 ++++++------
 package/monit/monit.hash                             |  4 ++--
 package/monit/monit.mk                               |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)
package/monit/0002-configure.ac-fixes-missing-config-macro-dir.patch +6 -6
index 3bee55cb5e..9ed49e5797 100644
@@ -1,4 +1,4 @@
-From 2c06ecdc02de75a9e7e1e30e9c3d7d3a64269b7c Mon Sep 17 00:00:00 2001
+From 99b466f5448951a83a0d763e633906b28c30fc0a Mon Sep 17 00:00:00 2001
 From: Jens Maus <[email protected]>
 Date: Fri, 22 Sep 2023 21:32:18 +0200
 Subject: [PATCH] configure.ac: fixes missing config macro dir
@@ -18,12 +18,12 @@ Signed-off-by: Bernd Kuhls <[email protected]>
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 3c3d30a2..f4c5ea07 100644
+index b4f2a14c..41a8c1a5 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -8,7 +8,7 @@
+@@ -8,7 +8,7 @@ AC_PREREQ([2.53])
  # Example: 5.0_beta2
- AC_INIT([monit], [5.34.2], [[email protected]])
+ AC_INIT([monit], [5.34.3], [[email protected]])
  AC_CONFIG_AUX_DIR(config)
 -AC_CONFIG_MACRO_DIR([m4])
 +AC_CONFIG_MACRO_DIRS([m4 config])
@@ -31,7 +31,7 @@ index 3c3d30a2..f4c5ea07 100644
  AC_CONFIG_SRCDIR([src/monit.c])
  AC_CONFIG_SUBDIRS([libmonit])
 diff --git a/libmonit/configure.ac b/libmonit/configure.ac
-index d4cd0789..5366444a 100644
+index 800ebf83..03101a6b 100644
 --- a/libmonit/configure.ac
 +++ b/libmonit/configure.ac
 @@ -4,7 +4,7 @@ AC_PREREQ([2.53])
@@ -44,5 +44,5 @@ index d4cd0789..5366444a 100644
  AC_CONFIG_SRCDIR([src])
  
 -- 
-2.34.1
+2.47.0
 
package/monit/monit.hash +2 -2
index 276e0a19d8..2c2956afa3 100644
@@ -1,4 +1,4 @@
-# From https://mmonit.com/monit/dist/monit-5.34.2.tar.gz.sha256
-sha256  291ca3d898e9b425b6d0c1768728fecd6c1cf4c268c79db15fda26285ad5b832  monit-5.34.2.tar.gz
+# From https://mmonit.com/monit/dist/monit-5.34.3.tar.gz.sha256
+sha256  669d8b95ddec124d1444ba5264f67fdeae8e90e53b2929719f4750fc5ff3ba60  monit-5.34.3.tar.gz
 # Locally computed
 sha256  d5a4f52b1a5e1e7fe14e01a76aac8b08dc6bbea15466058f271456c97aac1ada  COPYING
package/monit/monit.mk +1 -1
index a2d8073c31..7d78597c25 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MONIT_VERSION = 5.34.2
+MONIT_VERSION = 5.34.3
 MONIT_SITE = https://mmonit.com/monit/dist
 MONIT_LICENSE = AGPL-3.0 with OpenSSL exception
 MONIT_LICENSE_FILES = COPYING
Signature · 6 lines
2.47.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot