1 |
caster 08/03/27 20:25:29 |
2 |
|
3 |
Modified: sun-jre-bin-1.5.0.15.ebuild ChangeLog |
4 |
Added: sun-jre-bin-1.6.0.05-r1.ebuild |
5 |
Removed: sun-jre-bin-1.5.0.13.ebuild |
6 |
sun-jre-bin-1.6.0.04.ebuild |
7 |
sun-jre-bin-1.5.0.14.ebuild |
8 |
sun-jre-bin-1.4.2.16.ebuild |
9 |
sun-jre-bin-1.6.0.03.ebuild |
10 |
Log: |
11 |
Remove vulnerable versions. Revbump to create Class Data Sharing archive also for server VM in 1.6, bug #207282. |
12 |
(Portage version: 2.1.4.4) |
13 |
|
14 |
Revision Changes Path |
15 |
1.4 dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild |
16 |
|
17 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild?rev=1.4&view=markup |
18 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild?rev=1.4&content-type=text/plain |
19 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild?r1=1.3&r2=1.4 |
20 |
|
21 |
Index: sun-jre-bin-1.5.0.15.ebuild |
22 |
=================================================================== |
23 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild,v |
24 |
retrieving revision 1.3 |
25 |
retrieving revision 1.4 |
26 |
diff -u -r1.3 -r1.4 |
27 |
--- sun-jre-bin-1.5.0.15.ebuild 27 Mar 2008 19:22:41 -0000 1.3 |
28 |
+++ sun-jre-bin-1.5.0.15.ebuild 27 Mar 2008 20:25:29 -0000 1.4 |
29 |
@@ -1,6 +1,6 @@ |
30 |
# Copyright 1999-2008 Gentoo Foundation |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild,v 1.3 2008/03/27 19:22:41 maekke Exp $ |
33 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.5.0.15.ebuild,v 1.4 2008/03/27 20:25:29 caster Exp $ |
34 |
|
35 |
inherit pax-utils versionator eutils java-vm-2 |
36 |
|
37 |
@@ -46,6 +46,12 @@ |
38 |
|
39 |
cd .. |
40 |
bash "${FILESDIR}/construct.sh" bundled-jdk sun-jdk-${PV} ${P} || die "construct.sh failed" |
41 |
+ |
42 |
+ # see bug #207282 |
43 |
+ if use x86; then |
44 |
+ einfo "Creating the Class Data Sharing archives" |
45 |
+ "${S}"/bin/java -client -Xshare:dump || die |
46 |
+ fi |
47 |
} |
48 |
|
49 |
src_install() { |
50 |
|
51 |
|
52 |
|
53 |
1.124 dev-java/sun-jre-bin/ChangeLog |
54 |
|
55 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.124&view=markup |
56 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.124&content-type=text/plain |
57 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?r1=1.123&r2=1.124 |
58 |
|
59 |
Index: ChangeLog |
60 |
=================================================================== |
61 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v |
62 |
retrieving revision 1.123 |
63 |
retrieving revision 1.124 |
64 |
diff -u -r1.123 -r1.124 |
65 |
--- ChangeLog 27 Mar 2008 19:22:41 -0000 1.123 |
66 |
+++ ChangeLog 27 Mar 2008 20:25:29 -0000 1.124 |
67 |
@@ -1,6 +1,16 @@ |
68 |
# ChangeLog for dev-java/sun-jre-bin |
69 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
70 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.123 2008/03/27 19:22:41 maekke Exp $ |
71 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.124 2008/03/27 20:25:29 caster Exp $ |
72 |
+ |
73 |
+*sun-jre-bin-1.6.0.05-r1 (27 Mar 2008) |
74 |
+ |
75 |
+ 27 Mar 2008; Vlastimil Babka <caster@g.o> files/construct-1.6.sh, |
76 |
+ files/construct.sh, -sun-jre-bin-1.4.2.16.ebuild, |
77 |
+ -sun-jre-bin-1.5.0.13.ebuild, -sun-jre-bin-1.5.0.14.ebuild, |
78 |
+ sun-jre-bin-1.5.0.15.ebuild, -sun-jre-bin-1.6.0.03.ebuild, |
79 |
+ -sun-jre-bin-1.6.0.04.ebuild, +sun-jre-bin-1.6.0.05-r1.ebuild: |
80 |
+ Remove vulnerable versions. Revbump to create Class Data Sharing archive |
81 |
+ also for server VM in 1.6, bug #207282. |
82 |
|
83 |
27 Mar 2008; Markus Meier <maekke@g.o> sun-jre-bin-1.5.0.15.ebuild, |
84 |
sun-jre-bin-1.6.0.05.ebuild: |
85 |
|
86 |
|
87 |
|
88 |
1.1 dev-java/sun-jre-bin/sun-jre-bin-1.6.0.05-r1.ebuild |
89 |
|
90 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.05-r1.ebuild?rev=1.1&view=markup |
91 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.05-r1.ebuild?rev=1.1&content-type=text/plain |
92 |
|
93 |
Index: sun-jre-bin-1.6.0.05-r1.ebuild |
94 |
=================================================================== |
95 |
# Copyright 1999-2008 Gentoo Foundation |
96 |
# Distributed under the terms of the GNU General Public License v2 |
97 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.05-r1.ebuild,v 1.1 2008/03/27 20:25:29 caster Exp $ |
98 |
|
99 |
inherit versionator pax-utils eutils java-vm-2 |
100 |
|
101 |
UPDATE="$(get_version_component_range 4)" |
102 |
UPDATE="${UPDATE#0}" |
103 |
MY_PV="$(get_version_component_range 2)u${UPDATE}" |
104 |
|
105 |
SUFFIX=".bin" |
106 |
X86_AT="jdk-${MY_PV}-dlj-linux-i586${SUFFIX}" |
107 |
AMD64_AT="jdk-${MY_PV}-dlj-linux-amd64${SUFFIX}" |
108 |
|
109 |
DESCRIPTION="Sun's J2SE Development Kit, version ${PV}" |
110 |
HOMEPAGE="http://java.sun.com/javase/6/" |
111 |
URL_BASE="http://download.java.net/dlj/binaries" |
112 |
SRC_URI="x86? ( ${URL_BASE}/${X86_AT} ) |
113 |
amd64? ( ${URL_BASE}/${AMD64_AT} )" |
114 |
SLOT="1.6" |
115 |
LICENSE="dlj-1.1" |
116 |
KEYWORDS="-* ~amd64 ~x86" |
117 |
RESTRICT="strip" |
118 |
IUSE="X alsa nsplugin odbc" |
119 |
|
120 |
RDEPEND="sys-libs/glibc |
121 |
x86? ( =virtual/libstdc++-3.3 ) |
122 |
alsa? ( media-libs/alsa-lib ) |
123 |
X? ( |
124 |
x11-libs/libXext |
125 |
x11-libs/libXi |
126 |
x11-libs/libXp |
127 |
x11-libs/libXtst |
128 |
amd64? ( x11-libs/libXt ) |
129 |
x11-libs/libX11 |
130 |
) |
131 |
odbc? ( dev-db/unixODBC )" |
132 |
DEPEND="" |
133 |
|
134 |
JAVA_PROVIDE="jdbc-stdext jdbc-rowset" |
135 |
|
136 |
QA_TEXTRELS_x86="opt/${P}/lib/i386/client/libjvm.so |
137 |
opt/${P}/lib/i386/motif21/libmawt.so |
138 |
opt/${P}/lib/i386/libdeploy.so |
139 |
opt/${P}/lib/i386/server/libjvm.so" |
140 |
|
141 |
src_unpack() { |
142 |
mkdir bundled-jdk |
143 |
cd bundled-jdk |
144 |
sh "${DISTDIR}"/${A} --accept-license --unpack || die "Failed to unpack" |
145 |
|
146 |
cd .. |
147 |
bash "${FILESDIR}/construct-1.6.sh" bundled-jdk sun-jdk-${PV} ${P} || die "construct.sh failed" |
148 |
|
149 |
# see bug #207282 |
150 |
if use x86; then |
151 |
einfo "Creating the Class Data Sharing archives" |
152 |
"${S}"/bin/java -client -Xshare:dump || die |
153 |
"${S}"/bin/java -server -Xshare:dump || die |
154 |
fi |
155 |
} |
156 |
|
157 |
src_install() { |
158 |
local dirs="bin lib man" |
159 |
|
160 |
# Set PaX markings on all JDK/JRE executables to allow code-generation on |
161 |
# the heap by the JIT compiler. |
162 |
pax-mark m $(list-paxables "${S}"/bin/*) |
163 |
|
164 |
# only X86 has the plugin and javaws |
165 |
use x86 && dirs="${dirs} javaws plugin" |
166 |
dodir /opt/${P} |
167 |
|
168 |
cp -pPR $dirs "${D}/opt/${P}/" || die "failed to copy" |
169 |
|
170 |
dodoc README THIRDPARTYLICENSEREADME.txt || die |
171 |
dohtml Welcome.html || die |
172 |
dodir /opt/${P}/share/ |
173 |
|
174 |
if use nsplugin; then |
175 |
local plugin_dir="ns7-gcc29" |
176 |
if has_version '>=sys-devel/gcc-3' ; then |
177 |
plugin_dir="ns7" |
178 |
fi |
179 |
|
180 |
if use x86 ; then |
181 |
install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so |
182 |
else |
183 |
eerror "No plugin available for amd64 arch" |
184 |
fi |
185 |
fi |
186 |
|
187 |
# install control panel for Gnome/KDE |
188 |
if [[ -e "${D}/opt/${P}/plugin/desktop/sun_java.desktop" ]]; then |
189 |
sed -e "s/\(Name=Java\)/\1 Control Panel for Sun JRE ${SLOT}/" \ |
190 |
-e "s#Exec=.*#Exec=/opt/${P}/bin/ControlPanel#" \ |
191 |
-e "s#Icon=.*#Icon=/opt/${P}/plugin/desktop/sun_java.png#" \ |
192 |
"${D}/opt/${P}/plugin/desktop/sun_java.desktop" > \ |
193 |
"${T}/sun_jre-${SLOT}.desktop" || die |
194 |
domenu "${T}/sun_jre-${SLOT}.desktop" || die |
195 |
fi |
196 |
|
197 |
# bug #56444 |
198 |
insinto /opt/${P}/lib/ |
199 |
newins "${FILESDIR}"/fontconfig.Gentoo.properties fontconfig.properties |
200 |
|
201 |
set_java_env |
202 |
java-vm_revdep-mask |
203 |
} |
204 |
|
205 |
pkg_postinst() { |
206 |
# Set as default VM if none exists |
207 |
java-vm-2_pkg_postinst |
208 |
|
209 |
elog "Beginning with 1.5.0.10 the hotspot vm can use epoll" |
210 |
elog "The epoll-based implementation of SelectorProvider is not selected by" |
211 |
elog "default." |
212 |
elog "Use java -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider" |
213 |
} |
214 |
|
215 |
|
216 |
|
217 |
-- |
218 |
gentoo-commits@l.g.o mailing list |