dev-java/openjdk-jre-bin: add 8.492_p09

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/723
Merges: https://codeberg.org/gentoo/gentoo/pulls/723
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2026-05-04 15:49:05 +02:00
committed by Arthur Zamarin
parent fb4703d088
commit 40b45fa182
2 changed files with 86 additions and 0 deletions
+1
View File
@@ -6,3 +6,4 @@ DIST OpenJDK21U-jre_x64_linux_hotspot_21.0.11_10.tar.gz 52099793 BLAKE2B 553e6a3
DIST OpenJDK21U-jre_x64_linux_hotspot_21.0.8_9.tar.gz 51942501 BLAKE2B b5cd15d1a34640f9ad32c5b3af221cbb2af67bd00485a0d0891e4b39bf1afe094b0f611b092adb62c9d1afacb09c4acee67b52fb2d7689e947a7593a2fc2fc2f SHA512 4e2f5177404c1e52f5d417c1fa5505db9397d04c6507365e8fb22c7e3008eb73173749b18825a48a9e699a968c1ff71dc2d04c769eb950edc34f912940faf2d5 DIST OpenJDK21U-jre_x64_linux_hotspot_21.0.8_9.tar.gz 51942501 BLAKE2B b5cd15d1a34640f9ad32c5b3af221cbb2af67bd00485a0d0891e4b39bf1afe094b0f611b092adb62c9d1afacb09c4acee67b52fb2d7689e947a7593a2fc2fc2f SHA512 4e2f5177404c1e52f5d417c1fa5505db9397d04c6507365e8fb22c7e3008eb73173749b18825a48a9e699a968c1ff71dc2d04c769eb950edc34f912940faf2d5
DIST OpenJDK25U-jre_x64_linux_hotspot_25.0.3_9.tar.gz 61687836 BLAKE2B ef3616cb4b1febc4f319be9144228f524a4d52074dfef431ec5f631b9c652a7e60cca731681ab615bf42a01daee37f28987283418a7a56acda3f72b02d447c96 SHA512 ea28bce0f082f7943236fc4b9e5bd8c6fd3c0c4b4204d8a8c782680565bbeb348db33cc50a93d4e744b8cc2c0e49016e90776ae735b16b1a1bbbf1571ae5e67c DIST OpenJDK25U-jre_x64_linux_hotspot_25.0.3_9.tar.gz 61687836 BLAKE2B ef3616cb4b1febc4f319be9144228f524a4d52074dfef431ec5f631b9c652a7e60cca731681ab615bf42a01daee37f28987283418a7a56acda3f72b02d447c96 SHA512 ea28bce0f082f7943236fc4b9e5bd8c6fd3c0c4b4204d8a8c782680565bbeb348db33cc50a93d4e744b8cc2c0e49016e90776ae735b16b1a1bbbf1571ae5e67c
DIST OpenJDK8U-jre_x64_linux_hotspot_8u462b08.tar.gz 41411475 BLAKE2B 29b814f67f018b5830d2509e404fc8855bdd2ed91f97933121f0dafd4f79e74013fc6bf89332cedcd6b85057befd70469cc54e66cdc55c721d12372b60055b9f SHA512 da5a4ef48d1e1b46a14825692dd6ed7fd7b7ea5cb88c2b30729aea4117770b1c4ab705b6784ee3a6f6343b1e28b6246f8537971df919325ff809a27d8103a5c8 DIST OpenJDK8U-jre_x64_linux_hotspot_8u462b08.tar.gz 41411475 BLAKE2B 29b814f67f018b5830d2509e404fc8855bdd2ed91f97933121f0dafd4f79e74013fc6bf89332cedcd6b85057befd70469cc54e66cdc55c721d12372b60055b9f SHA512 da5a4ef48d1e1b46a14825692dd6ed7fd7b7ea5cb88c2b30729aea4117770b1c4ab705b6784ee3a6f6343b1e28b6246f8537971df919325ff809a27d8103a5c8
DIST OpenJDK8U-jre_x64_linux_hotspot_8u492b09.tar.gz 41870107 BLAKE2B c58bd972bce6c952fea83b96da352d73bcc5221e61eee02739624a8d850efa0ae73376f2052d796e72694d7f7c960faa9422cf7a57bc301bb7c60a3ccb0cd35f SHA512 0cef2f30b2974924b1001a69e5fd07278f735e932f686f0f2b63cd8eda39ca44454bf0f532b7b0120aedc1d0b6a9e10287cbddd691c4ddb67a3aea6214db98fe
@@ -0,0 +1,85 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit java-vm-2
abi_uri() {
echo "${2-$1}? (
https://github.com/adoptium/temurin${SLOT}-binaries/releases/download/jdk${MY_PV}/OpenJDK8U-jre_${1}_linux_hotspot_${MY_PV/-/}.tar.gz
)"
}
MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
SLOT="$(ver_cut 1)"
DESCRIPTION="Prebuilt Java JRE binaries provided by Eclipse Temurin"
HOMEPAGE="https://adoptium.net/"
SRC_URI="
$(abi_uri x64 amd64)
"
LICENSE="GPL-2-with-classpath-exception"
KEYWORDS="~amd64"
IUSE="alsa cups headless-awt selinux"
RDEPEND="
media-libs/fontconfig:1.0
media-libs/freetype:2
>net-libs/libnet-1.1
>=sys-apps/baselayout-java-0.1.0-r1
>=sys-libs/glibc-2.2.5:*
virtual/zlib:=
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
selinux? ( sec-policy/selinux-java )
!headless-awt? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
)"
RESTRICT="preserve-libs splitdebug"
QA_PREBUILT="*"
S="${WORKDIR}/jdk${MY_PV}-jre"
src_install() {
local dest="/opt/${P}"
local ddest="${ED}/${dest#/}"
# https://bugs.gentoo.org/922741
docompress "${dest}/man"
rm ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README || die
# this does not exist on arm64 hence -f
rm -fv lib/*/libfreetype.so* || die
if ! use alsa ; then
rm -v lib/*/libjsoundalsa.so* || die
fi
if use headless-awt ; then
rm -fvr lib/*/lib*{[jx]awt,splashscreen}* \
bin/policytool || die
fi
rm -v lib/security/cacerts || die
dosym -r /etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
dodir "${dest}"
cp -pPR * "${ddest}" || die
# provide stable symlink
dosym "${P}" "/opt/${PN}-${SLOT}"
java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
java-vm_set-pax-markings "${ddest}"
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}