Merge branch 'stable-3.15' * stable-3.15: Set Gerrit package release to 2 Disable BASE64 Intrinsics for avoiding Java4Shell (CVE-2026-114938) Set Gerrit to 3.15.0 Set Gerrit to 3.14.6 Set Gerrit to 3.13.11 Set Gerrit to 3.15.0-rc5 Set Gerrit to 3.15.0-rc4 Set Gerrit to 3.15.0-rc3 Set Gerrit to 3.14.5 Set Gerrit to 3.15.0-rc2 Set Gerrit to 3.15.0-rc1 Require Java 25 as minimum version for running Gerrit Change-Id: Ife9d34c789d056304959e7adbfb1c07299e99daa
diff --git a/Version.mk b/Version.mk index 2f0f6cd..802ee1f 100644 --- a/Version.mk +++ b/Version.mk
@@ -1,4 +1,4 @@ VERSION=3.15.0 -WAR_VERSION=3.15.0-rc0 +WAR_VERSION=3.15.0 BRANCH=stable-3.15 -RELEASE=0rc0 +RELEASE=2
diff --git a/fpm/etc/gerrit.config b/fpm/etc/gerrit.config index c6abc85..ea7fcda 100644 --- a/fpm/etc/gerrit.config +++ b/fpm/etc/gerrit.config
@@ -16,3 +16,6 @@ directory = cache [plugins] allowRemoteAdmin = true +[container] + # Java4Shell (CVE-2026-114938) workaround + javaOptions = "-XX:-UseBASE64Intrinsics"
diff --git a/fpm/scripts/before-install.sh b/fpm/scripts/before-install.sh index 84cd06e..f81af97 100755 --- a/fpm/scripts/before-install.sh +++ b/fpm/scripts/before-install.sh
@@ -31,7 +31,7 @@ VERSION="${BASH_REMATCH[2]}" fi echo "$VERSION" -test "$VERSION" -lt "21" && echo "ERROR: Java 21 or later is required by Gerrit" && exit 3 +test "$VERSION" -lt "25" && echo "ERROR: Java 25 or later is required by Gerrit" && exit 3 # Script is invoked even before upgrade, we need to stop Gerrit if active GERRIT_PID=$(ps -o pid,command -u $USER | grep gerrit | awk '{print $1}')