summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-03-08 22:17:04 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-03-08 22:17:28 +0000
commit223a0a203c2db4dbef4cbd3b8c4b776f3376acd9 (patch)
treec2e0e20f2b86137b214eb6cf0872b7014aa23a5a /dev-java/icedtea-bin
parentdev-java/icedtea: Version bump to 3.7.0 with security fixes (diff)
downloadgentoo-223a0a203c2db4dbef4cbd3b8c4b776f3376acd9.tar.gz
gentoo-223a0a203c2db4dbef4cbd3b8c4b776f3376acd9.tar.bz2
gentoo-223a0a203c2db4dbef4cbd3b8c4b776f3376acd9.zip
dev-java/icedtea-bin: Version bump to 3.7.0 with security fixes
A stack alignment issue has been reported on x86. This version has been built with -mincoming-stack-boundary=2 to work around it. Bug: https://bugs.gentoo.org/649968 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-java/icedtea-bin')
-rw-r--r--dev-java/icedtea-bin/Manifest14
-rw-r--r--dev-java/icedtea-bin/icedtea-bin-3.7.0.ebuild160
2 files changed, 174 insertions, 0 deletions
diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest
index b466192799fc..423a38ad6b5b 100644
--- a/dev-java/icedtea-bin/Manifest
+++ b/dev-java/icedtea-bin/Manifest
@@ -4,11 +4,25 @@ DIST icedtea-bin-core-3.6.0-arm64.tar.xz 58962420 BLAKE2B e0ab8f8cee1c7284d78aba
DIST icedtea-bin-core-3.6.0-ppc64.tar.xz 54236316 BLAKE2B 8721d6b7da312203016108e134499bd8dbf86e92d6d857064c27548e84dd177d1b2436461bc3dd3c457f61f597166b9aed4b0c6faed43310f5545eff04a2292d SHA512 88187dddbf0acb26b141dc2b04000c710837f02a127bbf90b2225277e1eee7b04ac30a15a2f68ee0d3fc55a3175501131266ba2cd7aaf4231e0f2a67b4106e92
DIST icedtea-bin-core-3.6.0-ppc64le.tar.xz 54269552 BLAKE2B 1089f191aa3f33794f8d6c2739d80301a99095bd01435069dc3b658ca02a17f63d58e84f07aba7dc1db232da771ae5101350f6cddb00b718e226090f23aa4798 SHA512 49842bd5e2a620b4bd1256085c88fb8f374f255086fc0329cb74f0be8cad4d6a4d2385a7e8b5b3e49bda3e1861fb8128fe12392fb5ac17c2ad00de9975950894
DIST icedtea-bin-core-3.6.0-x86.tar.xz 61382796 BLAKE2B c0e61aaed35e8533c82ad62f663e00a67a4d1a0614ae6e263d4cb1fb81c8e8706a29acefaa1185b1d4dfa32769ce2c05225521018ace9d6ee999153f3fbd178e SHA512 0d2dc8d6a080cc0f85ae85fbea842b0ede86df4a1ee4d1db1ef48977039230b4060a753ed67670f154d8733fd74540485290b343ca755cd71f54bf92ad86270b
+DIST icedtea-bin-core-3.7.0-amd64.tar.xz 61959572 BLAKE2B f8241b980ac4f8296af0aa58700d23607829c99e0fae7961008d928caaff955e14ab32c4b65305da60c17014ed7dabfd3a4406900ce999354cfbb8991127509c SHA512 680ffb17bec2f8534ce08f6158dd912413fb0ee8afe2186a8a259dfbabee99a7fda8b1b6bd68a8520946f18a482cd370f7ac2a139a34b9409d45bc19dcebacf7
+DIST icedtea-bin-core-3.7.0-arm.tar.xz 58035752 BLAKE2B a745e93a8a794845b25cd08ad1078ddaad6bc5f339dd2123b1c012feaa4aa0f4b6ae170c8691bb2e35052ee7048e33d8076e4532c8796f2813b4f06140ce9058 SHA512 b54ed397da26d9178368e7cb3efff4d43c90b76f3a110bfc29d98493567801d5da3fa7063ca82288bfbc80d9680385ddea8e12fa2d581cbe4ffc5a3b6e4fbb2d
+DIST icedtea-bin-core-3.7.0-arm64.tar.xz 59140980 BLAKE2B 5615ba4c7ff2af6890a2d82a9a58bc896129d4fce362b5fadaaeb4e82203b346c0af6c89191bce3283f8f89f7c00ac728cc9e511d4893d59d48a0ae5efd4da22 SHA512 2d79ab55da14087c51ce997b3bd62b37cc769f1b2a3ead821fed574a3ff3012f0c2c07d2e9f92b385b10478c35def75d2da1226d5874c632dad8711b97e7c8c8
+DIST icedtea-bin-core-3.7.0-ppc64.tar.xz 54288800 BLAKE2B 4858529c37e05158c481f634796202a9cfeb3dcdf0c11dfe3b84d63d238790c714f0f4aaaf37a54d7d13ddbdab7d7a7083d73f9ea684508145ba0c6a725ce346 SHA512 b6411ef98525bd90c42c017b91a2acc3e4a94e9965391b7432b60d24d980667cdda27f527d0dfeb2d60285c3d34b2aaa4e7485b4b8f07e8e47b07bbbf5fd9b94
+DIST icedtea-bin-core-3.7.0-ppc64le.tar.xz 54323992 BLAKE2B eb03570034b7d271974c50c5649891522b89c3bb82437f7feeab12a228685f2d93e827493df7f72235cffa253e6c83ca9c9ae2bd16204987f3b67af452307cff SHA512 593c0947252bc5290684f8056a20ba7ebbe9517e0c118009446df43da15a6e18a1e4593675242bc001edab078e3a914a610a86559e4d7ea20b6d2349cf3977c1
+DIST icedtea-bin-core-3.7.0-x86.tar.xz 61466288 BLAKE2B d63b381f9ad6f1724f9fe549550252b8d298b8c5cbb1351ee13c7ecf9c052fdc1ce0a4d4eac27b9a4a5700bc1734f3d3f985deec0f97f97c473911ac749dabeb SHA512 cbec66498b016daae78a8ed7e8646a844538c0b7d87615aa71dead9539164799991cf8c11f51de8ae438045b2f8ae8a9c99b79c7b0d04e09d97d208d6d544b35
DIST icedtea-bin-doc-3.6.0.tar.xz 11681684 BLAKE2B 4124d3e3daad141a2d1d08b2744e98aaf2c2bb05c3471b4bf983d6aac70b3b6f3a36d5b1886b535b004f613e5a787f215507e64178bf4e2eee9bb5e75f28e615 SHA512 a04d927cef6026833c7ba8d1127a4f0c2334969bade3ce6f2b6c03f174e8781de899e11467899721a9f450f6e87b64960b3583accede3269386251c1a8d6f1ed
+DIST icedtea-bin-doc-3.7.0.tar.xz 11682076 BLAKE2B 6c4629cfee975532aae9692061037662761ff4a0e3d13e72e167edfa90c81894894b48e97ad0077b38ba9e7081e21d157969f471988150a11f11a0b1ca6bf073 SHA512 e9c9ffe923fd6d6cd2dbb1bed402cba282baf17791c87b6fe12907fb4da3e401f4d101a06e1e6614d1d75d5b49a3e7cc60912a67af4dc25a4351d38c5c8ed391
DIST icedtea-bin-examples-3.6.0-amd64.tar.xz 1855840 BLAKE2B ef629ca83136160445e89123267dc60375974d8b0559e51404a165ca2110f72e693ada9e02a91166531a17672a6ce526962a4f2e12ecabbee0800d047a01b7d0 SHA512 17e6b323d4f957aa2241b305a1ba9a0e3426593be7f35cc926d4819cf059e1022a837dace23d8aa37af713912c5ac15291b9b0cabbd9022edce86cc2294d5293
DIST icedtea-bin-examples-3.6.0-arm.tar.xz 1840000 BLAKE2B df8fa8c32672cdc6f45f9092478b63e5ca6acb8d20d368d6d7175ca8ee17f282bd67108a014b5469b56ed76c83ba73db9161aed0e9e6157294952da78c2115d9 SHA512 4a583857597c9d036f20b74ff620894499dc9b0463d517151f3683d092050bbc10f7eb5f84b98b6ec33e80d5ea4f250466a7c34f8a3106dc36b359865396cac3
DIST icedtea-bin-examples-3.6.0-arm64.tar.xz 1835852 BLAKE2B e3e181205cd4240214a9cafa74162ba85c9949af5b2625445b36ea7a97c335d26f388e459ef349115b3a6245d7c1df13c002a6699f65c1fd9f2cc2a3f38eab6c SHA512 c0e779acb241caf84b9639a2714edcd4d8fc329917003a05386cabf8f2e9e2277d35da5925c6550980a90baf0138710fec7db19a1ee0caacfcbf876e7651c31a
DIST icedtea-bin-examples-3.6.0-ppc64.tar.xz 1848136 BLAKE2B 79617ac54d9bceb2694dc9a509d0c9e674ea76abffeeaacbbaf304bb62734880c62c38d24298879a41ffbdbe5deb3b413684a6957e1f73b387a4b5d75dafc9aa SHA512 62a1d1f518838635bddabd813af96033ce1d48edb0b38555987956f6df23dae8fff10baa8abb4e68e7eecd811403c8598fab1b0110757756b20d4c923434b65d
DIST icedtea-bin-examples-3.6.0-ppc64le.tar.xz 1845232 BLAKE2B 8abc939a5c42f0018f3a83325a4ce3ab4a0229dc5f26aa1609240b1036b6efbec6d6e8e5e399fa4d6a2f3517b8863ef8daaf56d218893772d86c1dfd289ba92e SHA512 c0b9f554d0b72ee1b7998c58081dca63d56b58ac3019216faf081752e3133d0c79b14abd61ae7a9ebef33ae8ddccac4b162fba97b742b5823c72401f2e85bc19
DIST icedtea-bin-examples-3.6.0-x86.tar.xz 1862508 BLAKE2B 0a763600ed95e2efd5fab01d0d9c68f89f6f12165d1eaa33512de5e8b3f46da97b8d8129d7b388292a09b115b2c1484263eaa4b03a71dcaea50ed69d5613b07f SHA512 d0f39687cedd4c8282816ef923163a5506eda07bfd0850bb3dde78daa4b2e21749ea273be9a1deb9e3d3f32e3dd9d1e587132229840b057558a5cdaa11f18668
+DIST icedtea-bin-examples-3.7.0-amd64.tar.xz 1856720 BLAKE2B d5e4497f946b48cd5e5a85c770674df5a9976d95fa4a5a562b53b0073ec51d4be3d6a9ca7145b3f79a31f89a3400493efe8c6cf425359d259c78dfa4f384bd6a SHA512 1155b8bf339b04e33ce986f0eb3fd9736e11d55ff2c3f7e515c74e83fe9cdc52e28a156f81b9f76efa769312fdb5a4080725ba7ef3e321e76caf6c911e8b7cd2
+DIST icedtea-bin-examples-3.7.0-arm.tar.xz 1840032 BLAKE2B 3f9ed953df3ea7d47dc43855256cf54c834d4b1ad4cc20114c2ba9cbf02f3cfcc1603da7e17325414368d7acddb717b116433efa52d987aabd5ae2dd8d1d21c5 SHA512 ff21951c7d81819c86366d4b6b450a14de6f45ab7916ae1061a9e7ef631f466df30434ed1f44bf007b7ae6693899e653e36e95c1e9f615e67f66bd4607dc62b3
+DIST icedtea-bin-examples-3.7.0-arm64.tar.xz 1838264 BLAKE2B 00c55e5af20654e3225622e7ccf55fb844870ee7e77683d9bb4b37181aab3ac119d5e7b4418bb0e50ebc87c3eb6ec9f37f745bfc5f0073ce33b8991e2ab20d68 SHA512 deeabd2bfc87eeb7d1f94b73501ec54f3c54a29fb9a857dca5cbe37fde49a63ec81049b62840eb6a36f6313ccffcad0910bd5d75e8de31ebabd59a129d613558
+DIST icedtea-bin-examples-3.7.0-ppc64.tar.xz 1847956 BLAKE2B 25ee12262da772e6fbecb57f67644981603919ce4711319bdcb771f6208109b6ef23ee0b6c5595a9490d1eb8f556303a023caa9d92d4d1059aa4c486f264ea14 SHA512 9f1dd454b3473efb5b32eec1abb5babe0d1fb16baaaa7daf197770add5bb230575b4de5c52b15c0eae65cbda8341a7f5fbb2f4092752e1dfc135cb2eaa77fa43
+DIST icedtea-bin-examples-3.7.0-ppc64le.tar.xz 1845292 BLAKE2B 1e8cdf15a1e4bc641b707f8df0432da83d874e74b41cac81445c3cc32d239d0e1370165ec847dcf4fbea8023fd44980b4b426459b4b4f69d850cd21aacd919da SHA512 a1c71085e8a9053ff8cf0c3c10c901657079a3df631994ce4c621ba25b9e89f211372fcb95c9b0dc1828fe4fa76ee2c0a33716da1b7c0a4af491fd418b799df4
+DIST icedtea-bin-examples-3.7.0-x86.tar.xz 1862536 BLAKE2B 7b033ad8e12cd4bb899acc40803bba9fcad1b5b6761cef65bdbb02b578478e09c64fda815cb4c518608d2a8120683a7d932341cd6d971adf381beb9cea7cbee3 SHA512 b3eb96ce677ee525ff5447e7ec0391e2bf5d79f451c71a3d78923c66664e8fa08008a4a3a90af2ae4c7a65787b86cb2f5a3689393d3548f2e9b229157313e887
DIST icedtea-bin-src-3.6.0.tar.xz 45737964 BLAKE2B 0a5b05e8e8b7da14094e1dff28d0c1ac312255369bc5df53dbad3c69771da9e6af837aaae27a60db4b50c3833043067b040db25bf8ec2bb3ee24aa9ea8b5943c SHA512 7747beb612bb693650ff00b61524daf092890f70eed9d31321b5a347b15ed4655e3337bc887ac8cb72938f4c67b6625e216ace8e4c428277c5a4518869ca9ecd
+DIST icedtea-bin-src-3.7.0.tar.xz 45735652 BLAKE2B c972f209e42df27137da8c03bb8555ec5831d49915c7b139578ff5e60efce9a1dbf390682604302d21bbd91f8e41da5079106ca0b016e2211453c5067e3de172 SHA512 67377e2dba3226146f220d7b923ad2a693949241d0c40dfcbceb47f691a6ce4fdedb28cbab3f4f5976029021b918cec49a7e61b373385a4b0514e10761fd3254
diff --git a/dev-java/icedtea-bin/icedtea-bin-3.7.0.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.7.0.ebuild
new file mode 100644
index 000000000000..05b4d8b06d66
--- /dev/null
+++ b/dev-java/icedtea-bin/icedtea-bin-3.7.0.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# Don't block arm. See bug #600134.
+#MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} )
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+inherit java-vm-2 multilib-build toolchain-funcs
+
+abi_uri() {
+ echo "${2-$1}? (
+ ${BASE_URI}/${PN}-core-${PV}-${1}.tar.xz
+ examples? ( ${BASE_URI}/${PN}-examples-${PV}-${1}.tar.xz )
+ )"
+}
+
+BASE_URI="https://dev.gentoo.org/~chewi/distfiles"
+SRC_URI="doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz )
+ source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz )
+ multilib? ( amd64? ( abi_x86_32? ( ${BASE_URI}/${PN}-core-${PV}-x86.tar.xz ) ) )
+ big-endian? ( $(abi_uri ppc64) )
+ !big-endian? ( $(abi_uri ppc64le ppc64) )
+ $(abi_uri amd64)
+ $(abi_uri arm)
+ $(abi_uri arm64)
+ $(abi_uri x86)"
+
+DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK"
+HOMEPAGE="http://icedtea.classpath.org"
+LICENSE="GPL-2-with-classpath-exception"
+SLOT="8"
+
+IUSE="+alsa big-endian +cups doc examples +gtk headless-awt multilib nsplugin pulseaudio selinux source +webstart"
+REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"
+
+RESTRICT="preserve-libs strip"
+QA_PREBUILT="opt/.*"
+
+RDEPEND=">=dev-libs/glib-2.42:2%
+ >=media-libs/fontconfig-2.11:1.0%
+ >=media-libs/freetype-2.5.5:2%
+ >=media-libs/lcms-2.6:2%
+ >=sys-libs/zlib-1.2.8-r1%
+ virtual/jpeg:62%
+ alsa? ( >=media-libs/alsa-lib-1.0% )
+ cups? ( >=net-print/cups-2.0% )
+ gtk? (
+ >=dev-libs/atk-2.16.0%
+ >=x11-libs/cairo-1.14.2%
+ x11-libs/gdk-pixbuf:2%
+ >=x11-libs/gtk+-2.24:2%
+ >=x11-libs/pango-1.36%
+ )
+ !headless-awt? (
+ media-libs/giflib:0/7%
+ =media-libs/libpng-1.6*%
+ >=x11-libs/libX11-1.6%
+ >=x11-libs/libXcomposite-0.4%
+ >=x11-libs/libXext-1.3%
+ >=x11-libs/libXi-1.7%
+ >=x11-libs/libXrender-0.9.8%
+ >=x11-libs/libXtst-1.2%
+ )"
+
+RDEPEND=">=sys-devel/gcc-6.4.0[multilib?]
+ >=sys-libs/glibc-2.25[multilib?]
+ virtual/ttf-fonts
+ selinux? ( sec-policy/selinux-java )
+ multilib? ( ${RDEPEND//%/[${MULTILIB_USEDEP}]} )
+ !multilib? ( ${RDEPEND//%/} )"
+
+PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 )
+ nsplugin? ( >=dev-java/icedtea-web-1.6.1:0[nsplugin] )
+ pulseaudio? ( dev-java/icedtea-sound )"
+
+S="${WORKDIR}"
+
+pkg_pretend() {
+ if [[ "$(tc-is-softfloat)" != "no" ]]; then
+ die "These binaries require a hardfloat system."
+ fi
+}
+
+src_prepare() {
+ default
+
+ # I wouldn't normally use -f below but symlinks in the arm files
+ # make this fail otherwise and any other approach would be tedious.
+
+ if ! use alsa; then
+ rm -fv */jre/lib/*/libjsoundalsa.* || die
+ fi
+
+ if use headless-awt; then
+ rm -fvr */jre/lib/*/lib*{[jx]awt,splashscreen}* \
+ */{,jre/}bin/policytool */bin/appletviewer || die
+ fi
+}
+
+multilib_src_install() {
+ local dest="/opt/${P}-${ABI}"
+ dest="${dest/%-${DEFAULT_ABI}/}"
+ local ddest="${ED}${dest#/}"
+ dodir "${dest}"
+
+ if multilib_is_native_abi; then
+ dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README}
+ use doc && dodoc -r ${P}/doc/html
+
+ # doins doesn't preserve executable bits.
+ cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die
+
+ if use examples; then
+ cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die
+ fi
+
+ if use source; then
+ cp ${P}/src.zip "${ddest}" || die
+ fi
+
+ # Use default VMHANDLE.
+ java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
+ else
+ local x native=$(get_system_arch ${DEFAULT_ABI})
+
+ for x in {,/jre}/{bin,lib/$(get_system_arch)} /jre/lib/rt.jar; do
+ dodir "${dest}"${x%/*}
+ cp -pRP ${P}-${ABI}${x} "${ddest}"${x} || die
+ done
+
+ for x in ${P}-${DEFAULT_ABI}{,/jre}/lib/*; do
+ [[ ${x##*/} = ${native} ]] && continue
+ [[ -e "${ddest}"/${x#*/} ]] && continue
+ dosym "${EPREFIX}"/opt/${P}/${x#*/} "${dest}"/${x#*/}
+ done
+
+ # Use ABI-suffixed VMHANDLE.
+ VMHANDLE+="-${ABI}" java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh"
+ fi
+
+ # Both icedtea itself and the icedtea ebuild set PAX markings but we
+ # disable them for the icedtea-bin build because the line below will
+ # respect end-user settings when icedtea-bin is actually installed.
+ java-vm_set-pax-markings "${ddest}"
+
+ # Each invocation appends to the config.
+ java-vm_revdep-mask "${EPREFIX}${dest}"
+}
+
+src_install() {
+ if use multilib; then
+ multilib_foreach_abi multilib_src_install
+ else
+ multilib_src_install
+ fi
+
+ java-vm_sandbox-predict /proc/self/coredump_filter
+}