From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-java/corretto-bin/
Date: Thu, 18 Apr 2024 21:26:47 +0000 (UTC) [thread overview]
Message-ID: <1713468789.1be4530d53446e5f5e70e48cb661be5bb03fc045.julien@gentoo> (raw)
commit: 1be4530d53446e5f5e70e48cb661be5bb03fc045
Author: Robert Greener <dev <AT> greener <DOT> sh>
AuthorDate: Thu Apr 18 19:33:09 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Thu Apr 18 19:33:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1be4530d
dev-java/corretto-bin: add 17.0.11.9.1
Signed-off-by: Robert Greener <dev <AT> greener.sh>
dev-java/corretto-bin/Manifest | 1 +
.../corretto-bin/corretto-bin-17.0.11.9.1.ebuild | 90 ++++++++++++++++++++++
2 files changed, 91 insertions(+)
diff --git a/dev-java/corretto-bin/Manifest b/dev-java/corretto-bin/Manifest
index 69b745d3be..8d04e6b566 100644
--- a/dev-java/corretto-bin/Manifest
+++ b/dev-java/corretto-bin/Manifest
@@ -1,5 +1,6 @@
DIST amazon-corretto-11.0.23.9.1-linux-x64.tar.gz 195487466 BLAKE2B f17bfd1406fb3e8cca617fbf1d3cf212af9299aa65df4b68ea6aa5881cb42f8056a2bc3dda5e1ad5583eededb7b711874ff9507304448f37a66a50950ed0b73f SHA512 37ac145e1c2ff1cf103200262890fc2732c99345a13a9d9d0457ce11aab55efda166f0ee15f3adcea9c11f91b3008522e26a63f36570f97aa4cfb9fa3318b3d9
DIST amazon-corretto-17.0.10.8.1-linux-x64.tar.gz 193714285 BLAKE2B 35184de6bfc2bbc1339817a09aeb1ae31d8eb93aaf4d2e936b69537cedf2dae761fc20ba6895a9344007f1cb50319c821361e0913831c4e0fcb05c06f6b62874 SHA512 485bbf9d6a45aac018ae5af5bac1608f81c91c0cacd6904854b33a0ed52267f55a751e97b4fef7dff37d5cf4300701ef3558b910299f0a85676b54c22b69dce7
+DIST amazon-corretto-17.0.11.9.1-linux-x64.tar.gz 193947693 BLAKE2B c384a0343739a98466e0ae4ad19de501f17910570d567ff6eec47ec66e8723ea931c8eb143f57ff3e75ed53051529cf11f1fac8c43d1387dfb637a06b1e679b0 SHA512 a101945fa3fe3ca068a62c9ac3133ff8062a48834f672a1594a5a6e11f29827616c09fd7cb0bbb057a7bdb500b367b5cb97c75ad95d8041ca4e02d6d65df66b6
DIST amazon-corretto-21.0.2.14.1-linux-x64.tar.gz 209399162 BLAKE2B 8778c7ae7a8588b3a4dd58d5e3c18ca8931b5d4e32c4f308c0f765df7140232d7c800708859d86a66a58275a517edd461c16457159de5ca362d51728559bcd46 SHA512 14264809f297d42163c2c55c827b16eba058c39a36d5e92589419cccf66187b59225b08a8623f556d1febdeedbb2a47975b655b8bd816483d2862c7c44ef0470
DIST amazon-corretto-22.0.0.37.1-linux-x64.tar.gz 207737618 BLAKE2B 4f7cf43d4de10a44fec207fee62050948cefd532409bfc9122a007aa5a1a9deaf36e919d5773c43be15a3b731936134ee94104702780ec887efc0a43bc4cc781 SHA512 8a4ef82a33cee41b0fd782c9252bc944fa2a10c220e873699276857a32d618a5b4ad2053a06c377d211b691b793125d2c858b3773deaf6dc8a5babe50d05b969
DIST amazon-corretto-8.412.08.1-linux-x64.tar.gz 118088115 BLAKE2B e0a5e6de7985900514a22f14795966e161719db39259f55576a0172e133057837c713f823e59b29b1e81b236b69a3ce76e6ed7e3cd27745d6b4148b2b4e8af8a SHA512 48b0a5420d6f18d6bbb74ee8a14069d102c4e9bdc04b0818aa42e0ce345b39871762b6ba1b13322c829049897a79e9a8105637f317317fca9debf0b79d27c645
diff --git a/dev-java/corretto-bin/corretto-bin-17.0.11.9.1.ebuild b/dev-java/corretto-bin/corretto-bin-17.0.11.9.1.ebuild
new file mode 100644
index 0000000000..3a3a6a4a09
--- /dev/null
+++ b/dev-java/corretto-bin/corretto-bin-17.0.11.9.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-vm-2 toolchain-funcs
+
+MY_PV=${PV/_p/+}
+DESCRIPTION="Prebuilt Java JDK binaries provided by Amazon Web Services"
+HOMEPAGE="https://aws.amazon.com/corretto"
+
+SRC_URI="
+ https://corretto.aws/downloads/resources/${PV}/amazon-corretto-${PV}-linux-x64.tar.gz
+"
+
+S="${WORKDIR}/amazon-corretto-${MY_PV}-linux-x64"
+LICENSE="GPL-2-with-classpath-exception"
+SLOT=$(ver_cut 1)
+KEYWORDS="~amd64"
+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_install() {
+ local dest="/opt/${P}"
+ local ddest="${ED}/${dest#/}"
+
+ # 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
+
+ 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
+}
next reply other threads:[~2024-04-18 21:26 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 21:26 Julien Roy [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-18 21:26 [gentoo-commits] repo/proj/guru:master commit in: dev-java/corretto-bin/ Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-18 21:26 Julien Roy
2024-04-16 11:01 Julien Roy
2024-04-16 11:01 Julien Roy
2024-04-03 20:20 Julien Roy
2024-04-03 20:20 Julien Roy
2024-04-01 21:30 Haelwenn Monnier
2024-04-01 21:30 Haelwenn Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1713468789.1be4530d53446e5f5e70e48cb661be5bb03fc045.julien@gentoo \
--to=julien@jroy.ca \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox