summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-10-07 22:47:24 +0100
committerJames Le Cuirot <chewi@gentoo.org>2018-10-07 22:49:19 +0100
commitcc257eb782057aec5788c4e53bbfc5e375ef8b91 (patch)
treee6daf87853d08834c7137554d4f6dbe5459e5d32 /dev-java/icedtea-bin
parentdev-java/icedtea: Version bump to 3.9.0 with security fixes (diff)
downloadgentoo-cc257eb782057aec5788c4e53bbfc5e375ef8b91.tar.gz
gentoo-cc257eb782057aec5788c4e53bbfc5e375ef8b91.tar.bz2
gentoo-cc257eb782057aec5788c4e53bbfc5e375ef8b91.zip
dev-java/icedtea-bin: Version bump to 3.9.0 with security fixes
Bug: https://bugs.gentoo.org/667920 Signed-off-by: James Le Cuirot <chewi@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.10
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.9.0.ebuild160
2 files changed, 174 insertions, 0 deletions
diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest
index 3582cd29e923..75fa28f806c1 100644
--- a/dev-java/icedtea-bin/Manifest
+++ b/dev-java/icedtea-bin/Manifest
@@ -10,8 +10,15 @@ DIST icedtea-bin-core-3.8.0-arm64.tar.xz 59142392 BLAKE2B aa653348bb9d76ecccf27c
DIST icedtea-bin-core-3.8.0-ppc64.tar.xz 54282712 BLAKE2B 78f9f9fbbcdb5f36a970497eed6ea77ed142d32beec74caea489ee7105e08151878a622fef5ea66b521103dc5b561203c4bf3fe7ab2b80ac304b5d4bd2d1d84d SHA512 d354b2eeb591dc73c9547a56f1421b034c7789cfb44a7f6b717ebce39113b319b3c3afbc7367e14c86b42a52e2c27fb69a016657581ab7f3586b6a7cc62b0137
DIST icedtea-bin-core-3.8.0-ppc64le.tar.xz 54314152 BLAKE2B 4a7988672a1bced1bc10c8ca7d6299e27aac624af6f6d1335c1a4722508aadb408e3f210de82491f3acc2873868d7f04bb26840161c56741ffd16c6c43e84430 SHA512 1382711e50f90ab1943c98214fdfdb971129eeb6ebdd710ecc8bf777487ce85aaee0e5c8dd17ac403e00f20a8829c1f1afcdf648794a08da6be9b0500d959815
DIST icedtea-bin-core-3.8.0-x86.tar.xz 61435788 BLAKE2B 5b4da8a54354287994d249ab2b3d2011ccfc987675e1899789f2a09b709e54fbf586b76a98839acad88b81fdef624b58e3821fbd416ea8bcf710293619ef9941 SHA512 623fc1b1f125b241642219e3060396395a6d802c73b440689c984ea259a1a0bad7b8ae04a300058f0a2815abb590e2b77bcaf3b4cddf2a9ed37a0789b87f25ba
+DIST icedtea-bin-core-3.9.0-amd64.tar.xz 61995800 BLAKE2B dbef63538ae68e5e9d2e664fdbb8d1422d9d5a32c9dbb6bf77fbc0b3602eb9de3a8ae830df480bf3e91cc89d9a3593f2892cd3001eba782512e8e5ab9f8b58ca SHA512 349f7ab0dbe11614bc659f9a3a5cf75b7b1d1765cbf9f651684365cfc5fd7f608312b25362fb086521a077610cb88b19d33af4fce10e69dbeb29d8f4a23bad61
+DIST icedtea-bin-core-3.9.0-arm.tar.xz 58032620 BLAKE2B 1646096d659a702b5ddb08c2c1d56f2eb53d91d08902045973b177b640d0bc7abb51343e81594fee669506a4710b5ca012af11ef4c4490d27e1fa2a7cf52a3e4 SHA512 f362170bd60e0a6ecce0f712aaa00effe9d52d082e4ae524f88e4ec91c02908108a0b8496cc21787f94605c265212c7fe7da164959d0432cb927d274f79ec56b
+DIST icedtea-bin-core-3.9.0-arm64.tar.xz 59190292 BLAKE2B 8778d668e96a660b73371e4d67bd3c8121b981efea1d3c900c8d38b6be3bd3de65e79e87deeaa88b86be2ce766750471e332e0fbad08fb669b803eba3c367903 SHA512 577bb5bca4c9b9bc9ae14ba50fde73c89d37515e7287ff611d297394aecc2dfd69f4d2ca347ba5d833c41584cd4b644060f21ac5b6c3c11bf710037176065314
+DIST icedtea-bin-core-3.9.0-ppc64.tar.xz 54302616 BLAKE2B 6a354a96bdfd3d6398832e0840f88c50981a1ca304f076c599603f98d3f61b32192f03b5a9830966e3a683af63415c56769977202cda6a618bc6953922f94f89 SHA512 534d1c7d7e64b69cd6352b62c46da005df0855bb5a8d01657462a9202d1149f3e9d3e89b8fe499b53f3f7faff976b6fb665e200bc05ee7ac17c981096c7ba584
+DIST icedtea-bin-core-3.9.0-ppc64le.tar.xz 54336300 BLAKE2B 2cee58d745faee8dab0ad8b064b51d60552995d33407f40e50794a17f7d993b74fbd340db3aac520642e11a926a89554e9d686cd425b05bed4194eb1bc957e5f SHA512 6d680a987dddff0d569417c3d33d8c8b73bf2aeb454906047226be3ff7277ffc62d272c0dcd6c2bc9ee3724eacf77074ef9e931f980232ffb356e9e919f2247b
+DIST icedtea-bin-core-3.9.0-x86.tar.xz 61471872 BLAKE2B 09d1a9d66759ed008de33d6f0b6888308f9f6ef782501bce513bca9a9f5040d0407883018dda106b446bdd040ad8cb02f69177d6244dff7604e9a5bdb71bcaf5 SHA512 713b3c1fc4f18f2dc3729f0432f4695b44c45ceb16b576d3a291e756f2353267dbe2f6819a7bafab797d43ccc77c55a117c3782a7f75eb39f0749b1572d7b982
DIST icedtea-bin-doc-3.7.0.tar.xz 11682076 BLAKE2B 6c4629cfee975532aae9692061037662761ff4a0e3d13e72e167edfa90c81894894b48e97ad0077b38ba9e7081e21d157969f471988150a11f11a0b1ca6bf073 SHA512 e9c9ffe923fd6d6cd2dbb1bed402cba282baf17791c87b6fe12907fb4da3e401f4d101a06e1e6614d1d75d5b49a3e7cc60912a67af4dc25a4351d38c5c8ed391
DIST icedtea-bin-doc-3.8.0.tar.xz 11683136 BLAKE2B 37fd84b58f6d6934b4775b23c3cfd47dbf275083719361ef74d55dcd2385f822b8cd0257e76cf4a194cc6d555c579a8373b39f72f4a8e80b8511acb5a0b2b537 SHA512 aee063874fa2de7cc7848deb511b1373df14ecb530eb00887920ca82b9af80763616ac4df641cd0debbf08011f71b20e8b250384e9d142387139e7698dece53a
+DIST icedtea-bin-doc-3.9.0.tar.xz 11685100 BLAKE2B 3c0301193e295b1441f657247263994deaf84c3c534b110db9a7e4fd3e6fe73d2499a2661dbed4f9d2751634c0b99242963b92a0cbea3fa846230d7dbfce1604 SHA512 d5190f0c341181321aab1a0113368cd138550a12d6be684568e45899df509b3e9ea95abd72c1505c298d6a14977ca2fcb07e85e6ab4d2d554959af35f993cb8f
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
@@ -24,5 +31,12 @@ DIST icedtea-bin-examples-3.8.0-arm64.tar.xz 1838420 BLAKE2B 6be665c5ee12ab6063f
DIST icedtea-bin-examples-3.8.0-ppc64.tar.xz 1848128 BLAKE2B 2326df5f72f0c597b547afa06c2b73117b12d2eb96ef190a39c23a3b16e6b792487a077d4f07b00f6cfd446bff6069cc33bdb0635af8503b1ce9e38d5bd4c001 SHA512 266c7def17c119cf1b1f18729a8160a819a578868d73d175a18d486d924a355162a0c74858eb7bb21c75974ab6bc16e9de83d27d519bdc2ebefc9cba88ee669a
DIST icedtea-bin-examples-3.8.0-ppc64le.tar.xz 1845000 BLAKE2B 1a08259383e40c7759af27b653835c5ece49721b9f12b21b24ec29e9f43d276d4fab616db7270ad9e290f49a08fbb5cf3a8b157bd56391ff1b209507e33df1be SHA512 51d7ac3901126a075825627e48f306b14157abcab82bd0c9989c443892c4fd7743fd37efa9cf6decc5465a1a682e7a0f710713991970a8b99d76619e36fb30dd
DIST icedtea-bin-examples-3.8.0-x86.tar.xz 1862620 BLAKE2B d7ec2c538708620ce6dac1e09a91054a16e34400a2cd96266044c919d98a6433581089fe2f4d7e79c8253e258a19d4f32c45b10abd204baa43067eb3259e9388 SHA512 e7c6cc7f98f345987e1c003c479d65546deb086c8c281e99e475c448a470423789058575ff366a5b4819fac9115fbf648de686ac393450989e6dee75fd01fc9b
+DIST icedtea-bin-examples-3.9.0-amd64.tar.xz 1856872 BLAKE2B e5e4e20e289fc59c04c1987312e14baf94151b0e58ffc26d0c9c231c44459a34f9e2b0d464ecf30e177f52f140700ba23a30d6631436d838c86591783e978b57 SHA512 bf655e4eafe8e757a240c16eb85ee25a0404917d48829a0d4c0c6fa21771b1ee82ea4c3aa3123f21574abcc8455bfff62e0a5b254a9828f874c51285a685d380
+DIST icedtea-bin-examples-3.9.0-arm.tar.xz 1840572 BLAKE2B f3a5e470b4bcbc731066068690230e854cc6950ecd6c22cffcebd6afc6e18e0979bcbde272d97135b3bc2a3e1fdc5a43fd3d40efba3f770a53b1d9e524e14702 SHA512 db560fb4e2542c2aaac4d134030aba058c6591008cbac9b5ce45cd6f7a115fff4a97270e9825bcec17e66f723f0f6614095006cce791c326c44d75ebf42470cb
+DIST icedtea-bin-examples-3.9.0-arm64.tar.xz 1837768 BLAKE2B 96d870c5a823c5b8accbe540548ad29f648466a094a0bef2351770758c6f7481b359c6d64c4229e61a168c0514375174634a0fa5c74e63351e50de4b2b87078b SHA512 28a00121176df9ed71d8a65eea1c7592669e201b1b2f57bad4d219c64d14fc891766a7f33e9c4a7f6d28dadab9ff7f174612936cfc20ffa2802d4b477c3b11c1
+DIST icedtea-bin-examples-3.9.0-ppc64.tar.xz 1847612 BLAKE2B f14e5e4c2b28b19b9e05a98e98c930dfacf3afaac3bd7e791d3de51ad276316506f370e35e73b1f6cefc14b1215da2a6a51d2cba5f94cbcf76233a3fa51fe23f SHA512 334b5db34987eb0c2e17c2570bda2fc45de8c445ba226137a9dbf768d1627175c3621a29408e9f31fb40c0aa1b3801f3e050bc6bfc81e87a43da9fcc64d9cdad
+DIST icedtea-bin-examples-3.9.0-ppc64le.tar.xz 1845088 BLAKE2B 95f98bf4d76241ebaa3966675a78f871b388de7aa5e3d672b804fcc010e7506c961ea8a0c46e4e3a966007198a95144aa7f1d1abb0fd3fe1da610e4f99ffe49b SHA512 4be2961f5b042d0edacc944243c3cdb66ebb71919247a38f3e992e792c3a5c85a72a8b0fa87d614b21b6f93e5e96062be145666e9b5e9ace7982ec2976d9ca31
+DIST icedtea-bin-examples-3.9.0-x86.tar.xz 1863192 BLAKE2B 5925a920a849518c1f6a6fb7fb97be3dd12902f4fc04a9102ce297e2f2ed19cae126e195f7c7652b39ac8f3d75ce14d6bb3e3d4faadf8fb99f3080c471d9657b SHA512 97dd39f86a5a3b33b55800628247ca285173ff3bc63890419a37064b99a853c8a44601ae7a638cd4bd686612d5d7105a6b048540aff6bb0bbebbb09073fe77ed
DIST icedtea-bin-src-3.7.0.tar.xz 45735652 BLAKE2B c972f209e42df27137da8c03bb8555ec5831d49915c7b139578ff5e60efce9a1dbf390682604302d21bbd91f8e41da5079106ca0b016e2211453c5067e3de172 SHA512 67377e2dba3226146f220d7b923ad2a693949241d0c40dfcbceb47f691a6ce4fdedb28cbab3f4f5976029021b918cec49a7e61b373385a4b0514e10761fd3254
DIST icedtea-bin-src-3.8.0.tar.xz 45741844 BLAKE2B b06e21b2d243a4be4e8328e7551285df9e71697b04b74a98a10293cbc8ee13bb570183e3c15511434e0b21a9052fbf945da8872c5db40fe28564794557f2d67e SHA512 527bbcec8d1c6a638e0861fb8041c94eda4d5d51ecc5a6ecaa615db155ba8cb1563e5009c4031c6b161328ff75654f2b46b09b08279260745288c5876336bd3e
+DIST icedtea-bin-src-3.9.0.tar.xz 45749212 BLAKE2B 2b66ddd1639e84c637775321648d24e6161c292f54af40d6ce1dbd07e9bbcbb177d5895548ea82a6168b35811d48807e58292533846091f13745f13408ee055e SHA512 05b4df389d84f7be144bc99c10cf544183db77b4a7c141826079edb445b5af333440a5bf0ac627133043e276334993969be22caca2db9edd6249560a4db031e2
diff --git a/dev-java/icedtea-bin/icedtea-bin-3.9.0.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.9.0.ebuild
new file mode 100644
index 000000000000..2dad6cc5ad65
--- /dev/null
+++ b/dev-java/icedtea-bin/icedtea-bin-3.9.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.9: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.26[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
+}