1 |
caster 08/03/27 20:13:30 |
2 |
|
3 |
Modified: ChangeLog emul-linux-x86-java-1.5.0.15.ebuild |
4 |
Added: emul-linux-x86-java-1.6.0.05-r1.ebuild |
5 |
Removed: emul-linux-x86-java-1.5.0.13.ebuild |
6 |
emul-linux-x86-java-1.6.0.03.ebuild |
7 |
emul-linux-x86-java-1.4.2.16.ebuild |
8 |
emul-linux-x86-java-1.6.0.04.ebuild |
9 |
Log: |
10 |
Remove vulnerable versions. Revbump to create Class Data Sharing archive also for server VM in 1.6, bug #207282. |
11 |
(Portage version: 2.1.4.4) |
12 |
|
13 |
Revision Changes Path |
14 |
1.50 app-emulation/emul-linux-x86-java/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.50&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.50&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?r1=1.49&r2=1.50 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v |
23 |
retrieving revision 1.49 |
24 |
retrieving revision 1.50 |
25 |
diff -u -r1.49 -r1.50 |
26 |
--- ChangeLog 27 Mar 2008 19:34:33 -0000 1.49 |
27 |
+++ ChangeLog 27 Mar 2008 20:13:30 -0000 1.50 |
28 |
@@ -1,6 +1,18 @@ |
29 |
# ChangeLog for app-emulation/emul-linux-x86-java |
30 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.49 2008/03/27 19:34:33 maekke Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.50 2008/03/27 20:13:30 caster Exp $ |
33 |
+ |
34 |
+*emul-linux-x86-java-1.6.0.05-r1 (27 Mar 2008) |
35 |
+ |
36 |
+ 27 Mar 2008; Vlastimil Babka <caster@g.o> files/construct-1.6.sh, |
37 |
+ files/construct.sh, -files/javasettings_Linux_x86.xml, |
38 |
+ -emul-linux-x86-java-1.4.2.16.ebuild, |
39 |
+ -emul-linux-x86-java-1.5.0.13.ebuild, emul-linux-x86-java-1.5.0.15.ebuild, |
40 |
+ -emul-linux-x86-java-1.6.0.03.ebuild, |
41 |
+ -emul-linux-x86-java-1.6.0.04.ebuild, |
42 |
+ +emul-linux-x86-java-1.6.0.05-r1.ebuild: |
43 |
+ Remove vulnerable versions. Create Class Data Sharing archive also for |
44 |
+ server VM in 1.6, bug #207282. |
45 |
|
46 |
27 Mar 2008; Markus Meier <maekke@g.o> |
47 |
emul-linux-x86-java-1.5.0.15.ebuild, emul-linux-x86-java-1.6.0.05.ebuild: |
48 |
|
49 |
|
50 |
|
51 |
1.3 app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild?rev=1.3&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild?rev=1.3&content-type=text/plain |
55 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild?r1=1.2&r2=1.3 |
56 |
|
57 |
Index: emul-linux-x86-java-1.5.0.15.ebuild |
58 |
=================================================================== |
59 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild,v |
60 |
retrieving revision 1.2 |
61 |
retrieving revision 1.3 |
62 |
diff -u -r1.2 -r1.3 |
63 |
--- emul-linux-x86-java-1.5.0.15.ebuild 27 Mar 2008 19:34:33 -0000 1.2 |
64 |
+++ emul-linux-x86-java-1.5.0.15.ebuild 27 Mar 2008 20:13:30 -0000 1.3 |
65 |
@@ -1,6 +1,6 @@ |
66 |
# Copyright 1999-2008 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild,v 1.2 2008/03/27 19:34:33 maekke Exp $ |
69 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.5.0.15.ebuild,v 1.3 2008/03/27 20:13:30 caster Exp $ |
70 |
|
71 |
inherit versionator pax-utils eutils java-vm-2 |
72 |
|
73 |
@@ -41,7 +41,9 @@ |
74 |
cd .. |
75 |
bash "${FILESDIR}"/construct.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct.sh failed" |
76 |
|
77 |
- "${S}"/bin/java -client -Xshare:dump |
78 |
+ # see bug #207282 |
79 |
+ einfo "Creating the Class Data Sharing archives" |
80 |
+ "${S}"/bin/java -client -Xshare:dump || die |
81 |
} |
82 |
|
83 |
src_install() { |
84 |
|
85 |
|
86 |
|
87 |
1.1 app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.05-r1.ebuild |
88 |
|
89 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.05-r1.ebuild?rev=1.1&view=markup |
90 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.05-r1.ebuild?rev=1.1&content-type=text/plain |
91 |
|
92 |
Index: emul-linux-x86-java-1.6.0.05-r1.ebuild |
93 |
=================================================================== |
94 |
# Copyright 1999-2008 Gentoo Foundation |
95 |
# Distributed under the terms of the GNU General Public License v2 |
96 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.05-r1.ebuild,v 1.1 2008/03/27 20:13:30 caster Exp $ |
97 |
|
98 |
inherit versionator pax-utils java-vm-2 eutils |
99 |
|
100 |
UPDATE="$(get_version_component_range 4)" |
101 |
UPDATE="${UPDATE#0}" |
102 |
MY_PV="$(get_version_component_range 2)u${UPDATE}" |
103 |
|
104 |
At="jdk-${MY_PV}-dlj-linux-i586.bin" |
105 |
DESCRIPTION="32bit version Sun's J2SE Development Kit" |
106 |
HOMEPAGE="http://java.sun.com/javase/6/" |
107 |
#SRC_URI="http://download.java.net/dlj/binaries/${At}" |
108 |
SRC_URI="http://dlc.sun.com/dlj/binaries/${At}" |
109 |
|
110 |
SLOT="1.6" |
111 |
LICENSE="dlj-1.1" |
112 |
KEYWORDS="-* ~amd64" |
113 |
RESTRICT="strip" |
114 |
IUSE="X alsa nsplugin" |
115 |
|
116 |
JAVA_VM_NO_GENERATION1=true |
117 |
|
118 |
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs ) |
119 |
X? ( app-emulation/emul-linux-x86-xlibs ) |
120 |
app-emulation/emul-linux-x86-compat" |
121 |
|
122 |
JAVA_PROVIDE="jdbc-stdext jdbc-rowset" |
123 |
|
124 |
QA_TEXTRELS_amd64="opt/${P}/lib/i386/motif21/libmawt.so |
125 |
opt/${P}/lib/i386/libdeploy.so |
126 |
opt/${P}/lib/i386/client/libjvm.so |
127 |
opt/${P}/lib/i386/server/libjvm.so" |
128 |
|
129 |
src_unpack() { |
130 |
if [[ ! -r "${DISTDIR}"/${A} ]]; then |
131 |
die "cannot read ${DISTDIR}/${A}. Please check the permission and try again." |
132 |
fi |
133 |
|
134 |
mkdir bundled-jdk |
135 |
cd bundled-jdk |
136 |
sh "${DISTDIR}"/${At} --accept-license --unpack || die "Failed to unpack" |
137 |
|
138 |
cd .. |
139 |
bash "${FILESDIR}"/construct-${SLOT}.sh bundled-jdk sun-jdk-${PV} ${P} || die "construct-${SLOT}.sh failed" |
140 |
|
141 |
# see bug #207282 |
142 |
einfo "Creating the Class Data Sharing archives" |
143 |
"${S}"/bin/java -client -Xshare:dump || die |
144 |
"${S}"/bin/java -server -Xshare:dump || die |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
local dirs="bin lib man javaws plugin" |
149 |
dodir /opt/${P} |
150 |
|
151 |
cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy" |
152 |
|
153 |
pax-mark m $(list-paxables "${D}"/opt/${P}/bin/*) |
154 |
|
155 |
dodoc README THIRDPARTYLICENSEREADME.txt || die |
156 |
dohtml Welcome.html || die |
157 |
dodir /opt/${P}/share/ |
158 |
|
159 |
if use nsplugin; then |
160 |
local plugin_dir="ns7-gcc29" |
161 |
if has_version '>=sys-devel/gcc-3' ; then |
162 |
plugin_dir="ns7" |
163 |
fi |
164 |
|
165 |
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so |
166 |
fi |
167 |
|
168 |
# FIXME figure out how to handle the control pannel conflict with |
169 |
# sun-jdk-bin |
170 |
|
171 |
# install control panel for Gnome/KDE |
172 |
# sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \ |
173 |
# -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \ |
174 |
# ${D}/opt/${P}/plugin/desktop/sun_java.desktop > \ |
175 |
# ${T}/sun_java-${SLOT}.desktop |
176 |
|
177 |
# domenu ${T}/sun_java-${SLOT}.desktop |
178 |
|
179 |
set_java_env |
180 |
} |
181 |
|
182 |
pkg_postinst() { |
183 |
# Set as default VM if none exists |
184 |
java-vm-2_pkg_postinst |
185 |
|
186 |
if ! use X; then |
187 |
local xwarn="X11 libraries and/or" |
188 |
fi |
189 |
|
190 |
echo |
191 |
ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed." |
192 |
ewarn "Be careful which Java libraries you attempt to use." |
193 |
} |
194 |
|
195 |
|
196 |
|
197 |
-- |
198 |
gentoo-commits@l.g.o mailing list |