From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46B8515808A for ; Sat, 19 Jul 2025 09:33:13 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 06D0A340B7E for ; Sat, 19 Jul 2025 09:33:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A89BB110562; Sat, 19 Jul 2025 09:33:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 9E2A9110562 for ; Sat, 19 Jul 2025 09:33:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 527DC340B98 for ; Sat, 19 Jul 2025 09:33:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B763C323C for ; Sat, 19 Jul 2025 09:33:00 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1752917251.e7a62debc35d7a8da9b5214326de71cb1c16521f.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/openjdk-jre-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/openjdk-jre-bin/Manifest dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.28_p6.ebuild X-VCS-Directories: dev-java/openjdk-jre-bin/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: e7a62debc35d7a8da9b5214326de71cb1c16521f X-VCS-Branch: master Date: Sat, 19 Jul 2025 09:33:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: feea23ff-4fba-49a2-b9b5-a96281de6cf6 X-Archives-Hash: 6891eb464522212193914d4ccfeb5edf commit: e7a62debc35d7a8da9b5214326de71cb1c16521f Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sat Jul 19 04:01:08 2025 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sat Jul 19 09:27:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7a62deb dev-java/openjdk-jre-bin: add 11.0.28_p6 Bug: https://bugs.gentoo.org/960284 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/43054 Closes: https://github.com/gentoo/gentoo/pull/43054 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/openjdk-jre-bin/Manifest | 1 + .../openjdk-jre-bin-11.0.28_p6.ebuild | 86 ++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/dev-java/openjdk-jre-bin/Manifest b/dev-java/openjdk-jre-bin/Manifest index e8c7fca62e52..83f3e676ab10 100644 --- a/dev-java/openjdk-jre-bin/Manifest +++ b/dev-java/openjdk-jre-bin/Manifest @@ -1,4 +1,5 @@ DIST OpenJDK11U-jre_x64_linux_hotspot_11.0.27_6.tar.gz 43401920 BLAKE2B d71de5aabb4dbb04fd8861c870fd2c196a63920002c44fa777c6ce69ab4c898a72a5573bc461de6c7b233718adcfdee28eac6e5d59abaff0ba145bea7090fdf3 SHA512 0bf686cb3dd9c01a1391ad74c8bce799063a0d44bec7cd2bd68f90aa8bdda65cd8897f95b52878c4466865cfdffab862269b37e73e8907f1404b9bb5d52b1df9 +DIST OpenJDK11U-jre_x64_linux_hotspot_11.0.28_6.tar.gz 43399223 BLAKE2B 055f0b4e2ae14cc30ebb06e3803eb3eaaa50555a5ae51f85eea091c28219a12b4e1df00c5775496383658771fbdcd07d21adefe3c29351c70c84725189f4fcf6 SHA512 4b3de9f882a3223788a063534648c6085a395a914d4bb024622802e7d20a04587524746322e9cac29050e0be05b2c19c18faea0aff14cc6605a5c200a5111a41 DIST OpenJDK17U-jre_x64_linux_hotspot_17.0.15_6.tar.gz 46098776 BLAKE2B 02114ee357c8a64be625d0ba2429a37d86bca89d70d9e5cf8f66069c039894fe88f8cf7e04547c56b6b1a5cc9d6d7b90992ca2177a4e72dd50ae4725ab32cec4 SHA512 e8812a916e7310272bada9cb8912102c106b20a7c86c8da78a111ef72b0d284e79e6fa01ba8e862b3a22d751b96935d970b90f79b2ed7a933ab28acb9b0a292f DIST OpenJDK17U-jre_x64_linux_hotspot_17.0.16_8.tar.gz 46121196 BLAKE2B efd0e35320e4393982148128f3f32ef92de6801629059267f655f6ea85d615c5266f1f06679fe8b7526ac72acf9bc642bed8ddadff132b9625ef6c54e36fae82 SHA512 69956896ee2826f24928be551d687baac0061033ea221a311d6196ccb0e6dc1f2fbfd6f76210081cb6e5e10020042e23a3c1defbde947cd6777405e036fee097 DIST OpenJDK21U-jre_x64_linux_hotspot_21.0.7_6.tar.gz 51863597 BLAKE2B adc7d8a092eda560b7804e5f3b96620b6060c97e7ad409320e096de8e4f4252b29e03c33a6e39d4c834ee8c8b64a256f0711525db4a856171285700293333bb7 SHA512 3318754a0be4afbc538d3646579f2ca0e143fae60475fe0d288ecdd2104ddf1914e4f7a0e1d6c18bf575de1e987a7455a3599504c08635e76d908579fa014e23 diff --git a/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.28_p6.ebuild b/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.28_p6.ebuild new file mode 100644 index 000000000000..16d8068fcda0 --- /dev/null +++ b/dev-java/openjdk-jre-bin/openjdk-jre-bin-11.0.28_p6.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 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}/OpenJDK${SLOT}U-jre_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz + )" +} + +MY_PV=${PV/_p/+} +SLOT=${MY_PV%%[.+]*} + +SRC_URI=" + $(abi_uri x64 amd64) +" + +DESCRIPTION="Prebuilt Java JRE binaries provided by Eclipse Temurin" +HOMEPAGE="https://adoptium.net/" +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:* + sys-libs/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/${PN}-${SLOT}" + local ddest="${ED}/${dest#/}" + + # https://bugs.gentoo.org/922741 + docompress "${dest}/man" + + # Not sure why they bundle this as it's commonly available and they + # only do so on x86_64. It's needed by libfontmanager.so. IcedTea + # also has an explicit dependency while Oracle seemingly dlopens it. + rm -vf lib/libfreetype.so || die + + # Oracle and IcedTea have libjsoundalsa.so depending on + # libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird. + if ! use alsa ; then + rm -v lib/libjsound.* || die + fi + + if use headless-awt ; then + rm -v lib/lib*{[jx]awt,splashscreen}* || 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 + + java-vm_install-env "${FILESDIR}"/${PN}.env.sh + java-vm_set-pax-markings "${ddest}" + java-vm_revdep-mask + java-vm_sandbox-predict /dev/random /proc/self/coredump_filter +} + +pkg_postinst() { + java-vm-2_pkg_postinst +}