summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-10-23 19:00:02 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-10-23 23:52:52 +0300
commitd445f44303224437f875a1c04710736ebc532d9f (patch)
treef6985a0b441e9588ee0ed7a98303f98ac63f3214 /dev-java/openjdk-bin
parentdev-java/openjdk-bin: add 21.0.5_p11 (diff)
downloadgentoo-d445f44303224437f875a1c04710736ebc532d9f.tar.gz
gentoo-d445f44303224437f875a1c04710736ebc532d9f.tar.bz2
gentoo-d445f44303224437f875a1c04710736ebc532d9f.zip
dev-java/openjdk-bin: add 23.0.1_p11
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-23.0.1_p11.ebuild134
2 files changed, 140 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/Manifest b/dev-java/openjdk-bin/Manifest
index 85c5531db111..be21c5a103e8 100644
--- a/dev-java/openjdk-bin/Manifest
+++ b/dev-java/openjdk-bin/Manifest
@@ -42,11 +42,17 @@ DIST OpenJDK21U-jdk_x64_alpine-linux_hotspot_21.0.4_7.tar.gz 208015131 BLAKE2B b
DIST OpenJDK21U-jdk_x64_alpine-linux_hotspot_21.0.5_11.tar.gz 207005595 BLAKE2B b63e61e46b0fe40ae81adbcf3e9f694ac82620abe80f64ccbd4d39ddd065b3fa53afa3cc6b3182d0b28e858ae70f4921bdda6e322a2ade29776d372e28190d25 SHA512 562509cc29ef465d718e3978c848e09c2f8adce9b6376a1c762076018a1a570466656d670784aba231d336dd25fba6b5bbb87960e8990914921f635173aa49ab
DIST OpenJDK21U-jdk_x64_linux_hotspot_21.0.4_7.tar.gz 207789015 BLAKE2B da61c96f082f18bbb64e543b96972d0cf812cbd64ac970a45000506e41f9f54628453d4a24b4090271dc267e21bfe285a04173c106259e67dc72246c43edbe32 SHA512 7675079ac1ed0c0428f806908b21c58549df7fc18043d26c011e063b58772ddb1c1c9648a46ab7d5204d47c2af5d3f08eace30028113d64e09cadc69c4fd0def
DIST OpenJDK21U-jdk_x64_linux_hotspot_21.0.5_11.tar.gz 206798126 BLAKE2B ed139c216a82ed9c258bc3b48fccee184f8facd4f53f607ed6db79b7fe01193a41d3097bece31b5bf53c6964c96ac5e4f473f27fbb57a3e24b58149f3bd3db3c SHA512 0b5abec819b5c49a5e3feeb80ec97f508cb4436129b94a44195eacf24ff19077a6ed49381074a37f8c9f8fc71b9964f0ff035b62eb594290574c355f8231965a
+DIST OpenJDK23U-jdk_aarch64_alpine-linux_hotspot_23.0.1_11.tar.gz 212364285 BLAKE2B 72987f790c8c3b7fbf1f07eaa36a4e87cebeed3d62c9aed36ea1baa718243c31d39c93a31cfb53b3f54228a34f6eaf3338fb9c98c792d476a676a474ee745f7a SHA512 bdebae0e2648c9a6e9334e5bf7ad3c42baef900d6c7f941d41903f2156177064d9d2c45ce37d776b5f513948320abe73eb056646da2b6fe04a662513aac44574
DIST OpenJDK23U-jdk_aarch64_alpine-linux_hotspot_23_37-ea.tar.gz 212329941 BLAKE2B c323d26d43f7d629a45098739e7a3ae32a7391c7246f818dcfb9db3c49ecc1e1a4ef1e60873a76e7dcfcc74e9e6310f4d29ecaf9aa3a1a1863e374e8b23f0d4e SHA512 692b818864b4c3c91e850b77b711d5fc1548f2c75630016689ac33fe25fe8602f89d52b046e3c213f9fdb66215e74dba4422b3e1d24133d991e7563c05dcd4cd
+DIST OpenJDK23U-jdk_aarch64_linux_hotspot_23.0.1_11.tar.gz 212358248 BLAKE2B 7d08e73b742a9405d4eb84aeca0d94c1a52abe738a8e72c49e42741893501ebded0b2c498ac5a379bd922cab483688e8e49ffd80d1686913bb0c1b250824d2e0 SHA512 2bc1d9e3a2741e1359915a2479b6f09a3877a6fbb9e358e01e0e5305585c3b974a7847da08857692bc2a65e9dadc77b443739ad1d963941ded37ea97ab8329a0
DIST OpenJDK23U-jdk_aarch64_linux_hotspot_23_37-ea.tar.gz 212322868 BLAKE2B 10b4c3a135ae8e92faf0f1137a502660632f4fda3a85ca4d69fd15c7b380a483adf2d97ba35501fa75550f4afedf0a59531cc72fef558c71fc495aa90f1d09bb SHA512 e66dbccd7e90b2282805a27478f72f3c9e62f1f25be57569a40c2a8b3a99f1cdd1b994ee58b83b20e6ad3a30c218082e845466457fc659cc742d8bfc6594e564
+DIST OpenJDK23U-jdk_ppc64le_linux_hotspot_23.0.1_11.tar.gz 213965373 BLAKE2B 945e1956d5ad1ab3400ee2a930d4263dbec506dc4654e36dc0a2b59aee57d024351a3a1789d8576773519db7853edf475f983c719e87e2f2f3b492bd90f6f129 SHA512 67921f45b7830dde531dd3a2ea70c9de01fba1db26d7ae7c7be8276b6d7f1c4cb5eaf12c023eeb74edcd83730bdcb88c2e8ac734af4a0c328a50e9402cc4ce69
DIST OpenJDK23U-jdk_ppc64le_linux_hotspot_23_37-ea.tar.gz 213924750 BLAKE2B b6d7158d2fac60a7187edaae129b986ad1977766731c89823ffe222803281adc8980f42dba6c7502403ed39fe0d5e178c858ff252c16bbbd7b05803edc6bf978 SHA512 f05c593681fc5c8048fa5e452a10ecae10aae06ee405c82db99748ecc252d9ec2ef553649765d4c01255f87039209d4dee26c25f9885531327477d95a5b4081c
+DIST OpenJDK23U-jdk_riscv64_linux_hotspot_23.0.1_11.tar.gz 210270830 BLAKE2B 5f637d1cbe29f51376bd4d53acb2bc71c8ea829290c932f396a40edc5d9edd6fec0dccd06ff4ef3c1698f318446014a4921155e8a56c69c5437f75da52cd2c74 SHA512 b17949738831ac9f608425d6d26837d44d6154f8a7cd29a70e862fb27c1fa38a4fd226db78de39cfe79d2439d2565e9c2548645a77101a6eb65c86755f063e50
DIST OpenJDK23U-jdk_riscv64_linux_hotspot_23_37-ea.tar.gz 210224273 BLAKE2B 027e55a567d75f596d1e53c0cf010d44ad025b03344292169003b09f070a2885be0e8d0df24130d8a6da49ac8617ea17f644ebde0dcbc70c9410d0a01260ab41 SHA512 82bcd987bace91ee57fbbb6ebf92b111ffbc3e524d3a76b9e716ea7469bfa40f5ba26e9a842a7676f1c93b0947296b10240a053039dfe04f01362bfb1f9564af
+DIST OpenJDK23U-jdk_x64_alpine-linux_hotspot_23.0.1_11.tar.gz 214667027 BLAKE2B 0dc31688d75fe2498f86eb115d6b258e3bb60272005487275731481d4e56a5ea4c37f7467e2d2498c534d33405242b45784123d67f732bbbbc7f1fb3272bac4f SHA512 01772bd293cc87b95deafef5a0a72443c89d8e2baf19c71229d789d48900bc1c3dff1354226ecd92ae9fa6e27e15bd09e60ba52eabd8102854a2958744e49d53
DIST OpenJDK23U-jdk_x64_alpine-linux_hotspot_23_37-ea.tar.gz 214601112 BLAKE2B f5413519769574e39cec93228dcdb21d003ecebf9a7b03bf19356bd151809b1e4541174292622d03a829510c5e937be9f21f64315fa3ac7618fac75c003362de SHA512 9894d9bd787b8ba4d5ed70cdf467b0c07bffec28d6d6149733eb7bafe9cef62fcb612fb94d1b90682ae4152c8cab2e403502f874ca9013df0c2c498da33c93e6
+DIST OpenJDK23U-jdk_x64_linux_hotspot_23.0.1_11.tar.gz 214453113 BLAKE2B 214c74408ef2397425f374c6183d4d7d9e27ad5401199f6b7e48faf8a42a0bc2e5918896b0ebd47e0590acedb535669fe8e53858a76ee3bf0d8732155a7cecee SHA512 bcfc8ea1d835afcfbafc9f99c9e897588bf01e219dda936a4bda7e4982ff0b2cc2f21f5e3deadb0e1cf86a9a58295a25f8f82f9fadd2eab520817350a6a862c1
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
diff --git a/dev-java/openjdk-bin/openjdk-bin-23.0.1_p11.ebuild b/dev-java/openjdk-bin/openjdk-bin-23.0.1_p11.ebuild
new file mode 100644
index 000000000000..ef32c37add26
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-23.0.1_p11.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-vm-2 toolchain-funcs
+
+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=${PV/_p/+}
+
+DESCRIPTION="Prebuilt Java JDK binaries provided by Eclipse Temurin"
+HOMEPAGE="https://adoptium.net"
+SRC_URI="
+ $(abi_uri aarch64 arm64)
+ $(abi_uri aarch64 arm64 musl)
+ $(abi_uri ppc64le ppc64)
+ $(abi_uri x64 amd64)
+ $(abi_uri x64 amd64 musl)
+ $(abi_uri riscv64 riscv)
+"
+S="${WORKDIR}/jdk-${MY_PV%_beta}"
+
+LICENSE="GPL-2-with-classpath-exception"
+SLOT=$(ver_cut 1)
+# KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="alsa cups headless-awt selinux source"
+
+RDEPEND="
+ >=sys-apps/baselayout-java-0.1.0-r1
+ kernel_linux? (
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ media-libs/harfbuzz
+ elibc_glibc? ( >=sys-libs/glibc-2.2.5:* )
+ elibc_musl? ( sys-libs/musl )
+ 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="*"
+
+pkg_pretend() {
+ if [[ "$(tc-is-softfloat)" != "no" ]]; then
+ die "These binaries require a hardfloat system."
+ fi
+}
+
+src_unpack() {
+ default
+ if [[ ${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#/}"
+
+ # 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
+ # 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
+
+ # prefer system copy # https://bugs.gentoo.org/776676
+ rm -vf lib/libharfbuzz.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
+ fi
+
+ if ! use source ; then
+ rm -v lib/src.zip || 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}.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
+}