Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jrockit-jdk-bin: ChangeLog jrockit-jdk-bin-1.5.0.14.ebuild jrockit-jdk-bin-1.4.2.16.ebuild
Date: Sat, 19 Apr 2008 14:34:46
Message-Id: E1JnE9K-0007tj-TU@stork.gentoo.org
1 caster 08/04/19 14:34:42
2
3 Modified: ChangeLog
4 Added: jrockit-jdk-bin-1.5.0.14.ebuild
5 jrockit-jdk-bin-1.4.2.16.ebuild
6 Log:
7 Version bump, security bug #218226. Add missing dependencies, install revdep-rebuild mask file - bug #177925.
8 (Portage version: 2.1.5_rc4)
9
10 Revision Changes Path
11 1.44 dev-java/jrockit-jdk-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 22 Jan 2008 21:32:22 -0000 1.43
24 +++ ChangeLog 19 Apr 2008 14:34:42 -0000 1.44
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-java/jrockit-jdk-bin
27 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v 1.43 2008/01/22 21:32:22 betelgeuse Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/ChangeLog,v 1.44 2008/04/19 14:34:42 caster Exp $
30 +
31 +*jrockit-jdk-bin-1.5.0.14 (19 Apr 2008)
32 +*jrockit-jdk-bin-1.4.2.16 (19 Apr 2008)
33 +
34 + 19 Apr 2008; Vlastimil Babka <caster@g.o>
35 + +jrockit-jdk-bin-1.4.2.16.ebuild, +jrockit-jdk-bin-1.5.0.14.ebuild:
36 + Version bump, security bug #218226. Add missing dependencies, install
37 + revdep-rebuild mask file - bug #177925.
38
39 22 Jan 2008; Petteri Räty <betelgeuse@g.o>
40 jrockit-jdk-bin-1.4.2.14_p1.ebuild, jrockit-jdk-bin-1.5.0.11_p1.ebuild:
41
42
43
44 1.1 dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.14.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.14.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.14.ebuild?rev=1.1&content-type=text/plain
48
49 Index: jrockit-jdk-bin-1.5.0.14.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.5.0.14.ebuild,v 1.1 2008/04/19 14:34:42 caster Exp $
54
55 # WARNING: This is the default VM on ia64, so treat this ebuild
56 # with proper care.
57
58 # NOTE: this version is special, because it's fetched from the security alert
59 # page which does not require licence click-through, has different URL, names...
60 # standard ebuild content is commented out
61
62 # The stripping of symbols seems to mess up the BEA code. Not sure why.
63 RESTRICT="strip mirror" #fetch
64
65 inherit java-vm-2 versionator
66
67 PV_MAJOR="$(get_version_component_range 1-3 ${PV})"
68 PV_EXTRA="$(get_version_component_range 4 ${PV})"
69 MY_PV="${PV_MAJOR}_${PV_EXTRA}"
70 UPSTREAM_RELEASE="27.5.0"
71
72 #SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-"
73 SRC_URI_BASE="ftp://anonymous:dev2dev%40bea%2Ecom@×××××××××.com/pub/releases/security/jrockit-R${UPSTREAM_RELEASE}-jdk${MY_PV}-linux-"
74 SRC_URI="ia64? ( ${SRC_URI_BASE}ipf.bin )
75 amd64? ( ${SRC_URI_BASE}x64.bin )
76 x86? ( ${SRC_URI_BASE}ia32.bin )"
77 DESCRIPTION="BEA WebLogic's J2SE Development Kit"
78
79 HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp"
80
81 LICENSE="jrockit"
82 SLOT="1.5"
83 KEYWORDS="-* ~amd64 ~ia64 ~x86"
84 IUSE="X alsa doc examples odbc"
85
86 DEPEND="app-arch/unzip"
87 RDEPEND="sys-libs/glibc
88 alsa? ( media-libs/alsa-lib )
89 doc? ( =dev-java/java-sdk-docs-1.5.0* )
90 X? (
91 x11-libs/libXext
92 x11-libs/libXi
93 x11-libs/libXp
94 x11-libs/libXtst
95 x11-libs/libXt
96 x11-libs/libX11
97 =dev-libs/glib-2*
98 =x11-libs/gtk+-2*
99 )
100 odbc? ( dev-db/unixODBC )"
101
102 JAVA_PROVIDE="jdbc-stdext jdbc-rowset"
103
104 QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so
105 opt/${P}/jre/lib/i386/motif21/libmawt.so
106 opt/${P}/jre/lib/i386/libjmapi.so"
107
108 QA_EXECSTACK_x86="opt/${P}/bin/*
109 opt/${P}/jre/bin/*
110 opt/${P}/jre/lib/i386/jrockit/libjvm.so
111 opt/${P}/jre/lib/i386/libnet.so"
112
113 #pkg_nofetch() {
114 # einfo "Please download ${A} from:"
115 # einfo ${HOMEPAGE}
116 # einfo "and move it to ${DISTDIR}"
117 #}
118
119 src_unpack() {
120 # unpack cannot determine file format
121 # unzip to get more zips
122 unzip "${DISTDIR}"/${A} || die
123
124 mkdir "${S}" || die
125
126 # this is ugly but don't see any better way
127 # empty jre dir is part of the zip
128 unzip *sdk_no_jre.zip -d "${S}" || die
129 # remove so it doesn't affect next unzip
130 rm *sdk_no_jre.zip || die
131 # unpack the jre into its dir
132 unzip *jre.zip -d "${S}"/jre || die
133 }
134
135 src_install() {
136 local dirs="bin include jre lib missioncontrol src.zip"
137
138 dodir "/opt/${P}"
139
140 cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
141
142 if use examples; then
143 cp -pPR demo sample "${D}/opt/${P}/" || die "failed to copy"
144 fi
145
146 newdoc README.txt README || die
147 dodoc LICENSE || die
148
149 set_java_env
150 java-vm_revdep-mask
151 }
152
153 pkg_postinst () {
154 # Set as default VM if none exists
155 java-vm-2_pkg_postinst
156
157 elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE"
158 elog "If you do not agree to the terms of this license, please uninstall this package"
159 }
160
161
162
163 1.1 dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.16.ebuild
164
165 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.16.ebuild?rev=1.1&view=markup
166 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.16.ebuild?rev=1.1&content-type=text/plain
167
168 Index: jrockit-jdk-bin-1.4.2.16.ebuild
169 ===================================================================
170 # Copyright 1999-2008 Gentoo Foundation
171 # Distributed under the terms of the GNU General Public License v2
172 # $Header: /var/cvsroot/gentoo-x86/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.4.2.16.ebuild,v 1.1 2008/04/19 14:34:42 caster Exp $
173
174 # WARNING: This is the default VM on ia64, so treat this ebuild
175 # with proper care.
176
177 # NOTE: this version is special, because it's fetched from the security alert
178 # page which does not require licence click-through, has different URL, names...
179 # standard ebuild content is commented out
180
181 # The stripping of symbols seems to mess up the BEA code. Not sure why.
182 RESTRICT="strip mirror" #fetch
183 JAVA_SUPPORTS_GENERATION_1="true"
184 inherit java-vm-2 versionator
185
186 PV_MAJOR="$(get_version_component_range 1-3 ${PV})"
187 PV_EXTRA="$(get_version_component_range 4 ${PV})"
188 MY_PV="${PV_MAJOR}_${PV_EXTRA}"
189 UPSTREAM_RELEASE="27.5.0"
190
191 #SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-"
192 SRC_URI_BASE="ftp://anonymous:dev2dev%40bea%2Ecom@×××××××××.com/pub/releases/security/jrockit-R${UPSTREAM_RELEASE}-jdk${MY_PV}-linux-"
193 SRC_URI="ia64? ( ${SRC_URI_BASE}ipf.bin )
194 x86? ( ${SRC_URI_BASE}ia32.bin )"
195 DESCRIPTION="BEA WebLogic's J2SE Development Kit"
196
197 HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp"
198 LICENSE="jrockit"
199 SLOT="1.4"
200 KEYWORDS="-* ~ia64 ~x86"
201 IUSE="X alsa doc examples odbc"
202
203 DEPEND="app-arch/unzip"
204 RDEPEND="sys-libs/glibc
205 alsa? ( media-libs/alsa-lib )
206 doc? ( =dev-java/java-sdk-docs-1.4.2* )
207 X? (
208 x11-libs/libXext
209 x11-libs/libXi
210 x11-libs/libXp
211 x11-libs/libXtst
212 x11-libs/libXt
213 x11-libs/libX11
214 =dev-libs/glib-2*
215 =x11-libs/gtk+-2*
216 )
217 odbc? ( dev-db/unixODBC )"
218
219 QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so
220 opt/${P}/jre/lib/i386/libjmapi.so
221 opt/${P}/jre/lib/i386/libawt.so"
222
223 QA_EXECSTACK_x86="opt/${P}/bin/*
224 opt/${P}/jre/bin/*
225 opt/${P}/jre/lib/i386/jrockit/libjvm.so
226 opt/${P}/jre/lib/i386/libnet.so"
227
228 #pkg_nofetch() {
229 # einfo "Please download ${A} from:"
230 # einfo ${HOMEPAGE}
231 # einfo "and move it to ${DISTDIR}"
232 #}
233
234 src_unpack() {
235 # unpack cannot determine file format
236 # unzip to get more zips
237 unzip "${DISTDIR}"/${A} || die
238
239 mkdir "${S}" || die
240
241 # this is ugly but don't see any better way
242 # empty jre dir is part of the zip
243 unzip *sdk_no_jre.zip -d "${S}" || die
244 # remove so it doesn't affect next unzip
245 rm *sdk_no_jre.zip || die
246 # unpack the jre into its dir
247 unzip *jre.zip -d "${S}"/jre || die
248 }
249
250 src_install() {
251 local dirs="bin include jre lib missioncontrol src.zip"
252
253 dodir "/opt/${P}"
254
255 cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
256
257 if use examples; then
258 cp -pPR demo "${D}/opt/${P}/" || die "failed to copy"
259 fi
260
261 newdoc README.txt README || die
262 dodoc LICENSE || die
263
264 set_java_env
265 java-vm_revdep-mask
266 }
267
268 pkg_postinst () {
269 # Set as default VM if none exists
270 java-vm-2_pkg_postinst
271
272 elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE"
273 elog "If you do not agree to the terms of this license, please uninstall this package"
274 }
275
276
277
278 --
279 gentoo-commits@l.g.o mailing list