Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] safeclib: new package
@ 2017-12-17 18:17 Fabrice Fontaine
  2018-02-03 20:36 ` Peter Korsgaard
  2018-02-04 16:15 ` Yann E. MORIN
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2017-12-17 18:17 UTC (permalink / raw)
  To: buildroot

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/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 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

diff --git a/DEVELOPERS b/DEVELOPERS
index 30067d3749..48f70a7eff 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
 
diff --git a/package/Config.in b/package/Config.in
index cae1624cb1..09c6b11bb4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/safeclib/Config.in b/package/safeclib/Config.in
new file mode 100644
index 0000000000..5117c49da7
--- /dev/null
+++ b/package/safeclib/Config.in
@@ -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/
diff --git a/package/safeclib/safeclib.hash b/package/safeclib/safeclib.hash
new file mode 100644
index 0000000000..95a862eef0
--- /dev/null
+++ b/package/safeclib/safeclib.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256	9c09c6e9fc95207c7d45944f8b669f2454056bef2bbaef70c94ba3f81be1cbb2	safeclib-v09102017.tar.gz
+sha256	c33e77efd5781e3d59a2bb648c82d2a615035ef0d24cf58880380e3af906510b	COPYING
diff --git a/package/safeclib/safeclib.mk b/package/safeclib/safeclib.mk
new file mode 100644
index 0000000000..65c6621e0a
--- /dev/null
+++ b/package/safeclib/safeclib.mk
@@ -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))
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] safeclib: new package
  2017-12-17 18:17 [Buildroot] [PATCH 1/1] safeclib: new package Fabrice Fontaine
@ 2018-02-03 20:36 ` Peter Korsgaard
  2018-02-04 16:15 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-02-03 20:36 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> 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/

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] safeclib: new package
  2017-12-17 18:17 [Buildroot] [PATCH 1/1] safeclib: new package Fabrice Fontaine
  2018-02-03 20:36 ` Peter Korsgaard
@ 2018-02-04 16:15 ` Yann E. MORIN
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2018-02-04 16:15 UTC (permalink / raw)
  To: buildroot

Fabric, All,

On 2017-12-17 19:17 +0100, Fabrice Fontaine spake thusly:
> 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--]
> diff --git a/package/safeclib/safeclib.mk b/package/safeclib/safeclib.mk
> new file mode 100644
> index 0000000000..65c6621e0a
> --- /dev/null
> +++ b/package/safeclib/safeclib.mk
> @@ -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.

> +SAFECLIB_LICENSE_FILES = COPYING
> +SAFECLIB_INSTALL_STAGING = YES
> +# From git
> +SAFECLIB_AUTORECONF = YES
> +
> +$(eval $(autotools-package))
> -- 
> 2.14.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-04 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-17 18:17 [Buildroot] [PATCH 1/1] safeclib: new package Fabrice Fontaine
2018-02-03 20:36 ` Peter Korsgaard
2018-02-04 16:15 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox