All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/mongoose: fix activation of openssl/mbedtls
@ 2021-02-16  8:07 Fabrice Fontaine
  2021-02-16  8:07 ` [Buildroot] [PATCH 2/3] package/mongoose: security bump to version 7.1 Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2021-02-16  8:07 UTC (permalink / raw)
  To: buildroot

MG_ENABLE_SSL and MG_SSL_IF have been dropped since version 7.0 and
https://github.com/cesanta/mongoose/commit/f2fba1d2004c5ddf2fc0a7ca8dc75b5f78feed85

So use the new MG_ENABLE_OPENSSL and MG_ENABLE_MBEDTLS variables

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/mongoose/mongoose.mk | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
index ae20965be4..996cbff757 100644
--- a/package/mongoose/mongoose.mk
+++ b/package/mongoose/mongoose.mk
@@ -16,14 +16,10 @@ MONGOOSE_CFLAGS = $(TARGET_CFLAGS)
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 MONGOOSE_DEPENDENCIES += openssl
-MONGOOSE_CFLAGS += \
-	-DMG_ENABLE_SSL \
-	-DMG_SSL_IF=MG_SSL_IF_OPENSSL
+MONGOOSE_CFLAGS += -DMG_ENABLE_OPENSSL=1
 else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
 MONGOOSE_DEPENDENCIES += mbedtls
-MONGOOSE_CFLAGS += \
-	-DMG_ENABLE_SSL \
-	-DMG_SSL_IF=MG_SSL_IF_MBEDTLS
+MONGOOSE_CFLAGS += -DMG_ENABLE_MBEDTLS=1
 endif
 
 define MONGOOSE_BUILD_CMDS
-- 
2.30.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-16 19:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16  8:07 [Buildroot] [PATCH 1/3] package/mongoose: fix activation of openssl/mbedtls Fabrice Fontaine
2021-02-16  8:07 ` [Buildroot] [PATCH 2/3] package/mongoose: security bump to version 7.1 Fabrice Fontaine
2021-02-16 19:40   ` Peter Korsgaard
2021-02-16  8:07 ` [Buildroot] [PATCH 3/3] package/mongoose: add MONGOOSE_CPE_ID_VENDOR Fabrice Fontaine
2021-02-16 19:41   ` Peter Korsgaard
2021-02-16 19:35 ` [Buildroot] [PATCH 1/3] package/mongoose: fix activation of openssl/mbedtls Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.