Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libopenssl: remove patch 0002
@ 2026-09-27 11:42 Bernd Kuhls
  2026-09-28 11:59 ` Thomas Petazzoni via buildroot
  2026-10-10  9:23 ` Thomas Perale via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-09-27 11:42 UTC (permalink / raw)
  To: buildroot

Patch was committed upstream in a slightly different version
https://github.com/openssl/openssl/commit/098404128383ded87ba390dd74ecd9e2ffa6f530
and was first released in version 3.0 which was added to buildroot with
commit 3c66f65a6a549930870f2c0d98abb5ca9321d2a5.

Added Upstream: tag to patch 0001.

Renumbered patch 0003 and updated Upstream: tag.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/7c72511a896fe36a6ce73c446f24673691c269ed

Also build-tested using this defconfig

BR2_powerpc64=y
BR2_powerpc_power9=y
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_LIBOPENSSL_BIN=y
BR2_PACKAGE_LIBOPENSSL_ENGINES=y

 .checkpackageignore                           |  2 -
 ...ible-build-do-not-leak-compiler-path.patch |  2 +
 ...Fv2-ABI-on-some-ppc64-big-endian-sys.patch | 37 -------------------
 ...ch => 0002-Revert-Fix-static-builds.patch} |  3 +-
 4 files changed, 4 insertions(+), 40 deletions(-)
 delete mode 100644 package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch
 rename package/libopenssl/{0003-Revert-Fix-static-builds.patch => 0002-Revert-Fix-static-builds.patch} (97%)

diff --git a/.checkpackageignore b/.checkpackageignore
index 6d2a024e07..bd3766988d 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -502,8 +502,6 @@ package/libnfc/0001-autotools-make-example-build-optional.patch lib_patch.Upstre
 package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch lib_patch.Upstream
 package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch lib_patch.Upstream
 package/libodb-mysql/0002-mariadb-FTBFS-fix.patch lib_patch.Upstream
-package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch lib_patch.Upstream
-package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch lib_patch.Upstream
 package/liboping/0001-fix-utf8-support.patch lib_patch.Upstream
 package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch lib_patch.Upstream
 package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch lib_patch.Upstream
diff --git a/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch b/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
index 9353c1ae90..f4baf916e3 100644
--- a/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
+++ b/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
@@ -5,6 +5,8 @@ Subject: [PATCH] Reproducible build: do not leak compiler path
 
 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
 
+Upstream: https://github.com/openssl/openssl/pull/5218 (rejected)
+
 [Rebased on openssl-1.1.1.a]
 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
 ---
diff --git a/package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch b/package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch
deleted file mode 100644
index f74576beae..0000000000
--- a/package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From b57cc2e4ee21babacbffc243626de72c248068ea Mon Sep 17 00:00:00 2001
-From: Andy Polyakov <appro@openssl.org>
-Date: Sun, 5 May 2019 18:30:55 +0200
-Subject: [PATCH] Configure: use ELFv2 ABI on some ppc64 big endian systems
-
-If _CALL_ELF is defined to be 2, it's an ELFv2 system.
-Conditionally switch to the v2 perlasm scheme.
-
-Reviewed-by: Paul Dale <paul.dale@oracle.com>
-Reviewed-by: Richard Levitte <levitte@openssl.org>
-(Merged from https://github.com/openssl/openssl/pull/8883)
-[vfazio: fixup for 1.1.1d]
-Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
-[rebased on openssl-1.1.1i]
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
----
- Configure | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/Configure b/Configure
-index 15054f9..ac3206e 100755
---- a/Configure
-+++ b/Configure
-@@ -1686,6 +1686,10 @@ unless ($disabled{asm}) {
-     }
- }
- 
-+if ($target eq "linux-ppc64" && !$disabled{asm}) {
-+       $target{perlasm_scheme} = "linux64v2" if ($predefined_C{_CALL_ELF} == 2);
-+}
-+
- # Check for makedepend capabilities.
- if (!$disabled{makedepend}) {
-     # If the attribute makedep_scheme is defined, then we assume that the
--- 
-2.25.0
-
diff --git a/package/libopenssl/0003-Revert-Fix-static-builds.patch b/package/libopenssl/0002-Revert-Fix-static-builds.patch
similarity index 97%
rename from package/libopenssl/0003-Revert-Fix-static-builds.patch
rename to package/libopenssl/0002-Revert-Fix-static-builds.patch
index 10ca97a240..daeece2a0f 100644
--- a/package/libopenssl/0003-Revert-Fix-static-builds.patch
+++ b/package/libopenssl/0002-Revert-Fix-static-builds.patch
@@ -5,7 +5,8 @@ Subject: [PATCH] Revert "Fix -static builds"
 
 This reverts commit cfd7225fbb9507b2e443a494459bdaab5236d29d.
 
-Upstream: https://github.com/openssl/openssl/issues/14574#issuecomment-817209126
+Upstream: https://github.com/openssl/openssl/issues/14574#issuecomment-3791009156
+(rejected)
 
 Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
 [Dario: make the patch to be applied with fuzz factor 0]
-- 
2.47.3

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

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

* Re: [Buildroot] [PATCH 1/1] package/libopenssl: remove patch 0002
  2026-09-27 11:42 [Buildroot] [PATCH 1/1] package/libopenssl: remove patch 0002 Bernd Kuhls
@ 2026-09-28 11:59 ` Thomas Petazzoni via buildroot
  2026-10-10  9:23 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-28 11:59 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On Sun, Sep 27, 2026 at 01:42:02PM +0200, Bernd Kuhls wrote:
> Patch was committed upstream in a slightly different version
> https://github.com/openssl/openssl/commit/098404128383ded87ba390dd74ecd9e2ffa6f530
> and was first released in version 3.0 which was added to buildroot with
> commit 3c66f65a6a549930870f2c0d98abb5ca9321d2a5.
> 
> Added Upstream: tag to patch 0001.
> 
> Renumbered patch 0003 and updated Upstream: tag.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks!

Best regards,

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

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

* Re: [Buildroot] [PATCH 1/1] package/libopenssl: remove patch 0002
  2026-09-27 11:42 [Buildroot] [PATCH 1/1] package/libopenssl: remove patch 0002 Bernd Kuhls
  2026-09-28 11:59 ` Thomas Petazzoni via buildroot
@ 2026-10-10  9:23 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-10-10  9:23 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Thomas Perale, buildroot

In reply of:
> Patch was committed upstream in a slightly different version
> https://github.com/openssl/openssl/commit/098404128383ded87ba390dd74ecd9e2ffa6f530
> and was first released in version 3.0 which was added to buildroot with
> commit 3c66f65a6a549930870f2c0d98abb5ca9321d2a5.
> 
> Added Upstream: tag to patch 0001.
> 
> Renumbered patch 0003 and updated Upstream: tag.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x & 2026.08.x. Thanks

> ---
> Gitlab pipelines passed:
> https://gitlab.com/bkuhls/buildroot/-/commits/7c72511a896fe36a6ce73c446f24673691c269ed
> 
> Also build-tested using this defconfig
> 
> BR2_powerpc64=y
> BR2_powerpc_power9=y
> BR2_TOOLCHAIN_BUILDROOT_MUSL=y
> BR2_PACKAGE_OPENSSL=y
> BR2_PACKAGE_LIBOPENSSL_BIN=y
> BR2_PACKAGE_LIBOPENSSL_ENGINES=y
> 
>  .checkpackageignore                           |  2 -
>  ...ible-build-do-not-leak-compiler-path.patch |  2 +
>  ...Fv2-ABI-on-some-ppc64-big-endian-sys.patch | 37 -------------------
>  ...ch => 0002-Revert-Fix-static-builds.patch} |  3 +-
>  4 files changed, 4 insertions(+), 40 deletions(-)
>  delete mode 100644 package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch
>  rename package/libopenssl/{0003-Revert-Fix-static-builds.patch => 0002-Revert-Fix-static-builds.patch} (97%)
> 
> diff --git a/.checkpackageignore b/.checkpackageignore
> index 6d2a024e07..bd3766988d 100644
> --- a/.checkpackageignore
> +++ b/.checkpackageignore
> @@ -502,8 +502,6 @@ package/libnfc/0001-autotools-make-example-build-optional.patch lib_patch.Upstre
>  package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch lib_patch.Upstream
>  package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch lib_patch.Upstream
>  package/libodb-mysql/0002-mariadb-FTBFS-fix.patch lib_patch.Upstream
> -package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch lib_patch.Upstream
> -package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch lib_patch.Upstream
>  package/liboping/0001-fix-utf8-support.patch lib_patch.Upstream
>  package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch lib_patch.Upstream
>  package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch lib_patch.Upstream
> diff --git a/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch b/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
> index 9353c1ae90..f4baf916e3 100644
> --- a/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
> +++ b/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
> @@ -5,6 +5,8 @@ Subject: [PATCH] Reproducible build: do not leak compiler path
>  
>  Signed-off-by: Peter Seiderer <ps.report@gmx.net>
>  
> +Upstream: https://github.com/openssl/openssl/pull/5218 (rejected)
> +
>  [Rebased on openssl-1.1.1.a]
>  Signed-off-by: Peter Seiderer <ps.report@gmx.net>
>  ---
> diff --git a/package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch b/package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch
> deleted file mode 100644
> index f74576beae..0000000000
> --- a/package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -From b57cc2e4ee21babacbffc243626de72c248068ea Mon Sep 17 00:00:00 2001
> -From: Andy Polyakov <appro@openssl.org>
> -Date: Sun, 5 May 2019 18:30:55 +0200
> -Subject: [PATCH] Configure: use ELFv2 ABI on some ppc64 big endian systems
> -
> -If _CALL_ELF is defined to be 2, it's an ELFv2 system.
> -Conditionally switch to the v2 perlasm scheme.
> -
> -Reviewed-by: Paul Dale <paul.dale@oracle.com>
> -Reviewed-by: Richard Levitte <levitte@openssl.org>
> -(Merged from https://github.com/openssl/openssl/pull/8883)
> -[vfazio: fixup for 1.1.1d]
> -Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> -[rebased on openssl-1.1.1i]
> -Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ----
> - Configure | 4 ++++
> - 1 file changed, 4 insertions(+)
> -
> -diff --git a/Configure b/Configure
> -index 15054f9..ac3206e 100755
> ---- a/Configure
> -+++ b/Configure
> -@@ -1686,6 +1686,10 @@ unless ($disabled{asm}) {
> -     }
> - }
> - 
> -+if ($target eq "linux-ppc64" && !$disabled{asm}) {
> -+       $target{perlasm_scheme} = "linux64v2" if ($predefined_C{_CALL_ELF} == 2);
> -+}
> -+
> - # Check for makedepend capabilities.
> - if (!$disabled{makedepend}) {
> -     # If the attribute makedep_scheme is defined, then we assume that the
> --- 
> -2.25.0
> -
> diff --git a/package/libopenssl/0003-Revert-Fix-static-builds.patch b/package/libopenssl/0002-Revert-Fix-static-builds.patch
> similarity index 97%
> rename from package/libopenssl/0003-Revert-Fix-static-builds.patch
> rename to package/libopenssl/0002-Revert-Fix-static-builds.patch
> index 10ca97a240..daeece2a0f 100644
> --- a/package/libopenssl/0003-Revert-Fix-static-builds.patch
> +++ b/package/libopenssl/0002-Revert-Fix-static-builds.patch
> @@ -5,7 +5,8 @@ Subject: [PATCH] Revert "Fix -static builds"
>  
>  This reverts commit cfd7225fbb9507b2e443a494459bdaab5236d29d.
>  
> -Upstream: https://github.com/openssl/openssl/issues/14574#issuecomment-817209126
> +Upstream: https://github.com/openssl/openssl/issues/14574#issuecomment-3791009156
> +(rejected)
>  
>  Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
>  [Dario: make the patch to be applied with fuzz factor 0]
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-10-10  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-27 11:42 [Buildroot] [PATCH 1/1] package/libopenssl: remove patch 0002 Bernd Kuhls
2026-09-28 11:59 ` Thomas Petazzoni via buildroot
2026-10-10  9:23 ` Thomas Perale via buildroot

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