summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-07-31 00:27:09 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-07-31 02:20:31 -0700
commit6792b66f9ee12b0e896f5cbeea386b8f61b6d3f6 (patch)
tree6ce07e1d15ae3e2f1539e0dc64c256d5c02ce090 /dev-java
parentapp-admin/sysstat: Old (diff)
downloadgentoo-6792b66f9ee12b0e896f5cbeea386b8f61b6d3f6.tar.gz
gentoo-6792b66f9ee12b0e896f5cbeea386b8f61b6d3f6.tar.bz2
gentoo-6792b66f9ee12b0e896f5cbeea386b8f61b6d3f6.zip
dev-java/openjdk-bin: bump to 8.265_p01
depend on libffi-compat on arm Closes: https://bugs.gentoo.org/733878 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/openjdk-bin/Manifest3
-rw-r--r--dev-java/openjdk-bin/openjdk-bin-8.265_p01.ebuild94
2 files changed, 97 insertions, 0 deletions
diff --git a/dev-java/openjdk-bin/Manifest b/dev-java/openjdk-bin/Manifest
index ab03ad9dcfa8..01ff9bbdd5da 100644
--- a/dev-java/openjdk-bin/Manifest
+++ b/dev-java/openjdk-bin/Manifest
@@ -10,7 +10,10 @@ DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u252b09.tar.gz 102238546 BLAKE2B ffa0a
DIST OpenJDK8U-jdk_aarch64_linux_hotspot_8u262b10.tar.gz 103188555 BLAKE2B 2d1c8add4d0a3939a423dd24b2ade8a7e7240597d1d49a6194e768f8262977aa7b8c8f8a3f564c88bfe3e4bac74cbd3f2cdd17fafcbaf7b9b50ad3cade34e21b SHA512 86f24cd72ac398b606006dc64fb0f5d335bb633d87c7a7f96f2efb26a9abc6486ea1f803ccb33e74efc9e8f48ef3c723516dc690479a6e67d9161d67a5b8e94c
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u252b09.tar.gz 96925784 BLAKE2B 3e294a9a38729e453dd74d691bad4abd043fefd2a850a1d8fa142e5e5c2b908a1c7a0d9f2ebf1760ecf065cb615a59a930c84e86e86a339da01a794f1f3319ed SHA512 a361cb07b43ebaf7d1aa277c15ee41493fb25ff78dcad1801436ef68a54c4a89f2361c3f57ce328c507b9f36c81a301d95d9315d32aa888163d533d7d741effd
DIST OpenJDK8U-jdk_arm_linux_hotspot_8u262b10.tar.gz 97642302 BLAKE2B 0bc6d676eaa4efb1ff2b9358f8ddf2b578223d390f59a2deb1269dc55d2be4e39104680c8cc5608c7d8ba1350a289cc5d5673d1df5f6b495739df0cdac563ebd SHA512 7abb787dce0d5ed8c0a6f4cb0c7036e2c341b90b1a967e3c2b45d1c33bf88bb08a6cccecde1579edf811f304d5dc287816becd60ab429dda6a913f37511f4c68
+DIST OpenJDK8U-jdk_arm_linux_hotspot_8u265b01.tar.gz 97641656 BLAKE2B 76d24e975c2ec173b6b4806d145f79d02828e12e2dd412b60a921648fba20920b3b69b03630ece8d5cefeaf408dad01573b15db7f4a7bbdd024806a7b01bd6ae SHA512 8f96d73038579d2873b84d19bfbcc7f481b031a91c35d86d35e127951b6c743a6a1d5230a61ebcacddf854b73c55b18cc53112b9a2759b283254bf93fd691459
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u252b09.tar.gz 99444051 BLAKE2B 87f691298c7335c0adb285db6eff8ecb3897bb7b229bc6491b992375bd63c93eef126702ee461609b3a781240747d3f1372b4ed711a420cca1248878a82a2b6f SHA512 875d0d74088744a0a56a4706cd86a78ef2c5eb1a5792ba94ef2f51bf894a94123e761ab8fa0e5e74272c2f350a881073e4054e9f1c504421f43bb93b837d26a4
DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u262b10.tar.gz 100454023 BLAKE2B aa76a05f981b72b0e5a976c1fc50e857ebbab731cc97c4e1f1f91bbd81ea305a6c85ab88ffa78fe4f3e6da3c2e197817aecbf2f52104ab9fa8b0d27de0e61509 SHA512 656da319bccaeaed88e60618e17d2efc5e1b0de89d50c5214710ef0b1257eec9607574b3b4df28d42ca3cb4f63e06efedf338de2abd2392e9195ef2054fe712c
+DIST OpenJDK8U-jdk_ppc64le_linux_hotspot_8u265b01.tar.gz 100453105 BLAKE2B e57230d5f90821cb8f4c35baf0e5a9580164ad7df10ac67a528b959154317ea14b7bc0dd5c530a2b826ab6322611ddf2387617bc8dd1f444039b00a778a30025 SHA512 6de5694d0415e905848cc99ec6863e96640fca3ded4e851528c794dad82a0961e097f64f8338304d9325357729ae9ea5bc5d2eceecefebdad69a14bc7b50194a
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u252b09.tar.gz 102170196 BLAKE2B 529630d67553064d302a81079eb61f10da8fc7fbcb69375020f5572fa4e9a46a679e6b0de99b7f67d9f40305a5347e9337cb6dec1c3cac5576671f52866beb2e SHA512 923a3122aa15db27f1605d1f988efa4a5bc920ad132121ba906f9d4cea11b8bfdcfe5b777ea7f37f5789e0be85135f24f1ddf7cbdff40594336fde7fc0474a6d
DIST OpenJDK8U-jdk_x64_linux_hotspot_8u262b10.tar.gz 103200089 BLAKE2B 8d747c7ebcf29690dafb7e87a45c602077e22ed626a8b88843c8fcf080a691328aea244f7a4f499d824954a4758ced5e5255521e8b81b238afd19cd5bc741d5d SHA512 3ea2c2638c858a05e520d38493dfe240ee67195fd831a216e28a030ccaa17f890f64f1c723cefca1cead412c602a8cbe42f845345ab01e6d5ab1bde9825980fc
+DIST OpenJDK8U-jdk_x64_linux_hotspot_8u265b01.tar.gz 103157351 BLAKE2B efd8a4bcab5472c9775997713b09ab9e94ef4636564f07392263d6963850e07dc07569b2c066856846c16229f1641c169eecedcbb61533067af330262f07b927 SHA512 932fe2702aa3575bcb08d01e384fbd6a49768280931fdc1fb56314656343dc2f8e5b2650c8d72369d0294ac6024df0a142fd14cb0768f9aa7831aa986679e9ae
diff --git a/dev-java/openjdk-bin/openjdk-bin-8.265_p01.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.265_p01.ebuild
new file mode 100644
index 000000000000..6f3e2cb47e46
--- /dev/null
+++ b/dev-java/openjdk-bin/openjdk-bin-8.265_p01.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eapi7-ver java-vm-2
+
+abi_uri() {
+ echo "${2-$1}? (
+ https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk${MY_PV}/OpenJDK8U-jdk_${1}_linux_hotspot_${MY_PV/-/}.tar.gz
+ )"
+}
+
+MY_PV=$(ver_rs 1 'u' 2 '-' ${PV//p/b})
+SLOT="$(ver_cut 1)"
+
+DESCRIPTION="Prebuilt Java JDK binaries provided by AdoptOpenJDK"
+HOMEPAGE="https://adoptopenjdk.net"
+SRC_URI="
+ $(abi_uri arm)
+ $(abi_uri ppc64le ppc64)
+ $(abi_uri x64 amd64)
+"
+
+LICENSE="GPL-2-with-classpath-exception"
+KEYWORDS="~amd64 ~arm ~ppc64"
+
+IUSE="alsa cups examples headless-awt nsplugin selinux source webstart"
+
+RDEPEND="
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ >=sys-apps/baselayout-java-0.1.0-r1
+ >=sys-libs/glibc-2.2.5:*
+ 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
+ )
+"
+
+PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
+ nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )"
+
+RESTRICT="preserve-libs strip"
+QA_PREBUILT="*"
+
+S="${WORKDIR}/jdk${MY_PV}"
+
+src_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED%/}/${dest#/}"
+
+ rm ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README || die
+
+ # 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
+
+ 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
+
+ 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
+}