summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2016-05-24 12:49:00 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:27:27 +0200
commit03aac15241bab441c7802bbabe659a2305809196 (patch)
treefd3e3267349eb9c0486553ab5a3311b54e7670e9
parentc2a245521cbc76d7bc5c23ef9e1af5e68d743b2d (diff)
downloadptxdist-03aac15241bab441c7802bbabe659a2305809196.tar.gz
ptxdist-03aac15241bab441c7802bbabe659a2305809196.tar.xz
libmicrohttp: remove from staging by updating to a current release
Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch37
l---------patches/libmicrohttpd-0.9.49/autogen.sh1
-rw-r--r--patches/libmicrohttpd-0.9.49/series4
-rw-r--r--rules/libmicrohttpd.in17
-rw-r--r--rules/libmicrohttpd.make14
5 files changed, 53 insertions, 20 deletions
diff --git a/patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch b/patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch
new file mode 100644
index 000000000..358c23c06
--- /dev/null
+++ b/patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch
@@ -0,0 +1,37 @@
+From: Juergen Borleis <jbe@pengutronix.de>
+Date: Mon, 18 Apr 2016 15:58:59 +0200
+Subject: [PATCH] Do not compile tests for disabled features
+
+Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
+---
+ doc/examples/Makefile.am | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
+index 7bb02daccda0..1866188f61b5 100644
+--- a/doc/examples/Makefile.am
++++ b/doc/examples/Makefile.am
+@@ -12,7 +12,6 @@ endif
+
+ # example programs
+ noinst_PROGRAMS = \
+- basicauthentication \
+ hellobrowser \
+ logging \
+ responseheaders
+@@ -29,10 +28,15 @@ if HAVE_W32
+ AM_CPPFLAGS += -DWINDOWS
+ endif
+
++if ENABLE_BAUTH
++noinst_PROGRAMS += \
++ basicauthentication
++
+ basicauthentication_SOURCES = \
+ basicauthentication.c
+ basicauthentication_LDADD = \
+ $(top_builddir)/src/microhttpd/libmicrohttpd.la
++endif
+
+ hellobrowser_SOURCES = \
+ hellobrowser.c
diff --git a/patches/libmicrohttpd-0.9.49/autogen.sh b/patches/libmicrohttpd-0.9.49/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/libmicrohttpd-0.9.49/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh \ No newline at end of file
diff --git a/patches/libmicrohttpd-0.9.49/series b/patches/libmicrohttpd-0.9.49/series
new file mode 100644
index 000000000..f8bfab519
--- /dev/null
+++ b/patches/libmicrohttpd-0.9.49/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Do-not-compile-tests-for-disabled-features.patch
+# 502fecbd4d242ba6649ff061c5e9ac48 - git-ptx-patches magic
diff --git a/rules/libmicrohttpd.in b/rules/libmicrohttpd.in
index dc4deb63a..ea6501594 100644
--- a/rules/libmicrohttpd.in
+++ b/rules/libmicrohttpd.in
@@ -1,10 +1,9 @@
-## SECTION=staging
-## old section:
-### SECTION=networking
+## SECTION=networking
menuconfig LIBMICROHTTPD
tristate
- select LIBC_PTHREAD
+ select LIBC_PTHREAD if RUNTIME
+ select GNUTLS if LIBMICROHTTPD_HTTPS
select LIBGCRYPT if LIBMICROHTTPD_HTTPS
prompt "libmicrohttpd "
help
@@ -14,10 +13,6 @@ menuconfig LIBMICROHTTPD
functionality into applications. It will be used in future
GNUnet versions as part of the HTTP transport.
- STAGING: remove in ptxdist-2016.08.0
- Upstream is at revision 0.9 and the archives for 0.4.4 seems no longer
- available.
-
if LIBMICROHTTPD
config LIBMICROHTTPD_HTTPS
@@ -29,12 +24,6 @@ config LIBMICROHTTPD_HTTPS
If you disable HTTPS/SSL support, you can also choose the
eCos License.
-config LIBMICROHTTPD_CLIENT_SIDE
- bool
- prompt "Client side support"
- help
- FIXME
-
config LIBMICROHTTPD_MESSAGES
bool
prompt "Messages"
diff --git a/rules/libmicrohttpd.make b/rules/libmicrohttpd.make
index 72f7733ec..c73658d38 100644
--- a/rules/libmicrohttpd.make
+++ b/rules/libmicrohttpd.make
@@ -1,6 +1,7 @@
# -*-makefile-*-
#
# Copyright (C) 2008, 2009 by Erwin Rol
+# Copyright (C) 2016 by Juergen Borleis
#
# See CREDITS for details about who has contributed to this project.
#
@@ -16,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBMICROHTTPD) += libmicrohttpd
#
# Paths and names
#
-LIBMICROHTTPD_VERSION := 0.4.4
-LIBMICROHTTPD_MD5 := bcd61ebb10286379f55c7db9c79e0465
+LIBMICROHTTPD_VERSION := 0.9.49
+LIBMICROHTTPD_MD5 := 3209aa2ac6199b874a6325342b86edbc
LIBMICROHTTPD := libmicrohttpd-$(LIBMICROHTTPD_VERSION)
LIBMICROHTTPD_SUFFIX := tar.gz
LIBMICROHTTPD_URL := $(call ptx/mirror, GNU, libmicrohttpd/$(LIBMICROHTTPD).$(LIBMICROHTTPD_SUFFIX))
@@ -38,10 +39,11 @@ LIBMICROHTTPD_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
$(GLOBAL_LARGE_FILE_OPTION) \
--disable-curl \
- --disable-coverage \
+ --$(call ptx/endis, PTXCONF_LIBMICROHTTPD_MESSAGES)-messages \
--$(call ptx/endis, PTXCONF_LIBMICROHTTPD_HTTPS)-https \
- --$(call ptx/endis, PTXCONF_LIBMICROHTTPD_CLIENT_SIDE)-client-side \
- --$(call ptx/endis, PTXCONF_LIBMICROHTTPD_MESSAGES)-messages
+ --disable-bauth \
+ --disable-dauth \
+ --disable-coverage
# ----------------------------------------------------------------------------
# Target-Install
@@ -54,7 +56,7 @@ $(STATEDIR)/libmicrohttpd.targetinstall:
@$(call install_fixup, libmicrohttpd,PRIORITY,optional)
@$(call install_fixup, libmicrohttpd,SECTION,base)
@$(call install_fixup, libmicrohttpd,AUTHOR,"Erwin Rol <erwin@erwinrol.com>")
- @$(call install_fixup, libmicrohttpd,DESCRIPTION,missing)
+ @$(call install_fixup, libmicrohttpd,DESCRIPTION,"embedded HTTP server functionality")
@$(call install_lib, libmicrohttpd, 0, 0, 0644, libmicrohttpd)