summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-10-17 23:59:09 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-10-17 23:59:09 +0000
commit40c7baddfbb60afb7e9d568d6f05435d8a75e80a (patch)
treee0df9dfea5950658b04661501deee5f4224f3e19 /dev-java
parentPruned old revisions. (diff)
downloadhistorical-40c7baddfbb60afb7e9d568d6f05435d8a75e80a.tar.gz
historical-40c7baddfbb60afb7e9d568d6f05435d8a75e80a.tar.bz2
historical-40c7baddfbb60afb7e9d568d6f05435d8a75e80a.zip
Pruned old revisions.
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-jre-bin/Manifest33
-rw-r--r--dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.103
-rw-r--r--dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.5.0.066
-rw-r--r--dev-java/sun-jre-bin/files/sun-jre-bin-1.4.2.1011
-rw-r--r--dev-java/sun-jre-bin/files/sun-jre-bin-1.5.0.0611
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.4.2.10.ebuild177
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.5.0.06.ebuild209
7 files changed, 4 insertions, 446 deletions
diff --git a/dev-java/sun-jre-bin/Manifest b/dev-java/sun-jre-bin/Manifest
index ccc12ab494cf..67dccb86ea45 100644
--- a/dev-java/sun-jre-bin/Manifest
+++ b/dev-java/sun-jre-bin/Manifest
@@ -2,61 +2,36 @@ AUX construct.sh 6959 RMD160 fdc0d503b412657a6b0864cfc7f18fa63bf43225 SHA1 966b9
MD5 94065b612df0046d9ae758943f9f6a75 files/construct.sh 6959
RMD160 fdc0d503b412657a6b0864cfc7f18fa63bf43225 files/construct.sh 6959
SHA256 55ca240c8cb0e01b0548e66b0c6446437ebeff541334ead256b5139c1e14ea3f files/construct.sh 6959
-AUX sun-jre-bin-1.4.2.10 571 RMD160 be5278feebb0194b1a2dd54e6920cbd69b82f4d5 SHA1 8eb76ab5a45946af62289716e52950c21408a701 SHA256 fbf8f9d1d84942bb70f963263579b2a25694f6d4b51f64b465ad7af2f4cfcba8
-MD5 8bca9ee7188cd9e4104e950ee936039e files/sun-jre-bin-1.4.2.10 571
-RMD160 be5278feebb0194b1a2dd54e6920cbd69b82f4d5 files/sun-jre-bin-1.4.2.10 571
-SHA256 fbf8f9d1d84942bb70f963263579b2a25694f6d4b51f64b465ad7af2f4cfcba8 files/sun-jre-bin-1.4.2.10 571
AUX sun-jre-bin-1.4.env 854 RMD160 c473374bfcd3f9fc31b8946f9bccbc9c843ae258 SHA1 38bff237744c087ace43879d36d8794a55aa02cc SHA256 8f504d30eeb00f2bd3a1fe35a56448c1784143b51e9875c9e2692117a7fafcae
MD5 479876d6b33c37a08244f6b43a084104 files/sun-jre-bin-1.4.env 854
RMD160 c473374bfcd3f9fc31b8946f9bccbc9c843ae258 files/sun-jre-bin-1.4.env 854
SHA256 8f504d30eeb00f2bd3a1fe35a56448c1784143b51e9875c9e2692117a7fafcae files/sun-jre-bin-1.4.env 854
-AUX sun-jre-bin-1.5.0.06 575 RMD160 d73366d67294557f35a69e12df9cab4e5105a0d2 SHA1 c871e002deba24460e231939d97a6404dbc5d619 SHA256 e1dd895137bf35d584c492ed2ff1217ade59819b698fe06dc44c37d1e5a2ae2e
-MD5 9cf7f9c6cae445c33f949a1679b19f72 files/sun-jre-bin-1.5.0.06 575
-RMD160 d73366d67294557f35a69e12df9cab4e5105a0d2 files/sun-jre-bin-1.5.0.06 575
-SHA256 e1dd895137bf35d584c492ed2ff1217ade59819b698fe06dc44c37d1e5a2ae2e files/sun-jre-bin-1.5.0.06 575
AUX sun-jre-bin-1.5.env 852 RMD160 7ef7c7692279324de8e22c4b68f729e27134590a SHA1 648b753ada568f501a6b1905206bbbae6b046323 SHA256 c8557635c09c381cf1eb3e23619c5bfd01c06f062364ac49cdbef36d567bb34e
MD5 30d56311fb1996c78266a43da718a4e9 files/sun-jre-bin-1.5.env 852
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_10-linux-i586.bin 14417572 RMD160 fab835b3469e4a38adfd24312ebc0a6995639921 SHA1 abfa629993ede920a5db87a583b98cf64c229daf SHA256 832e50175e797c18602ae30ef4499fcf3e9002d9f317d8718b1d26512e6c51ac
DIST j2re-1_4_2_12-linux-i586.bin 14339018 RMD160 a63313d5a57f770ec6cd6c89c56b101f7a77f964 SHA1 18631914aeff51fcd89d226dbe3396ea91d21408 SHA256 b80403dc39008f53e50c47a04322a2046b257654653ef41a05aca29b3636fb2f
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 jre-1_5_0_06-linux-amd64.bin 16403250 RMD160 4309c9805c9595587e385bcfe951c693609b8560 SHA256 3caff8426bb55fa6f3e40738a537b9351ef5f38c5a50b1f5ac6756b16f4bcfee
-DIST jre-1_5_0_06-linux-i586.bin 16769166 RMD160 b5f306da7d2569ab7698beaaa7dc2a662c04e876 SHA256 316a925f5a4f3edd5bf64c138c3585d979f15a1ffb517798e8ed8f3bde5024fc
-EBUILD sun-jre-bin-1.4.2.10.ebuild 5421 RMD160 66751c08562ca138101fbde7c5541c4482f43cbd SHA1 9f37e205036e2fc7860aba5bd0812b5b9c692892 SHA256 a5c9b674ceafd1294412571e402945bcd582758fae3cdf21d70f635a42aa1488
-MD5 315619dedd34da3aa917744723ecfdea sun-jre-bin-1.4.2.10.ebuild 5421
-RMD160 66751c08562ca138101fbde7c5541c4482f43cbd sun-jre-bin-1.4.2.10.ebuild 5421
-SHA256 a5c9b674ceafd1294412571e402945bcd582758fae3cdf21d70f635a42aa1488 sun-jre-bin-1.4.2.10.ebuild 5421
EBUILD sun-jre-bin-1.4.2.12-r2.ebuild 4608 RMD160 e6891977904969bddbea013b8f46fb0ae0da1263 SHA1 a384cfc5f10c28512b3aed25256cbdb8683db5c4 SHA256 eb93119c3ccec0d85f0578441b467aeba4a68229df21c620e501a3addb23f4b2
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.5.0.06.ebuild 5731 RMD160 4e649e7f38f6ae9bb65cf359c89686a6c47e3a6a SHA1 980c6b618798539043a8a23785650072ca69bac4 SHA256 b7571e995aad9d694337c91c3f3dbd5037484af4b9e8db1feb5b03ff1258df80
-MD5 c5272d719c86f2014803b4cac5832a77 sun-jre-bin-1.5.0.06.ebuild 5731
-RMD160 4e649e7f38f6ae9bb65cf359c89686a6c47e3a6a sun-jre-bin-1.5.0.06.ebuild 5731
-SHA256 b7571e995aad9d694337c91c3f3dbd5037484af4b9e8db1feb5b03ff1258df80 sun-jre-bin-1.5.0.06.ebuild 5731
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
SHA256 1eedf693f64280492818f76d829339db9c8234928b1d3823abbe06d6f6e8066f sun-jre-bin-1.5.0.08-r1.ebuild 4329
-MISC ChangeLog 12153 RMD160 db80402481333d452e72090a6db20eb2fda5e6ba SHA1 e1894bb10468e31e623d53f3a8e7022686d03d90 SHA256 c6712656c3ca491171972158b9a4b98caaaed860c57509ac08bf72fa10e0be61
-MD5 ffe9b7578dff9756b7d886daa46bcfe1 ChangeLog 12153
-RMD160 db80402481333d452e72090a6db20eb2fda5e6ba ChangeLog 12153
-SHA256 c6712656c3ca491171972158b9a4b98caaaed860c57509ac08bf72fa10e0be61 ChangeLog 12153
+MISC ChangeLog 12350 RMD160 83084333346d023326db40390587fe2ab8bc19e9 SHA1 38271253d23866b8ae1d5b97f8dd481f58f92e95 SHA256 0d74a45d39491285fcff74d1e1900d01182a745523d3bdc7ac24d6fc4abb8210
+MD5 f4fe4a1bea209eb1c465dac3f513b111 ChangeLog 12350
+RMD160 83084333346d023326db40390587fe2ab8bc19e9 ChangeLog 12350
+SHA256 0d74a45d39491285fcff74d1e1900d01182a745523d3bdc7ac24d6fc4abb8210 ChangeLog 12350
MISC metadata.xml 240 RMD160 8c29e03b578ddd40c82afe82d42498d4c855e745 SHA1 9d97dffe17dd3ea241edafeb9a12479d4e0bc17f SHA256 3736870ea8f5be547aa7555022da8690eba4e4c1cdfeac21a6cba84a7d1cc07f
MD5 c7683734eb61c03c450e551efa7b4d5a metadata.xml 240
RMD160 8c29e03b578ddd40c82afe82d42498d4c855e745 metadata.xml 240
SHA256 3736870ea8f5be547aa7555022da8690eba4e4c1cdfeac21a6cba84a7d1cc07f metadata.xml 240
-MD5 073f671a6a5d8ddb2f9645824debb43c files/digest-sun-jre-bin-1.4.2.10 271
-RMD160 b1ff7bcee524ecc258da418b019accd88eed1afd files/digest-sun-jre-bin-1.4.2.10 271
-SHA256 441d20feed468696d5129d21bfedd9b408e0584b9d235fb2b145a76c825a001b files/digest-sun-jre-bin-1.4.2.10 271
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 575297db348a3e09371ab435ebddbea0 files/digest-sun-jre-bin-1.5.0.06 539
-RMD160 805a47eeb2ff25e53606c13cdd774db8a8b3b601 files/digest-sun-jre-bin-1.5.0.06 539
-SHA256 631931544e94f62bfa7526e9ac1a7c24ac3724f94f650989138b15867b780e8f files/digest-sun-jre-bin-1.5.0.06 539
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
diff --git a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.10 b/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.10
deleted file mode 100644
index 6125d3b33f50..000000000000
--- a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.10
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e9a9cb196308783c72666f3707b84919 j2re-1_4_2_10-linux-i586.bin 14417572
-RMD160 fab835b3469e4a38adfd24312ebc0a6995639921 j2re-1_4_2_10-linux-i586.bin 14417572
-SHA256 832e50175e797c18602ae30ef4499fcf3e9002d9f317d8718b1d26512e6c51ac j2re-1_4_2_10-linux-i586.bin 14417572
diff --git a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.5.0.06 b/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.5.0.06
deleted file mode 100644
index 1927b3ed0548..000000000000
--- a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.5.0.06
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 6a771c3c9e93021ab34a30bcf609c74b jre-1_5_0_06-linux-amd64.bin 16403250
-RMD160 4309c9805c9595587e385bcfe951c693609b8560 jre-1_5_0_06-linux-amd64.bin 16403250
-SHA256 3caff8426bb55fa6f3e40738a537b9351ef5f38c5a50b1f5ac6756b16f4bcfee jre-1_5_0_06-linux-amd64.bin 16403250
-MD5 e0a88dbec9bfe3195794bb652bfc6516 jre-1_5_0_06-linux-i586.bin 16769166
-RMD160 b5f306da7d2569ab7698beaaa7dc2a662c04e876 jre-1_5_0_06-linux-i586.bin 16769166
-SHA256 316a925f5a4f3edd5bf64c138c3585d979f15a1ffb517798e8ed8f3bde5024fc jre-1_5_0_06-linux-i586.bin 16769166
diff --git a/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.2.10 b/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.2.10
deleted file mode 100644
index ab374e45d8d1..000000000000
--- a/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.2.10
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.2.10,v 1.1 2005/11/15 16:47:52 axxo Exp $
-
-VERSION="Sun JRE @PV@"
-JAVA_HOME=/opt/@P@
-JRE_HOME=/opt/@P@
-ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
-ADDLDPATH="${JAVA_HOME}/lib/@PLATFORM@/:${JAVA_HOME}/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/lib/@PLATFORM@/classic/:${JAVA_HOME}/lib/@PLATFORM@/server"
-MANPATH="/opt/@P@/man"
-ENV_VARS="JAVA_HOME JRE_HOME ADDPATH ADDLDPATH MANPATH"
diff --git a/dev-java/sun-jre-bin/files/sun-jre-bin-1.5.0.06 b/dev-java/sun-jre-bin/files/sun-jre-bin-1.5.0.06
deleted file mode 100644
index d8ff241e14c9..000000000000
--- a/dev-java/sun-jre-bin/files/sun-jre-bin-1.5.0.06
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/files/sun-jre-bin-1.5.0.06,v 1.1 2005/12/07 22:55:04 betelgeuse Exp $
-
-VERSION="Sun JRE @PV@"
-JAVA_HOME=/opt/@P@
-JRE_HOME=/opt/@P@
-ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
-ADDLDPATH="${JAVA_HOME}/lib/@PLATFORM@/:${JAVA_HOME}/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/lib/@PLATFORM@/xawt/:${JAVA_HOME}/lib/@PLATFORM@/server/"
-MANPATH="/opt/@P@/man"
-ENV_VARS="JAVA_HOME JRE_HOME ADDPATH ADDLDPATH MANPATH"
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.10.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.10.ebuild
deleted file mode 100644
index 7d41dfe20573..000000000000
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.10.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# 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.10.ebuild,v 1.9 2006/09/23 01:28:27 nichoj Exp $
-
-inherit java 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 browserplugin nsplugin mozilla"
-
-DEPEND="sys-apps/sed"
-
-RDEPEND="sys-libs/glibc
- alsa? ( media-libs/alsa-lib )
- X? ( || ( (
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXp
- x11-libs/libXt
- x11-libs/libXtst
- )
-
- virtual/x11
- )
- )"
-
-
-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"
-
-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"
-
-DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2re-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"
-
-pkg_nofetch() {
- einfo "Please download ${At} from:"
- einfo ${DOWNLOAD_URL}
- einfo "(select the \"Linux self-extracting file\" package format of the JRE"
- 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 || # global useflag for netscape-compat plugins
- use browserplugin || # deprecated but honor for now
- use mozilla; then # wrong but used to honor it
- 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
-
- # create dir for system preferences
- dodir /opt/${P}/.systemPrefs
-
- # 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 ${FILESDIR}/${VMHANDLE}
-
- # TODO prepman "fixes" symlink ja -> ja__JP.eucJP in 'man' directory,
- # creating ja.gz -> ja_JP.eucJP.gz. This is broken as ja_JP.eucJP
- # is a directory and will not be gzipped ;)
-}
-
-pkg_postinst () {
- # Create files used as storage for system preferences.
- touch /opt/${P}/.systemPrefs/.system.lock
- chmod 644 /opt/${P}/.systemPrefs/.system.lock
- touch /opt/${P}/.systemPrefs/.systemRootModFile
- chmod 644 /opt/${P}/.systemPrefs/.systemRootModFile
-
- java_pkg_postinst
-
- if ! use nsplugin && ( use browserplugin || use mozilla ); then
- echo
- ewarn "The 'browserplugin' and 'mozilla' useflags will not be honored in"
- ewarn "future jdk/jre ebuilds for plugin installation. Please"
- ewarn "update your USE to include 'nsplugin'."
- fi
-
- # Show info about netscape
- if has_version '>=www-client/netscape-navigator-4.79-r1' || has_version '>=www-client/netscape-communicator-4.79-r1' ; then
- echo
- einfo "If you want to install the plugin for Netscape 4.x, type"
- einfo
- einfo " cd /usr/lib/nsbrowser/plugins/"
- einfo " ln -sf /opt/${P}/jre/plugin/i386/ns4/libjavaplugin.so"
- fi
-
- # 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
-}
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.06.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.06.ebuild
deleted file mode 100644
index ce2b5bdfb5b1..000000000000
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.06.ebuild
+++ /dev/null
@@ -1,209 +0,0 @@
-# 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.5.0.06.ebuild,v 1.10 2006/10/02 21:36:04 caster Exp $
-
-inherit java eutils
-
-MY_PVL=${PV%.*}_${PV##*.}
-MY_PVA=${PV//./_}
-
-amd64file="jre-${MY_PVA}-linux-amd64.bin"
-x86file="jre-${MY_PVA}-linux-i586.bin"
-
-if use x86; then
- At=${x86file}
-elif use amd64; then
- At=${amd64file}
-fi
-
-S="${WORKDIR}/jre${MY_PVL}"
-DESCRIPTION="Sun's J2SE Platform"
-HOMEPAGE="http://java.sun.com/j2se/"
-SRC_URI="x86? ( $x86file ) amd64? ( $amd64file )"
-SLOT="1.5"
-LICENSE="sun-bcla-java-vm"
-KEYWORDS="-* amd64 x86"
-RESTRICT="fetch stricter"
-IUSE="X alsa browserplugin nsplugin mozilla"
-
-DEPEND="sys-apps/sed"
-
-RDEPEND="sys-libs/glibc
- alsa? ( media-libs/alsa-lib )
- X? ( || ( (
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXp
- x11-libs/libXt
- x11-libs/libXtst
- )
- virtual/x11
- )
- )"
-
-
-PACKED_JARS="lib/rt.jar lib/jsse.jar lib/charsets.jar lib/ext/localedata.jar lib/plugin.jar lib/javaws.jar lib/deploy.jar"
-
-# this is needed for proper operating under a PaX kernel without activated grsecurity acl
-CHPAX_CONSERVATIVE_FLAGS="pemsv"
-
-FETCH_SDK="http://javashoplm.sun.com:80/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jre-${MY_PVL}-oth-JPR&SiteId=JSC&TransactionId=noreg"
-
-
-pkg_nofetch() {
- local archtext=""
-
- if use x86; then
- archtext="Linux"
- elif use amd64; then
- archtext="Linux AMD64"
- fi
-
- einfo "Please download ${At} from:"
- einfo ${FETCH_SDK}
- einfo "Select the ${archtext} self-extracting file"
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- if [ ! -r ${DISTDIR}/${At} ]; then
- die "cannot read ${At}. Please check the permission and try again."
- fi
-
- #Search for the ELF Header
- testExp=`echo -e "\105\114\106"`
- 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}/bin/unpack200 ]; then
- UNPACK_CMD=${S}/bin/unpack200
- 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
- rm -f ${UNPACK_CMD}
- else
- die "unpack not found"
- fi
-}
-
-src_install() {
-
- if use amd64; then
- local dirs="bin lib man"
- else
- local dirs="bin lib man plugin javaws"
- fi
-
-
- dodir /opt/${P}
-
- for i in $dirs ; do
- cp -pPR $i ${D}/opt/${P}/ || die "failed to build"
- done
-
- dodoc COPYRIGHT README
- dohtml Welcome.html
-
- if use nsplugin || # global useflag for netscape-compat plugins
- use browserplugin || # deprecated but honor for now
- use mozilla; then # wrong but used to honor it
- 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}/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}/.systemPrefs
-
- # 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 ${FILESDIR}/${VMHANDLE}
-}
-
-pkg_postinst() {
- # Create files used as storage for system preferences.
- PREFS_LOCATION=/opt/${P}/
- mkdir -p ${PREFS_LOCATION}/.systemPrefs
- if [ ! -f ${PREFS_LOCATION}/.systemPrefs/.system.lock ] ; then
- touch $PREFS_LOCATION/.systemPrefs/.system.lock
- chmod 644 $PREFS_LOCATION/.systemPrefs/.system.lock
- fi
- if [ ! -f $PREFS_LOCATION/.systemPrefs/.systemRootModFile ] ; then
- touch $PREFS_LOCATION/.systemPrefs/.systemRootModFile
- chmod 644 $PREFS_LOCATION/.systemPrefs/.systemRootModFile
- fi
-
- # Set as default VM if none exists
- java_pkg_postinst
-
- if ! use nsplugin && ( use browserplugin || use mozilla ); then
- echo
- ewarn "The 'browserplugin' and 'mozilla' useflags will not be honored in"
- ewarn "future jdk/jre ebuilds for plugin installation. Please"
- ewarn "update your USE to include 'nsplugin'."
- fi
-
- # Show info about netscape
- if has_version '>=www-client/netscape-navigator-4.79-r1' || has_version '>=www-client/netscape-communicator-4.79-r1' ; then
- echo
- einfo "If you want to install the plugin for Netscape 4.x, type"
- einfo
- einfo " cd /usr/lib/nsbrowser/plugins/"
- einfo " ln -sf /opt/${P}/plugin/i386/ns4/libjavaplugin.so"
- fi
-
- # 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/$VM/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
- local xwarn="virtual/x11 and/or"
- fi
-
- echo
- ewarn "Some parts of Sun's JRE require ${xwarn} virtual/lpr to be installed."
- ewarn "Be careful which Java libraries you attempt to use."
-}