Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency
@ 2023-12-30 18:13 Fabrice Fontaine
  2023-12-30 18:13 ` [Buildroot] [PATCH 2/2] package/libiec61850: bump to version 1.5.3 Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2023-12-30 18:13 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Fabrice Fontaine

mbedtls is an optional dependency since bump to version 1.5.0 in
commit a42e0e4600be785fa750c6b481c41a76d041df03 and
https://github.com/mz-automation/libiec61850/commit/19f2cbf0e7066753476ff8c38c07a6f0df73a622

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libiec61850/libiec61850.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/libiec61850/libiec61850.mk b/package/libiec61850/libiec61850.mk
index 4b61e40c6d..a3cfb74b03 100644
--- a/package/libiec61850/libiec61850.mk
+++ b/package/libiec61850/libiec61850.mk
@@ -15,4 +15,11 @@ LIBIEC61850_CONF_OPTS = -DBUILD_PYTHON_BINDINGS=OFF
 # https://github.com/mz-automation/libiec61850/issues/442
 LIBIEC61850_IGNORE_CVES += CVE-2023-27772
 
+ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+LIBIEC61850_DEPENDENCIES += mbedtls
+LIBIEC61850_CONF_OPTS += -DCONFIG_USE_EXTERNAL_MBEDTLS_DYNLIB=ON
+else
+LIBIEC61850_CONF_OPTS += -DCONFIG_USE_EXTERNAL_MBEDTLS_DYNLIB=OFF
+endif
+
 $(eval $(cmake-package))
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] package/libiec61850: bump to version 1.5.3
  2023-12-30 18:13 [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Fabrice Fontaine
@ 2023-12-30 18:13 ` Fabrice Fontaine
  2024-01-01 20:37 ` [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Thomas Petazzoni via buildroot
  2024-01-10 20:02 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2023-12-30 18:13 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour, Fabrice Fontaine

- Switch site to github to get latest release
- Drop LIBIEC61850_IGNORE_CVES as CVE-2023-27772 only affects version
  1.5.1

https://github.com/mz-automation/libiec61850/blob/v1.5.3/CHANGELOG

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libiec61850/libiec61850.hash | 2 +-
 package/libiec61850/libiec61850.mk   | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/package/libiec61850/libiec61850.hash b/package/libiec61850/libiec61850.hash
index a416ecdb4d..be662bebaf 100644
--- a/package/libiec61850/libiec61850.hash
+++ b/package/libiec61850/libiec61850.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  b6d7ffac831e7d9aec3470e45e2f1734071859c95cab4cfe99ffd1091776b3cc  libiec61850-1.5.1.tar.gz
+sha256  a0f396a5e2249398f2432bb9698e3aecdb9de11b28e5af68f7fb8b14bc3b2f44  libiec61850-1.5.3.tar.gz
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
diff --git a/package/libiec61850/libiec61850.mk b/package/libiec61850/libiec61850.mk
index a3cfb74b03..276acce1a8 100644
--- a/package/libiec61850/libiec61850.mk
+++ b/package/libiec61850/libiec61850.mk
@@ -4,16 +4,13 @@
 #
 ################################################################################
 
-LIBIEC61850_VERSION = 1.5.1
-LIBIEC61850_SITE = https://libiec61850.com/wp-content/uploads/2022/03
+LIBIEC61850_VERSION = 1.5.3
+LIBIEC61850_SITE = $(call github,mz-automation,libiec61850,v$(LIBIEC61850_VERSION))
 LIBIEC61850_INSTALL_STAGING = YES
 LIBIEC61850_LICENSE = GPL-3.0+
 LIBIEC61850_LICENSE_FILES = COPYING
 LIBIEC61850_CPE_ID_VENDOR = mz-automation
 LIBIEC61850_CONF_OPTS = -DBUILD_PYTHON_BINDINGS=OFF
-# Examples aren't build
-# https://github.com/mz-automation/libiec61850/issues/442
-LIBIEC61850_IGNORE_CVES += CVE-2023-27772
 
 ifeq ($(BR2_PACKAGE_MBEDTLS),y)
 LIBIEC61850_DEPENDENCIES += mbedtls
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency
  2023-12-30 18:13 [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Fabrice Fontaine
  2023-12-30 18:13 ` [Buildroot] [PATCH 2/2] package/libiec61850: bump to version 1.5.3 Fabrice Fontaine
@ 2024-01-01 20:37 ` Thomas Petazzoni via buildroot
  2024-01-10 20:02 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-01-01 20:37 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Romain Naour, buildroot

On Sat, 30 Dec 2023 19:13:19 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> mbedtls is an optional dependency since bump to version 1.5.0 in
> commit a42e0e4600be785fa750c6b481c41a76d041df03 and
> https://github.com/mz-automation/libiec61850/commit/19f2cbf0e7066753476ff8c38c07a6f0df73a622
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/libiec61850/libiec61850.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Both applied to master, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency
  2023-12-30 18:13 [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Fabrice Fontaine
  2023-12-30 18:13 ` [Buildroot] [PATCH 2/2] package/libiec61850: bump to version 1.5.3 Fabrice Fontaine
  2024-01-01 20:37 ` [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Thomas Petazzoni via buildroot
@ 2024-01-10 20:02 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2024-01-10 20:02 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Romain Naour, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > mbedtls is an optional dependency since bump to version 1.5.0 in
 > commit a42e0e4600be785fa750c6b481c41a76d041df03 and
 > https://github.com/mz-automation/libiec61850/commit/19f2cbf0e7066753476ff8c38c07a6f0df73a622

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

Committed to 2023.02.x and 2023.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-01-10 20:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 18:13 [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Fabrice Fontaine
2023-12-30 18:13 ` [Buildroot] [PATCH 2/2] package/libiec61850: bump to version 1.5.3 Fabrice Fontaine
2024-01-01 20:37 ` [Buildroot] [PATCH 1/2] package/libiec61850: add mbedtls optional dependency Thomas Petazzoni via buildroot
2024-01-10 20:02 ` Peter Korsgaard

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