Import buildroot 2016.02.01
This commit is contained in:
20
firmware/buildroot/package/monit/0001-no-force-static.patch
Normal file
20
firmware/buildroot/package/monit/0001-no-force-static.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
Do not force building a statically-linked binary
|
||||
|
||||
Statically-linked binary do not work well with glibc, because it
|
||||
still dlopen()s the NSS libraries.
|
||||
|
||||
Reported-by: Peter Kümmel <syntheticpp@gmx.net>
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN monit-5.7.orig/Makefile.am monit-5.7/Makefile.am
|
||||
--- monit-5.7.orig/Makefile.am 2014-02-20 09:00:42.000000000 +0100
|
||||
+++ monit-5.7/Makefile.am 2014-09-05 12:49:43.711104001 +0200
|
||||
@@ -85,7 +85,7 @@
|
||||
src/process/sysdep_@ARCH@.c
|
||||
|
||||
monit_LDADD = libmonit/libmonit.la
|
||||
-monit_LDFLAGS = -static $(EXTLDFLAGS)
|
||||
+monit_LDFLAGS = $(EXTLDFLAGS)
|
||||
|
||||
man_MANS = monit.1
|
||||
|
||||
16
firmware/buildroot/package/monit/Config.in
Normal file
16
firmware/buildroot/package/monit/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_MONIT
|
||||
bool "monit"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Monit is a free open source utility for managing and
|
||||
monitoring, processes, programs, files, directories and
|
||||
filesystems on a UNIX system. Monit conducts automatic
|
||||
maintenance and repair and can execute meaningful causal
|
||||
actions in error situations.
|
||||
|
||||
http://mmonit.com/monit/
|
||||
|
||||
comment "monit needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
firmware/buildroot/package/monit/monit.hash
Normal file
2
firmware/buildroot/package/monit/monit.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://mmonit.com/monit/dist/monit-5.12.2.tar.gz.sha256:
|
||||
sha256 8ab0296d1aa2351b1573481592d7b5e06de1edd49dff1b5552839605a450914c monit-5.12.2.tar.gz
|
||||
30
firmware/buildroot/package/monit/monit.mk
Normal file
30
firmware/buildroot/package/monit/monit.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# monit
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MONIT_VERSION = 5.12.2
|
||||
MONIT_SITE = http://mmonit.com/monit/dist
|
||||
MONIT_LICENSE = AGPLv3 with OpenSSL exception
|
||||
MONIT_LICENSE_FILES = COPYING
|
||||
#
|
||||
# Touching Makefile.am:
|
||||
MONIT_AUTORECONF = YES
|
||||
|
||||
MONIT_CONF_ENV = \
|
||||
libmonit_cv_setjmp_available=yes \
|
||||
libmonit_cv_vsnprintf_c99_conformant=yes
|
||||
|
||||
MONIT_CONF_OPTS += \
|
||||
--without-pam \
|
||||
--with-largefiles
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
MONIT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
|
||||
MONIT_DEPENDENCIES += openssl
|
||||
else
|
||||
MONIT_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user