mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 4/4] libmicrohttp: remove from staging by updating to a current release
Date: Tue, 24 May 2016 12:49:00 +0200	[thread overview]
Message-ID: <1464086940-24418-5-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1464086940-24418-1-git-send-email-jbe@pengutronix.de>

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 ...o-not-compile-tests-for-disabled-features.patch | 37 ++++++++++++++++++++++
 patches/libmicrohttpd-0.9.49/autogen.sh            |  1 +
 patches/libmicrohttpd-0.9.49/series                |  4 +++
 rules/libmicrohttpd.in                             | 17 ++--------
 rules/libmicrohttpd.make                           | 14 ++++----
 5 files changed, 53 insertions(+), 20 deletions(-)
 create mode 100644 patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch
 create mode 120000 patches/libmicrohttpd-0.9.49/autogen.sh
 create mode 100644 patches/libmicrohttpd-0.9.49/series

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 0000000..358c23c
--- /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 0000000..9f8a4cb
--- /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 0000000..f8bfab5
--- /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 dc4deb6..ea65015 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 72f7733..c73658d 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)
 
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2016-05-24 10:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
2016-05-24 10:48 ` [ptxdist] [PATCH 1/4] DTC: fix package description Juergen Borleis
2016-05-24 10:48 ` [ptxdist] [PATCH 2/4] linuxptp: enable systemd support Juergen Borleis
2016-05-26  9:55   ` Michael Olbrich
2016-05-24 10:48 ` [ptxdist] [PATCH 3/4] tcpdump: version bump 4.5.1 -> 4.7.1 Juergen Borleis
2016-05-24 10:49 ` Juergen Borleis [this message]
2016-05-26  9:56 ` [ptxdist] Various changes from my collection Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464086940-24418-5-git-send-email-jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox