Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 499744 Details for
Bug 635070
dev-java/oracle-jdk-bin-1.8.0.152, dev-java/oracle-jre-bin-1.8.0.152: fails to install with USE=jce
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use unlimited jce distributed with jre (with correct symlinks)
jce-correctpaths.patch (text/plain), 2.85 KB, created by
Michael Uleysky
on 2017-10-23 09:12:07 UTC
(
hide
)
Description:
Use unlimited jce distributed with jre (with correct symlinks)
Filename:
MIME Type:
Creator:
Michael Uleysky
Created:
2017-10-23 09:12:07 UTC
Size:
2.85 KB
patch
obsolete
>diff --git a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.152.ebuild b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.152.ebuild >index 3e8dc35..997856e 100644 >--- a/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.152.ebuild >+++ b/dev-java/oracle-jre-bin/oracle-jre-bin-1.8.0.152.ebuild >@@ -7,7 +7,6 @@ inherit eutils java-vm-2 prefix versionator > > # This URIs need updating when bumping! > JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html" >-JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html" > > if [[ "$(get_version_component_range 4)" == 0 ]] ; then > S_PV="$(get_version_component_range 1-3)" >@@ -21,15 +20,11 @@ MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" > AT_amd64="jre-${MY_PV}-linux-x64.tar.gz" > AT_x86="jre-${MY_PV}-linux-i586.tar.gz" > >-JCE_DIR="UnlimitedJCEPolicyJDK8" >-JCE_FILE="jce_policy-8.zip" >- > DESCRIPTION="Oracle's Java SE Runtime Environment" > HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" > SRC_URI=" > amd64? ( ${AT_amd64} ) >- x86? ( ${AT_x86} ) >- jce? ( ${JCE_FILE} )" >+ x86? ( ${AT_x86} )" > > LICENSE="Oracle-BCLA-JavaSE" > SLOT="1.8" >@@ -78,8 +73,7 @@ RDEPEND="!x64-macos? ( > !prefix? ( sys-libs/glibc:* ) > selinux? ( sec-policy/selinux-java )" > >-DEPEND="app-arch/zip >- jce? ( app-arch/unzip )" >+DEPEND="app-arch/zip" > > S="${WORKDIR}/jre" > >@@ -91,12 +85,6 @@ pkg_nofetch() { > einfo "'${JRE_URI}'" > einfo "and move it to '${DISTDIR}'" > >- if use jce; then >- einfo "Also download '${JCE_FILE}' from:" >- einfo "'${JCE_URI}'" >- einfo "and move it to '${DISTDIR}'" >- fi >- > einfo > einfo "If the above mentioned urls do not point to the correct version anymore," > einfo "please download the files from Oracle's java download archive:" >@@ -116,10 +104,6 @@ src_unpack() { > } > > src_prepare() { >- if use jce ; then >- mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die >- fi >- > default > > # Remove the hook that calls Oracle's evil usage tracker. Not just >@@ -171,14 +155,14 @@ src_install() { > cp -pPR bin lib man "${ddest}" || die > > if use jce ; then >- dodir ${dest}/lib/security/strong-jce >- mv "${ddest}"/lib/security/US_export_policy.jar \ >- "${ddest}"/lib/security/strong-jce || die >- mv "${ddest}"/lib/security/local_policy.jar \ >- "${ddest}"/lib/security/strong-jce || die >- dosym "${dest}"/lib/security/${JCE_DIR}/US_export_policy.jar \ >+ dosym "${dest}"/lib/security/policy/unlimited/US_export_policy.jar \ >+ "${dest}"/lib/security/US_export_policy.jar >+ dosym "${dest}"/lib/security/policy/unlimited/local_policy.jar \ >+ "${dest}"/lib/security/local_policy.jar >+ else >+ dosym "${dest}"/lib/security/policy/limited/US_export_policy.jar \ > "${dest}"/lib/security/US_export_policy.jar >- dosym "${dest}"/lib/security/${JCE_DIR}/local_policy.jar \ >+ dosym "${dest}"/lib/security/policy/limited/local_policy.jar \ > "${dest}"/lib/security/local_policy.jar > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 635070
:
499742
| 499744