summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-10-23 18:57:56 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-10-23 23:52:49 +0300
commit82f0b93957dd1f96b3ff72b2616ddb4259b893c8 (patch)
tree8657270a046f8831f5a10b58354ac649c6c49fc3 /dev-java/openjdk-bin
parentdev-ruby/webrick: Stabilize 1.8.2 x86, #941221 (diff)
downloadgentoo-82f0b93957dd1f96b3ff72b2616ddb4259b893c8.tar.gz
gentoo-82f0b93957dd1f96b3ff72b2616ddb4259b893c8.tar.bz2
gentoo-82f0b93957dd1f96b3ff72b2616ddb4259b893c8.zip
dev-java/openjdk-bin: add 8.432_p06
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-java/openjdk-bin')
-rw-r--r--dev-java/openjdk-bin/Manifest6
-rw-r--r--dev-java/openjdk-bin/openjdk-bin-8.432_p06.ebuild130
2 files changed, 136 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/Manifest b/dev-java/openjdk-bin/Manifest
index b7c6f2420178..5851f0006e61 100644
--- a/dev-java/openjdk-bin/Manifest
+++ b/dev-java/openjdk-bin/Manifest
@@ -30,8 +30,14 @@ DIST OpenJDK23U-jdk_riscv64_linux_hotspot_23_37-ea.tar.gz 210224273 BLAKE2B 027e
DIST OpenJDK23U-jdk_x64_alpine-linux_hotspot_23_37-ea.tar.gz 214601112 BLAKE2B f5413519769574e39cec93228dcdb21d003ecebf9a7b03bf19356bd151809b1e4541174292622d03a829510c5e937be9f21f64315fa3ac7618fac75c003362de SHA512 9894d9bd787b8ba4d5ed70cdf467b0c07bffec28d6d6149733eb7bafe9cef62fcb612fb94d1b90682ae4152c8cab2e403502f874ca9013df0c2c498da33c93e6
DIST OpenJDK23U-jdk_x64_linux_hotspot_23_37-ea.tar.gz 214424735 BLAKE2B 667c76acff5c9980aeb1e0eb5cc6915961327d51a15c529a9a973c0e75c0eebedb877cec8678cc60d0859f21589b887c1bddd400c36470684eb5509b1ae34f74 SHA512 7dbb7d7dc391323287fb0a010735153b70b42f31755a4dee27de45c7fea170cf692e8cce98e9637dc57bba0bca1aa003e1bc1b896e1e48d3039ecaa87fc85c0f
DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u422b05.tar.gz 102132553 BLAKE2B b59a2d99f9999f86eac2ab15617ee7c58d179a7db2e3606b3296b4bee8bbfaaee2f3cd1f441d90b7462ef9a502f4f351bdb4acc8e723d6b16f208827b813e8a7 SHA512 3856d2e711fd0f93f5efb73ffe5dc115d03dbd0cd015e903b7c2d02b6a3940b10793243edd6a372d7f84306f10c7a41cf13d7b787a33d525f1e86e9975453d06
+DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u432b06.tar.gz 102158189 BLAKE2B bcb350a98234a7483eacf6387b20563965c514d3f92620283540e1e9f0d578263f0d1490e3f230d638f69189926b9d02a12b17bfaf246e5a4da5096739a4073a SHA512 6f5921e08bcf6af7d8011df2fe380b32da2bd43ab88c014503899f55ae55df128aca2e1e90b64faac698730cba55dd80567dc023a00b8bd829f6e48a565f8f61
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u422b05.tar.gz 98342561 BLAKE2B e34d6c959a2100b7c1817ad0fa213331e1cca75229edccf68ed4fcbd3b9bdeb0852dfdf59dac3e9cdae0179af38edc64ff7329af9f44fadcfaa7cf301f8f4e13 SHA512 a667d531b3318e7f75d3d4d9a32248c5c9ae7c1d4bd9bfcbcb5f11418016c1faa179ed748c3eae09c8693885a9401a80de8f3530891883b9f6e9de0b50002ed5
+DIST OpenJDK8U-jdk_arm_linux_hotspot_8u432b06.tar.gz 98353185 BLAKE2B 38d09e21378af517f3ff24b17bdad3263dd4b88b7989d359bc8ac79ef6bcb65dc397dab8811e2d83cc56578dc72de3dc41d90328070b4b93352303c29fe4899c SHA512 f3f8ca2e51d04388b30a6cd52e906b0dd88ecf17da221ca6420581e8e2504f57900efae84a36a3ec3f0fa2c774d5ee79a272a9e13c7a0326cda2f11c2525638f
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u422b05.tar.gz 100533202 BLAKE2B b83b926e5bf0fe45bce9a79489422b96c6ab321227a56d8b3c683a26e5b71cbf9ec80a4dc2706aa4853095a4ee3174591cba8725b9e1b645f4c275137a97abee SHA512 e345de1325f9807d1cc3e4b043d650d655ad8a3672edec304023af54c7dd1d8fea0e671781ed46e6d7459909afedb2458c1b45966b55957389ec62449aec6469
+DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u432b06.tar.gz 100556456 BLAKE2B ad3b5b0cf06bb76062e96d9f3dc82378e523734f6252b21af2bd63565f1c084ed535348cd5c95c67193a45785bc52ecad839e557ab7c82c022ae15ce62c682d2 SHA512 f63a81fff5e653ee7421d269fc5243b3af068408051c883475ee4be86501ecd4951a9228b40135dead84a2363d0bd87e5136908b3dbbfc354631a00b1dc4d9e1
DIST OpenJDK8U-jdk_x64_alpine-linux_hotspot_8u422b05.tar.gz 100948020 BLAKE2B db92e2d9ef5bd15816d2fb3cd6a6dc0accd250fa16ec9b3eea9b23a72e73a32be43527d8f520f39aea1b7a84723e07d24e3de136b6888b869d8e75e446fc04cd SHA512 20b47a527c1b19d6f2779e619507a250316ee3d95d7ad7b5fa45c86e26e90515cace468a0ec6fd37be108f473f92d70eadd0a61ee901594ff0309272af4f61e5
+DIST OpenJDK8U-jdk_x64_alpine-linux_hotspot_8u432b06.tar.gz 100936704 BLAKE2B 617c141f53c74d22eb83256a72bd0b50e4b07071c441a51af49b40aebfde0bd385f90569efae45cd6a88e562b1dcd152c4712759b020ef45656f930f5c2ad7ac SHA512 b08b327b9f30f1352841e5d16bdfb3a321c86df4d44233b1acf0a7cb34f587082a231dfc43a2bd632a38867c6de82e3395f6982b2834651ae629c682f2881036
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u422b05.tar.gz 103022651 BLAKE2B e144aee88326b4ed539324d8dfa35db461a3595c23a3bfdf0af557b4402ac4dd65d9000fa875b6570d7475ca7fef90d2e7021938f04918d40a04c04029e2e1bf SHA512 d44bdb72e616771d6b465abb66228f08968afdc0e8e40f73e892ea5c5c441f554d793f1e1643f1f682e0c0f4e25d24ee3f9ddec8c6191c43e77a3820c9f3d2a1
+DIST OpenJDK8U-jdk_x64_linux_hotspot_8u432b06.tar.gz 85292466 BLAKE2B 46b0da80041a008406fcfaf3450d8622dcc035dea9b1d346e80d75a48f3657321530bdb82d4a5bac172308264fd709c926b8add3beafab95720f5b7ba56ef97c SHA512 4d4c469092b64ac1a6467a2b8edd7ab79948e1684db76f7cc16cb0a4cd05edaa06566352cc7fc0ff2a8a4ce60cf54fabc54d2e06e80a693dc19c0a1dd4a0d5d0
DIST OpenJDK8U-jdk_x64_mac_hotspot_8u422b05.tar.gz 109522911 BLAKE2B 37472be9a5f061ade8e27318ef2a7782f0fd4aa38362c2d19eae47cf18ac0d4085a84aab4630b97e0162d6b8288e3bcce2b1fb1a8f1bc25e8a129137f5407657 SHA512 e6718c635d42d2662a404ac71f5c4cae45714f7e1e7f92af28191dfb5f01ac3c4c9c5335073386a7cf7a0c628d9dd0ae211fc4e9c0bc953e3827362f1fc39344
+DIST OpenJDK8U-jdk_x64_mac_hotspot_8u432b06.tar.gz 109538778 BLAKE2B fc00cb8789e874b5ea8c85ed15f988a7d445e93562e21ee0d8cb35e24af0df455cc9dfa7bdd0c93749c48d8c2a7d845ba5c67d0f8199884682dbdd7369eba3dc SHA512 668e557ac0f9438908d3d8659e478f83cca0da6fd3f6a5dd61a214a46401818deb9eb48891120628052d550cb2546cfd89febc0f8814973f662bd3f8357ebf03
diff --git a/dev-java/openjdk-bin/openjdk-bin-8.432_p06.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.432_p06.ebuild
new file mode 100644
index 000000000000..f362abc652e7
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-8.432_p06.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-vm-2
+
+abi_uri() {
+ local baseuri="https://github.com/adoptium/temurin$(ver_cut 1)-binaries/releases/download/jdk${MY_PV}"
+ local musl=
+ local os=linux
+
+ case ${2} in
+ *-macos) os=mac ;;
+ *-solaris) os=solaris ;;
+ esac
+
+ if [[ ${3} == musl ]]; then
+ os=alpine-linux
+ musl=true
+ fi
+
+ echo "${2-$1}? (
+ ${musl:+ elibc_musl? ( }
+ ${baseuri}/OpenJDK$(ver_cut 1)U-jdk_${1}_${os}_hotspot_${MY_PV//-/}.tar.gz
+ ${musl:+ ) } )"
+}
+
+MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
+
+DESCRIPTION="Prebuilt Java JDK binaries provided by Eclipse Temurin"
+HOMEPAGE="https://adoptium.net"
+SRC_URI="
+ $(abi_uri aarch64 arm64)
+ $(abi_uri arm)
+ $(abi_uri ppc64le ppc64)
+ $(abi_uri x64 amd64)
+ $(abi_uri x64 amd64 musl)
+ $(abi_uri x64 x64-macos)
+"
+S="${WORKDIR}/jdk${MY_PV}"
+
+LICENSE="GPL-2-with-classpath-exception"
+SLOT=$(ver_cut 1)
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x64-macos"
+
+IUSE="alsa cups examples headless-awt selinux source"
+
+RDEPEND="
+ >=sys-apps/baselayout-java-0.1.0-r1
+ kernel_linux? (
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ elibc_glibc? ( >=sys-libs/glibc-2.2.5:* )
+ elibc_musl? ( sys-libs/musl )
+ sys-libs/zlib
+ alsa? ( media-libs/alsa-lib )
+ arm? ( dev-libs/libffi-compat:6 )
+ 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 strip"
+QA_PREBUILT="*"
+
+src_unpack() {
+ default
+ # 753575
+ if use arm; then
+ mv -v "${S}"* "${S}" || die
+ elif [[ ${A} == *_mac_* ]] ; then
+ mv -v "${S}/Contents/Home/"* "${S}" || die
+ rm -Rf "${S}/Contents" # drop macOS executable
+ fi
+}
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}/${dest#/}"
+
+ rm ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README || die
+
+ # on macOS if they would exist they would be called .dylib, but most
+ # importantly, there are no different providers, so everything
+ # that's shipped works.
+ if [[ ${A} != *_mac_* ]] ; then
+ # this does not exist on arm64 hence -f
+ rm -fv jre/lib/*/libfreetype.so* || die
+
+ if ! use alsa ; then
+ rm -v jre/lib/*/libjsoundalsa.so* || die
+ fi
+
+ if ! use examples ; then
+ rm -vr sample || die
+ fi
+
+ if use headless-awt ; then
+ rm -fvr {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
+ {,jre/}bin/policytool bin/appletviewer || die
+ fi
+ fi
+
+ if ! use source ; then
+ rm -v src.zip || die
+ fi
+
+ rm -v jre/lib/security/cacerts || die
+ dosym ../../../../../etc/ssl/certs/java/cacerts \
+ "${dest}"/jre/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
+}