1 |
caster 09/04/02 11:38:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ibm-jre-bin-1.4.2.13.ebuild |
5 |
Log: |
6 |
Version bump, security bug #252416. |
7 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.121 dev-java/ibm-jre-bin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog?rev=1.121&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog?rev=1.121&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog?r1=1.120&r2=1.121 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v |
19 |
retrieving revision 1.120 |
20 |
retrieving revision 1.121 |
21 |
diff -u -r1.120 -r1.121 |
22 |
--- ChangeLog 30 Mar 2009 15:57:53 -0000 1.120 |
23 |
+++ ChangeLog 2 Apr 2009 11:38:45 -0000 1.121 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-java/ibm-jre-bin |
26 |
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.120 2009/03/30 15:57:53 ranger Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ChangeLog,v 1.121 2009/04/02 11:38:45 caster Exp $ |
29 |
+ |
30 |
+*ibm-jre-bin-1.4.2.13 (02 Apr 2009) |
31 |
+ |
32 |
+ 02 Apr 2009; Vlastimil Babka <caster@g.o> |
33 |
+ +ibm-jre-bin-1.4.2.13.ebuild: |
34 |
+ Version bump, security bug #252416. |
35 |
|
36 |
30 Mar 2009; Brent Baude <ranger@g.o> ibm-jre-bin-1.6.0.4.ebuild: |
37 |
Marking ibm-jre-bin-1.6.0.4 ppc64 and ppc for bug 252416 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.13.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.13.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.13.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ibm-jre-bin-1.4.2.13.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/ibm-jre-bin/ibm-jre-bin-1.4.2.13.ebuild,v 1.1 2009/04/02 11:38:45 caster Exp $ |
51 |
|
52 |
inherit java-vm-2 eutils versionator |
53 |
|
54 |
JDK_RELEASE=$(get_version_component_range 1-3) |
55 |
SERVICE_RELEASE=$(get_version_component_range 4) |
56 |
RPM_PV="${JDK_RELEASE}-${SERVICE_RELEASE}.0" |
57 |
|
58 |
JRE_DIST_PREFIX="IBMJava2-JRE-${RPM_PV}" |
59 |
|
60 |
X86_JRE_DIST="${JRE_DIST_PREFIX}.tgz" |
61 |
# wonder why amd64 has this extra special AMD64 in its filename... |
62 |
AMD64_JRE_DIST="IBMJava2-JRE-AMD64-${RPM_PV}.x86_64.tgz" |
63 |
PPC_JRE_DIST="${JRE_DIST_PREFIX}.ppc.tgz" |
64 |
PPC64_JRE_DIST="${JRE_DIST_PREFIX}.ppc64.tgz" |
65 |
|
66 |
if use x86; then |
67 |
JRE_DIST=${X86_JRE_DIST} |
68 |
S="${WORKDIR}/IBMJava2-142" |
69 |
LINK_ARCH="ia32" |
70 |
elif use amd64; then |
71 |
JRE_DIST=${AMD64_JRE_DIST} |
72 |
S="${WORKDIR}/IBMJava2-amd64-142" |
73 |
LINK_ARCH="amd64" |
74 |
elif use ppc; then |
75 |
JRE_DIST=${PPC_JRE_DIST} |
76 |
S="${WORKDIR}/IBMJava2-ppc-142" |
77 |
LINK_ARCH="ip32" |
78 |
elif use ppc64; then |
79 |
JRE_DIST=${PPC64_JRE_DIST} |
80 |
S="${WORKDIR}/IBMJava2-ppc64-142" |
81 |
LINK_ARCH="ip64" |
82 |
fi |
83 |
|
84 |
DIRECT_DOWNLOAD="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=lxdk&S_PKG=${LINK_ARCH}142sr${SERVICE_RELEASE}&cp=UTF-8&S_TACT=105AGX05&S_CMP=JDK" |
85 |
|
86 |
DESCRIPTION="IBM Java Runtime Environment" |
87 |
HOMEPAGE="http://www.ibm.com/developerworks/java/jdk/" |
88 |
DOWNLOADPAGE="${HOMEPAGE}linux/download.html" |
89 |
ALT_DOWNLOADPAGE="${HOMEPAGE}linux/older_download.html" |
90 |
|
91 |
SRC_URI="x86? ( ${X86_JRE_DIST} ) |
92 |
amd64? ( ${AMD64_JRE_DIST} ) |
93 |
ppc? ( ${PPC_JRE_DIST} ) |
94 |
ppc64? ( ${PPC64_JRE_DIST} )" |
95 |
|
96 |
LICENSE="IBM-J1.4" |
97 |
SLOT="1.4" |
98 |
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86" |
99 |
IUSE="X alsa nsplugin" |
100 |
|
101 |
RDEPEND="=virtual/libstdc++-3.3 |
102 |
alsa? ( media-libs/alsa-lib ) |
103 |
X? ( |
104 |
x11-libs/libXext |
105 |
x11-libs/libXi |
106 |
x11-libs/libXmu |
107 |
x11-libs/libXp |
108 |
x11-libs/libXtst |
109 |
x11-libs/libXt |
110 |
x11-libs/libX11 |
111 |
)" |
112 |
DEPEND="" |
113 |
|
114 |
RESTRICT="fetch" |
115 |
|
116 |
QA_TEXTRELS_x86="opt/${P}/bin/lib*.so |
117 |
opt/${P}/bin/javaplugin.so |
118 |
opt/${P}/bin/classic/libjvm.so |
119 |
opt/${P}/bin/classic/libcore.so" |
120 |
QA_TEXTRELS_amd64=" |
121 |
opt/${P}/bin/j9vm/libj9jit23.so |
122 |
opt/${P}/bin/j9vm/libjclscar_23.so |
123 |
opt/${P}/bin/libj9jit22.so |
124 |
opt/${P}/bin/libjclscar_22.so |
125 |
" |
126 |
|
127 |
pkg_nofetch() { |
128 |
einfo "Due to license restrictions, we cannot redistribute or fetch the distfiles" |
129 |
einfo "Please visit: ${DOWNLOADPAGE}" |
130 |
|
131 |
einfo "Under Java 1.4.2, download SR${SERVICE_RELEASE} for your arch:" |
132 |
einfo "${JRE_DIST}" |
133 |
|
134 |
einfo "Direct link:" |
135 |
einfo "${DIRECT_DOWNLOAD}" |
136 |
einfo "Place the file(s) in: ${DISTDIR}" |
137 |
einfo "Then restart emerge: 'emerge --resume'" |
138 |
|
139 |
einfo "Note: if SR${SERVICE_RELEASE} is not available at ${DOWNLOADPAGE}" |
140 |
einfo "it may have been moved to ${ALT_DOWNLOADPAGE}. Lately that page" |
141 |
einfo "isn't updated, but the files should still available through the" |
142 |
einfo "direct link. If it doesn't work, file a bug." |
143 |
} |
144 |
|
145 |
src_compile() { :; } |
146 |
|
147 |
src_install() { |
148 |
# javaws is on x86 only |
149 |
if use x86; then |
150 |
# The javaws execution script is 777 why? |
151 |
chmod 0755 "${S}"/jre/javaws/javaws |
152 |
|
153 |
# bug #147259 |
154 |
dosym ../javaws/javaws /opt/${P}/bin/javaws |
155 |
fi |
156 |
|
157 |
# Copy all the files to the designated directory |
158 |
dodir /opt/${P} |
159 |
cp -pR "${S}"/jre/* "${D}"/opt/${P}/ |
160 |
|
161 |
if use x86 && use nsplugin; then |
162 |
local plugin="libjavaplugin_oji.so" |
163 |
|
164 |
if has_version '>=sys-devel/gcc-3' ; then |
165 |
plugin="libjavaplugin_ojigcc3.so" |
166 |
fi |
167 |
|
168 |
install_mozilla_plugin /opt/${P}/bin/${plugin} |
169 |
fi |
170 |
|
171 |
dohtml -a html,htm,HTML -r docs |
172 |
dodoc "${S}"/docs/COPYRIGHT |
173 |
|
174 |
set_java_env |
175 |
java-vm_revdep-mask |
176 |
} |