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/icedtea-web: ChangeLog icedtea-web-1.4.2-r1.ebuild icedtea-web-1.4.2.ebuild
Date: Fri, 27 Jun 2014 14:53:05
Message-Id: 20140627143937.A8E9A2004E@flycatcher.gentoo.org
1 caster 14/06/27 14:39:37
2
3 Modified: ChangeLog icedtea-web-1.4.2.ebuild
4 Added: icedtea-web-1.4.2-r1.ebuild
5 Log:
6 Revbump the current icedtea-web-1.4.2 to 1.4.2-r1 without change. Then remove icedtea7 USE flag and associated dependency from -r0, so it can be stabilized. Security bug #501472.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4E61DE84)
9
10 Revision Changes Path
11 1.40 dev-java/icedtea-web/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 1 Jun 2014 20:53:52 -0000 1.39
24 +++ ChangeLog 27 Jun 2014 14:39:37 -0000 1.40
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-java/icedtea-web
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/ChangeLog,v 1.39 2014/06/01 20:53:52 caster Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/ChangeLog,v 1.40 2014/06/27 14:39:37 caster Exp $
30 +
31 +*icedtea-web-1.4.2-r1 (27 Jun 2014)
32 +
33 + 27 Jun 2014; Vlastimil Babka <caster@g.o> icedtea-web-1.4.2.ebuild,
34 + +icedtea-web-1.4.2-r1.ebuild:
35 + Revbump the current icedtea-web-1.4.2 to 1.4.2-r1 without change. Then remove
36 + icedtea7 USE flag and associated dependency from -r0, so it can be
37 + stabilized. Security bug #501472.
38
39 *icedtea-web-1.4.2 (01 Jun 2014)
40
41
42
43
44 1.2 dev-java/icedtea-web/icedtea-web-1.4.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild?rev=1.2&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild?rev=1.2&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild?r1=1.1&r2=1.2
49
50 Index: icedtea-web-1.4.2.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild,v
53 retrieving revision 1.1
54 retrieving revision 1.2
55 diff -u -r1.1 -r1.2
56 --- icedtea-web-1.4.2.ebuild 1 Jun 2014 20:53:52 -0000 1.1
57 +++ icedtea-web-1.4.2.ebuild 27 Jun 2014 14:39:37 -0000 1.2
58 @@ -1,6 +1,6 @@
59 # Copyright 1999-2014 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild,v 1.1 2014/06/01 20:53:52 caster Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild,v 1.2 2014/06/27 14:39:37 caster Exp $
63 # Build written by Andrew John Hughes (ahughes@××××××.com)
64
65 EAPI="5"
66 @@ -15,16 +15,13 @@
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69
70 -IUSE="doc +icedtea7 javascript +nsplugin test"
71 +IUSE="doc javascript +nsplugin test"
72
73 COMMON_DEP="
74 - icedtea7? ( || (
75 - dev-java/icedtea:7 dev-java/icedtea-bin:7
76 - ) )
77 - !icedtea7? ( || (
78 + || (
79 dev-java/icedtea:7 dev-java/icedtea-bin:7
80 dev-java/icedtea:6 dev-java/icedtea-bin:6
81 - ) )
82 + )
83 app-admin/eselect-java
84 nsplugin? (
85 >=dev-libs/glib-2.16
86 @@ -39,10 +36,7 @@
87
88 # http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011221.html
89 pkg_setup() {
90 - JAVA_PKG_WANT_BUILD_VM="icedtea-7 icedtea-bin-7"
91 - if ! use icedtea7; then
92 - JAVA_PKG_WANT_BUILD_VM="${JAVA_PKG_WANT_BUILD_VM} icedtea-6 icedtea-bin-6"
93 - fi
94 + JAVA_PKG_WANT_BUILD_VM="icedtea-7 icedtea-bin-7 icedtea-6 icedtea-bin-6"
95 JAVA_PKG_WANT_SOURCE="1.6"
96 JAVA_PKG_WANT_TARGET="1.6"
97
98
99
100
101 1.1 dev-java/icedtea-web/icedtea-web-1.4.2-r1.ebuild
102
103 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2-r1.ebuild?rev=1.1&view=markup
104 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2-r1.ebuild?rev=1.1&content-type=text/plain
105
106 Index: icedtea-web-1.4.2-r1.ebuild
107 ===================================================================
108 # Copyright 1999-2014 Gentoo Foundation
109 # Distributed under the terms of the GNU General Public License v2
110 # $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2-r1.ebuild,v 1.1 2014/06/27 14:39:37 caster Exp $
111 # Build written by Andrew John Hughes (ahughes@××××××.com)
112
113 EAPI="5"
114
115 inherit autotools eutils readme.gentoo java-pkg-2 java-vm-2
116
117 DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
118 HOMEPAGE="http://icedtea.classpath.org"
119 SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
120
121 LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
122 SLOT="0"
123 KEYWORDS="~amd64 ~x86"
124
125 IUSE="doc +icedtea7 javascript +nsplugin test"
126
127 COMMON_DEP="
128 icedtea7? ( || (
129 dev-java/icedtea:7 dev-java/icedtea-bin:7
130 ) )
131 !icedtea7? ( || (
132 dev-java/icedtea:7 dev-java/icedtea-bin:7
133 dev-java/icedtea:6 dev-java/icedtea-bin:6
134 ) )
135 app-admin/eselect-java
136 nsplugin? (
137 >=dev-libs/glib-2.16
138 )"
139 RDEPEND="${COMMON_DEP}"
140 # Need system junit 4.8+. Bug #389795
141 DEPEND="${COMMON_DEP}
142 virtual/pkgconfig
143 javascript? ( dev-java/rhino:1.6 )
144 nsplugin? ( net-misc/npapi-sdk )
145 test? ( >=dev-java/junit-4.8:4 )"
146
147 # http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011221.html
148 pkg_setup() {
149 JAVA_PKG_WANT_BUILD_VM="icedtea-7 icedtea-bin-7"
150 if ! use icedtea7; then
151 JAVA_PKG_WANT_BUILD_VM="${JAVA_PKG_WANT_BUILD_VM} icedtea-6 icedtea-bin-6"
152 fi
153 JAVA_PKG_WANT_SOURCE="1.6"
154 JAVA_PKG_WANT_TARGET="1.6"
155
156 java-pkg-2_pkg_setup
157 java-vm-2_pkg_setup
158 }
159
160 src_prepare() {
161 epatch "${FILESDIR}"/0001-Fix-parallel-install.-BGO-440906.patch
162 epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch # bug #356645
163 eautoreconf
164 }
165
166 src_configure() {
167 local config=(
168 # javaws is managed by eselect java-vm and symlinked to by icedtea so
169 # move it out of the way and symlink itweb-settings back to bin
170 --bindir="${EPREFIX}"/usr/libexec/${PN}
171 --with-jdk-home="${JAVA_HOME}"
172 $(use_enable doc docs)
173 $(use_enable nsplugin plugin)
174 $(use_with javascript rhino)
175 )
176
177 unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
178 econf "${config[@]}"
179 }
180
181 src_compile() {
182 default
183 }
184
185 src_install() {
186 default
187
188 if use nsplugin; then
189 install_mozilla_plugin "/usr/$(get_libdir)/IcedTeaPlugin.so"
190 fi
191
192 mkdir -p "${ED}"/usr/bin || die
193 dosym /usr/libexec/${PN}/itweb-settings /usr/bin/itweb-settings || die
194
195 # Should we patch system default lookup instead?
196 mkdir -p "${ED}"/etc/.java/deployment/ || die
197 echo "deployment.jre.dir=/etc/java-config-2/current-icedtea-web-vm" \
198 > "${ED}"/etc/.java/deployment/deployment.properties || die
199
200 readme.gentoo_create_doc
201 }
202
203 pkg_postinst() {
204 VMHANDLE="icedtea-web@${GENTOO_VM}" java-vm_check-nsplugin
205 java_mozilla_clean_
206 readme.gentoo_print_elog
207 }
208
209 pkg_prerm() {
210 # override the java-vm-2 eclass check for removing a system VM, as it
211 # doesn't make sense here.
212 :;
213 }