Skip to contentSkip to conversation

libmicrohttpd: bump to version 0.9.57

PATCH New Baruch Siach 2 participants 2 messages Nov 28, 2017 – Nov 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmicrohttpd: bump to version 0.9.57

Drop libgcrypt dependency for SSL support; with newer version of gnutls libgcrypt is not needed.

Drop the LIBS fix for static linking with gnutls that has been introduced in commit 2d3d6d258bb (libmicrohttpd: fix static linking with gnutls). gnutls does not support static linking anymore.

Fix a comment typo.

Add license hash.

---
 package/libmicrohttpd/Config.in          |  2 --
 package/libmicrohttpd/libmicrohttpd.hash |  3 ++-
 package/libmicrohttpd/libmicrohttpd.mk   | 10 ++++------
 3 files changed, 6 insertions(+), 9 deletions(-)
package/libmicrohttpd/Config.in +0 -2
index 2a685ca408d7..7f3c9bb8fda0 100644
@@ -11,11 +11,9 @@ if BR2_PACKAGE_LIBMICROHTTPD
 
 config BR2_PACKAGE_LIBMICROHTTPD_SSL
 	bool "https support"
-	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
 	depends on !BR2_STATIC_LIBS # gnutls
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_GNUTLS
-	select BR2_PACKAGE_LIBGCRYPT
 	help
 	  Enable HTTPS (SSL) support.
 
package/libmicrohttpd/libmicrohttpd.hash +2 -1
index a1460fd72439..e628cb2c6cd0 100644
@@ -1,2 +1,3 @@
 # Locally calculated
-sha256 0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada80ed0f8  libmicrohttpd-0.9.55.tar.gz
+sha256 dec1a76487d7e48ad74b468a888bfda1c05731f185ff950f1e363ca9d39caf4e  libmicrohttpd-0.9.57.tar.gz
+sha256 70e12e2a60151b9ed1a4c94a5ffeb99cd086fa94542b5a92fec581506e8d3121  COPYING
package/libmicrohttpd/libmicrohttpd.mk +4 -6
index a87c93b3ae66..62fb7fc2378c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBMICROHTTPD_VERSION = 0.9.55
+LIBMICROHTTPD_VERSION = 0.9.57
 LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd
 LIBMICROHTTPD_LICENSE_FILES = COPYING
 LIBMICROHTTPD_INSTALL_STAGING = YES
@@ -12,7 +12,7 @@ LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples
 LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99
 
 # gcc on arc and bfin doesn't define _REENTRANT when -pthread is
-# passed while it should. Compensate this defiency here otherwise
+# passed while it should. Compensate this deficiency here otherwise
 # libmicrohttpd configure script doesn't find that thread support is
 # enabled.
 ifeq ($(BR2_arc)$(BR2_bfin),y)
@@ -23,10 +23,8 @@ LIBMICROHTTPD_CONF_ENV += CFLAGS="$(LIBMICROHTTPD_CFLAGS)"
 
 ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
 LIBMICROHTTPD_LICENSE = LGPL-2.1+
-LIBMICROHTTPD_DEPENDENCIES += host-pkgconf gnutls libgcrypt
-LIBMICROHTTPD_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs gnutls`"
-LIBMICROHTTPD_CONF_OPTS += --enable-https --with-gnutls=$(STAGING_DIR)/usr \
-	--with-libgcrypt-prefix=$(STAGING_DIR)/usr
+LIBMICROHTTPD_DEPENDENCIES += host-pkgconf gnutls
+LIBMICROHTTPD_CONF_OPTS += --enable-https --with-gnutls=$(STAGING_DIR)/usr
 else
 LIBMICROHTTPD_LICENSE = LGPL-2.1+ or eCos
 LIBMICROHTTPD_CONF_OPTS += --disable-https
Signature · 1 line
2.15.0
#1 lore raw

PATCH 1/1 libmicrohttpd: bump to version 0.9.57

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Drop libgcrypt dependency for SSL support; with newer version of gnutls libgcrypt is not needed.

Drop the LIBS fix for static linking with gnutls that has been introduced in commit 2d3d6d258bb (libmicrohttpd: fix static linking with gnutls). gnutls does not support static linking anymore.

Quoted 6 lines

Fix a comment typo.

Add license hash.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard