Projects
home:fstrba
boringssl
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
boringssl.changes
Changed
@@ -6,9 +6,14 @@ standard-compliant directory nesting rather than flat-installing them directly under /usr/include/boringssl and rewriting includes. * Rebase patches: - - 0003-enable-s390x-builds.patch + - 0003-enable-s390x-builds.patch + -> 0001-enable-s390x-and-ppc64le-builds.patch - 0006-gcc-disable-werror.patch - - 0009-soname-sover.patch + -> 0002-gcc-disable-werror.patch.patch + - 0009-soname-sover.patch -> 0003-soname-sover.patch.patch + * Add patch: + - 0004-lower-cmake-version.patch: lower minimum CMake version + requirement to 3.20 to support older build environments * Remove obsolete patches: - 0002-crypto-Fix-aead_test-build-on-aarch64.patch - 0004-fix-alignment-for-ppc64le.patch
View file
boringssl.spec
Changed
@@ -16,6 +16,9 @@ # +%if 0%{?gcc_version} < 10 +%define with_gcc 11 +%endif %define sover 1 %define libname libboringssl%{sover} %define src_install_dir %{_prefix}/src/%{name} @@ -27,12 +30,13 @@ URL: https://boringssl.googlesource.com/boringssl/ Source: %{name}-%{version}.tar.xz Source1: vendor.tar.gz -Patch3: 0003-enable-s390x-builds.patch -Patch6: 0006-gcc-disable-werror.patch -Patch9: 0009-soname-sover.patch +Patch0: 0001-enable-s390x-and-ppc64le-builds.patch +Patch6: 0002-gcc-disable-werror.patch.patch +Patch9: 0003-soname-sover.patch.patch +Patch10: 0004-lower-cmake-version.patch BuildRequires: cmake >= 3.0 BuildRequires: fdupes -BuildRequires: gcc-c++ +BuildRequires: gcc%{?with_gcc}-c++ BuildRequires: golang(API) >= 1.13 ExclusiveArch: %{ix86} x86_64 aarch64 s390x ppc64le %{arm} riscv64 @@ -68,6 +72,10 @@ %autosetup -a 1 -p 1 %build +%if 0%{?with_gcc} +export CXX=g++-%{with_gcc} +export CC=gcc-%{with_gcc} +%endif # Supress CMake default to include RPATH in binary on platforms which support it. # Failure to supress rpath fails rpmlint: # libboringssl1: E: binary-or-shlib-defines-rpath (Badness: 10000) /usr/lib64/libboringssl_ssl.so.1
View file
0001-enable-s390x-and-ppc64le-builds.patch
Added
@@ -0,0 +1,46 @@ +From 05d24f2e64dcb584f4d56878eee7ca806bdad7a6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> +Date: Mon, 24 Aug 2026 05:29:14 +0000 +Subject: PATCH 1/4 enable s390x and ppc64le builds + +--- + crypto/poly1305/poly1305_test.cc | 5 +++++ + include/openssl/target.h | 6 ++++++ + 2 files changed, 11 insertions(+) + +diff --git a/crypto/poly1305/poly1305_test.cc b/crypto/poly1305/poly1305_test.cc +index 5f8453258..9920491fb 100644 +--- a/crypto/poly1305/poly1305_test.cc ++++ b/crypto/poly1305/poly1305_test.cc +@@ -27,6 +27,11 @@ + #include "../test/test_util.h" + #include "internal.h" + ++#if defined(OPENSSL_S390X) ++#define ALIGN_BYTES 8 ++#else ++#define ALIGN_BYTES 16 ++#endif + + BSSL_NAMESPACE_BEGIN + namespace { +diff --git a/include/openssl/target.h b/include/openssl/target.h +index 2372a055d..7e5a19a52 100644 +--- a/include/openssl/target.h ++++ b/include/openssl/target.h +@@ -40,6 +40,12 @@ + #elif defined(__MIPSEL__) && defined(__LP64__) + #define OPENSSL_64_BIT + #define OPENSSL_MIPS64 ++#elif defined(__s390x__) || defined(__S390X__) ++#define OPENSSL_64_BIT ++#define OPENSSL_S390X ++#elif (defined(__PPC64__) || defined(__powerpc64__)) && (defined(__LITTLE_ENDIAN__) || defined(_LITTLE_ENDIAN)) ++#define OPENSSL_64_BIT ++#define OPENSSL_PPC64LE + #elif defined(__riscv) && __SIZEOF_POINTER__ == 8 + #define OPENSSL_64_BIT + #define OPENSSL_RISCV64 +-- +2.55.0 +
View file
0006-gcc-disable-werror.patch -> 0002-gcc-disable-werror.patch.patch
Changed
@@ -1,7 +1,7 @@ -From 9612f206d7fad8afd5c283bcad9ffcf71cee29a3 Mon Sep 17 00:00:00 2001 -From: SUSE Packager <packager@suse.com> +From 4ffec293e90ddfbebd6719c4fca93ac6635ce04c Mon Sep 17 00:00:00 2001 +From: Jeff Kowalczyk <jkowalczyk@suse.com> Date: Mon, 24 Aug 2026 05:29:14 +0000 -Subject: PATCH 2/3 0006-gcc-disable-werror.patch +Subject: PATCH 2/4 gcc-disable-werror.patch --- CMakeLists.txt | 2 +-
View file
0003-enable-s390x-builds.patch
Deleted
@@ -1,46 +0,0 @@ -From b001543e9e4f3e09091985686192d24bf61166e3 Mon Sep 17 00:00:00 2001 -From: SUSE Packager <packager@suse.com> -Date: Mon, 24 Aug 2026 05:29:14 +0000 -Subject: PATCH 1/3 0003-enable-s390x-builds.patch - ---- - crypto/poly1305/poly1305_test.cc | 5 +++++ - include/openssl/target.h | 6 ++++++ - 2 files changed, 11 insertions(+) - -diff --git a/crypto/poly1305/poly1305_test.cc b/crypto/poly1305/poly1305_test.cc -index 5f8453258..9920491fb 100644 ---- a/crypto/poly1305/poly1305_test.cc -+++ b/crypto/poly1305/poly1305_test.cc -@@ -27,6 +27,11 @@ - #include "../test/test_util.h" - #include "internal.h" - -+#if defined(OPENSSL_S390X) -+#define ALIGN_BYTES 8 -+#else -+#define ALIGN_BYTES 16 -+#endif - - BSSL_NAMESPACE_BEGIN - namespace { -diff --git a/include/openssl/target.h b/include/openssl/target.h -index 2372a055d..7e5a19a52 100644 ---- a/include/openssl/target.h -+++ b/include/openssl/target.h -@@ -40,6 +40,12 @@ - #elif defined(__MIPSEL__) && defined(__LP64__) - #define OPENSSL_64_BIT - #define OPENSSL_MIPS64 -+#elif defined(__s390x__) || defined(__S390X__) -+#define OPENSSL_64_BIT -+#define OPENSSL_S390X -+#elif (defined(__PPC64__) || defined(__powerpc64__)) && (defined(__LITTLE_ENDIAN__) || defined(_LITTLE_ENDIAN)) -+#define OPENSSL_64_BIT -+#define OPENSSL_PPC64LE - #elif defined(__riscv) && __SIZEOF_POINTER__ == 8 - #define OPENSSL_64_BIT - #define OPENSSL_RISCV64 --- -2.55.0 -
View file
0009-soname-sover.patch -> 0003-soname-sover.patch.patch
Changed
@@ -1,7 +1,7 @@ -From 7ef7fd92d63c1f48bc5905a4def4f18348943e17 Mon Sep 17 00:00:00 2001 -From: SUSE Packager <packager@suse.com> +From c920b1234446aebe00db88e3d56c62e239196d4d Mon Sep 17 00:00:00 2001 +From: Jeff Kowalczyk <jkowalczyk@suse.com> Date: Mon, 24 Aug 2026 05:31:53 +0000 -Subject: PATCH 3/3 0009-soname-sover.patch +Subject: PATCH 3/4 soname-sover.patch --- CMakeLists.txt | 2 ++
View file
0004-lower-cmake-version.patch
Added
@@ -0,0 +1,25 @@ +From cbfcd76ff1b80af00686974c512563ea65e2683b Mon Sep 17 00:00:00 2001 +From: Fridrich Strba <fridrich.strba@bluewin.ch> +Date: Mon, 24 Aug 2026 11:00:12 +0200 +Subject: PATCH 4/4 lower cmake version + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e2dc578dd..a69862974 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -12,7 +12,7 @@ + # See the License for the specific language governing permissions and + # limitations under the License. + +-cmake_minimum_required(VERSION 3.22) ++cmake_minimum_required(VERSION 3.20) + + # Defer enabling C and CXX languages. + project(BoringSSL NONE) +-- +2.55.0 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.