pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

suse15_dotnet: dependencies to run dotnet in Linux emulation



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Nov 30 20:18:10 2026 +0100
Changeset:	951cf58360791567656d7897c99573ba521133ad

Modified Files:
	Makefile
Added Files:
	suse15_dotnet/DESCR
	suse15_dotnet/MESSAGE.NetBSD
	suse15_dotnet/Makefile
	suse15_dotnet/distinfo

Log Message:
suse15_dotnet: dependencies to run dotnet in Linux emulation

with some hints how to do that; not all commands work

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=951cf58360791567656d7897c99573ba521133ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                     |  1 +
 suse15_dotnet/DESCR          |  2 ++
 suse15_dotnet/MESSAGE.NetBSD | 21 +++++++++++++++++++++
 suse15_dotnet/Makefile       | 14 ++++++++++++++
 suse15_dotnet/distinfo       |  8 ++++++++
 5 files changed, 46 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d29df2c3a8..644a541f93 100644
--- a/Makefile
+++ b/Makefile
@@ -5660,6 +5660,7 @@ SUBDIR+=	suse131_fpc
 SUBDIR+=	suse131_gcc
 SUBDIR+=	suse131_gconf2
 SUBDIR+=	suse131_libbz2
+SUBDIR+=	suse15_dotnet
 SUBDIR+=	suse15_gdb
 SUBDIR+=	suse15_glibc-locale-base
 SUBDIR+=	sushi
diff --git a/suse15_dotnet/DESCR b/suse15_dotnet/DESCR
new file mode 100644
index 0000000000..934e68db33
--- /dev/null
+++ b/suse15_dotnet/DESCR
@@ -0,0 +1,2 @@
+Linux compatibility package with the shared libraries required to
+run the Microsoft .NET runtime and SDK using openSUSE 15.5.
diff --git a/suse15_dotnet/MESSAGE.NetBSD b/suse15_dotnet/MESSAGE.NetBSD
new file mode 100644
index 0000000000..819e549fbf
--- /dev/null
+++ b/suse15_dotnet/MESSAGE.NetBSD
@@ -0,0 +1,21 @@
+===========================================================================
+$NetBSD$
+
+.NET under Linux emulation (NetBSD)
+
+Workarounds for known .NET limitations under emulation:
+
+1.  Set DOTNET_EnableWriteXorExecute=0
+    Without this, tools that map executable memory (e.g. "dotnet new")
+    crash with a segmentation fault because W^X double mapping is not
+    fully emulated.  Example:
+
+      export DOTNET_EnableWriteXorExecute=0
+
+2.  Insufficient stack for in-proc MSBuild
+    "dotnet build" and "dotnet run" can fail with
+    System.InsufficientExecutionStackException.  This is an emulation
+    limitation, not a missing library.  You can still verify the setup
+    with "dotnet --info" and "dotnet MSBuild.dll -version".
+
+===========================================================================
diff --git a/suse15_dotnet/Makefile b/suse15_dotnet/Makefile
new file mode 100644
index 0000000000..61e05fb018
--- /dev/null
+++ b/suse15_dotnet/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+PKGNAME=	suse_dotnet-${SUSE_VERSION}
+CATEGORIES=	emulators
+RPMPKGS+=	libicu69-69.1-7.3.2.${SUSE_ARCH}
+RPMPKGS+=	libicu69-ledata-69.1-7.3.2.noarch
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	Linux compatibility package for .NET
+
+EMUL_MODULES.linux=	base openssl
+
+.include "../../emulators/suse15_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/suse15_dotnet/distinfo b/suse15_dotnet/distinfo
new file mode 100644
index 0000000000..c1cdd39c6e
--- /dev/null
+++ b/suse15_dotnet/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+BLAKE2s (suse155/libicu69-69.1-7.3.2.x86_64.rpm) = 48785b74d4d791b0cfa00bc541e5ac9450ac9dd0f336bb2749352f238e09be6f
+SHA512 (suse155/libicu69-69.1-7.3.2.x86_64.rpm) = e34316bf3548c73d6939838aa25b2ffa08c43081174232327dce2349160ba4eaf4c83efd9d6c5720f64a80c6c17cf0dfdc0c759042d119a2b630544f8392549c
+Size (suse155/libicu69-69.1-7.3.2.x86_64.rpm) = 1812736 bytes
+BLAKE2s (suse155/libicu69-ledata-69.1-7.3.2.noarch.rpm) = 8481be1513aaa83310fdc8835e855ec78e71f3fdf2c8f151b1348afb7b5c4e87
+SHA512 (suse155/libicu69-ledata-69.1-7.3.2.noarch.rpm) = 7068f203e5b1cf0cd52b03e99b27ff746b68531eea5e9aa7f7c1f5e9867aa745d876cc68454e012de047fae563caea519be25079ea3688bbd6102605c302539e
+Size (suse155/libicu69-ledata-69.1-7.3.2.noarch.rpm) = 7040812 bytes


Home | Main Index | Thread Index | Old Index