[oe] [PATCH] libmicrohttp: update to version 0.9.48

Gary Thomas gary at mlbassoc.com
Tue Mar 29 08:48:51 UTC 2016


On 2016-03-29 10:20, José Bollo wrote:
> spdy? because it merely disappeared.
> regards
> José
> José Bollo - Senior Software Engineer
> www.iot.bzh
>

Then please improve the comment above this line as it doesn't really
convey this information very well.

>
> 2016-03-29 10:15 GMT+02:00 Gary Thomas <gary at mlbassoc.com>:
>> On 2016-03-29 10:06, jose.bollo at iot.bzh wrote:
>>>
>>> From: José Bollo <jose.bollo at iot.bzh>
>>>
>>> Change-Id: I33a1acf8360d074a3310f9691ac939fe70a99f3e
>>> Signed-off-by: José Bollo <jose.bollo at iot.bzh>
>>> ---
>>>    .../libmicrohttpd/libmicrohttpd_0.9.34.bb          | 27
>>> ----------------------
>>>    .../libmicrohttpd/libmicrohttpd_0.9.48.bb          | 27
>>> ++++++++++++++++++++++
>>>    2 files changed, 27 insertions(+), 27 deletions(-)
>>>    delete mode 100644
>>> meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
>>>    create mode 100644
>>> meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
>>>
>>> diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
>>> b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
>>> deleted file mode 100644
>>> index e3c833b..0000000
>>> --- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
>>> +++ /dev/null
>>> @@ -1,27 +0,0 @@
>>> -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 = "libgcrypt gnutls file"
>>> -
>>> -SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
>>> -SRC_URI[md5sum] = "2947eee13c2c8affb95023a0cb6fda0c"
>>> -SRC_URI[sha256sum] =
>>> "29a2bfd4fd2ddf60c756b8c283291a134898e3cc143843be421a040be1b25a88"
>>> -
>>> -inherit autotools lib_package
>>> -
>>> -# disable spdy, because it depends on openssl
>>> -EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../
>>> --disable-spdy"
>>> -
>>> -PACKAGECONFIG ?= "curl"
>>> -PACKAGECONFIG_append_class-target = "\
>>> -        ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '',
>>> d)} \
>>> -"
>>> -PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
>>> -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
>>> -
>>> -do_compile_append() {
>>> -       sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
>>> -}
>>> -
>>> diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
>>> b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
>>> new file mode 100644
>>> index 0000000..892009e
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.48.bb
>>> @@ -0,0 +1,27 @@
>>> +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 = "libgcrypt gnutls file"
>>> +
>>> +SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
>>> +SRC_URI[md5sum] = "9c298c890088a91fe0d7ac3fec9d0097"
>>> +SRC_URI[sha256sum] =
>>> "87667e158f2bf8c691a002e256ffe30885d4121a9ee4143af0320c47cdf8a2a4"
>>> +
>>> +inherit autotools lib_package
>>> +
>>> +# disable spdy, because it depends on openssl
>>> +EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../"
>>
>>
>> Why not make this a PACKAGECONFIG choice?
>>
>>> +
>>> +PACKAGECONFIG ?= "curl"
>>> +PACKAGECONFIG_append_class-target = "\
>>> +        ${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '',
>>> d)} \
>>> +"
>>> +PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
>>> +PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,"
>>> +
>>> +do_compile_append() {
>>> +       sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
>>> +}
>>> +

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-devel mailing list