diff options
author | Vlastimil Babka <caster@gentoo.org> | 2009-06-19 09:43:41 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2009-06-19 09:43:41 +0000 |
commit | 9352ab07233a9a09cf20903c0f963c69133737d6 (patch) | |
tree | 4cfb7145942d7a678821ce5805e10a4fdb609b78 /dev-java/sun-jdk | |
parent | Slotmove krecord from 0 to 3.5 (diff) | |
download | historical-9352ab07233a9a09cf20903c0f963c69133737d6.tar.gz historical-9352ab07233a9a09cf20903c0f963c69133737d6.tar.bz2 historical-9352ab07233a9a09cf20903c0f963c69133737d6.zip |
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java/sun-jdk')
-rw-r--r-- | dev-java/sun-jdk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/sun-jdk/Manifest | 5 | ||||
-rw-r--r-- | dev-java/sun-jdk/sun-jdk-1.5.0.19.ebuild | 139 |
3 files changed, 149 insertions, 2 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog index 9a0c6cd8601f..35d40df6d28a 100644 --- a/dev-java/sun-jdk/ChangeLog +++ b/dev-java/sun-jdk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/sun-jdk # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.259 2009/05/31 11:19:18 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.260 2009/06/19 09:43:41 caster Exp $ + +*sun-jdk-1.5.0.19 (19 Jun 2009) + + 19 Jun 2009; Vlastimil Babka <caster@gentoo.org> +sun-jdk-1.5.0.19.ebuild: + Version bump. *sun-jdk-1.6.0.14 (31 May 2009) diff --git a/dev-java/sun-jdk/Manifest b/dev-java/sun-jdk/Manifest index f6c35f6dbf3c..3ac6b8f0057a 100644 --- a/dev-java/sun-jdk/Manifest +++ b/dev-java/sun-jdk/Manifest @@ -6,13 +6,16 @@ DIST j2sdk-1_4_2_19-linux-i586.bin 36387084 RMD160 4d2167bac874d7bce757563d88a9e DIST jce_policy-1_4_2.zip 12195 RMD160 323340fa8a96f315a35b0ebc918731e6fe56c370 SHA1 ea17b649ebcaaf4246e9dd28dbc77926176c64ee SHA256 7bf6d683602686321affc0071ad2fc3890c19cf5bb5cc16a963052e17588c097 DIST jdk-5.0u18-dlj-linux-amd64.bin 44094223 RMD160 538225ac69fd4541c2d08fab70c99e8ad3867ef4 SHA1 756be76937bd70c6d0ce520566844aa428d3149e SHA256 40a8f7b5f8e5f515a0a736645635376479eb89351eee594ded341e80a64ee701 DIST jdk-5.0u18-dlj-linux-i586.bin 49702576 RMD160 be719b111ce24d5a14b0ed8ad26a9335283866f7 SHA1 2be236e00cf95a7ba1d2a48156eecd6bd367445d SHA256 460dd267a532d9965e65aec8be8288870ff4aadc0cabe331dd4a1d4c058c53be +DIST jdk-5.0u19-dlj-linux-amd64.bin 44155115 RMD160 b759a873af5170c189a54c1c872ae2f7b1fde8c8 SHA1 801caa43e5fde123cd49403e4970eaeddcf26ba2 SHA256 f936820ee7d9dbe886588a1cc1d890661aeb81a6e2b1b51d107ca351d543b2d8 +DIST jdk-5.0u19-dlj-linux-i586.bin 49754865 RMD160 85531baed424aa400aa75598a8a9d09e22281e03 SHA1 8510b2b2d1c16e2fb3988fe4f94424d19bf179ec SHA256 7e5cd192c7058b6b9b34f34df315451439175ee55a1c8be80428c188345b86dc DIST jdk-6u13-dlj-linux-amd64.bin 80287589 RMD160 8e2994657a732e8e45b166dcaf0b16422ae4fb25 SHA1 70b412a12037e3a9033503a566585d08418f029c SHA256 799ae9ce5ed2cede1e75aa1861e0e835c06135a54767546e5b12d6be4d2814d5 DIST jdk-6u13-dlj-linux-i586.bin 80161911 RMD160 8167ed89d38722577547d4f46f5fa06cf07fedf3 SHA1 ef9177f519ad03669921876fd711c1c02f306abf SHA256 a07d48549bb48becf7a1185b2ce908797a9dcfcc834ff111e8b6d9ad19ce60d7 DIST jdk-6u14-dlj-linux-amd64.bin 81881391 RMD160 40986758e23369d870c766e9f7b65860b421390d SHA1 3ffc80f7a194bc29792dbdfc9b7c395bf82cf346 SHA256 a2593daa7bee2789085d62389b6a37e988281c901c84af0916ef1bc5e5220f8e DIST jdk-6u14-dlj-linux-i586.bin 81803297 RMD160 db35274bd08422f97f454dbcadb79abdc9e4ab13 SHA1 ce7fcdeb9275820b98a54ecf7a44ed30557b8233 SHA256 08ff9c6a89da117f7e6eabcc21da36900fab56a4fb9b4e8ff5cb3c267b4ec0a0 EBUILD sun-jdk-1.4.2.19.ebuild 5213 RMD160 530b79d8148058cf2914021795f834e7209d080e SHA1 2b9401bc92289ea853318af38c85eb35c8b9d06e SHA256 96d94c6b234835dbb429a9ee1f63d43ef4f82b7db70f4ec225af857de9d7b0d3 EBUILD sun-jdk-1.5.0.18.ebuild 4158 RMD160 4497b25778d5da72a5c68a6bc962ec02e16ad261 SHA1 c6ba9278938181fce1a9d5c0596f3151a4b14058 SHA256 5562ee96b9156d29f1b1669bd727577acd5e1a359f27703b7590d4385804edc8 +EBUILD sun-jdk-1.5.0.19.ebuild 4160 RMD160 4c1e3395cbe7e5698ed8f01767431b8ed39917a6 SHA1 231ffc6c0ed4cd5723d1263025e519823fdbbca2 SHA256 04bb9c85ff008ae77e8910b7941216d94295ffafadbab77fcc16181ceb4ae2b7 EBUILD sun-jdk-1.6.0.13.ebuild 5059 RMD160 a085ba418acb1f984c3fa3efe1674aabeb59a739 SHA1 a89032ee807c9dce3f5044abee1e45029654c940 SHA256 afaec3f222f8d7a9e48ccbb7e0e873445aeef646d566a24371fbb0936e7e2ab4 EBUILD sun-jdk-1.6.0.14.ebuild 5100 RMD160 49fb7445b54d913e99b08f4b28f46f951845562b SHA1 2123b065d3a782fec986370d98e6e7fcfa46c0b2 SHA256 fa8397dda2770e440ebf160d1c0610303c3d5d37fa42dca4ddda868913789e9b -MISC ChangeLog 49153 RMD160 ce1199d4ea478cf3a12752f0ab51c2ac415f34bf SHA1 de5734629a86a8d311ca2329a9809b579eb192fe SHA256 5553b69e1b02090259a0e72a58de850abda8ef7b70d4e3c6f69b8aa60c456faf +MISC ChangeLog 49280 RMD160 07b79904c3c8125d38a5192620b47ccd5f0da898 SHA1 42d8bd8775108680e269c1e2cc05bc762fa367b1 SHA256 4e57ba52f284641cd85bc3863a81d8421b61063146b339d5329f53e09885a693 MISC metadata.xml 429 RMD160 e6edae84d0d56c48e9d6e631d1f0612535f26f2d SHA1 4b6faf61f3869bbbccc405c7c07932dd630737ea SHA256 2fef8162216b2e78806cdc6ba5b0ff2619a482aa3ce0ecf909ffa17ba309428c diff --git a/dev-java/sun-jdk/sun-jdk-1.5.0.19.ebuild b/dev-java/sun-jdk/sun-jdk-1.5.0.19.ebuild new file mode 100644 index 000000000000..0253a7aeebc7 --- /dev/null +++ b/dev-java/sun-jdk/sun-jdk-1.5.0.19.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2009 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.5.0.19.ebuild,v 1.1 2009/06/19 09:43:41 caster Exp $ + +inherit versionator java-vm-2 eutils pax-utils + +UPDATE="$(get_version_component_range 4)" +UPDATE="${UPDATE#0}" +MY_PV="$(get_version_component_range 2-3)u${UPDATE}" + +X86_AT="jdk-${MY_PV}-dlj-linux-i586.bin" +AMD64_AT="jdk-${MY_PV}-dlj-linux-amd64.bin" + +DESCRIPTION="Sun's Java SE Development Kit" +HOMEPAGE="http://java.sun.com/j2se/1.5.0/" +SRC_URI="x86? ( http://download.java.net/dlj/binaries/${X86_AT} ) + amd64? ( http://download.java.net/dlj/binaries/${AMD64_AT} )" +SLOT="1.5" +LICENSE="dlj-1.1" +KEYWORDS="~amd64 ~x86" +RESTRICT="strip" +IUSE="X alsa doc examples jce nsplugin odbc" + +QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/motif21/libmawt.so opt/${P}/jre/lib/i386/libdeploy.so" +QA_DT_HASH="opt/${P}/.*" + +DEPEND="jce? ( =dev-java/sun-jce-bin-1.5.0* )" +RDEPEND="sys-libs/glibc + alsa? ( media-libs/alsa-lib ) + doc? ( =dev-java/java-sdk-docs-1.5.0* ) + X? ( + x11-libs/libXext + x11-libs/libXi + x11-libs/libXp + x11-libs/libXtst + x11-libs/libXt + x11-libs/libX11 + ) + odbc? ( dev-db/unixODBC )" + +S="${WORKDIR}/jdk$(replace_version_separator 3 _)" + +JAVA_PROVIDE="jdbc-stdext jdbc-rowset" + +src_unpack() { + sh "${DISTDIR}/${A}" --accept-license --unpack || die "Failed to unpack" +} + +src_compile() { + # Set PaX markings on all JDK/JRE executables to allow code-generation on + # the heap by the JIT compiler. This needs to be done before CDS - #215225 + pax-mark m $(list-paxables "${S}"{,/jre}/bin/*) + + # see bug #207282 + if use x86; then + einfo "Creating the Class Data Sharing archives" + "${S}"/bin/java -client -Xshare:dump || die + fi +} + +src_install() { + local dirs="bin include jre lib man" + + dodir /opt/${P} + + cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy" + dodoc COPYRIGHT README.html || die + dohtml README.html || die + + cp -pP src.zip "${D}/opt/${P}/" || die + + if use examples; then + cp -pPR demo "${D}/opt/${P}/" || die + cp -pPR sample "${D}/opt/${P}/" || die + fi + + if use jce; then + cd "${D}"/opt/${P}/jre/lib/security || die + dodir /opt/${P}/jre/lib/security/strong-jce + mv "${D}"/opt/${P}/jre/lib/security/US_export_policy.jar \ + "${D}"/opt/${P}/jre/lib/security/strong-jce || die + mv "${D}"/opt/${P}/jre/lib/security/local_policy.jar \ + "${D}"/opt/${P}/jre/lib/security/strong-jce || die + local jcedir="/opt/sun-jce-bin-1.5.0/jre/lib/security/unlimited-jce/" + dosym ${jcedir}/US_export_policy.jar \ + /opt/${P}/jre/lib/security/ || die + dosym ${jcedir}/local_policy.jar \ + /opt/${P}/jre/lib/security/ || die + fi + + if use nsplugin; then + local plugin_dir="ns7-gcc29" + if has_version '>=sys-devel/gcc-3' ; then + plugin_dir="ns7" + fi + + if use x86 ; then + install_mozilla_plugin /opt/${P}/jre/plugin/i386/$plugin_dir/libjavaplugin_oji.so + else + eerror "No plugin available for amd64 arch" + fi + fi + + # create dir for system preferences + dodir /opt/${P}/jre/.systemPrefs + # Create files used as storage for system preferences. + touch "${D}"/opt/${P}/jre/.systemPrefs/.system.lock + chmod 644 "${D}"/opt/${P}/jre/.systemPrefs/.system.lock + touch "${D}"/opt/${P}/jre/.systemPrefs/.systemRootModFile + chmod 644 "${D}"/opt/${P}/jre/.systemPrefs/.systemRootModFile + + # install control panel for Gnome/KDE + if [[ -f ${D}/opt/${P}/jre/plugin/desktop/sun_java.desktop ]]; then + sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \ + -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \ + "${D}"/opt/${P}/jre/plugin/desktop/sun_java.desktop > \ + "${T}"/sun_java-${SLOT}.desktop \ + || die "Failed to sed .desktop file" + + domenu "${T}"/sun_java-${SLOT}.desktop + fi + + # bug #56444 + insinto /opt/${P}/jre/lib/ + newins "${FILESDIR}"/fontconfig.Gentoo.properties fontconfig.properties + + set_java_env + java-vm_revdep-mask +} + +pkg_postinst() { + # Set as default VM if none exists + java-vm-2_pkg_postinst + + elog "The epoll-based implementation of SelectorProvider is not selected by" + elog "default." + elog "Use java -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider" + elog "" +} |