1 |
caster 14/11/01 13:15:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: emul-linux-x86-java-1.7.0.71.ebuild |
5 |
Log: |
6 |
Version bump, security bug #525464. |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.141 app-emulation/emul-linux-x86-java/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.141&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?rev=1.141&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog?r1=1.140&r2=1.141 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v |
20 |
retrieving revision 1.140 |
21 |
retrieving revision 1.141 |
22 |
diff -u -r1.140 -r1.141 |
23 |
--- ChangeLog 16 Oct 2014 12:10:19 -0000 1.140 |
24 |
+++ ChangeLog 1 Nov 2014 13:15:47 -0000 1.141 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-emulation/emul-linux-x86-java |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.140 2014/10/16 12:10:19 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/ChangeLog,v 1.141 2014/11/01 13:15:47 caster Exp $ |
30 |
+ |
31 |
+*emul-linux-x86-java-1.7.0.71 (01 Nov 2014) |
32 |
+ |
33 |
+ 01 Nov 2014; Vlastimil Babka <caster@g.o> |
34 |
+ +emul-linux-x86-java-1.7.0.71.ebuild: |
35 |
+ Version bump, security bug #525464. |
36 |
|
37 |
16 Oct 2014; Pacho Ramos <pacho@g.o> |
38 |
emul-linux-x86-java-1.7.0.51.ebuild, emul-linux-x86-java-1.7.0.55.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.71.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.71.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.71.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: emul-linux-x86-java-1.7.0.71.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.7.0.71.ebuild,v 1.1 2014/11/01 13:15:47 caster Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
|
55 |
inherit java-vm-2 eutils prefix versionator |
56 |
|
57 |
# This URIs need to be updated when bumping! |
58 |
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html" |
59 |
|
60 |
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)" |
61 |
S_PV="$(replace_version_separator 3 '_')" |
62 |
|
63 |
X86_AT="jre-${MY_PV}-linux-i586.tar.gz" |
64 |
|
65 |
DESCRIPTION="Oracle's Java SE Runtime Environment (32bit)" |
66 |
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/" |
67 |
SRC_URI="${X86_AT}" |
68 |
|
69 |
LICENSE="Oracle-BCLA-JavaSE" |
70 |
SLOT="1.7" |
71 |
KEYWORDS="-* ~amd64" |
72 |
IUSE="+X alsa nsplugin pax_kernel" |
73 |
|
74 |
RESTRICT="fetch strip" |
75 |
QA_PREBUILT="*" |
76 |
|
77 |
RDEPEND=" |
78 |
|| ( |
79 |
( |
80 |
X? ( |
81 |
x11-libs/libXext[abi_x86_32(-)] |
82 |
x11-libs/libXi[abi_x86_32(-)] |
83 |
x11-libs/libXrender[abi_x86_32(-)] |
84 |
x11-libs/libXtst[abi_x86_32(-)] |
85 |
x11-libs/libX11[abi_x86_32(-)] ) |
86 |
alsa? ( >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)] ) |
87 |
) |
88 |
( |
89 |
X? ( app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] ) |
90 |
alsa? ( app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] ) |
91 |
) |
92 |
) |
93 |
" |
94 |
|
95 |
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback |
96 |
# marking. #427642 |
97 |
DEPEND=" |
98 |
pax_kernel? ( sys-apps/paxctl )" |
99 |
|
100 |
S="${WORKDIR}/jre${S_PV}" |
101 |
|
102 |
pkg_nofetch() { |
103 |
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again." |
104 |
einfo "" |
105 |
einfo "Please download '${X86_AT}' from:" |
106 |
einfo "'${JRE_URI}'" |
107 |
einfo "and move it to '${DISTDIR}'" |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
# This needs to be done before CDS - #215225 |
112 |
java-vm_set-pax-markings "${S}" |
113 |
|
114 |
# see bug #207282 |
115 |
einfo "Creating the Class Data Sharing archives" |
116 |
bin/java -client -Xshare:dump || die |
117 |
bin/java -server -Xshare:dump || die |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
local dest="/opt/${P}" |
122 |
local ddest="${ED}${dest}" |
123 |
|
124 |
# We should not need the ancient plugin for Firefox 2 anymore, plus it has |
125 |
# writable executable segments |
126 |
rm -vf lib/i386/libjavaplugin_oji.so \ |
127 |
lib/i386/libjavaplugin_nscp*.so |
128 |
rm -vrf plugin/i386 |
129 |
# Without nsplugin flag, also remove the new plugin |
130 |
arch=i386; |
131 |
if ! use nsplugin; then |
132 |
rm -vf lib/${arch}/libnpjp2.so \ |
133 |
lib/${arch}/libjavaplugin_jni.so |
134 |
fi |
135 |
|
136 |
dodir "${dest}" |
137 |
cp -pPR bin lib man "${ddest}" || die |
138 |
|
139 |
# Remove empty dirs we might have copied |
140 |
find "${D}" -type d -empty -exec rmdir {} + || die |
141 |
|
142 |
dodoc COPYRIGHT README |
143 |
|
144 |
if use nsplugin; then |
145 |
install_mozilla_plugin "${dest}"/lib/${arch}/libnpjp2.so |
146 |
fi |
147 |
|
148 |
# Install desktop file for the Java Control Panel. |
149 |
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots. |
150 |
# make_desktop_entry can't be used as ${P} would end up in filename. |
151 |
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \ |
152 |
sun-jcontrol-${PN}-${SLOT}.png || die |
153 |
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \ |
154 |
-e "s#Exec=.*#Exec=${dest}/bin/jcontrol#" \ |
155 |
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \ |
156 |
-e "s#Application;##" \ |
157 |
-e "/Encoding/d" \ |
158 |
lib/desktop/applications/sun_java.desktop > \ |
159 |
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die |
160 |
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop |
161 |
|
162 |
# http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html |
163 |
rm "${ddest}"/lib/fontconfig.* || die |
164 |
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die |
165 |
eprefixify "${T}"/fontconfig.properties |
166 |
insinto "${dest}"/lib/ |
167 |
doins "${T}"/fontconfig.properties |
168 |
|
169 |
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1" |
170 |
java-vm_revdep-mask |
171 |
} |