monit: update to 5.21.0.
This commit is contained in:
parent
5984fd0b75
commit
a23afa9c6a
2 changed files with 71 additions and 2 deletions
68
srcpkgs/monit/patches/configure_cross.patch
Normal file
68
srcpkgs/monit/patches/configure_cross.patch
Normal file
|
@ -0,0 +1,68 @@
|
|||
--- libmonit/configure.orig
|
||||
+++ libmonit/configure
|
||||
@@ -12584,65 +12584,6 @@
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
-# Atomic support
|
||||
-# ------------------------------------------------------------------------
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Atomic support" >&5
|
||||
-$as_echo_n "checking for Atomic support... " >&6; }
|
||||
-if test `uname` = "Darwin" -o `uname` = "FreeBSD"
|
||||
-then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
-elif test `uname` = "SunOS"
|
||||
-then
|
||||
- ac_fn_c_check_header_mongrel "$LINENO" "atomic.h" "ac_cv_header_atomic_h" "$ac_includes_default"
|
||||
-if test "x$ac_cv_header_atomic_h" = xyes; then :
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
-else
|
||||
- as_fn_error $? "atomic.h is required for atomic support" "$LINENO" 5
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-else
|
||||
- if test "$cross_compiling" = yes; then :
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||
-as_fn_error $? "cannot run test program while cross compiling
|
||||
-See \`config.log' for more details" "$LINENO" 5; }
|
||||
-else
|
||||
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
-/* end confdefs.h. */
|
||||
-
|
||||
-int
|
||||
-main ()
|
||||
-{
|
||||
-
|
||||
- #if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 1)))
|
||||
- return 0;
|
||||
- #else
|
||||
- return 1;
|
||||
- #endif
|
||||
-
|
||||
- ;
|
||||
- return 0;
|
||||
-}
|
||||
-_ACEOF
|
||||
-if ac_fn_c_try_run "$LINENO"; then :
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
-$as_echo "yes" >&6; }
|
||||
-else
|
||||
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||
-as_fn_error $? "GCC version > 4.1 is required for atomic support
|
||||
-See \`config.log' for more details" "$LINENO" 5; }
|
||||
-fi
|
||||
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
||||
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||
-fi
|
||||
-
|
||||
-fi
|
||||
-
|
||||
-# ------------------------------------------------------------------------
|
||||
# IPv6 Support
|
||||
# ------------------------------------------------------------------------
|
||||
|
|
@ -1,18 +1,19 @@
|
|||
# Template file for 'monit'
|
||||
pkgname=monit
|
||||
version=5.20.0
|
||||
version=5.21.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-ssl-dir=${XBPS_CROSS_BASE}/usr libmonit_cv_setjmp_available=yes
|
||||
libmonit_cv_vsnprintf_c99_conformant=yes"
|
||||
conf_files="/etc/monit/monitrc"
|
||||
hostmakedepends="perl"
|
||||
makedepends="pam-devel libressl-devel zlib-devel"
|
||||
short_desc="Utility for monitoring, processes, files, directories and devices"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
homepage="http://mmonit.com/monit/"
|
||||
distfiles="http://mmonit.com/monit/dist/${pkgname}-${version}.tar.gz"
|
||||
checksum=ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d
|
||||
checksum=fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c
|
||||
|
||||
post_install() {
|
||||
vinstall monitrc 700 etc/monit
|
||||
|
|
Loading…
Reference in a new issue