Bug 19617 - FEATURE: Run mono binaries using the "misc binaries" feature of Linux
|
Bug#:
19617
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: foser@gentoo.org
|
Reported By: tuxie@dekadance.se
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: FEATURE: Run mono binaries using the "misc binaries" feature of Linux
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-04-19 12:23 0000
|
Here is an init-script for mono that will register .NET-binaries with
/usr/bin/mono so you can remove that ugly .exe-extension from the binaries and
install them in /usr/bin just like native programs, instead of running them with
"mono program.exe".
it looks good to me. A few questions.
Can you explain exactly how it works, especially the syntax of the echo line used. I suppose MZ is the indentifier for .NET binaries used. Is that tight enough ?
Is it possible to unregister the .NET handler ? in essence, is it possible to implement a stop function ?
Thirdly i would like this script run from a conf.d setting where we can select which runtime to use, so we can (currently) use it for both mono and dotgnu.
I played around with that script and added the possibility to choose what
interpreter to use and added a stop() function.
I think those two files should be added to the mono and pnet ebuild (without a
default setting for the runtime so that it doesn't harm anything if you merge
both etc. ?).
Comments ? ;)
I added the script with some minor enhancements to
pnet-0.5.6-r2,
mono-0.23-r1 (stable) and mono-0.24-r1 (~)
resolved / fixed
seems to be fine with everybody :)
thnx scandium for the good work