Skip to contentSkip to conversation

package/libressl: update to 3.9.2

PATCH Applied Waldemar Brodkorb 2 participants 2 messages Aug 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libressl: update to 3.9.2

Release notes:
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.9.2-relnotes.txt

Patches 0002/0003 are upstream. 0004 got renamed to 0002.

Disable ASM for PowerPC target, as it fails to link binaries when
enabled:
/home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/13.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld:
../../crypto/libcrypto.so.52.0.0: undefined reference to
`bn_mul_add_words'
...

Fixes:
http://autobuild.buildroot.net/results/ddd/dddd58def99b28c5afa9896622259b652a4287da/

---
 ...sts-txt-Fix-HOST-variable-for-ppc64.patch} |   0
 ...02-Fix-a-few-symbols-in-EXTRA_EXPORT.patch | 133 ------------------
 ...x-some-compat-symbols-with-libressl_.patch | 130 -----------------
 package/libressl/libressl.hash                |   2 +-
 package/libressl/libressl.mk                  |   6 +-
 5 files changed, 6 insertions(+), 265 deletions(-)
 rename package/libressl/{0004-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch => 0002-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch} (100%)
 delete mode 100644 package/libressl/0002-Fix-a-few-symbols-in-EXTRA_EXPORT.patch
 delete mode 100644 package/libressl/0003-Prefix-some-compat-symbols-with-libressl_.patch
package/libressl/0002-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch renamed from package/libressl/0004-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch +0 -0
similarity index 100%
rename from package/libressl/0004-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch
rename to package/libressl/0002-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch
package/libressl/0002-Fix-a-few-symbols-in-EXTRA_EXPORT.patch deleted +0 -133

133 lines not on this page · raw message

package/libressl/0003-Prefix-some-compat-symbols-with-libressl_.patch deleted +0 -130

130 lines not on this page · raw message

package/libressl/libressl.hash +1 -1
index 5d3b54ea9c..692dce28e3 100644
@@ -1,4 +1,4 @@
 # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256
-sha256  c0cef9cfe174ac366ce482f542fddb07721e7fa0caface34b49a8720fa37fe7d  libressl-3.8.4.tar.gz
+sha256  7b031dac64a59eb6ee3304f7ffb75dad33ab8c9d279c847f92c89fb846068f97  libressl-3.9.2.tar.gz
 # Locally computed
 sha256  5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1  COPYING
package/libressl/libressl.mk +5 -1
index 1d90aa853d..1d53460063 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBRESSL_VERSION = 3.8.4
+LIBRESSL_VERSION = 3.9.2
 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
 LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code)
 LIBRESSL_LICENSE_FILES = COPYING
@@ -12,6 +12,10 @@ LIBRESSL_CPE_ID_VENDOR = openbsd
 LIBRESSL_INSTALL_STAGING = YES
 LIBRESSL_CONF_OPTS = -DLIBRESSL_TESTS=OFF -DOPENSSLDIR="/etc/ssl"
 
+ifeq ($(BR2_powerpc),y)
+LIBRESSL_CONF_OPTS += -DENABLE_ASM=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
 define LIBRESSL_REMOVE_BIN
 	$(RM) -f $(TARGET_DIR)/usr/bin/openssl
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 16 lines · On Sun, 4 Aug 2024 04:32:50 +0200 Waldemar Brodkorb <[email protected]> wrote:

Release notes:
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.9.2-relnotes.txt

Patches 0002/0003 are upstream. 0004 got renamed to 0002.

Disable ASM for PowerPC target, as it fails to link binaries when
enabled:
/home/autobuild/autobuild/instance-15/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/13.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld:
../../crypto/libcrypto.so.52.0.0: undefined reference to
`bn_mul_add_words'
...

Fixes:
http://autobuild.buildroot.net/results/ddd/dddd58def99b28c5afa9896622259b652a4287da/

Quoted 10 lines
---
 ...sts-txt-Fix-HOST-variable-for-ppc64.patch} |   0
 ...02-Fix-a-few-symbols-in-EXTRA_EXPORT.patch | 133 ------------------
 ...x-some-compat-symbols-with-libressl_.patch | 130 -----------------
 package/libressl/libressl.hash                |   2 +-
 package/libressl/libressl.mk                  |   6 +-
 5 files changed, 6 insertions(+), 265 deletions(-)
 rename package/libressl/{0004-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch => 0002-CMakeLists-txt-Fix-HOST-variable-for-ppc64.patch} (100%)
 delete mode 100644 package/libressl/0002-Fix-a-few-symbols-in-EXTRA_EXPORT.patch
 delete mode 100644 package/libressl/0003-Prefix-some-compat-symbols-with-libressl_.patch

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot