1 |
commit: 488b0f0d25546522914988953648155560db29a9 |
2 |
Author: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 2 14:14:15 2017 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 2 14:14:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=488b0f0d |
7 |
|
8 |
dev-lang/mono: bump into 4.8.0.524 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-lang/mono/Manifest | 1 + |
13 |
dev-lang/mono/mono-4.8.0.524.ebuild | 111 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 112 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest |
17 |
index 8454acfccfd..f0dbc882ccf 100644 |
18 |
--- a/dev-lang/mono/Manifest |
19 |
+++ b/dev-lang/mono/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST mono-4.4.1.0.tar.bz2 85897587 SHA256 165e7686b5cbb1ab671b4cb2069207999c3d70 |
21 |
DIST mono-4.6.1.5.tar.bz2 83174665 SHA256 3871ee72bdfc2ea5d636ffff22cf49ae6bac7c4a4f3d687214dd8ac236bbf7c3 SHA512 1d0c1ec2930ecea3faf1be572bc045300ef4a90d3fe7519f2a9c797be79298c61528d83baa5a24a57143a35be80f78297196556c33cd0f345d9907a973fe625a WHIRLPOOL 9ccfdfa68f2d9a75440c71fb22af988165608299d7aaeecac77fc783412cba4524a423b166a540d2381c98c58e3f7e40ada91381d45f67693e1f69e462bbb1d9 |
22 |
DIST mono-4.8.0.425.tar.bz2 87955541 SHA256 0d81ba0ef69fbfa2ac8206c9e7a0ad996c193c06c897bab36c5dcc4a40b50a7d SHA512 7bab64adbebc277d3fc10301fa6af6cd64ea0836e2d74dfdd9b59684d9402689f9a4e397f3d36f519c7a892c14dcf8f8867d40a5119891874dfd10f9bbce2ac4 WHIRLPOOL fcb095e83880bdbbce6978af68c5997f1f345046307e3ea4d53413b257dca7953b947c90e073e15991ec043483982bfcf28d29c350e392e534c865b74fff8a89 |
23 |
DIST mono-4.8.0.495.tar.bz2 87540431 SHA256 7ba62e6f42559d58dc447a19fc1cb2a9c7977d6c6e21e1e335f73917dea120cb SHA512 0052b7b04ae25e7cb5970d742369b74c83a10c6c82da591e8d26ad9e13e8b2590a1cde27ca99e43aebc622c7a2a590b9e6c7ce519ac4185b0b6cf7134527cc9d WHIRLPOOL 54c7101dbb2b886d9798e16cbf0e84898f9d4a96786d9f52f76a9872f99ac1b39d1f6109abcfc70897163bab3e5b3478ecb77ef217953118badc537e8e474e5e |
24 |
+DIST mono-4.8.0.524.tar.bz2 87392723 SHA256 ca02614cfc9fe65e310631cd611d7b07d1ff205ce193006d4be0f9919c26bdcf SHA512 eb77b768a4a26e6a2a872f4845769cdc83f01af3377ecd6d932437d2a1b54bfd1ce727563906146195a54997b4b624fb75449a6f0bcfe818cbc4e6544841bf2b WHIRLPOOL 143232c15b99e702de5774a0ffbcf6f3ee85338b55e8f0cc7de2afe6053e7de62cccd3cc27163213e492851c13cdfbe0e244a4f8f0824e4786c658a2a81ac477 |
25 |
|
26 |
diff --git a/dev-lang/mono/mono-4.8.0.524.ebuild b/dev-lang/mono/mono-4.8.0.524.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..712f239c13c |
29 |
--- /dev/null |
30 |
+++ b/dev-lang/mono/mono-4.8.0.524.ebuild |
31 |
@@ -0,0 +1,111 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit autotools eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal |
38 |
+ |
39 |
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
40 |
+HOMEPAGE="http://www.mono-project.com/Main_Page" |
41 |
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
47 |
+ |
48 |
+IUSE="nls minimal pax_kernel xen doc" |
49 |
+ |
50 |
+COMMONDEPEND=" |
51 |
+ !minimal? ( >=dev-dotnet/libgdiplus-2.10 ) |
52 |
+ ia64? ( sys-libs/libunwind ) |
53 |
+ nls? ( sys-devel/gettext ) |
54 |
+" |
55 |
+RDEPEND="${COMMONDEPEND} |
56 |
+ || ( www-client/links www-client/lynx ) |
57 |
+" |
58 |
+DEPEND="${COMMONDEPEND} |
59 |
+ sys-devel/bc |
60 |
+ virtual/yacc |
61 |
+ pax_kernel? ( sys-apps/elfix ) |
62 |
+ dev-util/cmake |
63 |
+ !dev-lang/mono-basic |
64 |
+" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}"/${PN}-4.8.0.371-makedev.patch |
68 |
+ "${FILESDIR}"/${PN}-4.8.0.371-x86_32.patch |
69 |
+) |
70 |
+ |
71 |
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" |
72 |
+ |
73 |
+pkg_pretend() { |
74 |
+ linux-info_pkg_setup |
75 |
+ if use kernel_linux; then |
76 |
+ if linux_config_exists; then |
77 |
+ linux_chkconfig_builtin SYSVIPC || die "SYSVIPC not enabled in the kernel" |
78 |
+ else |
79 |
+ # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 |
80 |
+ ewarn "kernel config not found" |
81 |
+ ewarn "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." |
82 |
+ ewarn "See http://bugs.gentoo.org/261869 for more info." |
83 |
+ fi |
84 |
+ fi |
85 |
+} |
86 |
+ |
87 |
+pkg_setup() { |
88 |
+ mono-env_pkg_setup |
89 |
+} |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't |
93 |
+ # get killed in the build proces when MPROTECT is enable. #286280 |
94 |
+ # RANDMMAP kill the build proces to #347365 |
95 |
+ # use paxmark.sh to get PT/XT logic #532244 |
96 |
+ if use pax_kernel ; then |
97 |
+ ewarn "We are disabling MPROTECT on the mono binary." |
98 |
+ |
99 |
+ # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 |
100 |
+ sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" |
101 |
+ fi |
102 |
+ |
103 |
+ # mono build system can fail otherwise |
104 |
+ strip-flags |
105 |
+ |
106 |
+ #TODO: resolve problem with newer binutils |
107 |
+ #bug: https://bugs.gentoo.org/show_bug.cgi?id=600664 |
108 |
+ #append-flags -fPIC |
109 |
+ |
110 |
+ default |
111 |
+ # PATCHES contains configure.ac patch |
112 |
+ eautoreconf |
113 |
+ multilib_copy_sources |
114 |
+} |
115 |
+ |
116 |
+multilib_src_configure() { |
117 |
+ local myeconfargs=( |
118 |
+ --disable-silent-rules |
119 |
+ $(use_with xen xen_opt) |
120 |
+ --without-ikvm-native |
121 |
+ --disable-dtrace |
122 |
+ $(use_with doc mcs-docs) |
123 |
+ $(use_enable nls) |
124 |
+ ) |
125 |
+ |
126 |
+ econf "${myeconfargs[@]}" |
127 |
+} |
128 |
+ |
129 |
+multilib_src_test() { |
130 |
+ cd mcs/tests || die |
131 |
+ emake check |
132 |
+} |
133 |
+ |
134 |
+multilib_src_install() { |
135 |
+ default_src_install |
136 |
+ |
137 |
+ # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
138 |
+ # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
139 |
+ # for reference. |
140 |
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die |
141 |
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die |
142 |
+} |