summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2023-09-21 15:53:04 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2023-09-21 16:30:29 -0700
commit57ebd1e5c999424a7c6a4f46a38240ccab6df55f (patch)
treea8b7d5750cb67401a11d7afab02865826a342e67 /dev-java/openjdk-bin
parentdev-perl/Math-BigInt-GMP: drop 1.601.200 (diff)
downloadgentoo-57ebd1e5c999424a7c6a4f46a38240ccab6df55f.tar.gz
gentoo-57ebd1e5c999424a7c6a4f46a38240ccab6df55f.tar.bz2
gentoo-57ebd1e5c999424a7c6a4f46a38240ccab6df55f.zip
dev-java/openjdk-bin: add 8.382_p05
Bug: https://bugs.gentoo.org/912719 Closes: https://github.com/gentoo/gentoo/pull/32945 Signed-off-by: Georgy Yakovlev <gyakovlev@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.382_p05.ebuild131
2 files changed, 137 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/Manifest b/dev-java/openjdk-bin/Manifest
index f8e4b2fde874..c50e0f119a7f 100644
--- a/dev-java/openjdk-bin/Manifest
+++ b/dev-java/openjdk-bin/Manifest
@@ -26,13 +26,19 @@ DIST OpenJDK17U-jdk_x64_mac_hotspot_17.0.6_10.tar.gz 187219587 BLAKE2B dd8f19c74
DIST OpenJDK17U-jdk_x64_mac_hotspot_17.0.7_7.tar.gz 187285514 BLAKE2B 9623a1ec87dae45f94476e995d77c970f5eca89d4bcfa2b88a2848afb6b6fede75958ee00f19f49fb24e8d31ff068f6f6a21d6c8350c312927c27c44e2d3c6ad SHA512 ec0217aeda48dfc858b14ced6b365c702a39ae95c824f36caf2a0625e7210ee7b459ec7af9166dc85d4910e634ac186950342f753b1adabff28fa770868b4840
DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u362b09.tar.gz 102042474 BLAKE2B 02a12a4fd6fd9a0be8627e86bdc69f2aa76b1b0a877e6f4deed9fd5499d09559c6fe3157b538e7b5c308ae862f33fb2caaeed6530cc055a1a289870843712673 SHA512 d45e20de4a51f1151ef0c83eb1ea3e338e00afaa5d19b677a03328e2a5282601c4845cefeae6ada528e56949d82dd8057422dca73e8711f858b9bc00bda33abc
DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u372b07.tar.gz 102062639 BLAKE2B 46a855c69ea349895d4641754df09a1fc564dc3005534cb52b0611495dd93d8c42c9b8a740441de3169210d2d92faa15ff7c7de3ed0ec5106a7de228fc8c21ec SHA512 ce1fe591a5b59d46fbfba50cb8c47698fd1b5e0ce4b6bc1dcb9c6ea07d5a1afa3fb803b8f35df7dbcb7c6964b4be616e5f5a6e70f6d735052add9c7e77fc66a7
+DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u382b05.tar.gz 102105707 BLAKE2B 5edec97bb60d983bcc299914c5bad8e89aef70f31ff1f5b26cbd430cbacc8b41c6d04906a9ea3a1eb6cf2601ae81279a871a1eb77c3297abb5454e213f2583b0 SHA512 11219c825f8ac0fcdd16120f89b2e7951c651595eb0be762cb511bad8cf44d3bc3136ba6f71b5ded8a9745fe5a143416b0ef4422c1cbbe62f110e4fa5f39c7ed
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u362b09.tar.gz 98287152 BLAKE2B c41343bda7383163ea125246616764c3aa528cd78936a653974685440945e27c259bd6f72bd8a126d6eb9ff8a92189824881bbbd44fa7b23f676a6ff4197d89f SHA512 5b9cb46932efe95e0beca73616d7f982ba398d597a33aff34429919675d8524304f38b17d86faea4701813d6a992f16384c2721993800291a3640961a2027823
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u372b07.tar.gz 98310010 BLAKE2B 116ce3752db5c1995b54a78e9c7bce4c2a6b6dd3d8af895297384b3afeb79309e1d6fde4ea5d63e04f3e2bb157298802732b391044c2a1138434e74e37874f54 SHA512 41a9ffd613a4d71537a738281c31c9194d7df749beb08231965034b66920830e4e5eb34a726516b6a712d10326a33805d1fa8cd28a94a75170cc86eacd8b03a5
+DIST OpenJDK8U-jdk_arm_linux_hotspot_8u382b05.tar.gz 98311130 BLAKE2B b2158aca6fef4e8a404b9dace05817f5fefd0b201281351126d422f35d66d733510943246c22a47f03e65d711f25d424935ae8788057722c71cbb30a4f7a4a1e SHA512 70d79c385ebb1cfe286781eb8da0d622a61140a0abc3b6bc559c8213ace93b9ce2a77aa55a3ef32936ee512b406044c1708624b4d040b62dd2462b4ea6e71572
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u362b09.tar.gz 100484333 BLAKE2B ecfc4473fec3120d68ea511f72b8e97d4d5e92098849a3f04853b5ad11c8f5ce61b49ec074ff739083f9e2e25d65a6e657ef1c0c9f275606e8b41fda3a8aec2c SHA512 dbe8002f45d1e0ff4dd980123a88ae160ad006de0ab656798fec8896d23905071d1c6f41cff618422cf37d9620ee10dbe6522e8266095eaff3244a7c36232e38
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u372b07.tar.gz 100508059 BLAKE2B b8cc628f4c6bee953937fa4b12d04b8947b0d95a0910f1de9ea51f4bb6bfba85ea5bb30c7fc1b23ec8402858116e2c35aa6d08a9ae1da00da4f3343d88554250 SHA512 1b9624fd4996c25108661b46e14c916399b7850ddced477e0433e53f1ae19af5c56ffdc28ac30a145164a88d22b7e74374f31baabe296ec5455ddf1aa640a81b
+DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u382b05.tar.gz 100512595 BLAKE2B e2d0c97d0b68e649e11755fe258035a307ab8b96331ec0e6e431ec126857b60869d9c2bae966955a929fe87572b59e898603b32284bc76ce49c8086b06b838e6 SHA512 04a58d50c4fe0ced94b48e3018a6853c836a4f53cb4f310bad2ca7e913380a023655230ff5bb421f012cf2cdc037767f9e11aaa8f5b1b9f722b100c4417ccca4
DIST OpenJDK8U-jdk_x64_alpine-linux_hotspot_8u362b09.tar.gz 100860535 BLAKE2B 114aa536752f6f85fa80d26fd24d9579595c2a71e4dd3f3d048e773edbe86c39ce318caec7d6f883afeb9151350ee7819d544b1e4afbe7efc5e62b6a10c42036 SHA512 a15646dd1fb469d74dcafab8df4794ae2a9b34a32e80d4c0723ce510b5579ba5942e1c093ce4ccc764fc19191137f1d1d9b63ac935c8f21288b6f30046822e89
DIST OpenJDK8U-jdk_x64_alpine-linux_hotspot_8u372b07.tar.gz 100856539 BLAKE2B 30abba9c69e4f955bceecaee5e2762e97687e752564f68cc4f7ee13589e1b523b1b4bb090408d1db9ecbd7e9229eb3a48bcea814102184b5d0ec444bab99b46a SHA512 8e70a720322f46cb4f7032782b1e5d95670f6c66745c3cf8a0941c05cc2213e2713909cc878e8cd4a32f60ef1258c3fc56721b203d741142c698ba4085b4fcfb
+DIST OpenJDK8U-jdk_x64_alpine-linux_hotspot_8u382b05.tar.gz 100894343 BLAKE2B 78d7551652b10d71a3bfaf6639ab5cd6fc169d9cbb9010e93812d32863fc3556eaae93ccc8ad8c0bf1002feb0ae7715433dabeff62bbf91e1bd5a248b1204768 SHA512 ef82b9604994348ecf2a55c02e717af88beb616abd87482de9b9afc2ef832e29d1338839910bc64d0de07fb0b5b420eff9ce6718795c4abdf409475b17c01a3e
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u362b09.tar.gz 102949829 BLAKE2B 039d35113c156e929ca9b49a2a63ab326b9ed036f4cfe4facfcb88d4cd2984005e81a20c842f2abbd5dce8f9da864908de5379e68b72ef1e0f6f5ccfc241db1b SHA512 20bb587023cd5a6148ad06337cd5fc182275c3ebcaac95f65937e66b2bc75879a225e2fd2ef945ea45ba7886c983df3d24c2f01a1c1f9fce38f265dabed47ee9
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u372b07.tar.gz 102951681 BLAKE2B 2ab59821e586ab28f6a7f7ea50f2d2b3a16f62dce7b9d42219bf4cc867655c2a6c396d45be2d345d9800eaa553e06efd8023eee185374738e993a83c2cc29c60 SHA512 6e2034dfec2042f181db2835410eb63849c5e255db5fdf10632c1366fb53d4ae4591f7d2a4cda31bfe8b8e7a4672c4384054cf2769562f107f88051df4483059
+DIST OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz 102988783 BLAKE2B 3aa9b47e0e1dcf8fc67ebbb8d2bf70987fa7d527fbbd2cd15d43385922851d6144b96549e77b8060809a6eabf057353593e5efe9f5c02cc991bdf9c0dd734b01 SHA512 13c78f78d14856d58f692ad032664d363fb1063bdb0b16e19cd68587c9d16df152c5fc9d4ec15b53691c9146345936aab1a6c5b79a4c43740a418fa2c3871ca9
DIST OpenJDK8U-jdk_x64_mac_hotspot_8u362b09.tar.gz 107290360 BLAKE2B 03f4ef48266779a9117bc6164b50298a2f23dc66b1d90370da64cd6bff7670cae09340f08e3358d43a5c051bff831020b568994cf59b3ba5a1b6c7938f5db12c SHA512 9923fda6021d5bacd598b13460f4b0668d156e92d0b3972e3746b996e3ee6275269e2deab14f7fd9ce8183670648df936efa9133cbe9b908f67e38b7e907387d
DIST OpenJDK8U-jdk_x64_mac_hotspot_8u372b07.tar.gz 107968606 BLAKE2B 92bf05671e150e3f3f2b705ceedfe1acc15d518426aac9bb9a59e1a3e7066a29fdb087b7a232efb34d698f7226c5f8ea2d0b65ee677bd4b9d3826566220adfaa SHA512 69dc662e235a5b56256e10847791ebffc03b9ba0d32b4d4f9d751d93b1042bcf8babd292055b3d4c901af48702e047c164b52b354bd22f4d672a253b71b20af3
+DIST OpenJDK8U-jdk_x64_mac_hotspot_8u382b05.tar.gz 107309922 BLAKE2B 94a06fc998e57901b79396c47e4c1a4c82a7fb338d454267a1f8e4270665486ec259675458e24f7d2c3d55d1d206e91f46d1e4c5de7ef235f12aad93a32564c5 SHA512 5259772daa999e0668c380e8d436c3e99012b6c7c6ba09cff206efb54a102a30d9279ec6d4386927579b6e9d478fee74fc7f6266957ae4425aa29148eb5936e4
diff --git a/dev-java/openjdk-bin/openjdk-bin-8.382_p05.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.382_p05.ebuild
new file mode 100644
index 000000000000..4a8f45e0623b
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-8.382_p05.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 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${SLOT}-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${SLOT}U-jdk_${1}_${os}_hotspot_${MY_PV//-/}.tar.gz
+ ${musl:+ ) } )"
+}
+
+MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
+SLOT=$(ver_cut 1)
+
+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)
+"
+
+LICENSE="GPL-2-with-classpath-exception"
+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="*"
+
+S="${WORKDIR}/jdk${MY_PV}"
+
+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
+}