add old jdk

This commit is contained in:
Mario Fetka 2017-03-05 14:49:59 +01:00
parent 9ba970ae49
commit 2eac70a4b6
17 changed files with 2858 additions and 103 deletions

4
dev-java/jython/Manifest Normal file
View File

@ -0,0 +1,4 @@
AUX jython-2.2.1-build.patch 3285 SHA256 3078b381ac9a4ef0edf03b6c3253cbe436497b9f843aa45e43194e8b36f2d7e4 SHA512 e0936cd6fdca71f4df7c77959c343bcf74af496b048bbd2d285eb961700d0dd875c386d4efd85a61f89dcb67e55bfcff5f9e480e1e85bdfcbcd26aebefcb0397 WHIRLPOOL 2b3997555b38d3f5b8c7f75955a25eba66ef5a1a870a10e86ac6426e38bb9d28b0b3129437a13325290ea6bd943dc16cbd624b5cb6e4849ec8e756e58a8cc299
DIST Python-2.2.3.tgz 6709556 SHA256 a8f92e6b89d47359fff0d1fbfe47f104afc77fd1cd5143e7332758b7bc100188 SHA512 2e2c881f8819ed3d91b3e98e7087b23ced9715c80eb9e5fe4144cca5b82220e035d0f50ac4a098b3bbdca3c588f70b8021f68a5d52f653c013470579342943e4 WHIRLPOOL dbef6f9f0545f4f4ddf6e4535b67bb936a2ef596f17a1ff6acca89755729420588d845bc291eed0d19b433b3eff017166c7d68a1a352a5612b00da2f8f0c20d7
DIST jython_installer-2.2.1.jar 4663097 SHA256 586858aa16a8b269eaaec59f5b64031ec504d33da35cba98ebac811b0e838e68 SHA512 d33262dec95dbecfc007a738ed8d8cd4844c215e451b7ab126940f1157079aa846a104f3587ad84c4a009249632e3aaa3c83479ee8f47c30c4b4833bcdd582b3 WHIRLPOOL bae264f67547a975bf648b3de0cc2becb5d51e14b2ca1a977f7c3d45ec96bd3fd4fd99b0ff6912fb38d54d57656225c51c4b8a474c6ca8fe7fc16e12ab4bbec8
EBUILD jython-2.2.1-r1.ebuild 3769 SHA256 936d381297b273398a608fc879331f147f555ea19174ff12722003c4ec90cd9f SHA512 61d10d83cc2e56818d069ba3d0e0262cb21082b96fdb89e5704912fee4457048c8e390a6eaba55664bf15fe581321da517e7fe70260143cf62e3129a40eacf7f WHIRLPOOL 49705b431243688cac0558fcf87b7b492ceb4d90100d7ff80608b4faeb4d53801a8055bacb6b62f4ddfb5b82279eb9e1973d6ae1d9c21bb716d389add06688bd

View File

@ -0,0 +1,76 @@
--- build.xml.org 2008-02-26 22:35:07.000000000 +1300
+++ build.xml 2008-02-26 22:35:48.000000000 +1300
@@ -373,21 +373,13 @@
<!-- create checkout directory if necessary -->
<target name="prepare-checkout" if="do.checkout">
- <mkdir dir="${svn.checkout.dir}" />
+ <echo message="Removed by patch." />
</target>
<!-- checkout if so defined -->
<target name="checkout" depends="prepare" if="do.checkout">
- <svn javahl="${javahl.dir}" >
- <checkout url="https://jython.svn.sourceforge.net/svnroot/jython/${svn.main.dir}/jython" revision="${svn.revision}" destPath="${svn.checkout.dir}/jython" />
- <checkout url="https://jython.svn.sourceforge.net/svnroot/jython/${svn.main.dir}/installer" revision="${svn.revision}" destPath="${svn.checkout.dir}/installer" />
- </svn>
-
- <!-- checkout cpython license from the correct python maintenance branch -->
- <svn javahl="${javahl.dir}" >
- <checkout url="http://svn.python.org/projects/python/branches/release22-maint/" destPath="${svn.checkout.dir}/python" recurse="false" />
- </svn>
+ <echo message="removed by patch" />
</target>
@@ -551,28 +543,13 @@
<!-- build the .html files using the ht2html tool -->
- <target name="doc" depends="compile" if="full-build">
- <fail unless="ht2html.dir" message="ht2html.dir is not set" />
- <copy todir="${dist.dir}/Doc" preservelastmodified="true">
- <fileset dir="Doc" includes="*.ht, **/*.gif" />
- </copy>
- <!-- Create .html files in Doc -->
- <apply executable="${python.exe}" dir="Doc">
- <env key="PYTHONPATH" path="${jython.base.dir}/Misc/htgen" />
- <arg line="${ht2html.dir}/ht2html.py" />
- <arg line="-s JyLocalGenerator" />
- <fileset dir="${dist.dir}/Doc">
- <include name="*.ht" />
- </fileset>
- </apply>
- <delete>
- <fileset dir="${dist.dir}/Doc" includes="*.ht" />
- </delete>
+ <target name="doc" depends="compile">
+ <echo message="Functionality removed by gentoo patch" />
</target>
<!-- javadoc -->
- <target name="javadoc" depends="compile" if="full-build">
+ <target name="javadoc" depends="compile">
<javadoc sourcepath="${source.dir}"
destdir="${apidoc.dir}"
source="${jdk.source.version}"
@@ -588,7 +565,7 @@
<!-- copy for full distribution -->
- <target name="copy-full" if="full-build">
+ <target name="copy-full">
<!-- Misc files -->
<echo>copy misc files from ${jython.base.dir}</echo>
<copy todir="${dist.dir}" preservelastmodified="true">
@@ -599,7 +576,7 @@
<!-- copy the CPython license -->
<echo>copy CPython LICENSE from ${svn.checkout.dir}/python</echo>
- <copy file="${svn.checkout.dir}/python/LICENSE" tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
+ <copy file="${python.lib}/../LICENSE" tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
<!-- sources: todir has to correspond with installer/**/JarInstaller.java -->
<echo>copy sources from ${jython.base.dir}</echo>

View File

