Commit Graph

46 Commits

Author SHA1 Message Date
robert
0f11488b05 Disable shared handles because they are sometimes working, sometimes not. 2010-04-08 14:58:10 +00:00
ajacoutot
6ea207d134 Add MODMONO_{BUILD,RUN}_DEPENDS so other ports can use it.
ok robert@
2010-04-08 13:36:13 +00:00
robert
281e83e581 Fix kinfo_proc2 code and add support for more mono stuff using sysctl to
get process informations. Remove the mkbundle.cs patch and replace it
with one that uses configure.in so the libgc dependency ends up in the
pkg-config file. Move disabled features to configure.in from our Makefile
2010-04-08 12:12:33 +00:00
robert
2ea6d63a22 Move lang/mono dependency to mono.port.mk 2010-04-05 10:39:35 +00:00
robert
ecb79bdd63 add ONLY_FOR_ARCHS here 2010-04-05 01:15:00 +00:00
robert
702fa474ed Enable shared handles and add USE_NANT to mono.port.mk to use NAnt
to build stuff
2010-04-05 01:02:57 +00:00
robert
40cfd19ee0 - use pthread_stackseg_np to get the stack boundaries on OpenBSD
- remove some scripts that we don't use from BASH_SCRIPTS
- ignore one of the regression tests and continue if it fails
2010-04-01 21:53:51 +00:00
robert
38713339c6 resurrect powerpc support 2010-03-29 10:32:06 +00:00
robert
f390996a68 mkdbundle has to link to libgc. 2010-03-28 15:25:15 +00:00
robert
be3e2f5ed5 Use autoconf 2.63 and remove the SIZEOF_VOID_P definition from the CFLAGS
because new m4 in base fixes the SIZEOV_VOID_P -> SIZEOF_VOID__ stupidity,
so make sure you have up-to-date m4 before building the port.
2010-03-27 12:37:15 +00:00
robert
f99e840e0c Remove the handles.c patch because that's not needed anymore because
Zoltan Varga from the mono team helped me to debug the problem we
were having. So the correct problem description is that on OpenBSD,
ctx can be NULL if we are interrupting poll().
The upstream diff also fixes the issue where we are interrupting
unmanaged code.
2010-03-27 12:06:26 +00:00
robert
d68bbb33d2 retry 5 times then skip 2010-03-26 17:53:26 +00:00
robert
87c1dfbfef Sometimes we have the mutex is still in use by some other thread so
let's wait until it gets unlocked, this makes the random build errors
go away.. again.
2010-03-26 17:01:02 +00:00
robert
35962ca14a Remove the previous diff to mini.h because that was totally wrong, i made
it up before having my morning coffee.
So it turns out that sometimes the context on openbsd can be 0. This will
lead to problems. I suspect that this is because of our fantastic pthread
library. With the following diff we just skip doing some JIT stuff if the
context is 0 because the thread probably exited before.
Anyways this way everything *seems* to work fine and almost all regression
tests are passing now except for 2 out of 380.
Pepole understanding pthreads are welcome to look at it and come up with
something that is not a tripe XXX hack.
2010-03-26 13:13:47 +00:00
robert
fdc60f1997 take maintainership 2010-03-26 10:41:55 +00:00
robert
e7939895f2 Use the correct GET_CONTEXT macro otherwise we will get a 0 context
and that will freak everything out and crash.
Define EOVERFLOW based on our headers and remove the Makefile hack
that we don't need anymore.
2010-03-26 10:40:44 +00:00
robert
986fdfc5ca Forgot to re-enable some commented code, let's do it now. 2010-03-24 17:57:50 +00:00
robert
7bfc006443 Add an ugly hack to this makefile to force the build until we figure out what's
really wrong.
2010-03-23 10:21:32 +00:00
robert
b6c3802c67 Enable sigaction support on amd64 too, by using struct sigcontext. 2010-03-23 08:25:26 +00:00
robert
fb63ae27cb Enable MONO_ARCH_USE_SIGACTION on i386 and switch it to use struct sigcontext,
which basically gives us exception support and sends those crashes away.
2010-03-22 16:56:13 +00:00
robert
9ef2d3f142 Ooops, remove gcc4 dependency. 2010-03-22 09:49:59 +00:00
robert
b468980e78 This part of the diff is not needed anymore. 2010-03-22 09:48:15 +00:00
robert
a8360f7714 Use the upstream diff that was commited today their repository, because
this is how it's done correctly.
2010-03-21 17:35:05 +00:00
robert
7b61de05b2 Include sys/param.h that was previously missed by me 2010-03-21 13:43:10 +00:00
robert
d3f436429f - update to the latest stable version: 2.6.3
- move to autoconf
- regen patches

