From e9faed7a12171cf21c003aa1084891bdc2576fd1 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 25 Oct 2020 13:41:15 +0100 Subject: [PATCH] monit: update to 5.27.1. --- srcpkgs/monit/patches/cross-fix.patch | 43 --------------------------- srcpkgs/monit/template | 6 ++-- 2 files changed, 3 insertions(+), 46 deletions(-) delete mode 100644 srcpkgs/monit/patches/cross-fix.patch diff --git a/srcpkgs/monit/patches/cross-fix.patch b/srcpkgs/monit/patches/cross-fix.patch deleted file mode 100644 index fe5068deb3..0000000000 --- a/srcpkgs/monit/patches/cross-fix.patch +++ /dev/null @@ -1,43 +0,0 @@ -From e0e14896d7dcf56700b48583e79338c820c35f42 Mon Sep 17 00:00:00 2001 -From: Tildeslash -Date: Tue, 30 Jun 2020 21:30:28 +0200 -Subject: [PATCH] Patch for cross-compile - ---- - configure.ac | 4 +++- - libmonit/configure.ac | 4 +++- - 2 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index f7ea677..a8c32c8 100644 ---- configure.ac -+++ configure.ac -@@ -442,7 +442,9 @@ AC_RUN_IFELSE( - #endif - #endif - return 1; -- ])], [CFLAGS="$CFLAGS -std=c11"], [CFLAGS="$CFLAGS -std=c99"]) -+ ])], [CFLAGS="$CFLAGS -std=c11"], [CFLAGS="$CFLAGS -std=c99"], -+ [AC_MSG_NOTICE([WARNING: result CFLAGS -std=c11 guessed because of cross compilation]) -+ CFLAGS="$CFLAGS -std=c11"]) - AC_CHECK_HEADERS([stdint.h stdbool.h], [], [AC_MSG_ERROR([toolchain does not have C99 headers])]) - - -diff --git a/libmonit/configure.ac b/libmonit/configure.ac -index 21ebdd7..8813852 100644 ---- libmonit/configure.ac -+++ libmonit/configure.ac -@@ -336,7 +336,9 @@ AC_RUN_IFELSE( - #endif - #endif - return 1; -- ])], [CFLAGS="$CFLAGS -std=c11"], [CFLAGS="$CFLAGS -std=c99"]) -+ ])], [CFLAGS="$CFLAGS -std=c11"], [CFLAGS="$CFLAGS -std=c99"], -+ [AC_MSG_NOTICE([WARNING: result CFLAGS -std=c11 guessed because of cross compilation]) -+ CFLAGS="$CFLAGS -std=c11"]) - AC_CHECK_HEADERS([stdint.h stdbool.h], [], [AC_MSG_ERROR([toolchain does not have C99 headers])]) - - # ------------------------------------------------------------------------ --- -2.10.5 - diff --git a/srcpkgs/monit/template b/srcpkgs/monit/template index 02ef6d2c27..2a50895b6f 100644 --- a/srcpkgs/monit/template +++ b/srcpkgs/monit/template @@ -1,7 +1,7 @@ # Template file for 'monit' pkgname=monit -version=5.27.0 -revision=3 +version=5.27.1 +revision=1 build_style=gnu-configure configure_args=" --with-ssl-dir=${XBPS_CROSS_BASE}/usr @@ -16,7 +16,7 @@ license="AGPL-3.0-only" homepage="https://mmonit.com/monit/" changelog="https://mmonit.com/monit/changes/" distfiles="https://mmonit.com/monit/dist/${pkgname}-${version}.tar.gz" -checksum=d8c0deef624f193a952502fe9baabfa66e3d8d057df5738da43f9a37792afca4 +checksum=f57408d16185687513a3c4eb3f2bb72eef76331ac16210e9652e846e5c84ed51 pre_configure() { ./bootstrap