From: Asmitha Karunanithi <asmithakarun@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] Library to aid multi-part form data parsing
Date: Tue, 4 Feb 2020 14:51:26 +0530 [thread overview]
Message-ID: <20200204092126.19209-1-asmithakarun@gmail.com> (raw)
From: asmitha <asmithakarun@gmail.com>
Mimetic library helps parsing the multi-part form data. This library
can be used for scenarios that includes multi-part form data file uploads
to the BMC.
The patch file (config.patch) includes:
i) addition of a compilation flag - "no-narrowing" since this has been
treated as warning in earlier versions of c++ and now with the higher
versions, this is treated as errors.
ii) the test directory is removed as there were errors (relocation errors)
since the shared object files of libc++ and libc were not taken from the
sysroot path but from the system's library path where the required
version of the .so is not present.
Signed-off-by: asmitha <asmithakarun@gmail.com>
---
.../libmimetic/libmimetic/config.patch | 25 +++++++++++++++++++
.../libmimetic/libmimetic_0.9.8.bb | 19 ++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 meta-oe/recipes-support/libmimetic/libmimetic/config.patch
create mode 100644 meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
diff --git a/meta-oe/recipes-support/libmimetic/libmimetic/config.patch b/meta-oe/recipes-support/libmimetic/libmimetic/config.patch
new file mode 100644
index 000000000..52bf7b450
--- /dev/null
+++ b/meta-oe/recipes-support/libmimetic/libmimetic/config.patch
@@ -0,0 +1,25 @@
+diff --git a/Makefile.am b/Makefile.am
+index 634bd4c..c7cbae7 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,6 +1,6 @@
+ MAINTAINERCLEANFILES = Makefile Makefile.in config.cache
+ EXTRA_DIST=LICENSE m4
+-SUBDIRS = mimetic doc examples test win32
++SUBDIRS = mimetic doc examples win32
+ INCLUDES=-I$(top_srcdir)
+ ACLOCAL_AMFLAGS=-I m4
+
+diff --git a/configure.in b/configure.in
+index 5e8f3d4..af1018e 100644
+--- a/configure.in
++++ b/configure.in
+@@ -30,7 +30,7 @@ debug_enabled=false
+ dnl CFLAGS and CXXFLAGS default to -O2 -g
+
+ dnl CXXFLAGS="$CXXFLAGS -DNDEBUG -fno-exceptions"
+-CXXFLAGS="$CXXFLAGS -DNDEBUG"
++CXXFLAGS="$CXXFLAGS -DNDEBUG -Wno-narrowing"
+
+ AC_ARG_ENABLE(debug,
+ [ --enable-debug[=LEVEL] enables debug symbols [default=2]],
diff --git a/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb b/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
new file mode 100644
index 000000000..a0a704188
--- /dev/null
+++ b/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
@@ -0,0 +1,19 @@
+# Released under the MIT license.
+
+SUMMARY = "Mimetic Library for multi-part parsing"
+DESCRIPTION = "Email library (MIME) written in C++ designed to be easy to use and integrate but yet fast and efficient."
+AUTHOR = "Stefano Barbato <stefano@codesink.org>"
+HOMEPAGE = "http://www.codesink.org/mimetic_mime_library.html"
+BUGTRACKER = "https://github.com/LadislavSopko/mimetic/issues"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b49da7df0ca479ef01ff7f2d799eabee"
+
+SRCREV = "50486af99b4f9b35522d7b3de40b6ce107505279"
+SRC_URI += "git://github.com/LadislavSopko/mimetic/ \
+ file://config.patch \
+ "
+
+S = "${WORKDIR}/git"
+
+inherit autotools
--
2.21.0
next reply other threads:[~2020-02-04 9:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 9:21 Asmitha Karunanithi [this message]
2020-02-04 17:04 ` [meta-oe][PATCH] Library to aid multi-part form data parsing Peter Kjellerstedt
2020-02-05 1:11 ` Khem Raj
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=20200204092126.19209-1-asmithakarun@gmail.com \
--to=asmithakarun@gmail.com \
--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 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.