From: Krzysztof Kozlowski <krzk@kernel.org>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-networking][rocko][PATCH] civetweb: Add new recipe for v1.10 version
Date: Tue, 17 Apr 2018 14:15:57 +0200 [thread overview]
Message-ID: <1523967357-4158-1-git-send-email-krzk@kernel.org> (raw)
Add recipe for CivetWeb: easy to use, powerful, C/C++ embeddable web
server with optional CGI, SSL and Lua support, under MIT license.
CivetWeb provides C and C++ libraries and a standalone server binary.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
.../recipes-connectivity/civetweb/civetweb_1.10.bb | 34 ++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 meta-networking/recipes-connectivity/civetweb/civetweb_1.10.bb
diff --git a/meta-networking/recipes-connectivity/civetweb/civetweb_1.10.bb b/meta-networking/recipes-connectivity/civetweb/civetweb_1.10.bb
new file mode 100644
index 000000000000..35af45680818
--- /dev/null
+++ b/meta-networking/recipes-connectivity/civetweb/civetweb_1.10.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Civetweb embedded web server"
+HOMEPAGE = "https://github.com/civetweb/civetweb"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=da079d81be91ff1d1ca56dcd751f897f"
+
+SRC_URI = " \
+ git://github.com/civetweb/civetweb.git;tag=v${PV} \
+"
+S = "${WORKDIR}/git"
+
+# civetweb supports building with make or cmake (although cmake lacks few features)
+inherit cmake
+
+# Disable Lua and Duktape because they do not compile from CMake (as of v1.8, v1.9 and v1.10)
+EXTRA_OECMAKE = " \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCIVETWEB_ENABLE_DUKTAPE=OFF \
+ -DCIVETWEB_ENABLE_LUA=OFF \
+"
+
+PACKAGECONFIG ??= "asan caching cgi cpp debug ipv6 server websockets"
+PACKAGECONFIG[asan] = "-DCIVETWEB_ENABLE_ASAN=ON,-DCIVETWEB_ENABLE_ASAN=OFF,gcc-sanitizers"
+PACKAGECONFIG[caching] = "-DCIVETWEB_DISABLE_CACHING=OFF,-DCIVETWEB_DISABLE_CACHING=ON,"
+PACKAGECONFIG[cgi] = "-DCIVETWEB_DISABLE_CGI=OFF,-DCIVETWEB_DISABLE_CGI=ON,"
+PACKAGECONFIG[cpp] = "-DCIVETWEB_ENABLE_CXX=ON,-DCIVETWEB_ENABLE_CXX=OFF,"
+PACKAGECONFIG[debug] = "-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=ON,-DCIVETWEB_ENABLE_MEMORY_DEBUGGING=OFF,"
+PACKAGECONFIG[ipv6] = "-DCIVETWEB_ENABLE_IPV6=ON,-DCIVETWEB_ENABLE_IPV6=OFF,"
+PACKAGECONFIG[server] = "-DCIVETWEB_INSTALL_EXECUTABLE=ON,-DCIVETWEB_INSTALL_EXECUTABLE=OFF,"
+# As of v1.10, SSL does not work. Bring it back with v1.11:
+# PACKAGECONFIG[ssl] = "-DCIVETWEB_ENABLE_SSL=ON -DCIVETWEB_SSL_OPENSSL_API_1_1=ON -DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=OFF,-DCIVETWEB_ENABLE_SSL=OFF,openssl"
+PACKAGECONFIG[websockets] = "-DCIVETWEB_ENABLE_WEBSOCKETS=ON,-DCIVETWEB_ENABLE_WEBSOCKETS=OFF,"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.7.4
next reply other threads:[~2018-04-17 12:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-17 12:15 Krzysztof Kozlowski [this message]
2018-04-18 7:40 ` [meta-networking][rocko][PATCH] civetweb: Add new recipe for v1.10 version Khem Raj
2018-04-18 8:00 ` Krzysztof Kozlowski
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=1523967357-4158-1-git-send-email-krzk@kernel.org \
--to=krzk@kernel.org \
--cc=openembedded-devel@lists.openembedded.org \
/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