ok ajacoutot@, jasper@
2010-03-20 17:16:44 +00:00
jasper
1ba29b9f05 - unbreak after KERN_PROC2 changes
reads ok to sthen@
2010-01-19 15:07:01 +00:00
ajacoutot
f2e8499f8a Bump after recent mono MODULE tweak. 2009-12-17 14:00:34 +00:00
ajacoutot
1f1b4c09e3 Better regex. 2009-12-17 13:59:42 +00:00
ajacoutot
b80a6792b2 I need to write comments that I will be able to understand later... 2009-10-10 09:44:59 +00:00
ajacoutot
439063b720 Comment reminder. 2009-10-09 18:18:23 +00:00
ajacoutot
aef2e72389 More work into making this compile on armish.
We are up to the point where it segfaults during build as some other arches
used to in the past... so somehow, this is an improvement ;-)
2009-09-22 17:55:23 +00:00
ajacoutot
54b4112cb8 Add some patches from sthen@ and I to help build this on arm.
Not there yet... but working on it.
No package change.
2009-09-22 11:19:37 +00:00
ajacoutot
a72a07e53d Major update to mono-2.5.
While beeing a development release, this is the most stable version I
used on OpenBSD for now. Several patches are removed as they went
upstream. Thanks to jolan@ for pointing me at this release and cooking a
couple of patches.

Fix build on powerpc and add it to ONLY_FOR_ARCHS ; slightly tested on
macppc.

A similar port was successfuly tested by jolan@ on amd64.

no objection alek@ (maintainer)
ok jolan@ ok jasper@
2009-09-06 07:25:27 +00:00
jasper
e4e2d96dc1 ECURITY FIX for CVE-2009-0217 (XML Signature HMAC Truncation Spoofing)
patch extracted from mono 2.4.2.2
2009-07-21 13:51:41 +00:00
kurt
fff1431c9e - semop(2) is not supported by pthreads, so disable its use
- ensure boehm-gc headers are included with thread support enabled
okay robert@ jasper@
2009-03-15 02:19:31 +00:00
ajacoutot
c45d7a62f8 - use gettext MODULE 2009-02-03 09:41:40 +00:00
ajacoutot
ee40acb2f3 - use FAKE_FLAGS instead of the post-install danse; install more @sample
files in the process
- link with -pthread, not -lpthread
2009-01-21 16:06:59 +00:00
jasper
b2f25c8ba0 - use ${TMPDIR} instead of "/tmp"
ok robert@
2008-10-24 15:07:13 +00:00
robert
b544005b3f add MONO_SHARED_DIR=/tmp to CONFIGURE_ENV too 2008-10-24 15:05:03 +00:00
robert
62d1eb4a9c Add MONO_SHARED_DIR=/tmp to the MAKE_FLAGS so the ports using this
module won't try to write to /root/.wapi
2008-10-24 14:49:44 +00:00
jasper
70c65b3d12 - don't install jay.1 into share/man/man1 2008-10-24 07:06:01 +00:00
robert
7b32a5b321 install some essential config files needed by some other ports,
fix nunit.pc.in by jasper
2008-10-17 09:07:12 +00:00
jasper
2cc7c0520b - set CATEGORIES+=lang/mono via mono.port.mk, instead of every port doing
it themselves. like other modules do too.
2008-10-16 21:47:10 +00:00
robert
6ee4e15b5d - fix the pkg-config files and introduce a mono module that removes
all of the hardcoded library versions from the files that we provide
in each mono-* port
- install example config files
2008-10-16 16:00:27 +00:00
robert
e011bb4a75 we don't have MAP_32BIT on amd64 so don't use it and disable generic
code sharing; makes mono work on amd64
2008-10-15 21:33:25 +00:00
robert
4ffc8e7757 import of mono-2.0:
Mono is an open source implementation of .NET Development Framework.
Its objective is to enable UNIX developers to build and deploy cross-platform
.NET Applications. The project implements various technologies developed by
Microsoft that have now been submitted to the ECMA for standardization.

Mono provides the necessary software to develop and run .NET client and
server applications on BSD, Linux, Solaris, Mac OS X, Windows and Unix.

from alek@, modifications by me and some amd64 patches from
Giovanni Bechis

mono is not linked to the build yet, it's getting imported so we can
work on it in tree;
2008-10-15 13:34:10 +00:00