1 |
pacho 11/07/04 11:27:20 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mono-2.10.2-r1.ebuild |
5 |
Removed: mono-2.8.2-r1.ebuild mono-2.6.7.ebuild |
6 |
mono-2.10.1-r1.ebuild |
7 |
Log: |
8 |
Fix security problem, bug #372983 by Tim Sammut. Remove old. |
9 |
|
10 |
(Portage version: 2.1.10.3/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.7 dev-lang/mono/metadata.xml |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/metadata.xml?rev=1.7&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/metadata.xml?rev=1.7&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/metadata.xml?r1=1.6&r2=1.7 |
18 |
|
19 |
Index: metadata.xml |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/metadata.xml,v |
22 |
retrieving revision 1.6 |
23 |
retrieving revision 1.7 |
24 |
diff -u -r1.6 -r1.7 |
25 |
--- metadata.xml 7 Sep 2010 21:07:33 -0000 1.6 |
26 |
+++ metadata.xml 4 Jul 2011 11:27:20 -0000 1.7 |
27 |
@@ -3,9 +3,6 @@ |
28 |
<pkgmetadata> |
29 |
<herd>dotnet</herd> |
30 |
<use> |
31 |
- <flag name='moonlight'>Generate Moonlight 2.1 assemblies</flag> |
32 |
- <flag name='profile4'>Include partial support for C# 4.0 and |
33 |
- some of the upcoming .NET 4.0 APIs.</flag> |
34 |
<flag name='xen'>Make mono generate code that is |
35 |
considerably faster on xen VMs but slightly slower on for |
36 |
normal systems.</flag> |
37 |
|
38 |
|
39 |
|
40 |
1.223 dev-lang/mono/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.223&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.223&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.222&r2=1.223 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v |
49 |
retrieving revision 1.222 |
50 |
retrieving revision 1.223 |
51 |
diff -u -r1.222 -r1.223 |
52 |
--- ChangeLog 30 Jun 2011 14:16:12 -0000 1.222 |
53 |
+++ ChangeLog 4 Jul 2011 11:27:20 -0000 1.223 |
54 |
@@ -1,6 +1,17 @@ |
55 |
# ChangeLog for dev-lang/mono |
56 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.222 2011/06/30 14:16:12 angelos Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.223 2011/07/04 11:27:20 pacho Exp $ |
59 |
+ |
60 |
+*mono-2.10.2-r1 (04 Jul 2011) |
61 |
+ |
62 |
+ 04 Jul 2011; Pacho Ramos <pacho@g.o> -files/mono-2.2-libdir126.patch, |
63 |
+ -files/mono-2.2-ppc-threading.patch, -files/mono-2.2-uselibdir.patch, |
64 |
+ -files/mono-2.6.4-require-glib.patch, -mono-2.6.7.ebuild, |
65 |
+ -files/mono-2.8.1-radegast-crash.patch, -mono-2.8.2-r1.ebuild, |
66 |
+ -files/mono-2.8-libdir.patch, -mono-2.10.1-r1.ebuild, |
67 |
+ -files/mono-2.10.1-libdir.patch, +mono-2.10.2-r1.ebuild, |
68 |
+ +files/mono-2.10.2-threads-access.patch: |
69 |
+ Fix security problem, bug #372983 by Tim Sammut. Remove old. |
70 |
|
71 |
30 Jun 2011; Christoph Mende <angelos@g.o> mono-2.10.2.ebuild: |
72 |
Stable on amd64 wrt bug #371163 |
73 |
|
74 |
|
75 |
|
76 |
1.1 dev-lang/mono/mono-2.10.2-r1.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.10.2-r1.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.10.2-r1.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: mono-2.10.2-r1.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2011 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.10.2-r1.ebuild,v 1.1 2011/07/04 11:27:20 pacho Exp $ |
86 |
|
87 |
EAPI="2" |
88 |
|
89 |
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils |
90 |
|
91 |
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
92 |
HOMEPAGE="http://www.mono-project.com/Main_Page" |
93 |
|
94 |
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
95 |
SLOT="0" |
96 |
KEYWORDS="~amd64 ~ppc ~x86" |
97 |
|
98 |
IUSE="hardened minimal xen" |
99 |
|
100 |
#Bash requirement is for += operator |
101 |
COMMONDEPEND="!<dev-dotnet/pnet-0.6.12 |
102 |
!dev-util/monodoc |
103 |
!minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* ) |
104 |
ia64? ( sys-libs/libunwind )" |
105 |
RDEPEND="${COMMONDEPEND} |
106 |
|| ( www-client/links www-client/lynx )" |
107 |
|
108 |
DEPEND="${COMMONDEPEND} |
109 |
sys-devel/bc |
110 |
>=app-shells/bash-3.2 |
111 |
hardened? ( sys-apps/paxctl )" |
112 |
|
113 |
MAKEOPTS="${MAKEOPTS} -j1" |
114 |
|
115 |
RESTRICT="test" |
116 |
|
117 |
pkg_setup() { |
118 |
if use kernel_linux |
119 |
then |
120 |
get_version |
121 |
if linux_config_exists |
122 |
then |
123 |
if linux_chkconfig_present SYSVIPC |
124 |
then |
125 |
einfo "CONFIG_SYSVIPC is set, looking good." |
126 |
else |
127 |
eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." |
128 |
eerror "See http://bugs.gentoo.org/261869 for more info." |
129 |
die "Please set CONFIG_SYSVIPC in your kernel .config" |
130 |
fi |
131 |
else |
132 |
ewarn "Was unable to determine your kernel .config" |
133 |
ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." |
134 |
ewarn "See http://bugs.gentoo.org/261869 for more info." |
135 |
fi |
136 |
fi |
137 |
PATCHES=( "${FILESDIR}/${PN}-2.10.2-threads-access.patch" ) |
138 |
} |
139 |
|
140 |
src_prepare() { |
141 |
go-mono_src_prepare |
142 |
|
143 |
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't |
144 |
# get killed in the build proces when MPROTEC is enable. #286280 |
145 |
# RANDMMAP kill the build proces to #347365 |
146 |
if use hardened ; then |
147 |
ewarn "We are disabling MPROTECT on the mono binary." |
148 |
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in |
149 |
fi |
150 |
} |
151 |
|
152 |
src_configure() { |
153 |
# mono's build system is finiky, strip the flags |
154 |
strip-flags |
155 |
|
156 |
#Remove this at your own peril. Mono will barf in unexpected ways. |
157 |
append-flags -fno-strict-aliasing |
158 |
|
159 |
# NOTE: We need the static libs for now so mono-debugger works. |
160 |
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details |
161 |
# |
162 |
# --without-moonlight since www-plugins/moonlight is not the only one |
163 |
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3 |
164 |
# |
165 |
# --with-profile4 needs to be always enabled since it's used by default |
166 |
# and, otherwise, problems like bug #340641 appear. |
167 |
# |
168 |
# sgen fails on ppc, bug #359515 |
169 |
|
170 |
local myconf="" |
171 |
use ppc && myconf="${myconf} --with-sgen=no" |
172 |
go-mono_src_configure \ |
173 |
--enable-static \ |
174 |
--disable-quiet-build \ |
175 |
--without-moonlight \ |
176 |
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \ |
177 |
$(use_with xen xen_opt) \ |
178 |
--without-ikvm-native \ |
179 |
--with-jit \ |
180 |
--disable-dtrace \ |
181 |
--with-profile4 \ |
182 |
${myconf} |
183 |
} |
184 |
|
185 |
src_test() { |
186 |
echo ">>> Test phase [check]: ${CATEGORY}/${PF}" |
187 |
|
188 |
export MONO_REGISTRY_PATH="${T}/registry" |
189 |
export XDG_DATA_HOME="${T}/data" |
190 |
export MONO_SHARED_DIR="${T}/shared" |
191 |
export XDG_CONFIG_HOME="${T}/config" |
192 |
export HOME="${T}/home" |
193 |
|
194 |
emake -j1 check |
195 |
} |
196 |
|
197 |
src_install() { |
198 |
go-mono_src_install |
199 |
|
200 |
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
201 |
# mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
202 |
# for reference. |
203 |
rm -f "${D}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so |
204 |
rm -f "${D}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so |
205 |
} |
206 |
|
207 |
#THINK!!!! Before touching postrm and postinst |
208 |
#Reference phase order: |
209 |
#pkg_preinst |
210 |
#pkg_prerm |
211 |
#pkg_postrm |
212 |
#pkg_postinst |
213 |
|
214 |
pkg_preinst() { |
215 |
local symlink |
216 |
local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit" |
217 |
local pv_atom |
218 |
if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]] |
219 |
then |
220 |
for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4 |
221 |
do |
222 |
if has_version "=dev-lang/mono-${pv_atom}" |
223 |
then |
224 |
einfo "If you just received a file collision warning message," |
225 |
einfo "be advised that this is a known problem, which will now be fixed:" |
226 |
ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing" |
227 |
for symlink in \ |
228 |
"${ROOT}/${NUNIT_DIR}" \ |
229 |
"${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \ |
230 |
"${ROOT}/usr/bin/nunit-console" \ |
231 |
"${ROOT}/usr/bin/nunit-console2" |
232 |
do |
233 |
if [[ -L "${symlink}" ]] |
234 |
then |
235 |
rm -f "${symlink}" &> /dev/null |
236 |
fi |
237 |
done |
238 |
eend 0 |
239 |
break |
240 |
fi |
241 |
done |
242 |
fi |
243 |
} |
244 |
|
245 |
pkg_postinst() { |
246 |
elog "PLEASE TAKE NOTE!" |
247 |
elog "" |
248 |
elog "Some of the namespaces supported by Mono require extra packages to be installed." |
249 |
elog "Below is a list of namespaces and the corresponding package you must install:" |
250 |
elog "" |
251 |
elog ">=x11-libs/cairo-1.6.4" |
252 |
elog " Mono.Cairo" |
253 |
elog "Also read:" |
254 |
elog "http://www.mono-project.com/Mono.Cairo" |
255 |
elog "" |
256 |
elog ">=dev-db/firebird-2.0.4.13130.1" |
257 |
elog " FirebirdSql.Data.Firebird" |
258 |
elog "Also read:" |
259 |
elog "http://www.mono-project.com/Firebird_Interbase" |
260 |
elog "" |
261 |
elog "=dev-dotnet/gluezilla-${GO_MONO_REL_PV}*" |
262 |
elog " Mono.Mozilla" |
263 |
elog " Mono.Mozilla.WebBrowser" |
264 |
elog " Mono.Mozilla.Widget" |
265 |
elog " Interop.SHDocVw" |
266 |
elog " AxInterop.SHDocVw" |
267 |
elog " Interop.mshtml.dll" |
268 |
elog " System.Windows.Forms.WebBrowser" |
269 |
elog " Microsoft.IE" |
270 |
elog "Also read:" |
271 |
elog "http://www.mono-project.com/WebBrowser" |
272 |
elog "" |
273 |
elog "dev-db/sqlite:3" |
274 |
elog " Mono.Data.Sqlite" |
275 |
elog "Also read:" |
276 |
elog "http://www.mono-project.com/SQLite" |
277 |
elog "" |
278 |
elog ">=dev-db/oracle-instantclient-basic-10.2" |
279 |
elog " System.Data.OracleClient" |
280 |
elog "Also read:" |
281 |
elog "http://www.mono-project.com/Oracle" |
282 |
elog "" |
283 |
elog "Mono also has support for packages that are not included in portage:" |
284 |
elog "" |
285 |
elog "No ebuild available:" |
286 |
elog " IBM.Data.DB2" |
287 |
elog "Also read: http://www.mono-project.com/IBM_DB2" |
288 |
elog "" |
289 |
elog "No ebuild needed:" |
290 |
elog " Mono.Data.SybaseClient" |
291 |
elog "Also read: http://www.mono-project.com/Sybase" |
292 |
} |
293 |
|
294 |
# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR! |
295 |
# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2 |
296 |
# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE. |
297 |
|
298 |
# mono |
299 |
# The code we use is LGPL, but contributions must be made under the MIT/X11 |
300 |
# license, so Novell can serve its paying customers. Exception is mono/man. |
301 |
# LICENSE="LGPL-2.1" |
302 |
|
303 |
# mono/man |
304 |
# LICENSE="MIT" |
305 |
|
306 |
# mcs/mcs |
307 |
# mcs/gmcs |
308 |
# LICENSE="GPL-2 MIT" |
309 |
|
310 |
# tests |
311 |
# LICENSE="MIT" |
312 |
|
313 |
# mcs/class |
314 |
# Except the listed exceptions: |
315 |
# LICENSE="MIT" |
316 |
|
317 |
# mcs/class/ByteFX.Data |
318 |
# mcs/class/Npgsql |
319 |
# LICENSE="LGPL-2.1" |
320 |
|
321 |
# mcs/class/FirebirdSql.Data.Firebird |
322 |
# LICENSE="IDPL" |
323 |
|
324 |
# mcs/class/ICSharpCode.SharpZipLib |
325 |
# LICENSE="GPL-2-with-linking-exception" |
326 |
|
327 |
# mcs/class/MicrosoftAjaxLibrary |
328 |
# LICENSE="Ms-Pl" |
329 |
|
330 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs |
331 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs |
332 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs |
333 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs |
334 |
# LICENSE="|| ( NPL-1.1 GPL-2 )" |
335 |
|
336 |
# mcs/jay |
337 |
# LICENSE="BSD-4" |
338 |
|
339 |
# mcs/tools |
340 |
# Except the listed exceptions: |
341 |
# LICENSE="MIT" |
342 |
|
343 |
# mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs |
344 |
# LICENSE="GPL-2" |
345 |
|
346 |
# mcs/tools/sqlsharp/SqlSharpCli.cs |
347 |
# LICENSE="GPL-2" |
348 |
|
349 |
# mcs/tools/csharp/repl.cs |
350 |
# LICENSE="|| ( MIT GPL-2 )" |
351 |
|
352 |
# mcs/tools/mono-win32-setup.nsi |
353 |
# LICENSE="GPL-2" |
354 |
|
355 |
# samples |
356 |
# LICENSE="MIT" |