Skip to contentSkip to conversation

safec: Add Safe C license

PATCH In review Ankit Navik 2 participants 4 messages May 17, 2019 – May 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 safec: Add Safe C license

---
 meta-oe/licenses/safec | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/licenses/safec
meta-oe/licenses/safec new file +26 -0
new file mode 100644
index 000000000..2bf1e6374
@@ -0,0 +1,26 @@
+Safe C Library
+
+Copyright (C) 2012, 2013 Cisco Systems
+Copyright (C) 2017 Reini Urban
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 safec: Initial recipe for safe C library

Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.

---
 meta-oe/recipes-core/safec/safec_3.4.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
meta-oe/recipes-core/safec/safec_3.4.bb new file +13 -0
new file mode 100644
index 000000000..2048fd418
@@ -0,0 +1,13 @@
+SUMMARY  = "Safe C Library"
+
+LICENSE  = "safec"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
+SECTION = "lib"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/git"
+SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
+SRC_URI = "git://github.com/rurban/safeclib.git"
+
+RDEPENDS_${PN} = "perl"
Signature · 1 line
2.20.1
#2 lore raw

Re: [meta-oe][PATCH 2/2] safec: Initial recipe for safe C library

This fails to build for mips target see

https://errors.yoctoproject.org/Errors/Details/241270/

Quoted 38 lines · Ankit Navik

Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.

---
 meta-oe/recipes-core/safec/safec_3.4.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
meta-oe/recipes-core/safec/safec_3.4.bb new file +13 -1
new file mode 100644
index 000000000..2048fd418
@@ -0,0 +1,13 @@
+SUMMARY  = "Safe C Library"
+
+LICENSE  = "safec"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
+SECTION = "lib"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/git"
+SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
+SRC_URI = "git://github.com/rurban/safeclib.git"
+
+RDEPENDS_${PN} = "perl"
--

2.20.1

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

#3 lore raw

Re: [meta-oe][PATCH 2/2] safec: Initial recipe for safe C library

Hi Raj,

Quoted 3 lines · Khem Raj

This fails to build for mips target see

https://errors.yoctoproject.org/Errors/Details/241270/

v2 patch is submitted for compatible target.
Regards,
Ankit

Quoted 44 lines · Ankit Navik
Quoted 3 lines

Add generic recipe for safe C library.
This library implements the secure C11 Annex K functions on top of most

libc

Review

Quoted 9 lines

implementations, which are missing from them.

---
 meta-oe/recipes-core/safec/safec_3.4.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-oe/recipes-core/safec/safec_3.4.bb
(quoted diff) +0 -0

b/meta-oe/recipes-core/safec/safec_3.4.bb

Quoted 26 lines

new file mode 100644
index 000000000..2048fd418

meta-oe/recipes-core/safec/safec_3.4.bb new file +13 -1
@@ -0,0 +1,13 @@
+SUMMARY  = "Safe C Library"
+
+LICENSE  = "safec"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
+SECTION = "lib"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/git"
+SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
+SRC_URI = "git://github.com/rurban/safeclib.git"
+
+RDEPENDS_${PN} = "perl"
--

2.20.1

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