Browse Source

monit: update to 5.33.0

Waldemar Brodkorb 2 years ago
parent
commit
98e700a5e6

+ 4 - 4
package/monit/Makefile

@@ -4,13 +4,13 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		monit
-PKG_VERSION:=		5.23.0
+PKG_VERSION:=		5.33.0
 PKG_RELEASE:=		1
-PKG_HASH:=		dd39fe3a379c02402ba9c44c201b3ba925ebdc8f04225918820607b6c5d56713
+PKG_HASH:=		1ace889c0183473a9d70160df6533bb6e1338dc1354f5928507803e1e2a863b5
 PKG_DESCR:=		utility for system services monitoring
 PKG_SECTION:=		sys/misc
-PKG_DEPENDS:=		libressl
-PKG_BUILDDEP:=		libressl
+PKG_DEPENDS:=		libressl zlib
+PKG_BUILDDEP:=		libressl zlib
 PKG_NEEDS:=		threads
 PKG_URL:=		http://mmonit.com/monit/
 PKG_SITES:=		https://mmonit.com/monit/dist/

+ 49 - 0
package/monit/patches/patch-configure

@@ -0,0 +1,49 @@
+--- monit-5.33.0.orig/configure	2023-02-11 11:29:07.000000000 +0100
++++ monit-5.33.0/configure	2024-02-13 16:51:40.139483822 +0100
+@@ -5428,46 +5428,6 @@ else $as_nop
+   :
+ fi
+ 
+-if test `uname` != "AIX"; then
+-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
+-printf %s "checking whether C compiler accepts -fstack-protector-all... " >&6; }
+-if test ${ax_cv_check_cflags___fstack_protector_all+y}
+-then :
+-  printf %s "(cached) " >&6
+-else $as_nop
+-
+-  ax_check_save_flags=$CFLAGS
+-  CFLAGS="$CFLAGS  -fstack-protector-all"
+-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-int
+-main (void)
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"
+-then :
+-  ax_cv_check_cflags___fstack_protector_all=yes
+-else $as_nop
+-  ax_cv_check_cflags___fstack_protector_all=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+-  CFLAGS=$ax_check_save_flags
+-fi
+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
+-printf "%s\n" "$ax_cv_check_cflags___fstack_protector_all" >&6; }
+-if test "x$ax_cv_check_cflags___fstack_protector_all" = xyes
+-then :
+-  CFLAGS="$CFLAGS -fstack-protector-all"
+-else $as_nop
+-  :
+-fi
+-
+-fi
+ 
+ 
+ # ------------------------------------------------------------------------

+ 49 - 0
package/monit/patches/patch-libmonit_configure

@@ -0,0 +1,49 @@
+--- monit-5.33.0.orig/libmonit/configure	2023-02-11 11:29:10.000000000 +0100
++++ monit-5.33.0/libmonit/configure	2024-02-13 16:56:07.859480191 +0100
+@@ -5130,46 +5130,6 @@ else $as_nop
+   :
+ fi
+ 
+-if test `uname` != "AIX"; then
+-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5
+-printf %s "checking whether C compiler accepts -fstack-protector-all... " >&6; }
+-if test ${ax_cv_check_cflags___fstack_protector_all+y}
+-then :
+-  printf %s "(cached) " >&6
+-else $as_nop
+-
+-  ax_check_save_flags=$CFLAGS
+-  CFLAGS="$CFLAGS  -fstack-protector-all"
+-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-int
+-main (void)
+-{
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_compile "$LINENO"
+-then :
+-  ax_cv_check_cflags___fstack_protector_all=yes
+-else $as_nop
+-  ax_cv_check_cflags___fstack_protector_all=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
+-  CFLAGS=$ax_check_save_flags
+-fi
+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5
+-printf "%s\n" "$ax_cv_check_cflags___fstack_protector_all" >&6; }
+-if test "x$ax_cv_check_cflags___fstack_protector_all" = xyes
+-then :
+-  CFLAGS="$CFLAGS -fstack-protector-all"
+-else $as_nop
+-  :
+-fi
+-
+-fi
+ 
+ # ---------------------------------------------------------------------------
+ # Libtool