From 61b0fd32705302176c97ba33ee2885bc42608d1d Mon Sep 17 00:00:00 2001 From: kuenking111 Date: Thu, 2 Dec 2021 20:36:26 +0800 Subject: [PATCH 1/2] I4KVTB: add Stack protection --- openjdk-11.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openjdk-11.spec b/openjdk-11.spec index 62af5b2..7f9bae3 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -1210,8 +1210,8 @@ export ARCH_DATA_MODEL=64 # We use ourcppflags because the OpenJDK build seems to # pass EXTRA_CFLAGS to the HotSpot C++ compiler... # Explicitly set the C++ standard as the default has changed on GCC >= 6 -EXTRA_CFLAGS="%ourcppflags -Wno-error" -EXTRA_CPP_FLAGS="%ourcppflags -Wno-error" +EXTRA_CFLAGS="%ourcppflags -Wno-error -fstack-protector-all" +EXTRA_CPP_FLAGS="%ourcppflags -Wno-error -fstack-protector-all" export EXTRA_CFLAGS -- Gitee From 5f3fcdee3838356a62c6133521283c50a9b24f25 Mon Sep 17 00:00:00 2001 From: kuenking111 Date: Fri, 3 Dec 2021 09:36:16 +0800 Subject: [PATCH 2/2] I4KWNW: fix: correct spec release number typo --- openjdk-11.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openjdk-11.spec b/openjdk-11.spec index 7f9bae3..d9a47a5 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -740,7 +740,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 0 +Release: 1 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -1645,6 +1645,9 @@ require "copy_jdk_configs.lua" %changelog +* Fri Dec 3 2021 kuenking111 - 1:11.0.13.7-1 +- correct spec file release number typo + * Tue Oct 26 2021 kuenking111 - 1:11.0.13.7-0 - Update to 11.0.13+7 (GA) -- Gitee