* [meta-networking][PATCH v2 1/2] http-parser: add recipe
@ 2021-05-17 6:09 Stefan Wiehler
2021-05-17 6:09 ` [meta-networking][PATCH v2 2/2] restinio: " Stefan Wiehler
2021-05-17 16:05 ` [oe] [meta-networking][PATCH v2 1/2] http-parser: " Khem Raj
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Wiehler @ 2021-05-17 6:09 UTC (permalink / raw
To: openembedded-devel; +Cc: Stefan Wiehler
HTTP request/response parser for C.
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
---
.../http-parser/http-parser_2.9.4.bb | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
diff --git a/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
new file mode 100644
index 000000000..2d04ded34
--- /dev/null
+++ b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
@@ -0,0 +1,30 @@
+SUMMARY = "HTTP request/response parser for C"
+DESCRIPTION = "This is a parser for HTTP messages written in C. It parses \
+ both requests and responses. The parser is designed to be used \
+ in performance HTTP applications. It does not make any \
+ syscalls nor allocations, it does not buffer data, it can be \
+ interrupted at anytime. Depending on your architecture, it \
+ only requires about 40 bytes of data per message stream (in a \
+ web server that is per connection)."
+AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>"
+HOMEPAGE = "https://github.com/nodejs/http-parser"
+SECTION = "libs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778"
+
+SRC_URI = "git://github.com/nodejs/http-parser.git"
+SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"
+
+S = "${WORKDIR}/git"
+
+do_configure[noexec] = "1"
+
+do_compile() {
+ oe_runmake library package
+}
+
+do_install() {
+ oe_runmake install DESTDIR=${D} PREFIX=${prefix}
+}
+
+BBCLASSEXTEND = "native nativesdk"
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [meta-networking][PATCH v2 2/2] restinio: add recipe
2021-05-17 6:09 [meta-networking][PATCH v2 1/2] http-parser: add recipe Stefan Wiehler
@ 2021-05-17 6:09 ` Stefan Wiehler
2021-05-17 16:05 ` [oe] [meta-networking][PATCH v2 1/2] http-parser: " Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Wiehler @ 2021-05-17 6:09 UTC (permalink / raw
To: openembedded-devel; +Cc: Stefan Wiehler
Header-only C++14 library that gives you an embedded HTTP server.
Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
---
.../restinio/restinio_0.6.13.bb | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
diff --git a/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
new file mode 100644
index 000000000..e3567961a
--- /dev/null
+++ b/meta-networking/recipes-connectivity/restinio/restinio_0.6.13.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Header-only C++14 library that gives you an embedded HTTP server"
+DESCRIPTION = "Cross-platform, efficient, customizable, and robust \
+ asynchronous HTTP/WebSocket server C++14 library with the \
+ right balance between performance and ease of use"
+AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>"
+HOMEPAGE = "https://stiffstream.com/en/products/restinio.html"
+SECTION = "libs"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=f399b62ce0a152525d1589a5a40c0ff6"
+DEPENDS = "asio fmt http-parser"
+
+SRC_URI = "https://github.com/Stiffstream/restinio/releases/download/v.${PV}/restinio-${PV}.tar.bz2"
+SRC_URI[md5sum] = "37a4310e98912030a74bdd4ed789f33c"
+SRC_URI[sha256sum] = "b35d696e6fafd4563ca708fcecf9d0cf6705c846d417b5000f5252e0188848e7"
+
+S = "${WORKDIR}/${PN}-${PV}/dev"
+
+inherit cmake
+
+EXTRA_OECMAKE += "\
+ -DRESTINIO_TEST=OFF \
+ -DRESTINIO_SAMPLE=OFF \
+ -DRESTINIO_BENCH=OFF \
+ -DRESTINIO_FIND_DEPS=ON \
+ -DRESTINIO_ALLOW_SOBJECTIZER=OFF \
+ -DRESTINIO_USE_EXTERNAL_HTTP_PARSER=ON \
+ "
+
+# Header-only library
+RDEPENDS_${PN}-dev = ""
+RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe] [meta-networking][PATCH v2 1/2] http-parser: add recipe
2021-05-17 6:09 [meta-networking][PATCH v2 1/2] http-parser: add recipe Stefan Wiehler
2021-05-17 6:09 ` [meta-networking][PATCH v2 2/2] restinio: " Stefan Wiehler
@ 2021-05-17 16:05 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2021-05-17 16:05 UTC (permalink / raw
To: Stefan Wiehler, openembedded-devel
Hello Stefan
I accepted the V1, so if there is delta on top of that then rebase these
patches on top of master or master-next and resend please
On 5/16/21 11:09 PM, Stefan Wiehler wrote:
> HTTP request/response parser for C.
>
> Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
> ---
> .../http-parser/http-parser_2.9.4.bb | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
>
> diff --git a/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
> new file mode 100644
> index 000000000..2d04ded34
> --- /dev/null
> +++ b/meta-networking/recipes-support/http-parser/http-parser_2.9.4.bb
> @@ -0,0 +1,30 @@
> +SUMMARY = "HTTP request/response parser for C"
> +DESCRIPTION = "This is a parser for HTTP messages written in C. It parses \
> + both requests and responses. The parser is designed to be used \
> + in performance HTTP applications. It does not make any \
> + syscalls nor allocations, it does not buffer data, it can be \
> + interrupted at anytime. Depending on your architecture, it \
> + only requires about 40 bytes of data per message stream (in a \
> + web server that is per connection)."
> +AUTHOR = "Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>"
> +HOMEPAGE = "https://github.com/nodejs/http-parser"
> +SECTION = "libs"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=9bfa835d048c194ab30487af8d7b3778"
> +
> +SRC_URI = "git://github.com/nodejs/http-parser.git"
> +SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"
> +
> +S = "${WORKDIR}/git"
> +
> +do_configure[noexec] = "1"
> +
> +do_compile() {
> + oe_runmake library package
> +}
> +
> +do_install() {
> + oe_runmake install DESTDIR=${D} PREFIX=${prefix}
> +}
> +
> +BBCLASSEXTEND = "native nativesdk"
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-17 16:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-17 6:09 [meta-networking][PATCH v2 1/2] http-parser: add recipe Stefan Wiehler
2021-05-17 6:09 ` [meta-networking][PATCH v2 2/2] restinio: " Stefan Wiehler
2021-05-17 16:05 ` [oe] [meta-networking][PATCH v2 1/2] http-parser: " Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.