Patchwork [meta-oe] libmicrohttpd: add recipe

login
register
mail settings
Submitter Khem Raj
Date Feb. 13, 2014, 5:50 a.m.
Message ID <1392270611-7344-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/66679/
State Superseded, archived
Headers show

Comments

Khem Raj - Feb. 13, 2014, 5:50 a.m.
libmicrohttpd is needed by systemd-journald-gatewayd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../libmicrohttpd/libmicrohttpd_0.9.33.bb            |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb
Paul Eggleton - Feb. 13, 2014, 6:21 p.m.
On Wednesday 12 February 2014 21:50:11 Khem Raj wrote:
> libmicrohttpd is needed by systemd-journald-gatewayd

meta-oe already contains libmicrohttpd:

meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb
meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb

We should probably replace the old versions assuming there isn't a good reason 
to keep them around.

Cheers,
Paul
Khem Raj - Feb. 13, 2014, 6:27 p.m.
On Thu, Feb 13, 2014 at 10:21 AM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Wednesday 12 February 2014 21:50:11 Khem Raj wrote:
>> libmicrohttpd is needed by systemd-journald-gatewayd
>
> meta-oe already contains libmicrohttpd:
>
> meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb
> meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb
>
> We should probably replace the old versions assuming there isn't a good reason
> to keep them around.
>

ah yes I will send a patch to remove them and may be bundle it with this one

> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre

Patch

diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb
new file mode 100644
index 0000000..d56af76
--- /dev/null
+++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb
@@ -0,0 +1,18 @@ 
+# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "A small C library that is supposed to make it easy to run an HTTP server as part of another application"
+HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/"
+LICENSE = "LGPL-2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
+SECTION = "net"
+DEPENDS = "gnutls libgcrypt"
+
+SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "013b10f9de1cda5448b29c81305354a3"
+SRC_URI[sha256sum] = "d9587e8497548f820650cd607daf3615ea3272435779378983032c570f1cd559"
+
+inherit autotools
+EXTRA_OECONF += "--disable-dependency-tracking --enable-largefile \
+                 --enable-curl --enable-messages --with-pic"
+