diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-03-01 13:11:44 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-03-01 13:11:44 +0000 |
commit | 9b3925dc4c77afe560691c51e9a34c345088ff4c (patch) | |
tree | b30c56cf8a33dc5ca79b0f66f9d7f02a23ca482e | |
parent | af5f5fae686164b83087d5b9bd91c677017d5e7c (diff) | |
download | pkgsrc-9b3925dc4c77afe560691c51e9a34c345088ff4c.tar.gz |
Initial import of mono, version 0.21:
The Mono Project is an open development initiative sponsored by Ximian
that is working to develop an open source, Unix version of the Microsoft
.NET development platform. Its objective is to enable Unix developers to
build and deploy cross-platform .NET Applications. The project will
implement various technologies developed by Microsoft that have now been
submitted to the ECMA for standardization.
Package for version 0.20 provided in PR pkg/20500 by Marc Recht.
-rw-r--r-- | lang/mono/DESCR | 6 | ||||
-rw-r--r-- | lang/mono/Makefile | 35 | ||||
-rw-r--r-- | lang/mono/PLIST | 135 | ||||
-rw-r--r-- | lang/mono/buildlink2.mk | 121 | ||||
-rw-r--r-- | lang/mono/distinfo | 9 | ||||
-rw-r--r-- | lang/mono/patches/patch-aa | 15 | ||||
-rw-r--r-- | lang/mono/patches/patch-ab | 25 | ||||
-rw-r--r-- | lang/mono/patches/patch-ac | 13 | ||||
-rw-r--r-- | lang/mono/patches/patch-ad | 13 | ||||
-rw-r--r-- | lang/mono/patches/patch-ae | 16 |
10 files changed, 388 insertions, 0 deletions
diff --git a/lang/mono/DESCR b/lang/mono/DESCR new file mode 100644 index 00000000000..d9952fef61c --- /dev/null +++ b/lang/mono/DESCR @@ -0,0 +1,6 @@ +The Mono Project is an open development initiative sponsored by Ximian +that is working to develop an open source, Unix version of the Microsoft +.NET development platform. Its objective is to enable Unix developers to +build and deploy cross-platform .NET Applications. The project will +implement various technologies developed by Microsoft that have now been +submitted to the ECMA for standardization. diff --git a/lang/mono/Makefile b/lang/mono/Makefile new file mode 100644 index 00000000000..fe972710da3 --- /dev/null +++ b/lang/mono/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/03/01 13:11:44 jmmv Exp $ +# + +DISTNAME= mono-0.21 +CATEGORIES= lang +MASTER_SITES= http://www.go-mono.org/archive/ + +MAINTAINER= marc@informatik.uni-bremen.de +HOMEPAGE= http://www.go-mono.org/ +COMMENT= Open source implementation of the .NET Development Framework + +# XXX: Is this really true? As seen in the website, mono should work on +# other platforms; please test. +ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 +ONLY_FOR_PLATFORM+= NetBSD-1.6[M-Z]-i386 NetBSD-[2-9]*-i386 + +GNU_CONFIGURE= YES +USE_BUILDLINK2= YES +USE_LIBTOOL= YES +USE_PKGINSTALL= YES + +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool +PKGCONFIG_OVERRIDE= ${WRKSRC}/mono.pc.in + +CONFIGURE_ARGS+= --sysconfdir="${PKG_SYSCONFDIR}" + +PKG_SYSCONFSUBDIR= mono +EGDIR= ${PREFIX}/share/examples/mono +CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/config +CONF_FILES+= ${EGDIR}/machine.config ${PKG_SYSCONFDIR}/machine.config + +.include "../../devel/boehm-gc/buildlink2.mk" +.include "../../devel/glib2/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/mono/PLIST b/lang/mono/PLIST new file mode 100644 index 00000000000..070e16e8209 --- /dev/null +++ b/lang/mono/PLIST @@ -0,0 +1,135 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/01 13:11:44 jmmv Exp $ +bin/ilasm.exe +bin/mbas +bin/mbas.exe +bin/mcs +bin/mcs.exe +bin/mint +bin/mono +bin/monodis +bin/monograph +bin/monoresgen.exe +bin/monosn +bin/pedump +bin/secutil.exe +bin/sqlsharp.exe +include/mono/cil/opcode.def +include/mono/io-layer/access.h +include/mono/io-layer/atomic.h +include/mono/io-layer/context.h +include/mono/io-layer/critical-sections.h +include/mono/io-layer/error.h +include/mono/io-layer/events.h +include/mono/io-layer/handles.h +include/mono/io-layer/io-layer.h +include/mono/io-layer/io.h +include/mono/io-layer/macros.h +include/mono/io-layer/mono-mutex.h +include/mono/io-layer/mutexes.h +include/mono/io-layer/processes.h +include/mono/io-layer/semaphores.h +include/mono/io-layer/sockets.h +include/mono/io-layer/status.h +include/mono/io-layer/system.h +include/mono/io-layer/threads.h +include/mono/io-layer/timefuncs.h +include/mono/io-layer/types.h +include/mono/io-layer/uglify.h +include/mono/io-layer/versioninfo.h +include/mono/io-layer/wait.h +include/mono/io-layer/wapi.h +include/mono/jit/debug.h +include/mono/jit/jit.h +include/mono/jit/regset.h +include/mono/metadata/appdomain.h +include/mono/metadata/assembly.h +include/mono/metadata/blob.h +include/mono/metadata/cil-coff.h +include/mono/metadata/class.h +include/mono/metadata/debug-helpers.h +include/mono/metadata/debug-mono-symfile.h +include/mono/metadata/environment.h +include/mono/metadata/exception.h +include/mono/metadata/image.h +include/mono/metadata/loader.h +include/mono/metadata/mempool.h +include/mono/metadata/metadata.h +include/mono/metadata/monitor.h +include/mono/metadata/mono-endian.h +include/mono/metadata/object.h +include/mono/metadata/opcodes.h +include/mono/metadata/profiler.h +include/mono/metadata/rand.h +include/mono/metadata/rawbuffer.h +include/mono/metadata/reflection.h +include/mono/metadata/row-indexes.h +include/mono/metadata/tabledefs.h +include/mono/metadata/threadpool.h +include/mono/metadata/threads-types.h +include/mono/metadata/threads.h +include/mono/metadata/tokentype.h +include/mono/metadata/verify.h +include/mono/utils/mono-digest.h +include/mono/utils/mono-hash.h +include/mono/utils/monobitset.h +lib/Accessibility.dll +lib/Cscompmgd.dll +lib/I18N.CJK.dll +lib/I18N.MidEast.dll +lib/I18N.Other.dll +lib/I18N.Rare.dll +lib/I18N.West.dll +lib/I18N.dll +lib/Microsoft.VisualBasic.dll +lib/Microsoft.VisualC.dll +lib/Mono.CSharp.Debugger.dll +lib/Mono.Data.DB2Client.dll +lib/Mono.Data.MySql.dll +lib/Mono.Data.PostgreSqlClient.dll +lib/Mono.Data.SqliteClient.dll +lib/Mono.Data.SybaseClient.dll +lib/Mono.Data.Tds.dll +lib/Mono.Data.TdsClient.dll +lib/Mono.GetOptions.dll +lib/Mono.PEToolkit.dll +lib/NUnitCore_mono.dll +lib/System.Configuration.Install.dll +lib/System.Data.OracleClient.dll +lib/System.Data.dll +lib/System.Drawing.dll +lib/System.EnterpriseServices.dll +lib/System.Runtime.Remoting.dll +lib/System.Runtime.Serialization.Formatters.Soap.dll +lib/System.Security.dll +lib/System.Web.Services.dll +lib/System.Web.dll +lib/System.Windows.Forms.dll +lib/System.Xml.dll +lib/System.dll +lib/corlib.dll +lib/libmono.a +lib/libmono.la +lib/libmono.so +lib/libmono.so.0 +lib/libmono.so.0.0 +lib/pkgconfig/mono.pc +man/man1/mcs.1 +man/man1/mint.1 +man/man1/mono.1 +man/man1/monoburg.1 +man/man1/monodis.1 +man/man1/monostyle.1 +man/man1/sqlsharp.1 +man/man5/mono-config.5 +share/examples/mono/config +share/examples/mono/machine.config +share/mono/cil/cil-opcodes.xml +@dirrm share/mono/cil +@dirrm share/mono +@dirrm share/examples/mono +@dirrm include/mono/utils +@dirrm include/mono/metadata +@dirrm include/mono/jit +@dirrm include/mono/io-layer +@dirrm include/mono/cil +@dirrm include/mono diff --git a/lang/mono/buildlink2.mk b/lang/mono/buildlink2.mk new file mode 100644 index 00000000000..aab9771c152 --- /dev/null +++ b/lang/mono/buildlink2.mk @@ -0,0 +1,121 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ +# +# This Makefile fragment is included by packages that use mono. +# +# This file was created automatically using createbuildlink 2.4. +# + +.if !defined(MONO_BUILDLINK2_MK) +MONO_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= mono +BUILDLINK_DEPENDS.mono?= mono>=0.20 +BUILDLINK_PKGSRCDIR.mono?= ../../lang/mono + +EVAL_PREFIX+= BUILDLINK_PREFIX.mono=mono +BUILDLINK_PREFIX.mono_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.mono+= include/mono/cil/opcode.def +BUILDLINK_FILES.mono+= include/mono/io-layer/access.h +BUILDLINK_FILES.mono+= include/mono/io-layer/atomic.h +BUILDLINK_FILES.mono+= include/mono/io-layer/context.h +BUILDLINK_FILES.mono+= include/mono/io-layer/critical-sections.h +BUILDLINK_FILES.mono+= include/mono/io-layer/error.h +BUILDLINK_FILES.mono+= include/mono/io-layer/events.h +BUILDLINK_FILES.mono+= include/mono/io-layer/handles.h +BUILDLINK_FILES.mono+= include/mono/io-layer/io-layer.h +BUILDLINK_FILES.mono+= include/mono/io-layer/io.h +BUILDLINK_FILES.mono+= include/mono/io-layer/macros.h +BUILDLINK_FILES.mono+= include/mono/io-layer/mono-mutex.h +BUILDLINK_FILES.mono+= include/mono/io-layer/mutexes.h +BUILDLINK_FILES.mono+= include/mono/io-layer/processes.h +BUILDLINK_FILES.mono+= include/mono/io-layer/semaphores.h +BUILDLINK_FILES.mono+= include/mono/io-layer/sockets.h +BUILDLINK_FILES.mono+= include/mono/io-layer/status.h +BUILDLINK_FILES.mono+= include/mono/io-layer/system.h +BUILDLINK_FILES.mono+= include/mono/io-layer/threads.h +BUILDLINK_FILES.mono+= include/mono/io-layer/timefuncs.h +BUILDLINK_FILES.mono+= include/mono/io-layer/types.h +BUILDLINK_FILES.mono+= include/mono/io-layer/uglify.h +BUILDLINK_FILES.mono+= include/mono/io-layer/versioninfo.h +BUILDLINK_FILES.mono+= include/mono/io-layer/wait.h +BUILDLINK_FILES.mono+= include/mono/io-layer/wapi.h +BUILDLINK_FILES.mono+= include/mono/jit/debug.h +BUILDLINK_FILES.mono+= include/mono/jit/jit.h +BUILDLINK_FILES.mono+= include/mono/jit/regset.h +BUILDLINK_FILES.mono+= include/mono/metadata/appdomain.h +BUILDLINK_FILES.mono+= include/mono/metadata/assembly.h +BUILDLINK_FILES.mono+= include/mono/metadata/blob.h +BUILDLINK_FILES.mono+= include/mono/metadata/cil-coff.h +BUILDLINK_FILES.mono+= include/mono/metadata/class.h +BUILDLINK_FILES.mono+= include/mono/metadata/debug-helpers.h +BUILDLINK_FILES.mono+= include/mono/metadata/debug-mono-symfile.h +BUILDLINK_FILES.mono+= include/mono/metadata/environment.h +BUILDLINK_FILES.mono+= include/mono/metadata/exception.h +BUILDLINK_FILES.mono+= include/mono/metadata/image.h +BUILDLINK_FILES.mono+= include/mono/metadata/loader.h +BUILDLINK_FILES.mono+= include/mono/metadata/mempool.h +BUILDLINK_FILES.mono+= include/mono/metadata/metadata.h +BUILDLINK_FILES.mono+= include/mono/metadata/monitor.h +BUILDLINK_FILES.mono+= include/mono/metadata/mono-endian.h +BUILDLINK_FILES.mono+= include/mono/metadata/object.h +BUILDLINK_FILES.mono+= include/mono/metadata/opcodes.h +BUILDLINK_FILES.mono+= include/mono/metadata/profiler.h +BUILDLINK_FILES.mono+= include/mono/metadata/rand.h +BUILDLINK_FILES.mono+= include/mono/metadata/rawbuffer.h +BUILDLINK_FILES.mono+= include/mono/metadata/reflection.h +BUILDLINK_FILES.mono+= include/mono/metadata/row-indexes.h +BUILDLINK_FILES.mono+= include/mono/metadata/tabledefs.h +BUILDLINK_FILES.mono+= include/mono/metadata/threadpool.h +BUILDLINK_FILES.mono+= include/mono/metadata/threads-types.h +BUILDLINK_FILES.mono+= include/mono/metadata/threads.h +BUILDLINK_FILES.mono+= include/mono/metadata/tokentype.h +BUILDLINK_FILES.mono+= include/mono/metadata/verify.h +BUILDLINK_FILES.mono+= include/mono/utils/mono-digest.h +BUILDLINK_FILES.mono+= include/mono/utils/mono-hash.h +BUILDLINK_FILES.mono+= include/mono/utils/monobitset.h +BUILDLINK_FILES.mono+= lib/Accessibility.dll +BUILDLINK_FILES.mono+= lib/Cscompmgd.dll +BUILDLINK_FILES.mono+= lib/I18N.CJK.dll +BUILDLINK_FILES.mono+= lib/I18N.MidEast.dll +BUILDLINK_FILES.mono+= lib/I18N.Other.dll +BUILDLINK_FILES.mono+= lib/I18N.Rare.dll +BUILDLINK_FILES.mono+= lib/I18N.West.dll +BUILDLINK_FILES.mono+= lib/I18N.dll +BUILDLINK_FILES.mono+= lib/Microsoft.VisualBasic.dll +BUILDLINK_FILES.mono+= lib/Microsoft.VisualC.dll +BUILDLINK_FILES.mono+= lib/Mono.CSharp.Debugger.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.DB2Client.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.MySql.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.PostgreSqlClient.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.SqliteClient.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.SybaseClient.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.Tds.dll +BUILDLINK_FILES.mono+= lib/Mono.Data.TdsClient.dll +BUILDLINK_FILES.mono+= lib/Mono.GetOptions.dll +BUILDLINK_FILES.mono+= lib/Mono.PEToolkit.dll +BUILDLINK_FILES.mono+= lib/NUnitCore_mono.dll +BUILDLINK_FILES.mono+= lib/System.Configuration.Install.dll +BUILDLINK_FILES.mono+= lib/System.Data.OracleClient.dll +BUILDLINK_FILES.mono+= lib/System.Data.dll +BUILDLINK_FILES.mono+= lib/System.Drawing.dll +BUILDLINK_FILES.mono+= lib/System.EnterpriseServices.dll +BUILDLINK_FILES.mono+= lib/System.Runtime.Remoting.dll +BUILDLINK_FILES.mono+= lib/System.Runtime.Serialization.Formatters.Soap.dll +BUILDLINK_FILES.mono+= lib/System.Security.dll +BUILDLINK_FILES.mono+= lib/System.Web.Services.dll +BUILDLINK_FILES.mono+= lib/System.Web.dll +BUILDLINK_FILES.mono+= lib/System.Windows.Forms.dll +BUILDLINK_FILES.mono+= lib/System.Xml.dll +BUILDLINK_FILES.mono+= lib/System.dll +BUILDLINK_FILES.mono+= lib/corlib.dll +BUILDLINK_FILES.mono+= lib/libmono.* +BUILDLINK_FILES.mono+= lib/pkgconfig/mono.pc + +.include "../../devel/boehm-gc/buildlink2.mk" +.include "../../devel/glib2/buildlink2.mk" + +BUILDLINK_TARGETS+= mono-buildlink + +mono-buildlink: _BUILDLINK_USE + +.endif # MONO_BUILDLINK2_MK diff --git a/lang/mono/distinfo b/lang/mono/distinfo new file mode 100644 index 00000000000..db1ef9645d0 --- /dev/null +++ b/lang/mono/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +SHA1 (mono-0.21.tar.gz) = 16cd695bfe92ed3ce2c80d52a342d10d1d307e10 +Size (mono-0.21.tar.gz) = 3366450 bytes +SHA1 (patch-aa) = d143b770e91560d46b85a33e172200d9294f813a +SHA1 (patch-ab) = 3fc37cf05ac12e1e3873636928c214c1c4e54254 +SHA1 (patch-ac) = e67e873f1515de3b7e89610696b3c8534a0fefd7 +SHA1 (patch-ad) = 324c55058bcb3c4dad1c1db7a19601ae909da181 +SHA1 (patch-ae) = d22988b844125fa95afb7a1a469c1e5c2e8f5ae3 diff --git a/lang/mono/patches/patch-aa b/lang/mono/patches/patch-aa new file mode 100644 index 00000000000..b1780d48b89 --- /dev/null +++ b/lang/mono/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- mono/jit/jit.c.orig 2003-02-26 17:59:57.000000000 +0100 ++++ mono/jit/jit.c 2003-02-26 18:00:00.000000000 +0100 +@@ -4207,8 +4207,8 @@ + sigemptyset (&sa.sa_mask); + sa.sa_flags = 0; + //g_assert (syscall (SYS_sigaction, SIGILL, &sa, NULL) != -1); +- g_assert (syscall (SYS_sigaction, mono_thread_get_abort_signal (), &sa, NULL) != -1); +- //g_assert (sigaction (mono_thread_get_abort_signal (), &sa, NULL) != -1); ++ //g_assert (syscall (SYS_sigaction, mono_thread_get_abort_signal (), &sa, NULL) != -1); ++ g_assert (sigaction (mono_thread_get_abort_signal (), &sa, NULL) != -1); + + #if 1 + /* catch SIGSEGV */ diff --git a/lang/mono/patches/patch-ab b/lang/mono/patches/patch-ab new file mode 100644 index 00000000000..e7c95805cf3 --- /dev/null +++ b/lang/mono/patches/patch-ab @@ -0,0 +1,25 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- configure.orig 2003-02-26 17:46:28.000000000 +0100 ++++ configure 2003-02-26 17:51:54.000000000 +0100 +@@ -1884,7 +1884,19 @@ + CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS" + libdl= + ;; +- *-*-*bsd*) ++ *-*-*netbsd*) ++ platform_win32=no ++ CPPFLAGS="$CPPFLAGS -D_REENTRANT" ++ libmono_cflags="-D_REENTRANT" ++ LDFLAGS="$LDFLAGS -pthread" ++ libmono_ldflags="-pthread" ++ cat >>confdefs.h <<\_ACEOF ++#define NEED_LINK_UNLINK 1 ++_ACEOF ++ ++ libdl= ++ ;; ++ *-*-freebsd*|*-*-openbsd*) + platform_win32=no + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" + libmono_cflags="-D_THREAD_SAFE" diff --git a/lang/mono/patches/patch-ac b/lang/mono/patches/patch-ac new file mode 100644 index 00000000000..5767bc4cb40 --- /dev/null +++ b/lang/mono/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- data/Makefile.in.orig 2003-02-27 23:28:21.000000000 +0100 ++++ data/Makefile.in +@@ -99,7 +99,7 @@ arch_target = @arch_target@ + libmono_cflags = @libmono_cflags@ + libmono_ldflags = @libmono_ldflags@ + +-monodir = $(sysconfdir)/mono ++monodir = $(datadir)/examples/mono + + EXTRA_DIST = config.in machine.config + diff --git a/lang/mono/patches/patch-ad b/lang/mono/patches/patch-ad new file mode 100644 index 00000000000..0dd9838cb0a --- /dev/null +++ b/lang/mono/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- mono/metadata/icall.c.orig 2003-02-21 23:42:15.000000000 +0100 ++++ mono/metadata/icall.c +@@ -3074,7 +3074,7 @@ ves_icall_System_Configuration_DefaultCo + if (mcpath != NULL) + return mcpath; + +- path = g_build_path (G_DIR_SEPARATOR_S, mono_cfg_dir, "mono", "machine.config", NULL); ++ path = g_build_path (G_DIR_SEPARATOR_S, mono_cfg_dir, "machine.config", NULL); + + #if defined (PLATFORM_WIN32) + /* Avoid mixing '/' and '\\' */ diff --git a/lang/mono/patches/patch-ae b/lang/mono/patches/patch-ae new file mode 100644 index 00000000000..c9e15c1c7f3 --- /dev/null +++ b/lang/mono/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1.1.1 2003/03/01 13:11:47 jmmv Exp $ + +--- mono/metadata/mono-config.c.orig 2003-02-06 10:53:03.000000000 +0100 ++++ mono/metadata/mono-config.c +@@ -255,9 +255,9 @@ mono_config_parse (const char *filename) + } + #if defined (PLATFORM_WIN32) + /* maybe it's better to use a registry key or the install root from the binary */ +- mono_config_parse_file (MONO_CFG_DIR "\\mono\\config"); ++ mono_config_parse_file (MONO_CFG_DIR "\\config"); + #else +- mono_config_parse_file (MONO_CFG_DIR "/mono/config"); ++ mono_config_parse_file (MONO_CFG_DIR "/config"); + home = g_get_home_dir (); + user_cfg = g_strconcat (home, G_DIR_SEPARATOR_S, ".mono/config", NULL); + mono_config_parse_file (user_cfg); |