Skip to contentSkip to conversation

libmicrohttpd: upgrade to 0.9.33

PATCH Superseded Khem Raj 2 participants 3 messages Feb 14, 2014

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 libmicrohttpd: upgrade to 0.9.33

libmicrohttpd is needed by systemd-journald-gatewayd Remove older recipes and move to recipes-support

---
 .../libmicrohttpd/libmicrohttpd_0.4.6.bb           |   16 ----------------
 .../libmicrohttpd/libmicrohttpd_0.9.33.bb}         |   20 ++++++++++++--------
 2 files changed, 12 insertions(+), 24 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb
 rename meta-oe/{recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb => recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb} (23%)
meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb deleted +0 -16
deleted file mode 100644
index ebaa485..0000000
@@ -1,16 +0,0 @@
-DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application."
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
-
-DEPENDS = "libgcrypt curl"
-
-# ftp://ftp.nluug.nl/pub/gnu/${PN}/ has only 0.9.* and newer now
-SRC_URI = "http://mirrors.usc.edu/pub/gnu/${PN}/${P}.tar.gz"
-SRC_URI[md5sum] = "61698da6aa04744ea076c327f66fc05a"
-SRC_URI[sha256sum] = "0cb09e26678d1531a4fd40a748abff5142bfdad3ae11cfe3bb7ad7317a99e371"
-
-inherit autotools lib_package
-
-do_compile_append() {
-    sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
-}
meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb renamed from meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb +12 -8
similarity index 23%
rename from meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb
rename to meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb
index 802ae40..2c738c9 100644
@@ -1,16 +1,20 @@
-DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application."
-LICENSE = "LGPLv2.1"
+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 curl"
 
-DEPENDS = "libgcrypt curl"
-
-SRC_URI = "ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd//libmicrohttpd-${PV}.tar.gz"
-SRC_URI[md5sum] = "a10496b7f1b495aaf6897584da52f51b"
-SRC_URI[sha256sum] = "d532edf64c3a9da472114c2d10fc94606e3b31f21b883ec2e796ab8478f7e9cb"
-
+SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "013b10f9de1cda5448b29c81305354a3"
+SRC_URI[sha256sum] = "d9587e8497548f820650cd607daf3615ea3272435779378983032c570f1cd559"
 
 inherit autotools lib_package
 
+EXTRA_OECONF += "--disable-dependency-tracking --enable-largefile \
+                 --enable-curl --enable-messages --with-pic"
+
 do_compile_append() {
 	sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
 }
+
Signature · 1 line
1.7.10.4
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj schreef op 14-02-14 08:41:

Quoted 53 lines

libmicrohttpd is needed by systemd-journald-gatewayd Remove older recipes and move to recipes-support

.../libmicrohttpd/libmicrohttpd_0.4.6.bb | 16
---------------- .../libmicrohttpd/libmicrohttpd_0.9.33.bb} |
20 ++++++++++++-------- 2 files changed, 12 insertions(+), 24 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb rename meta-oe/{recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb => recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb} (23%)

diff --git a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb b/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb deleted file mode 100644 index ebaa485..0000000 --- a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application." -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5" - -DEPENDS = "libgcrypt curl" - -# ftp://ftp.nluug.nl/pub/gnu/${PN}/ has only 0.9.* and newer now -SRC_URI = "http://mirrors.usc.edu/pub/gnu/${PN}/${P}.tar.gz" -SRC_URI[md5sum] = "61698da6aa04744ea076c327f66fc05a" -SRC_URI[sha256sum] = "0cb09e26678d1531a4fd40a748abff5142bfdad3ae11cfe3bb7ad7317a99e371" -
-inherit autotools lib_package - -do_compile_append() { - sed -i
s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc -} diff --git a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb similarity index 23% rename from meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb rename to meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb index 802ae40..2c738c9 100644 --- a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb @@ -1,16 +1,20 @@ -DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application." -LICENSE = "LGPLv2.1" +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"

meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb renamed from meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb +1 -1
+DEPENDS = "gnutls libgcrypt curl"
 
-DEPENDS = "libgcrypt curl" - -SRC_URI =

"ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd//libmicrohttpd-${PV}.tar.gz" -SRC_URI[md5sum] = "a10496b7f1b495aaf6897584da52f51b" -SRC_URI[sha256sum] = "d532edf64c3a9da472114c2d10fc94606e3b31f21b883ec2e796ab8478f7e9cb" -

(quoted diff) +2 -0
+SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz" 
+SRC_URI[md5sum] = "013b10f9de1cda5448b29c81305354a3" +SRC_URI[sha256sum]

= "d9587e8497548f820650cd607daf3615ea3272435779378983032c570f1cd559"

Quoted 4 lines

inherit autotools lib_package

+EXTRA_OECONF += "--disable-dependency-tracking --enable-largefile \ + --enable-curl --enable-messages --with-pic"

I'm not 100% sure, but isn't largefile a DISTRO_FEATURE? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFS/dpzMkyGM64RGpERAoh1AKCBF+EjcIYqIXLoY27vC48I/BveOACgu38U 9w1XcagcP90WF752zdacvmQ=
=F3eg
-----END PGP SIGNATURE-----

author
#2 lore raw
Quoted 49 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj schreef op 14-02-14 08:41:

Quoted 45 lines

libmicrohttpd is needed by systemd-journald-gatewayd Remove older recipes and move to recipes-support

.../libmicrohttpd/libmicrohttpd_0.4.6.bb | 16
---------------- .../libmicrohttpd/libmicrohttpd_0.9.33.bb} |
20 ++++++++++++-------- 2 files changed, 12 insertions(+), 24 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb rename meta-oe/{recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb => recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb} (23%)

diff --git a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb b/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb deleted file mode 100644 index ebaa485..0000000 --- a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application." -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5" - -DEPENDS = "libgcrypt curl" - -# ftp://ftp.nluug.nl/pub/gnu/${PN}/ has only 0.9.* and newer now -SRC_URI = "http://mirrors.usc.edu/pub/gnu/${PN}/${P}.tar.gz" -SRC_URI[md5sum] = "61698da6aa04744ea076c327f66fc05a" -SRC_URI[sha256sum] = "0cb09e26678d1531a4fd40a748abff5142bfdad3ae11cfe3bb7ad7317a99e371" -
-inherit autotools lib_package - -do_compile_append() { - sed -i
s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc -} diff --git a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb similarity index 23% rename from meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bbrename to meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb index 802ae40..2c738c9 100644 --- a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.9.27.bb +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb @@ -1,16 +1,20 @@ -DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application." -LICENSE = "LGPLv2.1" +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 curl"

Quoted 5 lines
Quoted 4 lines

-DEPENDS = "libgcrypt curl" - -SRC_URI = "ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd//libmicrohttpd-${PV}.tar.gz" -SRC_URI[md5sum] = "a10496b7f1b495aaf6897584da52f51b" -SRC_URI[sha256sum] = "d532edf64c3a9da472114c2d10fc94606e3b31f21b883ec2e796ab8478f7e9cbI'm

not 100% sure, but isn't largefile a DISTRO_FEATURE?

That's right, wait for v3

Quoted 14 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFS/dpzMkyGM64RGpERAoh1AKCBF+EjcIYqIXLoY27vC48I/BveOACgu38U 9w1XcagcP90WF752zdacvmQ=
=F3eg
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list [email protected] <javascript:;>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel