monit: update to 5.22.0.

This commit is contained in:
Duncaen 2017-04-20 18:35:30 +02:00
parent 36c40b8f2c
commit 984f5a391c
2 changed files with 3 additions and 71 deletions

View file

@ -1,68 +0,0 @@
--- 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
# ------------------------------------------------------------------------

View file

@ -1,7 +1,7 @@
# Template file for 'monit'
pkgname=monit
version=5.21.0
revision=2
version=5.22.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"
@ -13,7 +13,7 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://mmonit.com/monit/"
distfiles="http://mmonit.com/monit/dist/${pkgname}-${version}.tar.gz"
checksum=fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c
checksum=9fc58b5e3caafd64f0b6fff3e65ae757239fab37d04fb33efce177da15176183
post_install() {
vinstall monitrc 700 etc/monit