RMD160 7ef7c7692279324de8e22c4b68f729e27134590a files/sun-jre-bin-1.5.env 852
SHA256 c8557635c09c381cf1eb3e23619c5bfd01c06f062364ac49cdbef36d567bb34e files/sun-jre-bin-1.5.env 852
DIST j2re-1_4_2_12-linux-i586.bin 14339018 RMD160 a63313d5a57f770ec6cd6c89c56b101f7a77f964 SHA1 18631914aeff51fcd89d226dbe3396ea91d21408 SHA256 b80403dc39008f53e50c47a04322a2046b257654653ef41a05aca29b3636fb2f
+DIST j2re-1_4_2_13-linux-i586.bin 14363192 RMD160 ebe620a4a9ab5cd168345e5a26a58a759798854b SHA1 dded54dd6f926adf3aa17fe774ab5ae890f8313a SHA256 faaf24745233ef8cc112c848fb507b4aa1a274dd1f2adf6613bea2b6f60c79f2
DIST jdk-1_5_0_08-dlj-linux-amd64.bin 43854617 RMD160 c6669cba980b9097c6921041ee3af8753587ea37 SHA1 f43776629e50834be1f25060bcbe7f8ee0483173 SHA256 a4a4baa5488c7be8b109ed6c1f460a8b30861ae546c050c319de41e987bc857f
DIST jdk-1_5_0_08-dlj-linux-i586.bin 49498712 RMD160 11c01f6391cec0476a3d96306a7bee7ec82d8425 SHA1 e7bc2da45219c54f9ac0dcbe6b3b8bf7ead3cc4e SHA256 e96ebeefb5116182c01f6e3fb306d24f1b81ba6849b76b0d4705051b01647ce8
DIST jdk-1_5_0_09-dlj-linux-amd64.bin 43863154 RMD160 c7f4310ff6714d5dd33c10398c6615689f5523ff SHA1 b3cd93b445ce68b8d4b88c4afa9a177473adf3f7 SHA256 3f7f21671ebcb9c849b02d668d85cf6f161870c45f5bf82f5e3fed2a026f7f35
MD5 e304bb1cc98f7f73fb6c74db329784b9 sun-jre-bin-1.4.2.12-r2.ebuild 4608
RMD160 e6891977904969bddbea013b8f46fb0ae0da1263 sun-jre-bin-1.4.2.12-r2.ebuild 4608
SHA256 eb93119c3ccec0d85f0578441b467aeba4a68229df21c620e501a3addb23f4b2 sun-jre-bin-1.4.2.12-r2.ebuild 4608
+EBUILD sun-jre-bin-1.4.2.13.ebuild 4618 RMD160 0972bfc92ff86454fc0ce29e56558a84f93ac20a SHA1 5d56c4eb2f7360810b3aa7acd094bf81c265678d SHA256 4d5a12bcdfad7a56a5801491a40d69b9af1aa1d2fff5920d9702406f96514e3b
+MD5 99b168b9b0983326f1d046db331cbd2e sun-jre-bin-1.4.2.13.ebuild 4618
+RMD160 0972bfc92ff86454fc0ce29e56558a84f93ac20a sun-jre-bin-1.4.2.13.ebuild 4618
+SHA256 4d5a12bcdfad7a56a5801491a40d69b9af1aa1d2fff5920d9702406f96514e3b sun-jre-bin-1.4.2.13.ebuild 4618
EBUILD sun-jre-bin-1.5.0.08-r1.ebuild 4329 RMD160 ebec6553b8c9b00884bff862c657dbe57f0c7a12 SHA1 771b221a861b954b2daaf6d2bcfa4dbff461c5ea SHA256 1eedf693f64280492818f76d829339db9c8234928b1d3823abbe06d6f6e8066f
MD5 dc874e52a08e18f4f8796e87fdba9388 sun-jre-bin-1.5.0.08-r1.ebuild 4329
RMD160 ebec6553b8c9b00884bff862c657dbe57f0c7a12 sun-jre-bin-1.5.0.08-r1.ebuild 4329
MD5 49f71d6fabfa9443cbb20629331b1223 sun-jre-bin-1.5.0.09.ebuild 4291
RMD160 1b406162946f37959c078bdc02e7635487a4a6d5 sun-jre-bin-1.5.0.09.ebuild 4291
SHA256 6c32a641cf0e4356f847f082b89b86801399d67f776bde8e0b8b416171a50661 sun-jre-bin-1.5.0.09.ebuild 4291
-MISC ChangeLog 12775 RMD160 27a121f47e583cfb894d3b52477c682d2ef5d27f SHA1 0d3b13e0c9f66a41eeebc7264b7b52d3154221bc SHA256 50332163a2c8f7e1e23e803c0fe20d8bf546604a498fbdcef7db6619d4d9292f
-MD5 c3b1f2a5386df64123c2fcd1ac373711 ChangeLog 12775
-RMD160 27a121f47e583cfb894d3b52477c682d2ef5d27f ChangeLog 12775
-SHA256 50332163a2c8f7e1e23e803c0fe20d8bf546604a498fbdcef7db6619d4d9292f ChangeLog 12775
+MISC ChangeLog 12928 RMD160 2a17cc3d513d910ee37f53d04e313d852a317ae7 SHA1 4fbb86312d7825703fb0996738ffbf1bf2b00474 SHA256 91049a16742277277d0bafcfa5dba97719624f6aac722c6e677f151d3768139e
+MD5 5dda82187b07add3e3e778f12029b80b ChangeLog 12928
+RMD160 2a17cc3d513d910ee37f53d04e313d852a317ae7 ChangeLog 12928
+SHA256 91049a16742277277d0bafcfa5dba97719624f6aac722c6e677f151d3768139e ChangeLog 12928
MISC metadata.xml 240 RMD160 8c29e03b578ddd40c82afe82d42498d4c855e745 SHA1 9d97dffe17dd3ea241edafeb9a12479d4e0bc17f SHA256 3736870ea8f5be547aa7555022da8690eba4e4c1cdfeac21a6cba84a7d1cc07f
MD5 c7683734eb61c03c450e551efa7b4d5a metadata.xml 240
RMD160 8c29e03b578ddd40c82afe82d42498d4c855e745 metadata.xml 240
MD5 85b90dc2d065efaee3065eebe6814224 files/digest-sun-jre-bin-1.4.2.12-r2 271
RMD160 9428423bb0e74bcacee9428aac0436b67438c429 files/digest-sun-jre-bin-1.4.2.12-r2 271
SHA256 3e71d56840f86073ed25b7d52c9f1afb8bd0f1c13d04f20efd53803ef670cb76 files/digest-sun-jre-bin-1.4.2.12-r2 271
+MD5 164ca1935f8e5fde76df8f7fe7f85200 files/digest-sun-jre-bin-1.4.2.13 271
+RMD160 3b26ac8471bcd7d76f0c6ccd5c9dc7b762670863 files/digest-sun-jre-bin-1.4.2.13 271
+SHA256 9a8ab82dadb094b1989330c320f789b97a576e08a21bc5e139f1428b8a2b582b files/digest-sun-jre-bin-1.4.2.13 271
MD5 20fa891f2c9e4953c1da7d1c318d3216 files/digest-sun-jre-bin-1.5.0.08-r1 563
RMD160 59f63ab1ef5f3a40c10ccd954d1cfa2ca47f4e15 files/digest-sun-jre-bin-1.5.0.08-r1 563
SHA256 36ee47fae9d203d6e249bd407da3fd700d2d4f672a258285010f1a44f38ea0b8 files/digest-sun-jre-bin-1.5.0.08-r1 563
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.13.ebuild,v 1.1 2006/11/23 00:11:36 caster Exp $
+
+inherit java-vm-2 eutils
+
+MY_PV=${PV%.*}_${PV##*.}
+MY_PV2=${PV//./_}
+At="j2re-${MY_PV2}-linux-i586.bin"
+S="${WORKDIR}/j2re${MY_PV}"
+DESCRIPTION="Sun's J2SE Platform"
+HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
+SRC_URI=${At}
+SLOT="1.4"
+LICENSE="sun-bcla-java-vm-1.4.2"
+KEYWORDS="-* x86"
+RESTRICT="fetch"
+IUSE="X alsa nsplugin"
+
+DEPEND="sys-apps/sed"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXp
+ x11-libs/libXt
+ x11-libs/libXtst
+ )"
+
+
+PACKED_JARS="lib/rt.jar lib/jsse.jar lib/charsets.jar
+lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar"
+
+# this is needed for proper operating under a PaX kernel without activated grsecurity acl
+CHPAX_CONSERVATIVE_FLAGS="pemsv"
+
+DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2re-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"
+
+QA_TEXTRELS_x86="opt/${P}/lib/i386/libawt.so
+ opt/${P}/plugin/i386/ns4/libjavaplugin.so
+ opt/${P}/plugin/i386/ns610/libjavaplugin_oji.so
+ opt/${P}/plugin/i386/ns610-gcc32/libjavaplugin_oji.so"
+
+pkg_nofetch() {
+ einfo "Please download ${At} from:"
+ einfo ${DOWNLOAD_URL}
+ einfo "(accept the license, then click on 'self-extracting file' under 'Linux Platform')"
+ einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+ if [ ! -r ${DISTDIR}/${At} ]; then
+ eerror "cannot read ${At}. Please check the permission and try again."
+ die
+ fi
+ #Search for the ELF Header
+ testExp=`echo -e "\177\105\114\106\001\001\001"`
+ startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
+ tail -n +${startAt} ${DISTDIR}/${At} > install.sfx
+ chmod +x install.sfx
+ ./install.sfx || die
+ rm install.sfx
+
+ if [ -f ${S}/lib/unpack ]; then
+ UNPACK_CMD=${S}/lib/unpack
+ chmod +x $UNPACK_CMD
+ sed -i 's#/tmp/unpack.log#/dev/null\x00\x00\x00\x00\x00\x00#g' $UNPACK_CMD
+ for i in $PACKED_JARS; do
+ PACK_FILE=${S}/`dirname $i`/`basename $i .jar`.pack
+ if [ -f ${PACK_FILE} ]; then
+ echo " unpacking: $i"
+ $UNPACK_CMD ${PACK_FILE} ${S}/$i
+ rm -f ${PACK_FILE}
+ fi
+ done
+ fi
+}
+
+src_install() {
+ local dirs="bin lib man javaws plugin"
+ dodir /opt/${P}
+
+ for i in $dirs ; do
+ cp -pPR $i ${D}/opt/${P}/
+ done
+
+ dodoc CHANGES COPYRIGHT README LICENSE THIRDPARTYLICENSEREADME.txt
+ dohtml Welcome.html ControlPanel.html
+
+ if use nsplugin; then
+ local plugin_dir="ns610"
+ if has_version '>=sys-devel/gcc-3.2' ; then
+ plugin_dir="ns610-gcc32"
+ fi
+ install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
+ fi
+
+ # bug #147259
+ dosym ../javaws/javaws /opt/${P}/bin/javaws
+
+ # create dir for system preferences
+ dodir /opt/${P}/.systemPrefs
+
+ # create dir for system preferences
+ dodir /opt/${P}/.systemPrefs
+ # Create files used as storage for system preferences.
+ touch ${D}/opt/${P}/.systemPrefs/.system.lock
+ chmod 644 ${D}/opt/${P}/.systemPrefs/.system.lock
+ touch ${D}/opt/${P}/.systemPrefs/.systemRootModFile
+ chmod 644 ${D}/opt/${P}/.systemPrefs/.systemRootModFile
+
+ # install control panel for Gnome/KDE
+ sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}/" \
+ -e "s/\(Name=Java\)/\1 Control Panel/" \
+ ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
+ ${T}/sun_java-jre.desktop
+ domenu ${T}/sun_java-jre.desktop
+
+ set_java_env
+}
+
+pkg_postinst () {
+ # Set as default VM if none exists
+ java-vm-2_pkg_postinst
+
+ # if chpax is on the target system, set the appropriate PaX flags
+ # this will not hurt the binary, it modifies only unused ELF bits
+ # but may confuse things like AV scanners and automatic tripwire
+ if has_version sys-apps/chpax
+ then
+ echo
+ einfo "setting up conservative PaX flags for jar, javac and java"
+
+ for paxkills in "java"
+ do
+ chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/bin/$paxkills
+ done
+
+ # /opt/sun-jdk-1.4.2.03/bin/java_vm
+ chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/bin/java_vm
+
+ einfo "you should have seen lots of chpax output above now"
+ ewarn "make sure the grsec ACL contains those entries also"
+ ewarn "because enabling it will override the chpax setting"
+ ewarn "on the physical files - help for PaX and grsecurity"
+ ewarn "can be given by #gentoo-hardened + hardened@gentoo.org"
+ fi
+
+ if ! use X; then
+ echo
+ ewarn "Some parts of Sun's JDK require virtual/x11 to be installed."
+ ewarn "Be careful which Java libraries you attempt to use."
+ fi
+}