Browse Source

Merge pull request #9805 from champtar/monit-ipv6

monit: enable / fix IPv6 detection during build
lilik-openwrt-22.03
Etienne Champetier 5 years ago
committed by GitHub
parent
commit
28ba8b5c6f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions
  1. +2
    -1
      admin/monit/Makefile
  2. +1
    -3
      admin/monit/patches/010-openssl-thread-api.patch

+ 2
- 1
admin/monit/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=monit
PKG_VERSION:=5.25.2
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://mmonit.com/monit/dist
@ -63,6 +63,7 @@ endef
CONFIGURE_ARGS += \
--without-pam \
ac_cv_ipv6=$(if $(CONFIG_IPV6),yes,no) \
libmonit_cv_setjmp_available=yes \
libmonit_cv_vsnprintf_c99_conformant=yes


+ 1
- 3
admin/monit/patches/010-openssl-thread-api.patch View File

@ -1,8 +1,6 @@
diff --git a/src/ssl/Ssl.c b/src/ssl/Ssl.c
index 6501f25..9c24ad5 100644
--- a/src/ssl/Ssl.c
+++ b/src/ssl/Ssl.c
@@ -302,8 +302,8 @@ static boolean_t _retry(int socket, int *timeout, int (*callback)(int socket, ti
@@ -302,8 +302,8 @@ static boolean_t _retry(int socket, int
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)


Loading…
Cancel
Save