Skip to contentSkip to conversation

safeclib: new package

PATCH Superseded Fabrice Fontaine 3 participants 3 messages Dec 17, 2017 – Feb 4, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 safeclib: new package

safec fork with all C11 Annex K functions

This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.

https://rurban.github.io/safeclib/

---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/safeclib/Config.in     |  9 +++++++++
 package/safeclib/safeclib.hash |  3 +++
 package/safeclib/safeclib.mk   | 15 +++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/safeclib/Config.in
 create mode 100644 package/safeclib/safeclib.hash
 create mode 100644 package/safeclib/safeclib.mk
DEVELOPERS +1 -0
index 30067d3749..48f70a7eff 100644
@@ -634,6 +634,7 @@ F:	package/libupnp18/
 F:	package/minissdpd/
 F:	package/motion/
 F:	package/rygel/
+F:	package/safeclib/
 F:	package/tinycbor/
 F:	package/tinydtls/
 
package/Config.in +1 -0
index cae1624cb1..09c6b11bb4 100644
@@ -1545,6 +1545,7 @@ menu "Security"
 	source "package/libselinux/Config.in"
 	source "package/libsemanage/Config.in"
 	source "package/libsepol/Config.in"
+	source "package/safeclib/Config.in"
 endmenu
 
 menu "Text and terminal handling"
package/safeclib/Config.in new file +9 -0
new file mode 100644
index 0000000000..5117c49da7
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_SAFECLIB
+	bool "safeclib"
+	help
+	  safec fork with all C11 Annex K functions
+
+	  This library implements the secure C11 Annex K functions on
+	  top of most libc implementations, which are missing from them.
+
+	  https://rurban.github.io/safeclib/
package/safeclib/safeclib.hash new file +3 -0
new file mode 100644
index 0000000000..95a862eef0
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	9c09c6e9fc95207c7d45944f8b669f2454056bef2bbaef70c94ba3f81be1cbb2	safeclib-v09102017.tar.gz
+sha256	c33e77efd5781e3d59a2bb648c82d2a615035ef0d24cf58880380e3af906510b	COPYING
package/safeclib/safeclib.mk new file +15 -0
new file mode 100644
index 0000000000..65c6621e0a
@@ -0,0 +1,15 @@
+################################################################################
+#
+# safeclib
+#
+################################################################################
+
+SAFECLIB_VERSION = v09102017
+SAFECLIB_SITE = $(call github,rurban,safeclib,$(SAFECLIB_VERSION))
+SAFECLIB_LICENSE = MIT 
+SAFECLIB_LICENSE_FILES = COPYING
+SAFECLIB_INSTALL_STAGING = YES
+# From git
+SAFECLIB_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 safeclib: new package

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

safec fork with all C11 Annex K functions
This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.

https://rurban.github.io/safeclib/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 safeclib: new package

In reply to Fabrice Fontaine

Fabric, All,

On 2017-12-17 19:17 +0100, Fabrice Fontaine spake thusly:

Quoted 4 lines

safec fork with all C11 Annex K functions

This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.

[--SNIP--]

Quoted 6 lines
package/safeclib/safeclib.mk new file +0 -0
new file mode 100644
index 0000000000..65c6621e0a

package/safeclib/safeclib.mk line 9

Quoted 9 lines
package/safeclib/safeclib.mk new file +9 -0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# safeclib
+#
+################################################################################
+
+SAFECLIB_VERSION = v09102017
+SAFECLIB_SITE = $(call github,rurban,safeclib,$(SAFECLIB_VERSION))
+SAFECLIB_LICENSE = MIT 

Trailing space, causing chheck-package failures;

    https://gitlab.com/buildroot.org/buildroot/-/jobs/50971692

You can check locally with:
./utils/check-package package/safeclib/*

Regards,
Yann E. MORIN.

Quoted 13 lines
package/safeclib/safeclib.mk new file +6 -0
+SAFECLIB_LICENSE_FILES = COPYING
+SAFECLIB_INSTALL_STAGING = YES
+# From git
+SAFECLIB_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 6 lines
2.14.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'