1 |
caster 09/04/22 12:59:21 |
2 |
|
3 |
Modified: ibm-jre-bin-1.5.0.9.ebuild ChangeLog |
4 |
Added: ibm-jre-bin-1.5.0.9-r1.ebuild |
5 |
Log: |
6 |
Version bump, security bug #252416. This SR9-SSU release uses same distfile version as the previous SR9 (1.5.0.9). To prevent the need for user renaming of the new version's files, the old ebuild was updated to expect distfiles with .old.tgz scheme. |
7 |
(Portage version: 2.2_rc30/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: ibm-jre-bin-1.5.0.9.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- ibm-jre-bin-1.5.0.9.ebuild 6 Jan 2009 17:06:11 -0000 1.4 |
23 |
+++ ibm-jre-bin-1.5.0.9.ebuild 22 Apr 2009 12:59:21 -0000 1.5 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2009 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild,v 1.4 2009/01/06 17:06:11 ranger Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9.ebuild,v 1.5 2009/04/22 12:59:21 caster Exp $ |
29 |
|
30 |
inherit java-vm-2 versionator eutils |
31 |
|
32 |
@@ -11,10 +11,10 @@ |
33 |
|
34 |
JRE_DIST_PREFIX="ibm-java2-jre-${TGZ_PV}-linux" |
35 |
|
36 |
-X86_JRE_DIST="${JRE_DIST_PREFIX}-i386.tgz" |
37 |
-AMD64_JRE_DIST="${JRE_DIST_PREFIX}-x86_64.tgz" |
38 |
-PPC_JRE_DIST="${JRE_DIST_PREFIX}-ppc.tgz" |
39 |
-PPC64_JRE_DIST="${JRE_DIST_PREFIX}-ppc64.tgz" |
40 |
+X86_JRE_DIST="${JRE_DIST_PREFIX}-i386.old.tgz" |
41 |
+AMD64_JRE_DIST="${JRE_DIST_PREFIX}-x86_64.old.tgz" |
42 |
+PPC_JRE_DIST="${JRE_DIST_PREFIX}-ppc.old.tgz" |
43 |
+PPC64_JRE_DIST="${JRE_DIST_PREFIX}-ppc64.old.tgz" |
44 |
|
45 |
if use x86; then |
46 |
JRE_DIST=${X86_JRE_DIST} |
47 |
|
48 |
|
49 |
|
50 |
1.124 dev-java/ibm-jre-bin/ChangeLog |
51 |
|
52 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog?rev=1.124&view=markup |
53 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog?rev=1.124&content-type=text/plain |
54 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog?r1=1.123&r2=1.124 |
55 |
|
56 |
Index: ChangeLog |
57 |
=================================================================== |
58 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v |
59 |
retrieving revision 1.123 |
60 |
retrieving revision 1.124 |
61 |
diff -u -r1.123 -r1.124 |
62 |
--- ChangeLog 21 Apr 2009 19:16:09 -0000 1.123 |
63 |
+++ ChangeLog 22 Apr 2009 12:59:21 -0000 1.124 |
64 |
@@ -1,6 +1,15 @@ |
65 |
# ChangeLog for dev-java/ibm-jre-bin |
66 |
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
67 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.123 2009/04/21 19:16:09 caster Exp $ |
68 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.124 2009/04/22 12:59:21 caster Exp $ |
69 |
+ |
70 |
+*ibm-jre-bin-1.5.0.9-r1 (22 Apr 2009) |
71 |
+ |
72 |
+ 22 Apr 2009; Vlastimil Babka <caster@g.o> ibm-jre-bin-1.5.0.9, |
73 |
+ +ibm-jre-bin-1.5.0.9-r1.ebuild: |
74 |
+ Version bump, security bug #252416. This SR9-SSU release uses same |
75 |
+ distfile version as the previous SR9 (1.5.0.9). To prevent the need for |
76 |
+ user renaming of the new version's files, the old ebuild was updated to |
77 |
+ expect distfiles with .old.tgz scheme. |
78 |
|
79 |
21 Apr 2009; Vlastimil Babka <caster@g.o> |
80 |
-ibm-jre-bin-1.6.0.3.ebuild: |
81 |
|
82 |
|
83 |
|
84 |
1.1 dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9-r1.ebuild |
85 |
|
86 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9-r1.ebuild?rev=1.1&view=markup |
87 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9-r1.ebuild?rev=1.1&content-type=text/plain |
88 |
|
89 |
Index: ibm-jre-bin-1.5.0.9-r1.ebuild |
90 |
=================================================================== |
91 |
# Copyright 1999-2009 Gentoo Foundation |
92 |
# Distributed under the terms of the GNU General Public License v2 |
93 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.5.0.9-r1.ebuild,v 1.1 2009/04/22 12:59:21 caster Exp $ |
94 |
|
95 |
inherit java-vm-2 versionator eutils |
96 |
|
97 |
JDK_RELEASE=$(get_version_component_range 2-3) |
98 |
SERVICE_RELEASE=$(get_version_component_range 4) |
99 |
SERVICE_RELEASE_LINK="${SERVICE_RELEASE}" |
100 |
TGZ_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" |
101 |
|
102 |
JRE_DIST_PREFIX="ibm-java2-jre-${TGZ_PV}-linux" |
103 |
|
104 |
X86_JRE_DIST="${JRE_DIST_PREFIX}-i386.tgz" |
105 |
AMD64_JRE_DIST="${JRE_DIST_PREFIX}-x86_64.tgz" |
106 |
PPC_JRE_DIST="${JRE_DIST_PREFIX}-ppc.tgz" |
107 |
PPC64_JRE_DIST="${JRE_DIST_PREFIX}-ppc64.tgz" |
108 |
|
109 |
if use x86; then |
110 |
JRE_DIST=${X86_JRE_DIST} |
111 |
S="${WORKDIR}/ibm-java2-i386-50" |
112 |
LINK_ARCH="intel" |
113 |
elif use amd64; then |
114 |
JRE_DIST=${AMD64_JRE_DIST} |
115 |
S="${WORKDIR}/ibm-java2-x86_64-50" |
116 |
LINK_ARCH="amd64" |
117 |
elif use ppc; then |
118 |
JRE_DIST=${PPC_JRE_DIST} |
119 |
S="${WORKDIR}/ibm-java2-ppc-50" |
120 |
LINK_ARCH="ipseries32" |
121 |
elif use ppc64; then |
122 |
JRE_DIST=${PPC64_JRE_DIST} |
123 |
S="${WORKDIR}/ibm-java2-ppc64-50" |
124 |
LINK_ARCH="ipseries64" |
125 |
fi |
126 |
|
127 |
#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" |
128 |
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=sdk5&S_PKG=${LINK_ARCH}5sr${SERVICE_RELEASE_LINK}-ssu&S_TACT=105AGX05&S_CMP=JDK" |
129 |
|
130 |
SLOT="1.5" |
131 |
DESCRIPTION="IBM Java Runtime Environment ${SLOT}" |
132 |
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" |
133 |
DOWNLOADPAGE="${HOMEPAGE}linux/download.html" |
134 |
# bug #125178 |
135 |
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" |
136 |
|
137 |
SRC_URI="x86? ( ${X86_JRE_DIST} ) |
138 |
amd64? ( ${AMD64_JRE_DIST} ) |
139 |
ppc? ( ${PPC_JRE_DIST} ) |
140 |
ppc64? ( ${PPC64_JRE_DIST} )" |
141 |
LICENSE="IBM-J1.5" |
142 |
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" |
143 |
RESTRICT="fetch" |
144 |
IUSE="X alsa nsplugin odbc" |
145 |
|
146 |
RDEPEND="=virtual/libstdc++-3.3 |
147 |
X? ( |
148 |
x11-libs/libXext |
149 |
x11-libs/libXft |
150 |
x11-libs/libXi |
151 |
x11-libs/libXmu |
152 |
x11-libs/libXp |
153 |
x11-libs/libXtst |
154 |
x11-libs/libXt |
155 |
x11-libs/libX11 |
156 |
) |
157 |
alsa? ( media-libs/alsa-lib ) |
158 |
nsplugin? ( |
159 |
x86? ( =x11-libs/gtk+-2* =x11-libs/gtk+-1* ) |
160 |
ppc? ( =x11-libs/gtk+-1* ) |
161 |
) |
162 |
odbc? ( dev-db/unixODBC )" |
163 |
DEPEND="" |
164 |
|
165 |
QA_EXECSTACK_amd64="opt/${P}/bin/libjclscar_23.so |
166 |
opt/${P}/bin/libj9vrb23.so |
167 |
opt/${P}/bin/libj9vm23.so |
168 |
opt/${P}/bin/libj9trc23.so |
169 |
opt/${P}/bin/libj9thr23.so |
170 |
opt/${P}/bin/libj9shr23.so |
171 |
opt/${P}/bin/libj9prt23.so |
172 |
opt/${P}/bin/libj9jvmti23.so |
173 |
opt/${P}/bin/libj9jpi23.so |
174 |
opt/${P}/bin/libj9jit23.so |
175 |
opt/${P}/bin/libj9jextract.so |
176 |
opt/${P}/bin/libj9hookable23.so |
177 |
opt/${P}/bin/libj9gc23.so |
178 |
opt/${P}/bin/libj9dyn23.so |
179 |
opt/${P}/bin/libj9dmp23.so |
180 |
opt/${P}/bin/libj9dbg23.so |
181 |
opt/${P}/bin/libj9bcv23.so |
182 |
opt/${P}/bin/libiverel23.so |
183 |
opt/${P}/bin/classic/libjvm.so |
184 |
opt/${P}/bin/j9vm/libjvm.so" |
185 |
|
186 |
QA_TEXTRELS_amd64="opt/${P}/bin/libjclscar_23.so |
187 |
opt/${P}/bin/libj9jit23.so" |
188 |
|
189 |
QA_EXECSTACK_x86="opt/${P}/bin/j9vm/libjvm.so |
190 |
opt/${P}/bin/libj9jvmti23.so |
191 |
opt/${P}/bin/libj9hookable23.so |
192 |
opt/${P}/bin/libj9vm23.so |
193 |
opt/${P}/bin/libj9dyn23.so |
194 |
opt/${P}/bin/libjclscar_23.so |
195 |
opt/${P}/bin/libj9jpi23.so |
196 |
opt/${P}/bin/libj9thr23.so |
197 |
opt/${P}/bin/libj9dmp23.so |
198 |
opt/${P}/bin/libj9prt23.so |
199 |
opt/${P}/bin/libj9jit23.so |
200 |
opt/${P}/bin/libiverel23.so |
201 |
opt/${P}/bin/libj9trc23.so |
202 |
opt/${P}/bin/libj9dbg23.so |
203 |
opt/${P}/bin/libj9jextract.so |
204 |
opt/${P}/bin/libj9shr23.so |
205 |
opt/${P}/bin/libj9gc23.so |
206 |
opt/${P}/bin/libj9vrb23.so |
207 |
opt/${P}/bin/libj9bcv23.so |
208 |
opt/${P}/bin/libj9aotrt23.so |
209 |
opt/${P}/bin/classic/libjvm.so" |
210 |
|
211 |
QA_TEXTRELS_ppc="opt/${P}/bin/classic/libjvm.so |
212 |
opt/${P}/bin/j9vm/libjvm.so |
213 |
opt/${P}/bin/libj9aotrt23.so |
214 |
opt/${P}/bin/libj9dbg23.so |
215 |
opt/${P}/bin/libj9gc23.so |
216 |
opt/${P}/bin/libj9gcchk23.so |
217 |
opt/${P}/bin/libj9jextract.so |
218 |
opt/${P}/bin/libj9jit23.so |
219 |
opt/${P}/bin/libj9jitd23.so |
220 |
opt/${P}/bin/libj9jpi23.so |
221 |
opt/${P}/bin/libj9jvmti23.so |
222 |
opt/${P}/bin/libj9prt23.so |
223 |
opt/${P}/bin/libj9thr23.so |
224 |
opt/${P}/bin/libj9thr23.so |
225 |
opt/${P}/bin/libj9ute23.so |
226 |
opt/${P}/bin/libj9vm23.so |
227 |
opt/${P}/bin/libj9vm23.so |
228 |
opt/${P}/bin/libjaas.so |
229 |
opt/${P}/bin/libjclscar_23.so |
230 |
opt/${P}/bin/libjsig.so |
231 |
" |
232 |
|
233 |
QA_TEXTRELS_ppc64="opt/${P}/bin/libj9jextract.so |
234 |
opt/${P}/bin/libjsig.so |
235 |
opt/${P}/bin/libj9jitd23.so |
236 |
opt/${P}/bin/libj9ute23.so |
237 |
opt/${P}/bin/classic/libjvm.so |
238 |
opt/${P}/bin/libj9prt23.so |
239 |
opt/${P}/bin/libjclscar_23.so |
240 |
opt/${P}/bin/j9vm/libjvm.so |
241 |
opt/${P}/bin/libj9gc23.so |
242 |
opt/${P}/bin/libj9dbg23.so |
243 |
opt/${P}/bin/libj9thr23.so |
244 |
opt/${P}/bin/libj9jpi23.so |
245 |
opt/${P}/bin/libj9gcchk23.so |
246 |
opt/${P}/bin/libj9vm23.so |
247 |
opt/${P}/bin/libj9jit23.so" |
248 |
|
249 |
QA_TEXTRELS_x86="opt/${P}/bin/lib*.so |
250 |
opt/${P}/bin/j9vm/libjvm.so |
251 |
opt/${P}/bin/xawt/libmawt.so |
252 |
opt/${P}/bin/javaplugin.so |
253 |
opt/${P}/bin/motif21/libmawt.so |
254 |
opt/${P}/bin/headless/libmawt.so |
255 |
opt/${P}/bin/classic/libjvm.so |
256 |
opt/${P}/lib/i386/libdeploy.so" |
257 |
|
258 |
pkg_nofetch() { |
259 |
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" |
260 |
einfo "Please visit: ${DOWNLOADPAGE}" |
261 |
|
262 |
# einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE} for your arch:" |
263 |
einfo "Under J2SE 5.0, download SR${SERVICE_RELEASE}-SSU for your arch:" |
264 |
einfo "${JRE_DIST}" |
265 |
|
266 |
einfo "You can use direct link to your arch download page:" |
267 |
einfo "${DIRECT_DOWNLOAD}" |
268 |
einfo "Place the file(s) in: ${DISTDIR}" |
269 |
einfo "Then restart emerge: 'emerge --resume'" |
270 |
|
271 |
# einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" |
272 |
einfo "Note: if SR${SERVICE_RELEASE}-SSU is not available at ${DOWNLOADPAGE}" |
273 |
einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page" |
274 |
einfo "isn't updated, but the files should still available through the" |
275 |
einfo "direct link to arch download page. If it doesn't work, file a bug." |
276 |
} |
277 |
|
278 |
src_compile() { :; } |
279 |
|
280 |
src_install() { |
281 |
# Copy all the files to the designated directory |
282 |
dodir /opt/${P} |
283 |
cp -pR "${S}"/jre/* "${D}/opt/${P}/" |
284 |
|
285 |
local x86plugin=libjavaplugin_ojigtk2.so |
286 |
local ppcplugin=libjavaplugin_oji.so |
287 |
local jrebindest="${D}/opt/${P}/bin/" |
288 |
|
289 |
local plugin |
290 |
if use x86; then |
291 |
plugin=${x86plugin} |
292 |
elif use ppc; then |
293 |
plugin=${ppcplugin} |
294 |
fi |
295 |
|
296 |
plugin=/opt/${P}/bin/${plugin} |
297 |
|
298 |
if use x86 || use ppc; then |
299 |
if use nsplugin; then |
300 |
install_mozilla_plugin ${plugin} |
301 |
fi |
302 |
fi |
303 |
|
304 |
dohtml -a html,htm,HTML -r docs || die |
305 |
dodoc "${S}/COPYRIGHT" || die |
306 |
|
307 |
set_java_env |
308 |
java-vm_revdep-mask |
309 |
} |