diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-04 22:18:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-04 22:18:23 +0100 |
commit | a59586559efd7c3d253506217f848cbb08aa7399 (patch) | |
tree | 815d69533e4a779559a40b970a4321250ed070cc /package/monit | |
parent | c0949bd08b50c985226dee3d1b3f63d1d067293e (diff) |
fix monit musl compile
Diffstat (limited to 'package/monit')
-rw-r--r-- | package/monit/Makefile | 6 | ||||
-rw-r--r-- | package/monit/patches/patch-configure | 88 |
2 files changed, 4 insertions, 90 deletions
diff --git a/package/monit/Makefile b/package/monit/Makefile index 3ba33eef1..93681fbd5 100644 --- a/package/monit/Makefile +++ b/package/monit/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= monit -PKG_VERSION:= 5.2.1 +PKG_VERSION:= 5.6 PKG_RELEASE:= 1 -PKG_MD5SUM:= 19ee6247b7528947d151720767bcf9d3 +PKG_MD5SUM:= 19dfc1ce8512e832134d06eedd96ba50 PKG_DESCR:= An utility for system services monitoring PKG_SECTION:= admin PKG_DEPENDS:= libpthread libopenssl @@ -18,6 +18,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,MONIT,monit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +CONFIGURE_ENV+= libmonit_cv_setjmp_available=yes \ + libmonit_cv_vsnprintf_c99_conformant=yes CONFIGURE_ARGS+= --with-ssl --with-ssl-dir="${STAGING_TARGET_DIR}/usr" monit-install: diff --git a/package/monit/patches/patch-configure b/package/monit/patches/patch-configure deleted file mode 100644 index 1617c86ac..000000000 --- a/package/monit/patches/patch-configure +++ /dev/null @@ -1,88 +0,0 @@ ---- monit-5.2.1.orig/configure 2010-09-24 21:46:55.000000000 +0200 -+++ monit-5.2.1/configure 2010-10-08 23:36:24.000000000 +0200 -@@ -10961,82 +10961,14 @@ fi - # Architecture/OS detection - # ------------------------------------------------------------------------ - --# Backward compatibility until we get ride of arch settings --if test `uname` = "SunOS" --then -- ARCH="SOLARIS" -- CFLAGS="$CFLAGS -D _REENTRANT -D_POSIX_PTHREAD_SEMANTICS" -- test_kstat="true" -- --cat >>confdefs.h <<\_ACEOF --#define HAVE_CPU_WAIT 1 --_ACEOF -- --elif test `uname` = "Linux" --then -- ARCH="LINUX" -- CFLAGS="$CFLAGS -D _REENTRANT" -- LDFLAGS="$LDFLAGS -rdynamic" -- if test `uname -r | awk -F '.' '{print$1$2}'` -ge "26" -- then -- --cat >>confdefs.h <<\_ACEOF --#define HAVE_CPU_WAIT 1 --_ACEOF -- -- fi --elif test `uname` = "HP-UX" --then -- ARCH="HPUX" -- CFLAGS="$CFLAGS -D _REENTRANT" -- --cat >>confdefs.h <<\_ACEOF --#define HAVE_CPU_WAIT 1 --_ACEOF -- --elif test `uname` = "OpenBSD" --then -- ARCH="OPENBSD" -- CFLAGS="$CFLAGS -D _REENTRANT" -- test_kvm="true" --elif test `uname` = "FreeBSD" --then -- ARCH="FREEBSD" -- CFLAGS="$CFLAGS -D _REENTRANT" -- test_kvm="true" --elif test `uname` = "NetBSD" --then -- ARCH="NETBSD" -- CFLAGS="$CFLAGS -D _REENTRANT" -- test_kvm="true" --elif test `uname` = "Darwin" --then -- ARCH="DARWIN" -- CFLAGS="$CFLAGS -DREENTRANT -no-cpp-precomp -DNEED_SOCKLEN_T_DEFINED" -- test_kvm="true" -- LIBS="$LIBS -framework System -multiply_defined suppress" --elif test `uname` = "AIX" --then -- ARCH="AIX" -- CFLAGS="$CFLAGS -D _REENTRANT" -- LIBS="$LIBS -lodm" -- # AIX v. 5.2 -- LIBS="$LIBS -lcfg" -- # AIX v. 5.3 -- LIBS="$LIBS -lperfstat" -+ARCH="LINUX" -+CFLAGS="$CFLAGS -D _REENTRANT" -+LDFLAGS="$LDFLAGS -rdynamic" - - cat >>confdefs.h <<\_ACEOF - #define HAVE_CPU_WAIT 1 - _ACEOF - --else -- { $as_echo "$as_me:$LINENO: WARNING: Architecture not supported: \`uname\`." >&5 --$as_echo "$as_me: WARNING: Architecture not supported: \`uname\`." >&2;} -- CFLAGS="$CFLAGS -D _REENTRANT" -- ARCH="UNKNOWN" --fi -- -- - # ------------------------------------------------------------------------ - # Resource code - # ------------------------------------------------------------------------ |