Portage is a package management system used by Gentoo Linux
# ChangeLog for app-emulation/emul-linux-x86-java
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.61 2008/11/17 21:45:33 ken69267 Exp $
17 Nov 2008; Kenneth Prugh
emul-linux-x86-java-1.6.0.10.ebuild:
amd64 stable, bug #246995
*emul-linux-x86-java-1.6.0.10 (17 Oct 2008)
17 Oct 2008; Serkan Kaba
+emul-linux-x86-java-1.6.0.10.ebuild:
Version bump with several changes and improvements. Visit
http://java.sun.com/javase/6/webnotes/6u10.html for more info.
16 Sep 2008; Serkan Kaba
emul-linux-x86-java-1.5.0.15.ebuild, emul-linux-x86-java-1.5.0.16.ebuild,
emul-linux-x86-java-1.6.0.05.ebuild,
emul-linux-x86-java-1.6.0.05-r1.ebuild,
emul-linux-x86-java-1.6.0.06.ebuild, emul-linux-x86-java-1.6.0.07.ebuild:
Fix descriptions reported in bug #237331 by jieryn
12 Jul 2008; Kenneth Prugh
emul-linux-x86-java-1.4.2.18.ebuild, emul-linux-x86-java-1.5.0.16.ebuild,
emul-linux-x86-java-1.6.0.07.ebuild:
amd64 stable, bug #231337
*emul-linux-x86-java-1.4.2.18 (09 Jul 2008)
09 Jul 2008; Petteri Räty
+emul-linux-x86-java-1.4.2.18.ebuild:
Version bump.
*emul-linux-x86-java-1.6.0.07 (09 Jul 2008)
*emul-linux-x86-java-1.5.0.16 (09 Jul 2008)
09 Jul 2008; Serkan Kaba
emul-linux-x86-java-1.5.0.15.ebuild, +emul-linux-x86-java-1.5.0.16.ebuild,
emul-linux-x86-java-1.6.0.05.ebuild, +emul-linux-x86-java-1.6.0.07.ebuild:
Version bump. Fix quoting.
22 May 2008; Markus Meier
emul-linux-x86-java-1.6.0.06.ebuild:
amd64 stable, bug #222311
17 May 2008; Petteri Räty
emul-linux-x86-java-1.4.2.17.ebuild:
Update download url because of changes in Sun download center. Fixes bug
#220375.
19 Apr 2008; Vlastimil Babka
emul-linux-x86-java-1.5.0.15.ebuild, emul-linux-x86-java-1.6.0.06.ebuild:
Install revdep-rebuild mask file - bug #177925.
*emul-linux-x86-java-1.6.0.06 (19 Apr 2008)
19 Apr 2008; Vlastimil Babka
+emul-linux-x86-java-1.6.0.06.ebuild:
Version bump.
28 Mar 2008; Vlastimil Babka
emul-linux-x86-java-1.5.0.15.ebuild,
emul-linux-x86-java-1.6.0.05-r1.ebuild:
Fix CDS generation on hardened, bug #215225.
*emul-linux-x86-java-1.6.0.05-r1 (27 Mar 2008)
27 Mar 2008; Vlastimil Babka
files/construct.sh, -files/javasettings_Linux_x86.xml,
-emul-linux-x86-java-1.4.2.16.ebuild,
-emul-linux-x86-java-1.5.0.13.ebuild, emul-linux-x86-java-1.5.0.15.ebuild,
-emul-linux-x86-java-1.6.0.03.ebuild,
-emul-linux-x86-java-1.6.0.04.ebuild,
+emul-linux-x86-java-1.6.0.05-r1.ebuild:
Remove vulnerable versions. Create Class Data Sharing archive also for
server VM in 1.6, bug #207282.
27 Mar 2008; Markus Meier
emul-linux-x86-java-1.5.0.15.ebuild, emul-linux-x86-java-1.6.0.05.ebuild:
amd64 stable, security bug #212425
*emul-linux-x86-java-1.6.0.05 (26 Mar 2008)
*emul-linux-x86-java-1.5.0.15 (26 Mar 2008)
26 Mar 2008; Vlastimil Babka
+emul-linux-x86-java-1.5.0.15.ebuild,
+emul-linux-x86-java-1.6.0.05.ebuild:
Version bump, security bug #212425.
20 Mar 2008; Peter Volkov
emul-linux-x86-java-1.4.2.17.ebuild:
amd64 stable, security bug #212425.
*emul-linux-x86-java-1.4.2.17 (05 Mar 2008)
05 Mar 2008; Vlastimil Babka
+emul-linux-x86-java-1.4.2.17.ebuild:
Version bump, security bug #212425.
08 Dec 2007; Petteri Räty
emul-linux-x86-java-1.6.0.03.ebuild:
Add dependency on app-emulation/emul-linux-x86-compat for Java Web Start.
08 Nov 2007; Vlastimil Babka
-files/emul-linux-x86-java-1.4.2.env,
-emul-linux-x86-java-1.4.2.03-r2.ebuild:
Removing vulnerable blackdown-based version.
06 Nov 2007; Chris Gianelloni
emul-linux-x86-java-1.4.2.16.ebuild:
Stable on amd64 wrt bug #178962.
*emul-linux-x86-java-1.4.2.16 (03 Nov 2007)
03 Nov 2007; Vlastimil Babka
+files/emul-linux-x86-java-1.4.env, +emul-linux-x86-java-1.4.2.16.ebuild,
-emul-linux-x86-java-1.5.0.12.ebuild,
-emul-linux-x86-java-1.6.0.02.ebuild:
Version bump, security bug #178962 use Sun JRE instead of blackdown, change
slot from 1.4.2 to 1.4 to follow sun-jre-bin. Cleanup unused versions.
12 Oct 2007; William L. Thomson Jr.
emul-linux-x86-java-1.4.2.03-r2.ebuild,
emul-linux-x86-java-1.5.0.13.ebuild, emul-linux-x86-java-1.6.0.03.ebuild:
amd64 stable, bug #194711. Added quotes, still missing from older soon to be
removed versions.
*emul-linux-x86-java-1.6.0.03 (04 Oct 2007)
*emul-linux-x86-java-1.5.0.13 (04 Oct 2007)
04 Oct 2007; Petteri Räty
+emul-linux-x86-java-1.5.0.13.ebuild,
+emul-linux-x86-java-1.6.0.03.ebuild:
Version bump for bug #194699.
17 Aug 2007; Petteri Räty
-emul-linux-x86-java-1.5.0.11.ebuild, -emul-linux-x86-java-1.6.0.ebuild,
-emul-linux-x86-java-1.6.0-r1.ebuild,
-emul-linux-x86-java-1.6.0.01.ebuild:
Delete old versions/revisions.
17 Aug 2007; Petteri Räty
emul-linux-x86-java-1.6.0.02.ebuild:
Fix HOMEPAGE for bug #188972.
22 Jul 2007; Wulf C. Krueger
emul-linux-x86-java-1.5.0.12.ebuild, emul-linux-x86-java-1.6.0.02.ebuild:
Marked stable on amd64 as per bug 185256.
22 Jul 2007; Donnie Berkholz
emul-linux-x86-java-1.5.0.11.ebuild, emul-linux-x86-java-1.5.0.12.ebuild,
emul-linux-x86-java-1.6.0.ebuild, emul-linux-x86-java-1.6.0-r1.ebuild,
emul-linux-x86-java-1.6.0.01.ebuild, emul-linux-x86-java-1.6.0.02.ebuild:
Drop virtual/x11 references.
22 Jul 2007; David Shakaryan
emul-linux-x86-java-1.5.0.11.ebuild, emul-linux-x86-java-1.6.0.ebuild,
emul-linux-x86-java-1.6.0-r1.ebuild:
Remove virtual/x11 from dependencies.
12 Jul 2007; Petteri Räty
Remove herbs from metadata.xml as in reality this has been maintained by us
Java folks.
*emul-linux-x86-java-1.6.0.02 (12 Jul 2007)
12 Jul 2007; Petteri Räty
+emul-linux-x86-java-1.6.0.02.ebuild:
Version bump for bug #184407.
02 Jul 2007; Piotr Jaroszyński
emul-linux-x86-java-1.4.2.03-r2.ebuild,
emul-linux-x86-java-1.5.0.11.ebuild, emul-linux-x86-java-1.5.0.12.ebuild,
emul-linux-x86-java-1.6.0.ebuild, emul-linux-x86-java-1.6.0-r1.ebuild,
emul-linux-x86-java-1.6.0.01.ebuild:
(QA) RESTRICT clean up.
25 Jun 2007; Christoph Mende
emul-linux-x86-java-1.6.0.01.ebuild:
Stable on amd64 wrt bug 177842
*emul-linux-x86-java-1.5.0.12 (11 Jun 2007)
11 Jun 2007; Petteri Räty
+emul-linux-x86-java-1.5.0.12.ebuild:
Version bump slot 1.5. Ebuild now uses pax-utils.eclass and depends on
emul-linux-x86- packages instead of the normal ones.
*emul-linux-x86-java-1.6.0.01 (02 Jun 2007)
02 Jun 2007; Petteri Räty
+emul-linux-x86-java-1.6.0.01.ebuild, -emul-linux-x86-java-1.6.0.1.ebuild:
Versioned it wrong. It should be 1.6.0.01.
02 Jun 2007; Petteri Räty
files/emul-linux-x86-java-1.6.env:
Sync env file with sun-jre-bin-1.6.0.1
*emul-linux-x86-java-1.6.0.1 (02 Jun 2007)
02 Jun 2007; Petteri Räty
+emul-linux-x86-java-1.6.0.1.ebuild:
Version bump. Fixes security bug #178851. Depend on the emul-linux
packages instead of the 64 bit packages for alsa and xlibs.
14 May 2007; Vlastimil Babka
-emul-linux-x86-java-1.5.0.10.ebuild:
Remove vulnerable version.
11 May 2007; Steve Dibb
emul-linux-x86-java-1.5.0.11.ebuild:
amd64 stable, security bug 176675
*emul-linux-x86-java-1.6.0-r1 (09 May 2007)
09 May 2007; Petteri Räty
+emul-linux-x86-java-1.6.0-r1.ebuild:
Use pax-utils.eclass and use m instead of pemsv as the chpax flags.
07 May 2007; Petteri Räty
emul-linux-x86-java-1.4.2.03-r2.ebuild:
Call java-vm-2_pkg_setup in pkg_setup.
07 Mar 2007; Chris Gianelloni
emul-linux-x86-java-1.4.2.03-r2.ebuild,
emul-linux-x86-java-1.5.0.10.ebuild, emul-linux-x86-java-1.5.0.11.ebuild,
emul-linux-x86-java-1.6.0.ebuild:
Change all instances of [ to [[.
*emul-linux-x86-java-1.5.0.11 (11 Feb 2007)
11 Feb 2007; Simon Stelling
+emul-linux-x86-java-1.5.0.11.ebuild:
version bump; bug 166305
11 Feb 2007; Simon Stelling
emul-linux-x86-java-1.6.0.ebuild:
TEXTREL stuff; bug 164456
10 Feb 2007; Joshua Nichols
-emul-linux-x86-java-1.4.2.03-r1.ebuild,
-emul-linux-x86-java-1.5.0.08.ebuild:
Pruned old revisions with same keywords.
03 Feb 2007; Steve Dibb
emul-linux-x86-java-1.5.0.10.ebuild:
amd64 stable, security bug 159547
26 Jan 2007; Vlastimil Babka
files/digest-emul-linux-x86-java-1.4.2.03-r1,
files/digest-emul-linux-x86-java-1.4.2.03-r2, Manifest:
Fix digests.
*emul-linux-x86-java-1.6.0 (26 Jan 2007)
26 Jan 2007; William L. Thomson Jr.
+files/emul-linux-x86-java-1.6.env, +files/construct-1.6.sh,
files/construct.sh, +emul-linux-x86-java-1.6.0.ebuild:
Added 1.6.0 version of emul package, providing a 1.6 plugin for amd64
*emul-linux-x86-java-1.5.0.10 (26 Jan 2007)
26 Jan 2007; William L. Thomson Jr.
+emul-linux-x86-java-1.5.0.10.ebuild:
Bumping 1.5 package per GSLA# 200701-15 and CERT# TA07-022A. Just changed
package name from .08
23 Jan 2007; Vlastimil Babka
Fix construct.sh to write into instead of /tmp/ for bug #159547.
23 Jan 2007; Steve Dibb
emul-linux-x86-java-1.4.2.03-r2.ebuild,
emul-linux-x86-java-1.5.0.08.ebuild:
amd64 stable, bugs 151705, 159547
*emul-linux-x86-java-1.5.0.08 (15 Sep 2006)
15 Sep 2006; Joshua Nichols
+files/emul-linux-x86-java-1.5.env, +files/construct.sh,
+emul-linux-x86-java-1.5.0.08.ebuild:
Version bump using sun-jre-bin-1.5.0.08 as a template. See bug #116981.
*emul-linux-x86-java-1.4.2.03-r2 (12 Sep 2006)
12 Sep 2006; Joshua Nichols
+files/emul-linux-x86-java-1.4.2.env,
+emul-linux-x86-java-1.4.2.03-r2.ebuild:
Revision bump to support the new Java system.
17 Mar 2006; Herbie Hopkins
-emul-linux-x86-java-1.4.2.02.ebuild,
-emul-linux-x86-java-1.4.2.03.ebuild:
Prune old versions
09 Mar 2006; Diego Pettenò
emul-linux-x86-java-1.4.2.02.ebuild, emul-linux-x86-java-1.4.2.03.ebuild,
emul-linux-x86-java-1.4.2.03-r1.ebuild:
Use nostrip instead of strip restriction for compatibility with older portage.
09 Mar 2006; Diego Pettenò
emul-linux-x86-java-1.4.2.02.ebuild, emul-linux-x86-java-1.4.2.03.ebuild,
emul-linux-x86-java-1.4.2.03-r1.ebuild:
Add strip restriction, as the binaries are already stripped.
12 Feb 2006; Simon Stelling
emul-linux-x86-java-1.4.2.03-r1.ebuild:
minor code cleanup:
* move ABI=x86 to pkg_setup
* `dirname $i`/`basename $i .jar` -> ${i%.jar}
19 Jan 2006; Marcus D. Hanwell
emul-linux-x86-java-1.4.2.03-r1.ebuild:
Stable on amd64, little early as discussed on IRC.
*emul-linux-x86-java-1.4.2.03-r1 (17 Jan 2006)
17 Jan 2006; Herbie Hopkins
+emul-linux-x86-java-1.4.2.03-r1.ebuild:
Also install javaws subdirectory, bug 118634
*emul-linux-x86-java-1.4.2.03 (07 Jan 2006)
07 Jan 2006; Simon Stelling
+emul-linux-x86-java-1.4.2.03.ebuild:
Version bump wrt security bug 118194
11 Dec 2005; Herbie Hopkins
emul-linux-x86-java-1.4.2.02.ebuild:
Fix RDEPEND, closing bug #115068.
08 Dec 2005; Herbie Hopkins
emul-linux-x86-java-1.4.2.02.ebuild:
Don't provide virtual/jre.
*emul-linux-x86-java-1.4.2.02 (08 Dec 2005)
08 Dec 2005; Herbie Hopkins
+files/javasettings_Linux_x86.xml, +metadata.xml,
+emul-linux-x86-java-1.4.2.02.ebuild:
Initial release, largely based on blackdown-jre ebuild.
AUX construct-1.6.sh 6799 RMD160 061317637fbdeeaaa7e7104dbc390bcf1bda763c SHA1 516bf0e3a8868c327c1120fc0bcd840d0c3a5c0b SHA256 4369309ba29da4dcdbda4ea614e2db00ff7e3a801fa58b897de818fe33d78e80
AUX construct.sh 6964 RMD160 8e3de41f59023cb9bf6040fe5f5a36d1b39552e3 SHA1 bc24071dba36878abf7a2da88bfc063eb3727da1 SHA256 47847c81ee85bd1b7dba6e91c2d7757c15a8930f4748dc926e00553bc89fcbd6
AUX emul-linux-x86-java-1.4.env 857 RMD160 65dc6da72579122d52475e5fe2c965f7aaea92f2 SHA1 2564ffbdf2bf885a5ba1ce58a6d3643a140c1e0e SHA256 6651a792e2f4f5d582ede77459591d8cdb8e59419b88659720fcf828e60aebf3
AUX emul-linux-x86-java-1.5.env 855 RMD160 e9ce4d40ee6a8bd9b0720e00838c399d5f3fdca0 SHA1 d989ddc315757eb44aff787ea2c70a6dc848130d SHA256 d36f364c0855d13d7ec2eb4ea3cdbaa483318f1f57b7720edfa5eb0050a12cdb
AUX emul-linux-x86-java-1.6.env 894 RMD160 86bb5a85c4a7b51a52016376438052673da53636 SHA1 8d62dde36f42a769246235662d6f9b25490cd4c8 SHA256 47fa2c1923a0ee6940cc1deb8a12258d900cacbeabcf3e69b5bbc85ce39dc4df
DIST j2re-1_4_2_17-linux-i586.bin 14376647 RMD160 62de02a90f67d8965cebc563636d688f6745b7ca SHA1 a4282ea13048c76274222476abfb0954d42c35b8 SHA256 18aa1f5a4b223d3858d1d75913bb036963be4a9bb9b9bdc38ae2b714e1408654
DIST j2re-1_4_2_18-linux-i586.bin 14379606 RMD160 725d9aeac47ee775cf904676c27a12b598847b74 SHA1 7558ba72c1002b6a0dd362041693bd3baa28cbc6 SHA256 75750575b54d15b47b5b7d50e03cc111e958edc1c6b18cc55cc582853d612206
DIST jdk-5.0u15-dlj-linux-i586.bin 49670009 RMD160 b7fcb7e92c91cf4ef428a434c35c400832d08f8d SHA1 e52af3bc81f268d73a94772428d612769473834b SHA256 b4b340f86e3c8f3bb2f9fa1762f1c3f428cee1efc658c4fb8793f5cf299b2ad5
DIST jdk-5.0u16-dlj-linux-i586.bin 49676902 RMD160 e358a1c3e554eb06cd4362ad175a95004661f38e SHA1 56e29e2d96fca31f6b0e34c208c13c82c523098d SHA256 0df21a7e636740c9812e3e1cd4002e914150acf3c806930d5128d05b37c28a08
DIST jdk-6u10-dlj-linux-i586.bin 80041857 RMD160 a280938fb2ff5208294b76afa9e8c8f459f64841 SHA1 f4dc9d497042c5196afb7ae75257de8614673ea6 SHA256 dae79e8c56090ac3fb4ac3fe0df9faf6a0c9694a89ef978dce0ab970557ad264
DIST jdk-6u5-dlj-linux-i586.bin 70537386 RMD160 bd1bd2a6601b7e972c9c5f3e1cce4ce7d408b055 SHA1 ba7f5e5c0567db73cf8a9f3b41bcff32e2aed542 SHA256 b0f78f2e6baf88c1d7dc9334c6b86e621b2c9d629f5617f3f57a3bd7cbad0c99
DIST jdk-6u6-dlj-linux-i586.bin 70547201 RMD160 a24417210333fd7f16ee844c010f27d1460b1064 SHA1 a14c3003425b99ca2b89ebf7a82a8a33b0139894 SHA256 35ad958d88ed2af892c3879c815988bfae7775dd484e920186d1f8ad02a2c076
DIST jdk-6u7-dlj-linux-i586.bin 78515200 RMD160 1c626fa6a16be412f082bdadcb4c3018bd0e188d SHA1 1a697ed721260331918fa34913203c78562d1d63 SHA256 b57a1f49ca3c9d3dd45b3fc2ab569d84d159a076124e842a9c8d82abce92ff8b
EBUILD emul-linux-x86-java-1.4.2.17.ebuild 3620 RMD160 a1819db8cb1d8c2b94a010cac7b5157a88680478 SHA1 650ff8bc26cbd04edfca159c30f74e686110c3b5 SHA256 438925b2dc98e6cf3fc740b2edf791ae33d2fe891ea96a0140ab7ed9c4192dcd
EBUILD emul-linux-x86-java-1.4.2.18.ebuild 3527 RMD160 1fe42e6831ada25bb280cde700a7e98f1604e32c SHA1 c33c20ffa8447484bb7b842bc6d40205dc463606 SHA256 cf24e822c8cd15fec679aa12f1dd1dcad91de87adb2cffd56a54a8662583acd6
EBUILD emul-linux-x86-java-1.5.0.15.ebuild 2865 RMD160 b312805db0dce2435f272e4222f21e6738e0fec3 SHA1 cb3d7e8f5fd484d056dffa0f74bd53c2b0b5442a SHA256 7b732873411a0b63be1ffadfaf5ec449272a9bac84268e6b293509bdbeafc36a
EBUILD emul-linux-x86-java-1.5.0.16.ebuild 2865 RMD160 bb6fecb8ec6027f8f51e1d7b9cf62bcfbcbc7cae SHA1 74367b80f4caab89bd74b24930fbc01fd0226a41 SHA256 28875b0675993f36497f0742dfdb8284fa737b85a6f583114f69deeea37e1f79
EBUILD emul-linux-x86-java-1.6.0.05-r1.ebuild 2848 RMD160 648c82a939a2952c68f9fc5b7443438bc88b99a7 SHA1 c2856323e1fb8f7440b1dfad9c9b03526adb82b1 SHA256 28ba93030e4f606a03bd9008ce80cf8cfd3bdad1eaebee94995c8c62016e8344
EBUILD emul-linux-x86-java-1.6.0.05.ebuild 2691 RMD160 365105e86003c324fc11482829388c94a5214455 SHA1 8950028c5ce7beedc31e673cdfb6907e00ec3d35 SHA256 e574265e31d468a5d2a99fac0bff47d1ae3e8c03fffdf80c7921ec8d7a6fe243
EBUILD emul-linux-x86-java-1.6.0.06.ebuild 2865 RMD160 1aa181d96fe5a52b6a041606fb8f18ad13721705 SHA1 2caa29cd5d81333afcfbce9942fd8be0e0da8c58 SHA256 00efe06374b62a7bb392bf0d7c353a0c8a174ab3ceb24fdb96b74376d57b9462
EBUILD emul-linux-x86-java-1.6.0.07.ebuild 2865 RMD160 5546eeff303c0486aafbcaad979e2770c1b8e8c0 SHA1 5eaa44771e789d4ef592db48e9073dc21fd04f1c SHA256 ab211b486b67af06c341e91483398a4fcc4b6b7782c627df0755b76e5a002de8
EBUILD emul-linux-x86-java-1.6.0.10.ebuild 3226 RMD160 f93110d3dbc38fc788126e1311610f074cf26bdc SHA1 ada2816cbced0a44bd1dd9bdf439f3eacef2f64e SHA256 dc4efdd434ff62f398452ef45949c18095f08919b8f5b645fe5fe952c9aaea36
MISC ChangeLog 12586 RMD160 bbd8e75bb15f3c5b2d35c41dad7d49920adeee12 SHA1 cb25b6bd7007d6b4086f3bbbe8148000a33354c2 SHA256 e8b55b83d9de539eb32caa17a8e7be909b96c54e74352d12bd8b6d871a206575
MISC metadata.xml 179 RMD160 eb23cc92511920eee7575e49cb97e3cc57ec2ffe SHA1 5f572596a2c474e808cdb21b8c2bf80f7cc011b1 SHA256 28110c7811a1bdcba5e23efc7018238140b1e9460b78215f914b7253a8c09ca8
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.17.ebuild,v 1.3 2008/05/17 18:14:05 betelgeuse Exp $
inherit multilib eutils pax-utils java-vm-2
MY_PV=${PV%.*}_${PV##*.}
MY_PV2=${PV//./_}
MY_PN=j2re
At="${MY_PN}-${MY_PV2}-linux-i586.bin"
S="${WORKDIR}/j2re${MY_PV}"
DESCRIPTION="Sun's JRE (32bit)"
HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
SRC_URI=${At}
SLOT="1.4"
LICENSE="sun-bcla-java-vm-1.4.2"
KEYWORDS="-* amd64"
# pre stripped
RESTRICT="fetch strip"
IUSE="X alsa nsplugin"
DEPEND=""
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )"
DL_PREFIX="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef="
DOWNLOAD_URL="${DL_PREFIX}${MY_PN}-${MY_PV}-oth-JPR@CDS-CDS_Developer"
QA_TEXTRELS_amd64="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 '\0177\0105\0114\0106\0001\0001\0001')
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
local PACKED_JARS="lib/rt.jar lib/jsse.jar lib/charsets.jar \
lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar"
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}
cp -pPR ${dirs} "${D}/opt/${P}/"
pax-mark srpm $(list-paxables "${D}"/opt/${P}/bin/*)
dodoc CHANGES COPYRIGHT README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html ControlPanel.html || die
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"
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# 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
java-vm_revdep-mask
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.4.2.18.ebuild,v 1.2 2008/07/12 21:41:57 ken69267 Exp $
inherit multilib eutils pax-utils java-vm-2
MY_PV=${PV%.*}_${PV##*.}
MY_PV2=${PV//./_}
MY_PN=j2re
At="${MY_PN}-${MY_PV2}-linux-i586.bin"
S="${WORKDIR}/j2re${MY_PV}"
DESCRIPTION="Sun's JRE (32bit)"
HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
SRC_URI=${At}
SLOT="1.4"
LICENSE="sun-bcla-java-vm-1.4.2"
KEYWORDS="-* amd64"
# pre stripped
RESTRICT="fetch strip"
IUSE="X alsa nsplugin"
DEPEND=""
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )"
DL_PREFIX="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef="
DOWNLOAD_URL="${DL_PREFIX}${MY_PN}-${MY_PV}-oth-JPR@CDS-CDS_Developer"
QA_TEXTRELS_amd64="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 "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 '\0177\0105\0114\0106\0001\0001\0001')
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
local PACKED_JARS="lib/rt.jar lib/jsse.jar lib/charsets.jar \
lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar"
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}
cp -pPR ${dirs} "${D}/opt/${P}/"
pax-mark srpm $(list-paxables "${D}"/opt/${P}/bin/*)
dodoc CHANGES COPYRIGHT README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html ControlPanel.html || die
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"
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# 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
java-vm_revdep-mask
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild,v 1.8 2008/09/16 20:09:04 serkan Exp $
inherit versionator pax-utils eutils java-vm-2
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2-3)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
SRC_URI="http://download.java.net/dlj/binaries/${At}"
SLOT="1.5"
LICENSE="dlj-1.1"
KEYWORDS="-* amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so"
src_unpack() {
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct.sh failed"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This has to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
"${S}"/bin/java -client -Xshare:dump || die
}
src_install() {
dodir /opt/${P}
cp -pPR bin lib man javaws plugin "${D}/opt/${P}/" || die "failed to copy"
dodoc CHANGES README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
java-vm_revdep-mask
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
echo
elog "Beginning with 1.5.0.10 the hotspot vm can use epoll"
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"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.16.ebuild,v 1.3 2008/09/16 20:09:04 serkan Exp $
inherit versionator pax-utils eutils java-vm-2
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2-3)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
SRC_URI="http://download.java.net/dlj/binaries/${At}"
SLOT="1.5"
LICENSE="dlj-1.1"
KEYWORDS="-* amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so"
src_unpack() {
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct.sh failed"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This has to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
"${S}"/bin/java -client -Xshare:dump || die
}
src_install() {
dodir /opt/${P}
cp -pPR bin lib man javaws plugin "${D}/opt/${P}/" || die "failed to copy"
dodoc CHANGES README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
java-vm_revdep-mask
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
echo
elog "Beginning with 1.5.0.10 the hotspot vm can use epoll"
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"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.05-r1.ebuild,v 1.4 2008/09/16 20:09:04 serkan Exp $
inherit versionator pax-utils java-vm-2 eutils
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/javase/6/"
#SRC_URI="http://download.java.net/dlj/binaries/${At}"
SRC_URI="http://dlc.sun.com/dlj/binaries/${At}"
SLOT="1.6"
LICENSE="dlj-1.1"
KEYWORDS="-* ~amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )
app-emulation/emul-linux-x86-compat"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so
opt/${P}/lib/i386/client/libjvm.so
opt/${P}/lib/i386/server/libjvm.so"
src_unpack() {
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This has to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
"${S}"/bin/java -client -Xshare:dump || die
"${S}"/bin/java -server -Xshare:dump || die
}
src_install() {
local dirs="bin lib man javaws plugin"
dodir /opt/${P}
cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
dodoc README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
dodir /opt/${P}/share/
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.05.ebuild,v 1.4 2008/09/16 20:09:04 serkan Exp $
inherit versionator pax-utils java-vm-2 eutils
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/javase/6/"
#SRC_URI="http://download.java.net/dlj/binaries/${At}"
SRC_URI="http://dlc.sun.com/dlj/binaries/${At}"
SLOT="1.6"
LICENSE="dlj-1.1"
KEYWORDS="-* amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )
app-emulation/emul-linux-x86-compat"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so
opt/${P}/lib/i386/client/libjvm.so
opt/${P}/lib/i386/server/libjvm.so"
src_unpack() {
if [[ ! -r "${DISTDIR}"/${A} ]]; then
die "cannot read "${DISTDIR}"/${A}. Please check the permission and try again."
fi
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed"
"${S}"/bin/java -client -Xshare:dump
}
src_install() {
local dirs="bin lib man javaws plugin"
dodir /opt/${P}
cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
pax-mark m $(list-paxables "${D}"/opt/${P}/bin/*)
dodoc README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
dodir /opt/${P}/share/
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.06.ebuild,v 1.4 2008/09/16 20:09:04 serkan Exp $
inherit versionator pax-utils java-vm-2 eutils
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/javase/6/"
#SRC_URI="http://download.java.net/dlj/binaries/${At}"
SRC_URI="http://dlc.sun.com/dlj/binaries/${At}"
SLOT="1.6"
LICENSE="dlj-1.1"
KEYWORDS="-* amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )
app-emulation/emul-linux-x86-compat"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so
opt/${P}/lib/i386/client/libjvm.so
opt/${P}/lib/i386/server/libjvm.so"
src_unpack() {
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This has to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
"${S}"/bin/java -client -Xshare:dump || die
"${S}"/bin/java -server -Xshare:dump || die
}
src_install() {
local dirs="bin lib man javaws plugin"
dodir /opt/${P}
cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
dodoc README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
dodir /opt/${P}/share/
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
java-vm_revdep-mask
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.07.ebuild,v 1.3 2008/09/16 20:09:04 serkan Exp $
inherit versionator pax-utils java-vm-2 eutils
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/javase/6/"
#SRC_URI="http://download.java.net/dlj/binaries/${At}"
SRC_URI="http://dlc.sun.com/dlj/binaries/${At}"
SLOT="1.6"
LICENSE="dlj-1.1"
KEYWORDS="-* amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )
app-emulation/emul-linux-x86-compat"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so
opt/${P}/lib/i386/client/libjvm.so
opt/${P}/lib/i386/server/libjvm.so"
src_unpack() {
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This has to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
"${S}"/bin/java -client -Xshare:dump || die
"${S}"/bin/java -server -Xshare:dump || die
}
src_install() {
local dirs="bin lib man javaws plugin"
dodir /opt/${P}
cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
dodoc README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
dodir /opt/${P}/share/
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
java-vm_revdep-mask
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.10.ebuild,v 1.2 2008/11/17 21:45:33 ken69267 Exp $
inherit versionator pax-utils java-vm-2 eutils
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
At="jdk-${MY_PV}-dlj-linux-i586.bin"
DESCRIPTION="32bit version Sun's J2SE Runtime Environment"
HOMEPAGE="http://java.sun.com/javase/6/"
#SRC_URI="http://download.java.net/dlj/binaries/${At}"
SRC_URI="http://dlc.sun.com/dlj/binaries/${At}"
SLOT="1.6"
LICENSE="dlj-1.1"
KEYWORDS="-* amd64"
RESTRICT="strip"
IUSE="X alsa nsplugin"
JAVA_VM_NO_GENERATION1=true
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
X? ( app-emulation/emul-linux-x86-xlibs )
app-emulation/emul-linux-x86-compat"
JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/libdeploy.so
opt/${P}/lib/i386/client/libjvm.so
opt/${P}/lib/i386/server/libjvm.so"
src_unpack() {
mkdir bundled-jdk
cd bundled-jdk
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack"
cd ..
bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed"
}
src_compile() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler. This has to be done before CDS - #215225
pax-mark m $(list-paxables "${S}"/bin/*)
# see bug #207282
einfo "Creating the Class Data Sharing archives"
"${S}"/bin/java -client -Xshare:dump || die
"${S}"/bin/java -server -Xshare:dump || die
}
src_install() {
local dirs="bin lib man javaws plugin"
dodir /opt/${P}
cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
dodoc README THIRDPARTYLICENSEREADME.txt || die
dohtml Welcome.html || die
dodir /opt/${P}/share/
if use nsplugin; then
local plugin_dir="ns7-gcc29"
if has_version '>=sys-devel/gcc-3' ; then
plugin_dir="ns7"
fi
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
install_mozilla_plugin /opt/${P}/lib/i386/libnpjp2.so plugin2
fi
# FIXME figure out how to handle the control pannel conflict with
# sun-jdk-bin
# install control panel for Gnome/KDE
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \
# ${T}/sun_java-${SLOT}.desktop
# domenu ${T}/sun_java-${SLOT}.desktop
set_java_env
java-vm_revdep-mask
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
elog
elog "Two variants of the nsplugin are available via eselect java-nsplugin:"
elog "${VMHANDLE} and ${VMHANDLE}-plugin2 (the Next-Generation Plug-In) "
ewarn "Note that the ${VMHANDLE}-plugin2 works only in Firefox 3!"
elog "For more info see https://jdk6.dev.java.net/plugin2/"
elog
if ! use X; then
local xwarn="X11 libraries and/or"
fi
echo
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
ewarn "Be careful which Java libraries you attempt to use."
}