1 |
caster 07/11/10 23:56:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ibm-jdk-bin-1.5.0.6.ebuild |
5 |
Log: |
6 |
Version bump, security bug #198644. |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.135 dev-java/ibm-jdk-bin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog?rev=1.135&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog?rev=1.135&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog?r1=1.134&r2=1.135 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v |
19 |
retrieving revision 1.134 |
20 |
retrieving revision 1.135 |
21 |
diff -u -r1.134 -r1.135 |
22 |
--- ChangeLog 8 Sep 2007 01:57:02 -0000 1.134 |
23 |
+++ ChangeLog 10 Nov 2007 23:56:23 -0000 1.135 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-java/ibm-jdk-bin |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.134 2007/09/08 01:57:02 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ChangeLog,v 1.135 2007/11/10 23:56:23 caster Exp $ |
29 |
+ |
30 |
+*ibm-jdk-bin-1.5.0.6 (10 Nov 2007) |
31 |
+ |
32 |
+ 10 Nov 2007; Vlastimil Babka <caster@g.o> |
33 |
+ +ibm-jdk-bin-1.5.0.6.ebuild: |
34 |
+ Version bump, security bug #198644. |
35 |
|
36 |
08 Sep 2007; Vlastimil Babka <caster@g.o> |
37 |
-ibm-jdk-bin-1.5.0.4.ebuild, -ibm-jdk-bin-1.5.0.4-r1.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ibm-jdk-bin-1.5.0.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jdk-bin/ibm-jdk-bin-1.5.0.6.ebuild,v 1.1 2007/11/10 23:56:23 caster Exp $ |
51 |
|
52 |
inherit java-vm-2 versionator eutils |
53 |
|
54 |
JDK_RELEASE=$(get_version_component_range 2-3) |
55 |
SERVICE_RELEASE=$(get_version_component_range 4) |
56 |
SERVICE_RELEASE_LINK="${SERVICE_RELEASE}" |
57 |
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" |
58 |
|
59 |
JDK_DIST_PREFIX="ibm-java2-sdk-${TGZ_PV}-linux" |
60 |
JAVACOMM_DIST_PREFIX="ibm-java2-javacomm-${TGZ_PV}-linux" |
61 |
|
62 |
X86_JDK_DIST="${JDK_DIST_PREFIX}-i386.tgz" |
63 |
X86_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-i386.tgz" |
64 |
|
65 |
AMD64_JDK_DIST="${JDK_DIST_PREFIX}-x86_64.tgz" |
66 |
AMD64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-x86_64.tgz" |
67 |
|
68 |
PPC_JDK_DIST="${JDK_DIST_PREFIX}-ppc.tgz" |
69 |
PPC_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc.tgz" |
70 |
|
71 |
PPC64_JDK_DIST="${JDK_DIST_PREFIX}-ppc64.tgz" |
72 |
PPC64_JAVACOMM_DIST="${JAVACOMM_DIST_PREFIX}-ppc64.tgz" |
73 |
|
74 |
if use x86; then |
75 |
JDK_DIST=${X86_JDK_DIST} |
76 |
JAVACOMM_DIST=${X86_JAVACOMM_DIST} |
77 |
S="${WORKDIR}/ibm-java2-i386-50" |
78 |
LINK_ARCH="intel" |
79 |
elif use amd64; then |
80 |
JDK_DIST=${AMD64_JDK_DIST} |
81 |
JAVACOMM_DIST=${AMD64_JAVACOMM_DIST} |
82 |
S="${WORKDIR}/ibm-java2-x86_64-50" |
83 |
LINK_ARCH="amd64" |
84 |
elif use ppc; then |
85 |
JDK_DIST=${PPC_JDK_DIST} |
86 |
JAVACOMM_DIST=${PPC_JAVACOMM_DIST} |
87 |
S="${WORKDIR}/ibm-java2-ppc-50" |
88 |
LINK_ARCH="ipseries32" |
89 |
elif use ppc64; then |
90 |
JDK_DIST=${PPC64_JDK_DIST} |
91 |
JAVACOMM_DIST=${PPC64_JAVACOMM_DIST} |
92 |
S="${WORKDIR}/ibm-java2-ppc64-50" |
93 |
LINK_ARCH="ipseries64" |
94 |
fi |
95 |
|
96 |
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&S_PKG=${LINK_ARCH}5sr${SERVICE_RELEASE_LINK}&S_TACT=105AGX05&S_CMP=JDK" |
97 |
|
98 |
SLOT="1.5" |
99 |
DESCRIPTION="IBM Java Development Kit ${SLOT}" |
100 |
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" |
101 |
DOWNLOADPAGE="${HOMEPAGE}linux/download.html" |
102 |
# bug #125178 |
103 |
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" |
104 |
|
105 |
SRC_URI="x86? ( ${X86_JDK_DIST} ) |
106 |
amd64? ( ${AMD64_JDK_DIST} ) |
107 |
ppc? ( ${PPC_JDK_DIST} ) |
108 |
ppc64? ( ${PPC64_JDK_DIST} ) |
109 |
javacomm? ( |
110 |
x86? ( ${X86_JAVACOMM_DIST} ) |
111 |
amd64? ( ${AMD64_JAVACOMM_DIST} ) |
112 |
ppc? ( ${PPC_JAVACOMM_DIST} ) |
113 |
ppc64? ( ${PPC64_JAVACOMM_DIST} ) |
114 |
)" |
115 |
LICENSE="IBM-J1.5" |
116 |
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" |
117 |
RESTRICT="fetch" |
118 |
IUSE="X alsa doc examples javacomm nsplugin" |
119 |
|
120 |
RDEPEND=" |
121 |
=virtual/libstdc++-3.3 |
122 |
X? ( x11-libs/libXt |
123 |
x11-libs/libX11 |
124 |
x11-libs/libXtst |
125 |
x11-libs/libXp |
126 |
x11-libs/libXext |
127 |
x11-libs/libXi |
128 |
x11-libs/libXmu |
129 |
x11-libs/libXft |
130 |
) |
131 |
alsa? ( media-libs/alsa-lib ) |
132 |
doc? ( =dev-java/java-sdk-docs-1.5.0* ) |
133 |
nsplugin? ( |
134 |
x86? ( =x11-libs/gtk+-2* =x11-libs/gtk+-1* ) |
135 |
ppc? ( =x11-libs/gtk+-1* ) |
136 |
)" |
137 |
DEPEND="" |
138 |
|
139 |
QA_EXECSTACK_amd64="opt/${P}/jre/bin/libjclscar_23.so |
140 |
opt/${P}/jre/bin/libj9vrb23.so |
141 |
opt/${P}/jre/bin/libj9vm23.so |
142 |
opt/${P}/jre/bin/libj9trc23.so |
143 |
opt/${P}/jre/bin/libj9thr23.so |
144 |
opt/${P}/jre/bin/libj9shr23.so |
145 |
opt/${P}/jre/bin/libj9prt23.so |
146 |
opt/${P}/jre/bin/libj9jvmti23.so |
147 |
opt/${P}/jre/bin/libj9jpi23.so |
148 |
opt/${P}/jre/bin/libj9jit23.so |
149 |
opt/${P}/jre/bin/libj9jextract.so |
150 |
opt/${P}/jre/bin/libj9hookable23.so |
151 |
opt/${P}/jre/bin/libj9gc23.so |
152 |
opt/${P}/jre/bin/libj9dyn23.so |
153 |
opt/${P}/jre/bin/libj9dmp23.so |
154 |
opt/${P}/jre/bin/libj9dbg23.so |
155 |
opt/${P}/jre/bin/libj9bcv23.so |
156 |
opt/${P}/jre/bin/libiverel23.so |
157 |
opt/${P}/jre/bin/classic/libjvm.so |
158 |
opt/${P}/jre/bin/j9vm/libjvm.so" |
159 |
|
160 |
QA_TEXTRELS_amd64="opt/${P}/jre/bin/libjclscar_23.so |
161 |
opt/${P}/jre/bin/libj9jit23.so" |
162 |
|
163 |
QA_EXECSTACK_x86="opt/${P}/jre/bin/j9vm/libjvm.so |
164 |
opt/${P}/jre/bin/libj9jvmti23.so |
165 |
opt/${P}/jre/bin/libj9hookable23.so |
166 |
opt/${P}/jre/bin/libj9vm23.so |
167 |
opt/${P}/jre/bin/libj9dyn23.so |
168 |
opt/${P}/jre/bin/libjclscar_23.so |
169 |
opt/${P}/jre/bin/libj9jpi23.so |
170 |
opt/${P}/jre/bin/libj9thr23.so |
171 |
opt/${P}/jre/bin/libj9dmp23.so |
172 |
opt/${P}/jre/bin/libj9prt23.so |
173 |
opt/${P}/jre/bin/libj9jit23.so |
174 |
opt/${P}/jre/bin/libiverel23.so |
175 |
opt/${P}/jre/bin/libj9trc23.so |
176 |
opt/${P}/jre/bin/libj9dbg23.so |
177 |
opt/${P}/jre/bin/libj9jextract.so |
178 |
opt/${P}/jre/bin/libj9shr23.so |
179 |
opt/${P}/jre/bin/libj9gc23.so |
180 |
opt/${P}/jre/bin/libj9vrb23.so |
181 |
opt/${P}/jre/bin/libj9bcv23.so |
182 |
opt/${P}/jre/bin/libj9aotrt23.so |
183 |
opt/${P}/jre/bin/classic/libjvm.so" |
184 |
|
185 |
QA_TEXTRELS_ppc="opt/${P}/jre/bin/classic/libjvm.so |
186 |
opt/${P}/jre/bin/j9vm/libjvm.so |
187 |
opt/${P}/jre/bin/libj9aotrt23.so |
188 |
opt/${P}/jre/bin/libj9dbg23.so |
189 |
opt/${P}/jre/bin/libj9gc23.so |
190 |
opt/${P}/jre/bin/libj9gcchk23.so |
191 |
opt/${P}/jre/bin/libj9jextract.so |
192 |
opt/${P}/jre/bin/libj9jit23.so |
193 |
opt/${P}/jre/bin/libj9jitd23.so |
194 |
opt/${P}/jre/bin/libj9jpi23.so |
195 |
opt/${P}/jre/bin/libj9jvmti23.so |
196 |
opt/${P}/jre/bin/libj9prt23.so |
197 |
opt/${P}/jre/bin/libj9thr23.so |
198 |
opt/${P}/jre/bin/libj9thr23.so |
199 |
opt/${P}/jre/bin/libj9ute23.so |
200 |
opt/${P}/jre/bin/libj9vm23.so |
201 |
opt/${P}/jre/bin/libj9vm23.so |
202 |
opt/${P}/jre/bin/libjaas.so |
203 |
opt/${P}/jre/bin/libjclscar_23.so |
204 |
opt/${P}/jre/bin/libjsig.so |
205 |
" |
206 |
|
207 |
QA_TEXTRELS_ppc64="opt/${P}/jre/bin/libj9jextract.so |
208 |
opt/${P}/jre/bin/libjsig.so |
209 |
opt/${P}/jre/bin/libj9jitd23.so |
210 |
opt/${P}/jre/bin/libj9ute23.so |
211 |
opt/${P}/jre/bin/classic/libjvm.so |
212 |
opt/${P}/jre/bin/libj9prt23.so |
213 |
opt/${P}/jre/bin/libjclscar_23.so |
214 |
opt/${P}/jre/bin/j9vm/libjvm.so |
215 |
opt/${P}/jre/bin/libj9gc23.so |
216 |
opt/${P}/jre/bin/libj9dbg23.so |
217 |
opt/${P}/jre/bin/libj9thr23.so |
218 |
opt/${P}/jre/bin/libj9jpi23.so |
219 |
opt/${P}/jre/bin/libj9gcchk23.so |
220 |
opt/${P}/jre/bin/libj9vm23.so |
221 |
opt/${P}/jre/bin/libj9jit23.so" |
222 |
|
223 |
QA_TEXTRELS_x86="opt/${P}/jre/bin/lib*.so |
224 |
opt/${P}/jre/bin/j9vm/libjvm.so |
225 |
opt/${P}/jre/bin/xawt/libmawt.so |
226 |
opt/${P}/jre/bin/javaplugin.so |
227 |
opt/${P}/jre/bin/motif21/libmawt.so |
228 |
opt/${P}/jre/bin/headless/libmawt.so |
229 |
opt/${P}/jre/bin/classic/libjvm.so |
230 |
opt/${P}/jre/lib/i386/libdeploy.so" |
231 |
|
232 |
pkg_nofetch() { |
233 |
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" |
234 |
einfo "Please visit: ${DOWNLOADPAGE}" |
235 |
|
236 |
einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE} for your arch:" |
237 |
einfo "(note that we switched to tgz format because it's now versioned)" |
238 |
einfo "${JDK_DIST}" |
239 |
if use javacomm ; then |
240 |
einfo "${JAVACOMM_DIST}" |
241 |
fi |
242 |
|
243 |
einfo "You can use direct link to your arch download page:" |
244 |
einfo "${DIRECT_DOWNLOAD}" |
245 |
einfo "Place the file(s) in: ${DISTDIR}" |
246 |
einfo "Then restart emerge: 'emerge --resume'" |
247 |
|
248 |
einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" |
249 |
einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page" |
250 |
einfo "isn't updated, but the files should still available through the" |
251 |
einfo "direct link to arch download page. If it doesn't work, file a bug." |
252 |
} |
253 |
|
254 |
src_unpack() { |
255 |
unpack ${A} |
256 |
cd "${S}" |
257 |
|
258 |
# bug #126105 |
259 |
epatch "${FILESDIR}/${PN}-jawt.h.patch" |
260 |
} |
261 |
|
262 |
src_compile() { :; } |
263 |
|
264 |
src_install() { |
265 |
# Copy all the files to the designated directory |
266 |
dodir /opt/${P} |
267 |
cp -pR ${S}/{bin,jre,lib,include} ${D}/opt/${P}/ |
268 |
|
269 |
dodir /opt/${P}/share |
270 |
if use examples; then |
271 |
cp -pPR ${S}/demo ${D}/opt/${P}/share/ |
272 |
fi |
273 |
|
274 |
cp -pPR ${S}/src.jar "${D}/opt/${P}/" |
275 |
|
276 |
# setting the ppc stuff |
277 |
#if use ppc; then |
278 |
# dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc.so |
279 |
# dosed s:/proc/cpuinfo:/etc//cpuinfo:g /opt/${P}/jre/bin/libjitc_g.so |
280 |
# insinto /etc |
281 |
# doins ${FILESDIR}/cpuinfo |
282 |
#fi |
283 |
|
284 |
local x86plugin=libjavaplugin_ojigtk2.so |
285 |
local ppcplugin=libjavaplugin_oji.so |
286 |
local jrebindest="${D}/opt/${P}/jre/bin/" |
287 |
|
288 |
local plugin |
289 |
if use x86; then |
290 |
plugin=${x86plugin} |
291 |
elif use ppc; then |
292 |
plugin=${ppcplugin} |
293 |
# rm "${jrebindest}/${x86plugin}" "${jrebindest}/libjavaplugin_nscpgtk2.so" || \ |
294 |
# eerror "Failed to delete gtk2 javaplugin." |
295 |
fi |
296 |
|
297 |
plugin=/opt/${P}/jre/bin/${plugin} |
298 |
|
299 |
if use x86 || use ppc; then |
300 |
if use nsplugin; then |
301 |
install_mozilla_plugin ${plugin} |
302 |
else |
303 |
rm "${jrebindest}/*javaplugin*.so" || \ |
304 |
eerror "Failed to delete javaplugin shared libraries" |
305 |
fi |
306 |
fi |
307 |
|
308 |
use !alsa && rm "${jrebindest}/libjsoundalsa.so" |
309 |
|
310 |
dohtml -a html,htm,HTML -r docs |
311 |
dodoc ${S}/COPYRIGHT |
312 |
|
313 |
set_java_env |
314 |
} |
315 |
|
316 |
pkg_postinst() { |
317 |
java-vm-2_pkg_postinst |
318 |
if ! use X; then |
319 |
echo |
320 |
ewarn "You're not using X so its possible that you dont have" |
321 |
ewarn "a X server installed, please read the following warning: " |
322 |
ewarn "Some parts of IBM JDK require XFree86 to be installed." |
323 |
ewarn "Be careful which Java libraries you attempt to use." |
324 |
fi |
325 |
|
326 |
elog "" |
327 |
elog "Starting with 1.5.0.4-r1 demos are installed only with USE=examples" |
328 |
elog "" |
329 |
elog "Starting with 1.5.0.5 the src.jar is installed to the standard" |
330 |
elog "location only (/opt/${P}/) and not /opt/${P}/share/" |
331 |
elog "as we used to. See https://bugs.gentoo.org/show_bug.cgi?id=2241" |
332 |
elog "for more details." |
333 |
} |
334 |
|
335 |
|
336 |
|
337 |
-- |
338 |
gentoo-commits@g.o mailing list |