@ -0,0 +1,138 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.2.1-r1.ebuild,v 1.11 2012/04/13 18:47:54 ulm Exp $
EAPI=1
JAVA_PKG_IUSE="readline source doc servletapi mysql postgres examples oracle"
#jdnc
inherit base java-pkg-2 java-ant-2
DESCRIPTION="An implementation of Python written in Java"
HOMEPAGE="http://www.jython.org"
MY_PV="installer-2.2.1"
PYVER="2.2.3"
SRC_URI="http://www.python.org/ftp/python/${PYVER%_*}/Python-${PYVER}.tgz
mirror://sourceforge/${PN}/${PN}_${MY_PV}.jar"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
CDEPEND="=dev-java/jakarta-oro-2.0*
readline? ( >=dev-java/libreadline-java-0.8.0 )
mysql? ( >=dev-java/jdbc-mysql-3.1 )
postgres? ( dev-java/jdbc-postgresql )
oracle? ( dev-java/jdbc-oracle-bin:10.2 )
servletapi? ( java-virtuals/servlet-api:2.5 )
!<=dev-java/freemarker-2.3.10"
RDEPEND=">=virtual/jre-1.4
${CDEPEND}"
DEPEND=">=virtual/jdk-1.4
dev-java/javacc
${CDEPEND}"
S="${WORKDIR}"
#Tests currently very broken. Need to investigate whether that
#is jython's or gentoo's doing.
RESTRICT="test"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-build.patch"
rm -Rfv org || die "Unable to remove class files."
find . -iname '*.jar' | xargs rm -fv || die "Unable to remove bundled jars"
echo javacc.jar="$(java-pkg_getjars --build-only javacc)" > ant.properties
if use readline; then
echo "readline.jar=$(java-pkg_getjars libreadline-java)" >> \
ant.properties
fi
if use servletapi; then
echo "servlet.jar=$(java-pkg_getjar --virtual servlet-api-2.5 servlet-api.jar)" \
>> ant.properties
fi
if use mysql; then
echo "mysql.jar=$(java-pkg_getjar jdbc-mysql jdbc-mysql.jar)" \
>> ant.properties
fi
if use postgres; then
echo \
"postgresql.jar=$(java-pkg_getjar jdbc-postgresql jdbc-postgresql.jar)"\
>> ant.properties
fi
if use oracle; then
echo \
"oracle.jar=$(java-pkg-getjar jdbc-oracle-bin-10.2 ojdbc14.jar)" \
>> ant.properties
fi
}
src_compile() {
local antflags="-Dbase.path=src/java -Dsource.dir=src/java/src"
local pylib="Python-${PYVER}/Lib"
antflags="${antflags} -Dpython.lib=${pylib} -Dsvn.checkout.dir=."
LC_ALL=C eant ${antflags} developer-build $(use_doc javadoc)
}
src_test() {
local antflags="-Dbase.path=src/java -Dsource.dir=src/java/src"
antflags="${antflags} -Dpython.home=dist"
local pylib="Python-${PYVER}/Lib"
antflags="${antflags} -Dpython.lib=${pylib}"
eant ${antflags} bugtest
}
src_install() {
java-pkg_dojar "dist/${PN}.jar"
dodoc README.txt NEWS ACKNOWLEDGMENTS
use doc && dohtml -A .css .jpg .gif -r Doc/*
local java_args="-Dpython.home=/usr/share/jython"
java_args="${java_args} -Dpython.cachedir=\${HOME}/.jythoncachedir"
java-pkg_dolauncher jythonc \
--main "org.python.util.jython" \
--java_args "${java_args}" \
--pkg_args "${java_args} /usr/share/jython/tools/jythonc/jythonc.py"
java-pkg_dolauncher jython \
--main "org.python.util.jython" \
--pkg_args "${java_args}"
insinto /usr/share/${PN}
doins -r dist/Lib registry
insinto /usr/share/${PN}/tools
doins -r dist/Tools/*
use doc && java-pkg_dojavadoc dist/Doc/javadoc
use source && java-pkg_dosrc src
use examples && java-pkg_doexamples dist/Demo/*
}
pkg_postinst() {
if use readline; then
elog "To use readline you need to add the following to your registry"
elog
elog "python.console=org.python.util.ReadlineConsole"
elog "python.console.readlinelib=GnuReadline"
elog
elog "The global registry can be found in /usr/share/${PN}/registry"
elog "User registry in \$HOME/.jython"
elog "See http://www.jython.org/docs/registry.html for more information"
elog ""
fi
}

View File

@ -0,0 +1,19 @@
AUX oracle-jdk-bin-1.7.env 880 SHA256 dcc5117fdac4e0ecda89388ef86c575920ee1554df89e534e25972e503b2225f SHA512 67a63ad1769f9ef2a07345daa43b064501f297181a49ff19c194c8ada32a331e73904e5f6a11a9f30a5974ae7370fa251ad6de45bcf049cf02cdeb7d084f55eb WHIRLPOOL 3bab14a9af5c627b4e852b5f37025f4061159b24e333d55bf32c61678f2fa11e7ae85bc7bd3868711a35edb7bba9e6417e9b8b28bddaf9e84bafe31a1c9a53ea
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d SHA512 02eca7da8f3fffea388431d5352290535a63d53a1f5c795d6511ccba62445787a0ee6ad4bc1852e5262860b6d607ba2a8c6a3dbb0c3e1d7c3a67ac7bbc783204 WHIRLPOOL 02460c7ca54f5f62c3f349addf8e2a101f7a56987e9f62365fac3f703b0c93ac5de4d55697a3d04f78b547b072e0acc95a0720d2ce3b429d2fd5936d50edd1ac
DIST javafx_samples-2_2_80-linux.zip 21218149 SHA256 bd632d2c0f36be8bfc798ee6b78b328ff12d9b6ccea5e077dffc7a06f7933819 SHA512 00ec77bfbc7c9a9b1a61acb360b8278febd07bd16fc407a0b52ca0b694d35c79c0fb92d11caf131a8ee16238275962f6bc2e1f8471740ee0045b96bd14e957ba WHIRLPOOL b3f5032b1496b1bb8776e79566ed6a3da1dec3ab2b6d66d3cf67901bbaab5e746a1f3967af271c7b5a90b4522b6763ad7a5f172dfcf588184c5392a1a8a5a785
DIST jdk-7u80-linux-i586-demos.tar.gz 20827120 SHA256 27b7c4955d989c9c34a6eed9e08f1955e01546146ed6fb1223f04ef33d143900 SHA512 25fc9ff9ee993ccf8d4caf0701b1e8e5ffdc78c68b0e94a93eb49f3cbc54f739a1699090e675439df9b63338974f5b9a04f6e33df59f6193b42a87a9a437ff47 WHIRLPOOL 25d8ef0b3205ede51eb2ba306d98d7eac91e06d0ca13b771593f343ac27df1d085cfd65a98346c63e76498eb19c106302407615218a907c8f6ea2e743eae09bc
DIST jdk-7u80-linux-i586.tar.gz 154850445 SHA256 9ded1318a7223cf6e09ac4b6ee4db1f4c5d1aef1d3d291f6db8491a32eaa57ba SHA512 69e2ee7964b18e9e8b57db917b303eb9ea629c432300fe4749177118d2f5c365e72b976649e21354643fe4957120a2b23de025bab4dc45977837d4847a61ffb6 WHIRLPOOL 2d549c7971935f79e536de8bb0a5fc2547a8bdf039d1617a73fbc0ae222a80422fb336105c3362521efb376aa2ea6fa8c3a0521044785bfc9dc061ebe694628c
DIST jdk-7u80-linux-x64-demos.tar.gz 20882163 SHA256 09c55d37508ff6c4b9ebac34e8d5fb65d7ace5cf45d5074726b413e8aa30dfa1 SHA512 2c24799ca0f14d74053e504cee0a9160472fd7e26e1d86d4eb72b190ec934b041bd72b5ce77f44bdca4b7fe8d8104515572491145f2f14e6d295be0bb010b2ef WHIRLPOOL e9f0312261049a5610ffbc64417f41025f36fc0ffec0f40dbcdfd391a3152f1c05ef80d584671d46fe26f86846825ea66e91090159e79a5192f11c695396e8ef
DIST jdk-7u80-linux-x64.tar.gz 153530841 SHA256 bad9a731639655118740bee119139c1ed019737ec802a630dd7ad7aab4309623 SHA512 a772878f740e87835bafc82841e8f4c1dfbe8bc79e072d3f6c5c74d3a206eb9001a53b474d91a22819c7c0d6407ed88993635c39738779c2b08c22c7a1c2e9e9 WHIRLPOOL fac71585db57851245891919daca1f043c1a8c002c193426ea7e30b482129e65adee336c2421e4aa1241b8fd7cc69b8a1918cd0c44315bf4aec715e86d116384
DIST jdk-7u80-macosx-x64.dmg 206510745 SHA256 2b9deef240a7f07d08541da01bbd60cbf93bf713efd5997e586ba23ec4f5089e SHA512 99150dd7bcc0ceddb12c7690b341323bb49fd0a8b98680176ba964ebbd37fe3e2fd1febad64b376a9fbbb19d883f5800613a8dc6c644de5f36cd7aeacb4d6e3a WHIRLPOOL 41ccabd45b6b8bdd43ca308fdbe3b1c3e89b58aa80336b2810c5bc4b57adc14cd98914467dac582eccd69e03bb911dd5f7d6c30d4ee5a8be2d7eb05607e12035
DIST jdk-7u80-macosx-x86_64-demos.tar.gz 19394289 SHA256 27b3f9f12e8e6b56b6f42cbe2ba0e04cb3521c487162ef4de366ba6bb6c60735 SHA512 1dea5c171ffa93a1f111c59b2138f983307bdc4ec0e98ab848dfc040af5a39d8a1ff85fdc3997eeb190499a28565da18284610605a346977c173267a98edbc54 WHIRLPOOL 79f2410802cf476dd5fa6817bfa0538fdf1bc4158d32c1ccd9748b81c7640ff0d6ea92e3bb25e8d29fc7687ef6163b1cf386f852fb2e5960a3f77fa6e392bc73
DIST jdk-7u80-solaris-i586-demos.tar.gz 16855430 SHA256 27b4aa795a9e57436d4b3aa11ea00bcf34442a95921e50a086ebdce94cb5f19a SHA512 9af21b132609cdb237bc63e4e739e81589f90445f116434ae7cad744fadefb38790d78fde7ff4d13689d275fe5a814c283f280d0485f0ec85147376672040de6 WHIRLPOOL e7ee65da144034781c84f07073ff23ee57561f838c85c7e7b24cb3b1b8d0e6f0393666383ac4473cd7d05d75e98406ec6484b447a17192c8a65eb6281622839f
DIST jdk-7u80-solaris-i586.tar.gz 101088226 SHA256 c29d5f70359201c85ff23a103d71b768100ab23d1417433867ab418bdd46cc39 SHA512 16219609a356339a8575880f44b9eefe4459681202ff0925740f921a7239ebf5fe718c2607cbbebe790d8afc0ace25583c9b3ad67257d0a48cb32032072b2b3f WHIRLPOOL 50e09a1318d3e4a2262fbccd54946f86549314878f019d46efed350d31e9fc35df549b5ed6a305c63e61eace0f360e88bcaa21795abd6a93518be72e70f42bf6
DIST jdk-7u80-solaris-sparc-demos.tar.gz 16881622 SHA256 e71933842bbc3ebb36b0b529c583bbff175a4ba88118d4460acb49cd6d615852 SHA512 843b139e793744b8e6d3370a7a036e7c16604a7d8310da363594460ebf72f912373392a9046b3d2ef51b5e275affda6b7f87e3b9e1e9ef096763b0b2e59b6f48 WHIRLPOOL 84bb9d1f3fc410fa15b5c1d6e8e179cd80cfa35d73c118d33c5d477cfa12cf29906a36499b8dc8f1a6b221cf4df9144c0dfb878acd1902ab7b63efa340214985
DIST jdk-7u80-solaris-sparc.tar.gz 104306569 SHA256 1bbab4305af963dc6d964fbc3083aa132f71a30ba285f50f0c2b6894f7403d25 SHA512 1c19cc5cb90cd8b64adab70707a6c47f78fdbdc4a8e33b9523f94e7a0cee66746cc061a6c640da4dd9751adbfaa14f09fc2e7ca950317bb3b17c2829a4102342 WHIRLPOOL 4bd0ccd7d284e17a3517318ef803cf69e1555186bc65d3d7c6a2ee79d173fdd6a7fb16568fefed5841f10cecb83c85c9f3d0c3cee1448d838641294de7005713
DIST jdk-7u80-solaris-sparcv9-demos.tar.gz 904770 SHA256 fa3a92e70e52b0bffdee8d2e640587d308cacb0390a5c9dd33c80f1f5a039df1 SHA512 2c7754f9a8fc0440e3174c90c4eb79f94827b6337331e55da6fd19dddee8d70cfa979e65df0459ad9c21e858b4bbcb7d3906d18b6153785ce0128837ffd0d161 WHIRLPOOL 76ef02524bcb4c90b51f78413c366ea37f99bcde88e049402f5fb05303911c473b7acb4c18ccc667b9c61584e8af3b6dbb193fd8ff2f80858720446d3474248b
DIST jdk-7u80-solaris-sparcv9.tar.gz 19301205 SHA256 1a2bce541efe7b81cafe683626b3edea56918a8ca897ff36a2deaed00a7fce05 SHA512 93ea0e8f5ae611dd1a620dffd72e315ecb6ce8375bd902a793fab128ac7e95d2cb338df1c273a2c29af6194e7cbdb810d79193b413b4b101538c08ebeef1eb41 WHIRLPOOL c9ae1f1b561c4ec1d3c1a7f5008e80642b49a9fd1c6459f8ada65c01accc338280bdd683712d54a9b7741eeccf856b4f2ee82e898fbe1f39260d58efab217185
DIST jdk-7u80-solaris-x64-demos.tar.gz 865205 SHA256 a08dd0665d35986675beeba0f80d5db54a91fb276d8641ce1ba16ba873a18682 SHA512 c53f026bfdfed8d83d42e3fce497baffeb370adf0423be2f891f6d200510088ac8227ae4f261ece059dbf29eb33cacafb20a0c328e7d8723387eba38def389d0 WHIRLPOOL 0539e964e194527055186b120df11e74ab3d9568fc2a5ff002ef405396f521a7c35013420067d37874b9602fe29d104dce63f22bfd687c45722689d62a8c552d
DIST jdk-7u80-solaris-x64.tar.gz 17176587 SHA256 ccc156363e3080e92382cd675d96889460a4421464b4567333394c8405eeb709 SHA512 83ce229c3a38e454d9acafa189b3b6f247a4723ddb3c3fa08993323590949295b0f3740ab235c7c539f90a684b8cefad7839f82f566b7a141019b94af6cbad89 WHIRLPOOL 07412c6de5886c729b43726fb228783606b2a53c2a286b1af2dd5359975d1c75964a895d7da543f98c461adf0ab4b82fc32ebeb49e1835448effd93886f1b206
EBUILD oracle-jdk-bin-1.7.0.80.ebuild 10449 SHA256 f6675e24d83354ab92948106907a5648c36767cea5bceadde0842e8d28d7ab1d SHA512 672eeb6235a68b9c8813417695598b8c3be3f3742ea2c1a4a517067ff4999ff4ae97ed86cd016f53edbd09f6ee4f6e9ec5b1b71f588568944e2bb87794d28d14 WHIRLPOOL eec86b015c4447c0866fd13146597d540b268827aef132d5ea89814184f52c6186955c586f8f84b74af27e27770b36d1c61968433404a67f82f2695e735f7aa3
MISC metadata.xml 653 SHA256 d8751066c5e22456dee1849fad9bf32235e4024f74868d24d5594a26f3db78b6 SHA512 e4782bcff1ea2456d6d31e1f1831cdcf5e3a3f548aafd9fc07e874c499c3325129d9cc6c2d71c343035b46e125c22346f56d4ddb3774bc46ce8efbd2cbce7b53 WHIRLPOOL c0c20c4addcee87e80167ff979a819b4655907df3145bd850a57c1b0cf54ae08d80be9d341bd11f9f924d5b912eb7e4c24fb733eb359632206d7c0f3bed4bb0b

View File

@ -0,0 +1,17 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
VERSION="Oracle JDK @PV@"
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
JAVAC=${JAVA_HOME}/bin/javac
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
PROVIDES_TYPE="JDK JRE"
PROVIDES_VERSION="1.7"
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar:${JAVA_HOME}/jre/classes"
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>Oracle Java SE Development Kit, Official Binary Distribution</longdescription>
<use>
<flag name="derby">Install bundled Derby (Java database)</flag>
<flag name="jce">Install Java Cryptographic Extension Unlimited Strength Jurisdiction Policy Files</flag>
<flag name="pax_kernel">PAX Kernel</flag>
<flag name="source">Install JVM (and optionally JavaFX) sources</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,307 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils java-vm-2 prefix versionator
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
# This URIs need to be updated when bumping!
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html#jdk-${MY_PV}-oth-JPR"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
# This is a list of archs supported by this update.
# Currently arm comes and goes.
AT_AVAILABLE=( amd64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris x86-macos x64-macos )
# Sometimes some or all of the demos are missing, this is to not have to rewrite half
# the ebuild when it happens.
DEMOS_AVAILABLE=( amd64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris x86-macos x64-macos )
FX_VERSION="2_2_$(get_version_component_range 4)"
AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
AT_arm="jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz"
AT_x86_solaris="jdk-${MY_PV}-solaris-i586.tar.gz"
AT_x64_solaris="${AT_x86_solaris} jdk-${MY_PV}-solaris-x64.tar.gz"
AT_sparc_solaris="jdk-${MY_PV}-solaris-sparc.tar.gz"
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
AT_x86_macos="jdk-${MY_PV}-macosx-x64.dmg"
AT_x64_macos="jdk-${MY_PV}-macosx-x64.dmg"
FXDEMOS_linux="javafx_samples-${FX_VERSION}-linux.zip"
DEMOS_x86="${FXDEMOS_linux} jdk-${MY_PV}-linux-i586-demos.tar.gz"
DEMOS_amd64="${FXDEMOS_linux} jdk-${MY_PV}-linux-x64-demos.tar.gz"
DEMOS_arm="${FXDEMOS_linux} jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz"
DEMOS_x86_solaris="jdk-${MY_PV}-solaris-i586-demos.tar.gz"
DEMOS_x64_solaris="${DEMOS_x86_solaris} jdk-${MY_PV}-solaris-x64-demos.tar.gz"
DEMOS_sparc_solaris="jdk-${MY_PV}-solaris-sparc-demos.tar.gz"
DEMOS_sparc64_solaris="${DEMOS_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
DEMOS_x86_macos="jdk-${MY_PV}-macosx-x86_64-demos.tar.gz"
DEMOS_x64_macos="jdk-${MY_PV}-macosx-x86_64-demos.tar.gz"
JCE_DIR="UnlimitedJCEPolicy"
JCE_FILE="${JCE_DIR}JDK7.zip"
DESCRIPTION="Oracle's Java SE Development Kit"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
for d in "${AT_AVAILABLE[@]}"; do
SRC_URI+=" ${d}? ("
SRC_URI+=" $(eval "echo \${$(echo AT_${d/-/_})}")"
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
fi
SRC_URI+=" )"
done
unset d
SRC_URI+=" jce? ( ${JCE_FILE} )"
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
SLOT="1.7"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X alsa aqua derby doc examples +fontconfig jce nsplugin pax_kernel selinux source"
RESTRICT="fetch strip"
QA_PREBUILT="*"
COMMON_DEP=""
RDEPEND="${COMMON_DEP}
X? ( !aqua? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
) )
alsa? ( media-libs/alsa-lib )
doc? ( dev-java/java-sdk-docs:1.7 )
fontconfig? ( media-libs/fontconfig )
!prefix? ( sys-libs/glibc )
selinux? ( sec-policy/selinux-java )"
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
# marking. #427642
DEPEND="${COMMON_DEP}
jce? ( app-arch/unzip )
examples? ( kernel_linux? ( app-arch/unzip ) )
pax_kernel? ( sys-apps/paxctl )"
S="${WORKDIR}"/jdk${S_PV}
check_tarballs_available() {
local uri=$1; shift
local dl= unavailable=
for dl in "${@}"; do
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
done
if [[ -n "${unavailable}" ]]; then
if [[ -z ${_check_tarballs_available_once} ]]; then
einfo
einfo "Oracle requires you to download the needed files manually after"
einfo "accepting their license through a javascript capable web browser."
einfo
_check_tarballs_available_once=1
fi
einfo "Download the following files:"
for dl in ${unavailable}; do
einfo " ${dl}"
done
einfo "at '${uri}'"
einfo "and move them to '${DISTDIR}'"
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:"
einfo
einfo " http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-${MY_PV}-oth-JPR"
einfo
fi
}
pkg_nofetch() {
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
fi
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
}
src_unpack() {
# Special case for ARM soft VS hard float.
if use arm ; then
if [[ ${CHOST} == *-hardfloat-* ]] ; then
unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz
else
unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
fi
use examples && unpack javafx_samples-${FX_VERSION}-linux.zip
use jce && unpack ${JCE_FILE}
elif use x86-macos || use x64-macos ; then
pushd "${T}" > /dev/null
mkdir dmgmount
hdiutil attach "${DISTDIR}"/jdk-${MY_PV}-macosx-x64.dmg \
-mountpoint "${T}"/dmgmount
xar -xf dmgmount/JDK\ $(get_version_component_range 2)\ Update\ $(get_version_component_range 4).pkg
hdiutil detach "${T}"/dmgmount
zcat jdk1${MY_PV/u/0}.pkg/Payload | cpio -idv
mv Contents/Home "${S}"
popd > /dev/null
else
default
fi
}
src_prepare() {
if use jce; then
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
fi
}
src_install() {
local dest="/opt/${P}"
local ddest="${ED}${dest}"
# Create files used as storage for system preferences.
mkdir jre/.systemPrefs || die
touch jre/.systemPrefs/.system.lock || die
touch jre/.systemPrefs/.systemRootModFile || die
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
{,jre/}lib/i386/libjavaplugin_nscp*.so
rm -vrf jre/plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodoc COPYRIGHT
dohtml README.html
dodir "${dest}"
cp -pPR bin include jre lib man "${ddest}" || die
if use derby; then
cp -pPR db "${ddest}" || die
fi
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
cp -pPR demo sample "${ddest}" || die
if use kernel_linux; then
cp -pPR "${WORKDIR}"/javafx-samples-${FX_VERSION//_/.} \
"${ddest}"/javafx-samples || die
fi
fi
if use jce; then
dodir "${dest}"/jre/lib/security/strong-jce
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
"${ddest}"/jre/lib/security/strong-jce || die
mv "${ddest}"/jre/lib/security/local_policy.jar \
"${ddest}"/jre/lib/security/strong-jce || die
dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
"${dest}"/jre/lib/security/US_export_policy.jar
dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \
"${dest}"/jre/lib/security/local_policy.jar
fi
if use nsplugin; then
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
fi
if use source; then
cp -p src.zip "${ddest}" || die
fi
if use !arm && use !x86-macos && use !x64-macos ; then
# Install desktop file for the Java Control Panel.
# Using ${PN}-${SLOT} to prevent file collision with jre and or
# other slots. make_desktop_entry can't be used as ${P} would
# end up in filename.
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
sun-jcontrol-${PN}-${SLOT}.png || die
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
-e "s#Application;##" \
-e "/Encoding/d" \
jre/lib/desktop/applications/sun_java.desktop \
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
fi
# Prune all fontconfig files so libfontconfig will be used and only install
# a Gentoo specific one if fontconfig is disabled.
# http://docs.oracle.com/javase/7/docs/technotes/guides/intl/fontconfig.html
rm "${ddest}"/jre/lib/fontconfig.*
if ! use fontconfig; then
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto "${dest}"/jre/lib/
doins "${T}"/fontconfig.properties
fi
# This needs to be done before CDS - #215225
java-vm_set-pax-markings "${ddest}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"
case ${ARCH} in
arm|ia64)
${ddest}/bin/java -client -Xshare:dump || die
;;
x86)
${ddest}/bin/java -client -Xshare:dump || die
# limit heap size for large memory on x86 #467518
# this is a workaround and shouldn't be needed.
${ddest}/bin/java -server -Xms64m -Xmx64m -Xshare:dump || die
;;
*)
${ddest}/bin/java -server -Xshare:dump || die
;;
esac
# Remove empty dirs we might have copied
find "${D}" -type d -empty -exec rmdir -v {} + || die
if use x86-macos || use x64-macos ; then
# fix misc install_name issues
pushd "${ddest}"/jre/lib > /dev/null || die
local lib needed nlib npath
for lib in \
libJObjC libdecora-sse libglass libjavafx-{font,iio} \
libjfxmedia libjfxwebkit libprism-es2 ;
do
lib=${lib}.dylib
einfo "Fixing self-reference of ${lib}"
install_name_tool \
-id "${EPREFIX}${dest}/jre/lib/${lib}" \
"${lib}"
done
popd > /dev/null
for nlib in jdk1{5,6} ; do
install_name_tool -change \
/usr/lib/libgcc_s_ppc64.1.dylib \
/usr/lib/libSystem.B.dylib \
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
install_name_tool -id \
"${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \
"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
done
fi
set_java_env
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}

1809
dev-java/sun-jdk/ChangeLog Normal file

File diff suppressed because it is too large Load Diff

20
dev-java/sun-jdk/Manifest Normal file
View File

@ -0,0 +1,20 @@
AUX fontconfig.Gentoo.properties-r1 11196 SHA256 9372ca516ff36609d846a9cb446dde3212e976c10166d8e231312d6238d1db0c SHA512 1802e52383a04efd0d7fb4d6a3903f99128dce90afcb10b9dd0d3515e5feafb807449024dbe5742c7dfa9d43736e474412e1a289e06b29cf3a58e59deedd56f9 WHIRLPOOL f4c5364255f8da18bf61501d6fac10972216182e891cadd90e2cccd27917caaeeb29cf3691e865ce02937904efb30716fd8de2fca875929ff89b06ada2cff0b6
AUX sun-jdk-1.6.env-r1 1015 SHA256 31302b5ed417a294ecc9c475a08aca331a07c59d2c095978a574a7347aa12f6a SHA512 958c7d0ef04f30b07e8ee1ec36c3637ae2d2abc0d9f6da08b75b9bf81845caf1a7ac8e805e04ad39625cea4e8397174739cc72c33c13c57a8aa0886df3e95d3d WHIRLPOOL dbb7cbc7cc44c32011703ea9f9413a8798d922cc69f3ab67fb8af55a6914cacfad2b91a48f6a58428f1b71301f8287db07759d4d64ffaeb9c639b9a4a6debbcd
DIST jce_policy-6.zip 9101 SHA256 d0c2258c3364120b4dbf7dd1655c967eee7057ac6ae6334b5ea8ceb8bafb9262 SHA512 a1aa55f2ad919efcf63452aaa96303328b7449626efb342a7f8d9e7a4fe9c06ce22ce33fb89e768602b172b7d9538c432e82523addb0bbd4d1be22f934576b56 WHIRLPOOL 144a4891ca3f5f88f72c1a13283823845bd7e46b5fe941b4c192705e20e9fcbbf27819ee926577218dd3b222e41f7ee149cab6f9eea5a46febebea00ad2ed3bc
DIST jdk-6u45-linux-i586-demos.tar.gz 12073459 SHA256 1e748de12946f8ec9b83ed8caa4cfda9a7ebbc52d62f39fcdba27f7f6bcf7d46 SHA512 c19260a669d8b31879421e0eef08f4ec2bb37bae085f656e5e627f405b346a2be2e76aa10f61381fa08244736f1b7d0b49af44c5d6cfff65ed2cefe44ad8d441 WHIRLPOOL 15949ff291fc20b27032e6363a0ebacf8a532fe536f06e29c1f6e8b45cf3a4fcfe5fa47961d2c0ed0fb112e8e84f124067b8002758793682b13dece816d6c7d4
DIST jdk-6u45-linux-i586.bin 71799552 SHA256 d53b5a2518d80e1d95565f0adda54eee229dc5f4a1d1a3c2f7bf5045b168a357 SHA512 9539da9779c0a74165da24bd5730b8b7e58f4b8a38841de04919af8a957fa83f32367fdcb393d4ac756feccaf0cf014ebf2f74180f9301d22944fa30dfb87777 WHIRLPOOL 47a88a246ac06fc1275e16d6dac6c859ffa4598ce6940f2910d6be616c88475dbd0638654cdba82bdb3a29e9f2f0a80267c127f51392c3400392ffa168cf4631
DIST jdk-6u45-linux-ia64-demos.tar.gz 6858761 SHA256 4d2ad7d92d7966a009b2006002d80960aac803e7cafe9d0a8bd8976c258a99ec SHA512 82b4e65ca455dcc2d916bd92c6b0d9c9333db7379882610ece3f1d99d35aa7792dc6e4236d74340175c5ec8c02db6d512406ea837d5e0f738dd6211d730e7e03 WHIRLPOOL 9c1cbff1cbf881b502f4a8f8374cae3f3ead0c936b7347fd67b60904957716f5ff457f2bd4e32e81959b54dae18fe4907ab0f8ab5c544bf249148769d2c4c85e
DIST jdk-6u45-linux-ia64.bin 58719923 SHA256 6979b4e2e6dd11310760d13e8fea040e1be1419b0fac2fd44f1bf7173ce4fee6 SHA512 8acb10bb6335f267ae4b53d08167cebad41bc6a34300305e46a31d13b492fb9e4c3e4c28f0989b1412de3745f54db5d8c730eb76aaf6d1712ed31a2d3268d1cb WHIRLPOOL 50166f80eaafd64d39945d62b4c905cc7cf686e0f210d0a0a0807c100245139c9f136220875821ede9611376b3e8453247908cf4ae00a35d0cbde3caa03b9b44
DIST jdk-6u45-linux-x64-demos.tar.gz 12104609 SHA256 abc7d2e3fd16f788675403f26af17ae29325002e1ef45ddfa69e8a4bb7964838 SHA512 ecfa8f911c8a73bd00edb82ea5668a589106667fa0a67875ab1a0bbe406574ec804007f7f622b4cc391d7b5a06d2b0d137c3b61a7891a74f0a85a42df463f63b WHIRLPOOL 969b385e3275bfbccfa41885b9ef1c8a2d26b2a292c2187efb0d1218aa744da1e56083f29b30a38a1d36dbbea241621654a73df391b502e557bd6e61e40186ef
DIST jdk-6u45-linux-x64.bin 72087592 SHA256 6b493aeab16c940cae9e3d07ad2a5c5684fb49cf06c5d44c400c7993db0d12e8 SHA512 bf2fcb8696b9e43af80d9114fd984d86317422e8c65dd464a7abff4017a5c4c0d8ebdbd8418270fc8c6c52c2b97498f02742440ed4f8394b3612d2e2186c30d8 WHIRLPOOL 1c9861e66e3e8f45f7f4284e09e87ee4fd1347687010b8ecc87666b9df070d33921ffd60f727e6630caac4db2b50ae6a3f432987062469daa06130c7b4e62f15
DIST jdk-6u45-solaris-i586-demos.tar.Z 17934236 SHA256 f23e90da3ccdb964a0b646e2b09cbc442f59f6c5448555f41a7b75b0a25f0022 SHA512 8cd84c860a807de7bb8f73edb403357d307e0f62a37c8fc4721e1645d8088350fd29570eff5bcbe1abbc6114b59f44b4a98624d4e94c905b930e3e9c84aafd60 WHIRLPOOL 3abd2623865c11cfcb7960a8e932258ec32277e80e3178ddf343c8b05c6dee8718d8b7c3327dde26c15eec28d650dcd350be06fff067b88016515abc8e5cccd8
DIST jdk-6u45-solaris-i586.sh 71704137 SHA256 e62c6e0305b1b69f37a5dab1f2f9369da3749e8f95f106ba96f88bc3232b288b SHA512 f38ee02fd782305e0eec4f9267772bf0b8f145b3e1fda6b8b35a09e4b154c0cb0cb159f1c51d2ee1d1f1dbba1ca0736fcbd50cf5f42ae9dccc58f8cde9f7a038 WHIRLPOOL e76d32e2c85496c6a596edf16ebf3941a05ec65d5f9c758658c7ed983c7ab1245d589a0f2358a57b939ce75fe1bd7d41fb8dbb3ce47552403a2793443912651c
DIST jdk-6u45-solaris-sparc-demos.tar.Z 17931861 SHA256 719c8662c2bd6ed2b894a5b03096d50a1d8d9dfec54e8a85a12d0298b342b909 SHA512 0d7ab33234319b6e4e6cf2d50496ad57ee15a066ebe97afed7684e47cc907f9bd97ef28c7c7d3c78cc4bc9cef3580221dccd5bd4b0d9706dd15fd6339c1f3ad1 WHIRLPOOL 0a02654bd32f8c850e91a0d6abfc9ff83a7b2bf6c866d292253bcda06de70e7bbcfffbfa712bc8d3a15c70f8012e2c7936c30149b805703b9115114d072dbe35
DIST jdk-6u45-solaris-sparc.sh 76971070 SHA256 3be55a2491ee332d3beb4653893d699075dab73407b88290304248d81c49d9d9 SHA512 6fff0a4ebb6deb3bbf16367c39e84bb7f88a4f7be6d39d879e7c987eeb0ff7148b6a1f814ec86764f2e4bc74ecbfa429d984c6510e391f1465cffd57c74ac089 WHIRLPOOL 171ae21157ba82e517a5ab7e3957044a0ff914f742e66e6ec13f8fe3cac786dd3bb511f2adab88cc83a2a5747d36cdd320e646e6d50710b75a90bd68b17bcf63
DIST jdk-6u45-solaris-sparcv9-demos.tar.Z 66473 SHA256 7c4d9b616b802321449d91a2ca8a7d5fe601454be6d88fe0d2321366e3e89975 SHA512 72628ccd35def302d35a44ceb98e68b865fd0edbcb4bfc58f80fa7e7834461280312777ee173f7041b7d0a9469705421ae85a76dc7db36f9ab25bf61c768858a WHIRLPOOL ad706edd9ba0baee5fb1c448330b468b66bb82de178eaae6881ce7fceda7f0b1d028abd5d65e514e17cf514cb1d6daeb714173c3af41046d2142ebff73670336
DIST jdk-6u45-solaris-sparcv9.sh 12785214 SHA256 2d0e5163effbac3e3eae1bbf0767f56f590a3e71fc74f63dd0ff5f9386384254 SHA512 24cd70c7133d4858e2c124f907f0731c01cbd9f4f599a24f044a4a351767002404cd269be15d6fbbc6888342cd36b2fa2a84c18b0e1aebe9d7974f4d6cbc374a WHIRLPOOL c851b49f5d65a59adc62e8f17ee5d2b8f51999377c4b245d713e3b2a00c49c64187a7bbadf19fd0e74f91ec003ab79475867f2f2b23e9ca5cd8d4254a4a9ea32
DIST jdk-6u45-solaris-x64-demos.tar.Z 71857 SHA256 86ce6dfad3d4f596dfd40ab432139817062f61c6d800bd2d7dab76e22d2649e7 SHA512 14e0637ec2f0d536e41011996192150848a5311ac5bbae44c2b5e0e9bbdfe0a829e57a7a0a3912cf6fffe9fb26d9360206193957fdd5c0959e81b254a02c0667 WHIRLPOOL d26ed5891fbb5c4dbca0a95de0db683afc633afd0d56dab4c86c85348f763c3da49cf4c57c2ae12f32c77d9b4c7e46b1c5048c096800c1a0149b61e1af32eeaf
DIST jdk-6u45-solaris-x64.sh 8907780 SHA256 b3f50fc921c07dee97781e322954021ebb10785ac4e8f4a4536dab239860c09e SHA512 cc262d3ef9c070ed7f1eab9141e9f509f16e6fb97534dd3ca48a65dad83124cf745894a3f73c270a0618220d1a541833f08970250bb697f584cf4d1e497d9e1f WHIRLPOOL f75c984d092bd93ae1213a83cc79604e65df118fba77f413979a5d34337cba52b0dedd72559a740911908475d6971fbe5198eabc6878bb20838dd8f3bc12a33d
EBUILD sun-jdk-1.6.0.45.ebuild 8196 SHA256 857fc141beea6271b0e5d95f8dd65426e57408a9c570b23d9c143981ab9afb7c SHA512 888d03cdd1328cb247902c01c3901001d2e140ce9a42f88e1ababa9dfbe1a4c9cea310a6bb306fdcae3b56742d379e130e16c84298b1af77fd8dcabcf03010d3 WHIRLPOOL 69783a8d68cf24dd0c18dee9f224d34f1d5f11059edf3e2f036af4a47a5e6f811e8a13691ab1a4f213a61d5752eaa2404bb964d55aa462509a80544ac771e20b
MISC ChangeLog 65115 SHA256 5c3c7da396420dfff136456619ae03851570e8ee2491340ca59357ed46d31dff SHA512 78d691e6432d27f9b348d13edadbcaa6ba9a2aaec485d1ed4c7af1be94b241b2811943fd222559cf7e52ccf859e54c671f1cf44374010a0fa85f66fe6d802e2c WHIRLPOOL 092c3b9917db592b77cc7dce0e7d980ff4075caf5081d472c02f6c85914c78f3564adac5307855513eb7ab9752eb071de16fe33cc6622563c7b0245be1b22513
MISC metadata.xml 501 SHA256 08a1a9de353c1d04f91b559372baa885fba76dc04654d2543f6c723e013b12c4 SHA512 06b541c8c2e66e1237edc1b3885416aa6ab4531b9fa3f90e258718fd654837d019fa48bcd5a1220597f2fe8a2dac5c9d48d68a2076c04e423eeaaea0638fe420 WHIRLPOOL 361a32717dee2310fb2d07522428ae6fab422a34e2e97fa1fdfb8c20210946c1611a28029de663dbc39825fcc409839a2fd3a4adb977a12c1606d54b6026ca8b

View File

@ -0,0 +1,161 @@
# Version
version=1
# Component Font Mappings
allfonts.chinese-gb18030=-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1
allfonts.chinese-gb18030.motif=-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0
allfonts.chinese-big5=-arphic technology co.-ar pl mingti2l big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1
allfonts.chinese-big5.motif=-taipei-fixed-medium-r-normal--*-%d-*-*-c-*-big5-0
allfonts.lucida=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
serif.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.plain.latin-1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.plain.latin-1.motif=-b&h-luxi serif-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.bold.latin-1=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.latin-1.motif=-b&h-luxi serif-bold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.italic.latin-1=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.latin-1.motif=-b&h-luxi serif-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
serif.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
serif.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
serif.bolditalic.latin-1=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.latin-1.motif=-b&h-luxi serif-bold-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
sansserif.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
sansserif.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
sansserif.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
sansserif.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
monospaced.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
monospaced.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
monospaced.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
monospaced.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
monospaced.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
dialog.plain.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.plain.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.plain.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.plain.latin-1.motif=-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1
dialog.bold.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.bold.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bold.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.bold.latin-1=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bold.latin-1.motif=-b&h-luxi sans-bold-r-normal--*-%d-*-*-p-*-iso8859-1
dialog.italic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.italic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.italic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.italic.latin-1=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.italic.latin-1.motif=-b&h-luxi sans-medium-i-normal--*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.japanese-x0208=-misc-kochi gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialog.bolditalic.korean=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialog.bolditalic.korean.motif=-misc-baekmuk gulim-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialog.bolditalic.latin-1=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.latin-1.motif=-b&h-luxi sans-bold-i-normal--*-%d-*-*-p-*-iso8859-1
dialoginput.plain.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.plain.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.plain.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.plain.latin-1=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.plain.latin-1.motif=-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.bold.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.bold.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bold.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.bold.latin-1=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bold.latin-1.motif=-b&h-luxi mono-bold-r-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.italic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.italic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.italic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.italic.latin-1=-b&h-lucidatypewriter-medium-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.italic.latin-1.motif=-b&h-luxi mono-medium-i-normal--*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.japanese-x0208=-misc-kochi mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
dialoginput.bolditalic.korean=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1
dialoginput.bolditalic.korean.motif=-misc-baekmuk batang-medium-r-normal--*-%d-*-*-c-*-ksc5601.1987-0
dialoginput.bolditalic.latin-1=-b&h-lucidatypewriter-bold-i-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.bolditalic.latin-1.motif=-b&h-luxi mono-bold-i-normal--*-%d-*-*-m-*-iso8859-1
# Search Sequences
sequence.allfonts=latin-1
sequence.allfonts.Big5=latin-1,chinese-big5
sequence.allfonts.GB2312=latin-1,chinese-gb18030
sequence.allfonts.x-euc-jp-linux=latin-1,japanese-x0208
sequence.allfonts.EUC-KR=latin-1,korean
sequence.allfonts.GB18030=latin-1,chinese-gb18030
sequence.fallback=lucida,chinese-big5,chinese-gb18030,japanese-x0208,korean
# Exclusion Ranges
exclusion.japanese-x0208=0390-03d6,2200-22ef,2701-27be
# Font File Names
filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts/bsmi00lp.ttf
filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/batang.ttf
filename.-misc-baekmuk_gulim-medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts/gulim.ttf
filename.-misc-kochi_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
filename.-misc-kochi_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
filename.-misc-ming for iso10646 -medium-r-normal--*-%d-*-*-c-*-iso10646-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/hkscs-ming/min_uni.ttf
# AWT X11 font paths
awtfontpath.latin-1=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/Type1
awtfontpath.chinese-big5=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
awtfontpath.chinese-gb18030=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/arphicfonts
awtfontpath.japanese-x0208=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/kochi-substitute
awtfontpath.korean=@GENTOO_PORTAGE_EPREFIX@/usr/share/fonts/baekmuk-fonts

View File

@ -0,0 +1,18 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.6.env-r1,v 1.1 2011/10/22 22:59:59 caster Exp $
VERSION="Sun JDK @PV@"
JAVA_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
JDK_HOME="@GENTOO_PORTAGE_EPREFIX@/opt/@P@"
JAVAC=${JAVA_HOME}/bin/javac
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
MANPATH="@GENTOO_PORTAGE_EPREFIX@/opt/@P@/man"
PROVIDES_TYPE="JDK JRE"
PROVIDES_VERSION="1.6"
# Taken from sun.boot.class.path property
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<longdescription>Sun Java Development Kit Package. AKA.J2SE</longdescription>
<use>
<flag name="derby">Enable Installation of Bundled Derby (Java DB)</flag>
<flag name="jce">Enable Java Cryptographic Extension Unlimited Strength Policy files</flag>
<flag name="pax_kernel">Use paxctl to mark the JVM binaries.</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,259 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.45.ebuild,v 1.4 2014/05/16 19:03:59 swift Exp $
EAPI="5"
inherit eutils java-vm-2 prefix versionator
# This URIs need to be updated when bumping!
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk6downloads-1902814.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"
# This is a list of archs supported by this update. Currently ia64 comes and goes ...
AT_AVAILABLE=( amd64 ia64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
# somtimes the demos are missing
DEMOS_AVAILABLE=( amd64 ia64 x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
AT_x86="jdk-${MY_PV}-linux-i586.bin"
AT_amd64="jdk-${MY_PV}-linux-x64.bin"
AT_ia64="jdk-${MY_PV}-linux-ia64.bin"
AT_x86_solaris="jdk-${MY_PV}-solaris-i586.sh"
AT_x64_solaris="${AT_x86_solaris} jdk-${MY_PV}-solaris-x64.sh"
AT_sparc_solaris="jdk-${MY_PV}-solaris-sparc.sh"
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.sh"
DEMOS_x86="jdk-${MY_PV}-linux-i586-demos.tar.gz"
DEMOS_amd64="jdk-${MY_PV}-linux-x64-demos.tar.gz"
DEMOS_ia64="jdk-${MY_PV}-linux-ia64-demos.tar.gz"
DEMOS_x86_solaris="jdk-${MY_PV}-solaris-i586-demos.tar.Z"
DEMOS_x64_solaris="${DEMOS_x86_solaris} jdk-${MY_PV}-solaris-x64-demos.tar.Z"
DEMOS_sparc_solaris="jdk-${MY_PV}-solaris-sparc-demos.tar.Z"
DEMOS_sparc64_solaris="${DEMOS_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9-demos.tar.Z"
JCE_FILE="jce_policy-6.zip"
DESCRIPTION="Oracle's Java SE Development Kit"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
for d in "${AT_AVAILABLE[@]}"; do
SRC_URI+=" ${d}? ("
SRC_URI+=" $(eval "echo \${$(echo AT_${d/-/_})}")"
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
fi
SRC_URI+=" )"
done
unset d
SRC_URI+=" jce? ( ${JCE_FILE} )"
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
SLOT="1.6"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X alsa derby doc examples jce kernel_SunOS nsplugin pax_kernel selinux source"
RESTRICT="fetch strip"
QA_PREBUILT="*"
RDEPEND="
X? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXt
x11-libs/libXtst
)
alsa? ( media-libs/alsa-lib )
doc? ( dev-java/java-sdk-docs:1.6.0 )
selinux? ( sec-policy/selinux-java )
!prefix? ( sys-libs/glibc )"
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
# marking. #427642
DEPEND="
jce? ( app-arch/unzip )
kernel_SunOS? ( app-arch/unzip )
pax_kernel? ( sys-apps/paxctl )
selinux? ( sec-policy/selinux-java )"
S="${WORKDIR}"/jdk${S_PV}
check_tarballs_available() {
local uri=$1; shift
local dl= unavailable=
for dl in "${@}"; do
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
done
if [[ -n "${unavailable}" ]]; then
if [[ -z ${_check_tarballs_available_once} ]]; then
einfo
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package"
einfo "has become fetch restricted again. Alternatives are switching to"
einfo "dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6"
einfo
einfo "Oracle requires you to download the needed files manually after"
einfo "accepting their license through a javascript capable web browser."
einfo
_check_tarballs_available_once=1
fi
einfo "Download the following files:"
for dl in ${unavailable}; do
einfo " ${dl}"
done
einfo "at '${uri}'"
einfo "and move them to '${DISTDIR}'"
einfo
fi
}
pkg_nofetch() {
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
fi
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
}
src_unpack() {
AT=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
DEMOS=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
if use kernel_SunOS; then
for i in ${AT}; do
rm -f "${S}"/jre/{LICENSE,README} "${S}"/LICENSE
# don't die on unzip, it always "fails"
unzip "${DISTDIR}"/${i}
done
for f in $(find "${S}" -name "*.pack") ; do
"${S}"/bin/unpack200 ${f} ${f%.pack}.jar
rm ${f}
done
else
sh "${DISTDIR}"/${AT} -noregister || die "Failed to unpack"
fi
if has "${ARCH}" "${DEMOS_AVAILABLE[@]}" && use examples ; then
unpack ${DEMOS}
if use kernel_SunOS; then
mv "${WORKDIR}"/SUNWj6dmo/reloc/jdk/instances/jdk1.6.0/{demo,sample} "${S}"/ || die
fi
fi
if use jce; then
unpack ${JCE_FILE}
mv jce "${S}"/jre/lib/security/unlimited-jce || die
fi
}
src_compile() {
# This needs to be done before CDS - #215225
java-vm_set-pax-markings "${S}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"
case ${ARCH} in
ia64)
bin/java -client -Xshare:dump || die
;;
x86)
bin/java -client -Xshare:dump || die
# limit heap size for large memory on x86 #405239
# this is a workaround and shouldn't be needed.
bin/java -server -Xmx64m -Xshare:dump || die
;;
*)
bin/java -server -Xshare:dump || die
;;
esac
}
src_install() {
local dest="/opt/${P}"
local ddest="${ED}${dest}"
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
{,jre/}lib/i386/libjavaplugin_nscp*.so
rm -vrf jre/plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodoc COPYRIGHT
dohtml README.html
dodir "${dest}"
cp -pPR bin include jre lib man "${ddest}" || die
if use derby; then
cp -pPR db "${ddest}" || die
fi
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
cp -pPR demo sample "${ddest}" || die
fi
if use jce; then
dodir "${dest}"/jre/lib/security/strong-jce
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
"${ddest}"/jre/lib/security/strong-jce || die
mv "${ddest}"/jre/lib/security/local_policy.jar \
"${ddest}"/jre/lib/security/strong-jce || die
dosym "${dest}"/jre/lib/security/unlimited-jce/US_export_policy.jar \
"${dest}"/jre/lib/security/US_export_policy.jar
dosym "${dest}"/jre/lib/security/unlimited-jce/local_policy.jar \
"${dest}"/jre/lib/security/local_policy.jar
fi
if use nsplugin; then
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
fi
if use source; then
cp src.zip "${ddest}" || die
fi
# Install desktop file for the Java Control Panel.
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
# make_desktop_entry can't be used as ${P} would end up in filename.
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
sun-jcontrol-${PN}-${SLOT}.png || die
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (sun-jdk)#" \
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
-e "s#Application;##" \
-e "/Encoding/d" \
jre/lib/desktop/applications/sun_java.desktop \
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
rm "${ddest}"/jre/lib/fontconfig.* || die
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto "${dest}"/jre/lib/
doins "${T}"/fontconfig.properties
# Remove empty dirs we might have copied
find "${D}" -type d -empty -exec rmdir -v {} + || die
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random
}
pkg_postinst() {
java-vm-2_pkg_postinst
elog "If you want Oracles JDK 7 'emerge oracle-jdk-bin' instead."
}

View File

@ -1,5 +1,5 @@
DIST skypeforlinux-64-1.5.0.3_alpha.rpm 58296164 SHA256 e649de73d9e6c5b0fba513790b35cc792b75505d7b1f7c29a0b0649604e0a8ec SHA512 257cda7125b4af47831117f5b66a746ba3a7bfacd55579d8eeba93f6cd41aeb3990b22657ac76922229b00f47a5848f940f7fdea3309a79a279a05d6f146617f WHIRLPOOL 81ddc1280e1e9b51d6845f74d4ac7735e7eee70a60938fd09d89e82680a478dc861cfe0e406e4b9413bc20e58334ea8c7d45cc0c95c2789bceec10f005b294e1 DIST skypeforlinux_1.9.0.2-1.x86_64.rpm 62767691 SHA256 9b838d5c0aa72287a96a5a11b150dbf647c50fe65aa2a386be8af7002e477e61 SHA512 9390c60f0cd7e643e8806596b6a1cdadffb45086fc456218f59361ffe74adb2adfbba4893d3276b59f1435067146d90becd1c644008932c6efcc978bd4288c8c WHIRLPOOL 631b471593e590aa7f2642e410c58971b07dd42f6c1bd8447c070c9b29dd18514f4d38f73c63e296d3e449d8a12ac5fb088f38ecdd6e81d922fd0b173c969d42
EBUILD skype-1.5.0.3_alpha.ebuild 2967 SHA256 1a586e0ce15dbc52112a06718d4ab425913c04b3b9d519eb3abb72c1b35065e5 SHA512 90089f24400e35861dee3c926787754d8075f541c50b1dafd8f133d6fab64100ac8667ce61504bd616f88a3c529b8448803a47c1935120ebf0981220d808df80 WHIRLPOOL aefdd9ff0dd37cf9f7a8f32fe01827b16ac93ea37e3f63adbd343967d6dc1bc31eeab9e2f6675ed9ba2cf5a51f760d570eb29b887571c88e9f65199d6dd4e437 EBUILD skype-1.9.0.2.ebuild 3434 SHA256 a7c063ee6adec93346cfce38069d53d05d1835f42ce145ae5bcd4ac16eadc71b SHA512 27eaf4d8c0c5fa7c211debd1d48fd52e55587eaf74e46a4912ac323fb9e83f8413fa31309318f6227baad7dce3eff4bf59cfc60507fd0603773eb152213a1d92 WHIRLPOOL d51ff627e8d09d12c632dc5eae1df627077c3b988f834ca6a9934389fae7d632af6e353e172a0d5783bd9573fab1c4613f4057d52ba792dde348d9a4c01eafa2
MISC ChangeLog 3136 SHA256 7dab98831e3754b30d5716cb93ec378d74b7b30001d9e7c5588a2aa2a1380740 SHA512 addf70bc57f0a242ff86b7abef3b1c2837353faee6aa679f0e83a44192e5587b18070e490b205d820b0273dfec2d6544b0944a79d7c7406e89b66dd029daa57d WHIRLPOOL a87edc3f55d4e0b3e397ca2c40d5709a7779ad8a5857b9b5d0c1419284852f6d799ca525321dd38475a5f1feb40e37447eae25cae7c8f1ae926f6cc4b7d92f9b MISC ChangeLog 3136 SHA256 7dab98831e3754b30d5716cb93ec378d74b7b30001d9e7c5588a2aa2a1380740 SHA512 addf70bc57f0a242ff86b7abef3b1c2837353faee6aa679f0e83a44192e5587b18070e490b205d820b0273dfec2d6544b0944a79d7c7406e89b66dd029daa57d WHIRLPOOL a87edc3f55d4e0b3e397ca2c40d5709a7779ad8a5857b9b5d0c1419284852f6d799ca525321dd38475a5f1feb40e37447eae25cae7c8f1ae926f6cc4b7d92f9b
MISC ChangeLog-2015 31502 SHA256 134bd6094f04b74d3ba624f7993f5d4cae262ec4ffa1f397d56436e067748cd7 SHA512 a47aa927d7924e5bdf08261b15b8ce1e4e0a2b2b175609095c60d3239b8f301c3a27e510a20debfa22273c525255f247e37e53c98ab644ea27eae58661ca9911 WHIRLPOOL 481202464af2cc7bccd0f1582e0892f500eee2da9833696315823d13999d47f3553e7852a329b583bd487c75ea46b7da1e3dea8729a9b822ffe9cdef5e6acf7e MISC ChangeLog-2015 31502 SHA256 134bd6094f04b74d3ba624f7993f5d4cae262ec4ffa1f397d56436e067748cd7 SHA512 a47aa927d7924e5bdf08261b15b8ce1e4e0a2b2b175609095c60d3239b8f301c3a27e510a20debfa22273c525255f247e37e53c98ab644ea27eae58661ca9911 WHIRLPOOL 481202464af2cc7bccd0f1582e0892f500eee2da9833696315823d13999d47f3553e7852a329b583bd487c75ea46b7da1e3dea8729a9b822ffe9cdef5e6acf7e
MISC metadata.xml 679 SHA256 b1ed31a0e7dc07eaebc9bc321871b3d3c98f7d3a450a373a6ad53b3a7c49adae SHA512 86471df3a004389dcab1a775b19c2fe64a5980ff48b47a8d7890cd5f263128b21d192788450d6adac59eb49c4b785747d8e359d43609612be0a472172f11f500 WHIRLPOOL e739ef56dd89627694ff337c63d843dc7731e5f81697f66a3f6785416ad31b94cc9fc0cff38cb4ba3828323e96236dc4d880fe40670378922a4e4969eb2e717f MISC metadata.xml 679 SHA256 b1ed31a0e7dc07eaebc9bc321871b3d3c98f7d3a450a373a6ad53b3a7c49adae SHA512 86471df3a004389dcab1a775b19c2fe64a5980ff48b47a8d7890cd5f263128b21d192788450d6adac59eb49c4b785747d8e359d43609612be0a472172f11f500 WHIRLPOOL e739ef56dd89627694ff337c63d843dc7731e5f81697f66a3f6785416ad31b94cc9fc0cff38cb4ba3828323e96236dc4d880fe40670378922a4e4969eb2e717f

View File

@ -1,99 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
#inherit eutils rpm pax-utils
inherit eutils rpm
DESCRIPTION="P2P Internet Telephony (VoiceIP) client"
HOMEPAGE="http://www.skype.com/"
SRC_URI="https://repo.skype.com/latest/skypeforlinux-64-alpha.rpm -> skypeforlinux-64-${PV}.rpm"
LICENSE="skype-1.3.0.0-copyright BSD MIT RSA W3C regexp-UofT no-source-code"
SLOT="1"
KEYWORDS="~amd64 ~x86"
#IUSE="pax_kernel selinux"
IUSE=""
S="${WORKDIR}"
QA_PREBUILT=opt/skypeforlinux/skypeforlinux
RESTRICT="mirror bindist strip" #299368
RDEPEND="
virtual/ttf-fonts
gnome-base/libgnome-keyring
gnome-base/gnome-keyring
gnome-base/gconf"
# selinux? ( sec-policy/selinux-skype )"
src_unpack () {
rpm_src_unpack ${A}
}
src_prepare() {
sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EROOT}opt/skypeforlinux/skypeforlinux!" -i usr/bin/skypeforlinux
sed -e "s!^Exec=.*!Exec=${EROOT}opt/bin/skypeforlinux!" \
-e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
-i usr/share/applications/skypeforlinux.desktop
}
src_install() {
insinto /opt/skypeforlinux/locales
doins usr/share/skypeforlinux/locales/*.pak
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node
insinto /opt/skypeforlinux/resources
doins usr/share/skypeforlinux/resources/*.asar
insinto /opt/skypeforlinux
doins usr/share/skypeforlinux/*.pak
doins usr/share/skypeforlinux/*.bin
doins usr/share/skypeforlinux/*.dat
doins usr/share/skypeforlinux/version
exeinto /opt/skypeforlinux
doexe usr/share/skypeforlinux/*.so
doexe usr/share/skypeforlinux/skypeforlinux
into /opt
dobin usr/bin/skypeforlinux
fowners root:audio /opt/bin/skypeforlinux /opt/skypeforlinux/skypeforlinux
# insinto /etc/dbus-1/system.d
# doins ${PN}.conf
dodoc usr/share/doc/skypeforlinux/* usr/share/skypeforlinux/*.html
dodoc usr/share/skypeforlinux/*.txt usr/share/skypeforlinux/LICENSE
# create compat symlink
dosym ${P} /usr/share/doc/skypeforlinux
doicon usr/share/pixmaps/skypeforlinux.png
local res
for res in 16 32 256 512; do
newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png
done
domenu usr/share/applications/skypeforlinux.desktop
# if use pax_kernel; then
# if use apulse; then
# pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die
# else
# pax-mark Cm "${ED}"/opt/bin/${PN} || die
# fi
# eqawarn "You have set USE=pax_kernel meaning that you intend to run"
# eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
# eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
# eqawarn "you suspect that ${PN} is being broken by this modification,"
# eqawarn "please open a bug."
# fi
# echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN}
# doenvd "${T}"/99${PN} #430142
}

View File

@ -1,3 +1,3 @@
DIST opennx-0.16.0.729.tar.gz 5345822 SHA256 1dd6613a78d5d31b4e496c9185b06cfa47ec6c24b33c6e1f8b43dd176d7d5572 SHA512 7ccd8d933d4b8f54e882ef61963c5bcd77927ea69ba6586016370b8d3f39c1c1d084a59c180fb431ee6faa38773b6a08a0fb30f3127f6e537c7c0ed9d7841427 WHIRLPOOL 0bff0168e1ed508af83f6f6584840dfe1048d57bb7ef12cdaadcea1b585fc6aff3ee2e1b209cb90794a6d546a8d9d45bb2fac8d2901fd649228d9679e2bdff8b DIST opennx-0.16.0.729.tar.gz 5345822 SHA256 1dd6613a78d5d31b4e496c9185b06cfa47ec6c24b33c6e1f8b43dd176d7d5572 SHA512 7ccd8d933d4b8f54e882ef61963c5bcd77927ea69ba6586016370b8d3f39c1c1d084a59c180fb431ee6faa38773b6a08a0fb30f3127f6e537c7c0ed9d7841427 WHIRLPOOL 0bff0168e1ed508af83f6f6584840dfe1048d57bb7ef12cdaadcea1b585fc6aff3ee2e1b209cb90794a6d546a8d9d45bb2fac8d2901fd649228d9679e2bdff8b
EBUILD opennx-0.16.0.729.ebuild 1112 SHA256 f989d638f8a0b66ca2e19d52e2278d825239602b63a3d70ba52794b7bd11512a SHA512 4bb0e883c647d8c93218a150f34a42390f80430e599cd781806930a0eee0f474e5f8e721a4dcd54ffd323d4ba0ea8b05c4aa40f3df361267d0936edc13db30a3 WHIRLPOOL aef64696785a40831317ba319cc5843b0e871bc6dc22b3222373ca765abb04e0b9cc6fccf0221b2982158f480bb432de00a4c15dc319f43c4a497e6490cfcc3d EBUILD opennx-0.16.0.729.ebuild 1112 SHA256 9f259cbbf02abdc7f132e0cc6128f91a00689916c8fbaa22aeb23c9e27ab9a81 SHA512 247895c6aecdcef829c85bbc1f34d6019fcf4ed649d8b57fc3196e3f80b3e970abca07d001cadf81e8f5b94cd2eb13b3a17db8c638f2aafa451b32e8fa009b23 WHIRLPOOL 7560e4376b3fd582a578fd20c630a59bb690bcb0e8291756f8982f4f76a1607a481a77cc5b339721f73fedadb267ad6033ee673fc33fec00b9c397360cfc7613
MISC ChangeLog 266 SHA256 ebb02997e61064729654cfd589f069f9ac352d4aef5771c5c0ff01955bdd860b SHA512 506888a1abc9ef1c4502f305422fa6c50b8294ebf5ef703548e352eafd6aa39aff8896801db4c1a9a70818278c9991e32f2788aaa443dadf324df6ff1932592e WHIRLPOOL 1c106d7aee1c1a41af37232aff2b3b9633a5b550bb03a3601587b43d760fda8e8669df9b96904cacca8cacfca58556c6274e12782d0bc3b3179f2668579d9db3 MISC ChangeLog 266 SHA256 ebb02997e61064729654cfd589f069f9ac352d4aef5771c5c0ff01955bdd860b SHA512 506888a1abc9ef1c4502f305422fa6c50b8294ebf5ef703548e352eafd6aa39aff8896801db4c1a9a70818278c9991e32f2788aaa443dadf324df6ff1932592e WHIRLPOOL 1c106d7aee1c1a41af37232aff2b3b9633a5b550bb03a3601587b43d760fda8e8669df9b96904cacca8cacfca58556c6274e12782d0bc3b3179f2668579d9db3

View File

@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86" KEYWORDS="~amd64 ~arm ~x86"
IUSE="" IUSE=""
DEPEND="x11-libs/wxGTK:2.8 DEPEND="x11-libs/wxGTK:3.0
dev-libs/opensc dev-libs/opensc
net-print/cups net-print/cups
dev-libs/libusb dev-libs/libusb