|Summary:||New ebuild (mod_mono-0.7.ebuild)|
|Product:||Gentoo Linux||Reporter:||Chris Laverty <chris>|
|Component:||New packages||Assignee:||Apache Team - Bugzilla Reports <apache-bugs>|
|Severity:||enhancement||CC:||aent, kellyrayj, maze, peter.westwood|
|Package list:||Runtime testing required:||---|
|Bug Depends on:||41652|
Description Chris Laverty 2004-02-15 05:25:50 UTC
mod_mono is an Apache module for the XSP server. This ebuild currently only works with Apache 2. I suggest dev-dotnet/mod_mono. Also, this ebuild depends on dev-dotnet/xsp submitted earlier. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 1 Chris Laverty 2004-02-15 05:26:20 UTC
Created attachment 25657 [details] mod_mono-0.7.ebuild
Comment 3 Chris Laverty 2004-02-15 05:27:03 UTC
Created attachment 25659 [details] mod-mono-server.init
Comment 4 Chris Laverty 2004-02-15 05:27:19 UTC
Created attachment 25660 [details] mod-mono-server.conf
Comment 5 Chris Laverty 2004-02-22 08:12:58 UTC
Created attachment 26106 [details] mod-mono-server.init Runs as unprivileged user aspnet (created by xsp)
Comment 6 aent 2004-04-21 18:52:17 UTC
Created attachment 29786 [details] 70_mod_mono.conf Updating for mod_mono-0.8
Comment 7 aent 2004-04-21 18:53:08 UTC
Created attachment 29787 [details] mod_mono-0.8.ebuild new version
Comment 8 aent 2004-04-21 18:54:16 UTC
The init.d and conf.d script are unnecessary in 0.8 as mod_mono can spawn its own mod_mono_server and all of the configuration is in the mod_mono.conf file now...
Comment 9 aent 2004-04-23 21:08:15 UTC
While installing it on my main box, I found a problem I can't figure out how to fix within the ebuild/70_mod_mono.conf file: The permissions of /tmp/mod_mono_server socket needs to be chmodded to 0666 after Apache starts, the default permissions are not enough for it to work. Also, 70_mod_mono.conf needs a little bit more work to fix the MIME type associations with mono as it has apparently changed again o_O I'll work on fixing that tomorrow...
Comment 10 aent 2004-04-23 21:09:26 UTC
Created attachment 29936 [details] mod_mono-0.8.ebuild Adds man page
Comment 11 Martin Honermeyer 2004-05-03 15:45:22 UTC
Great! Got mod_mono-0.8 to work with xsp-0.12 (your ebuild). Fixed two things: 1. As you said, mod_mono depends on xsp. You should add the line >=dev-dotnet/xsp-0.11 to the DEPEND section in mod_mono-0.8 ebuild! 2. In 70_mod_mono.conf, there has to be a new line above the <Directory> line: # SetHandler Mono The examples (and every other mono script) won't work otherwise! This will have to be set for every directory which should be served by mod_mono. Overall, thanks for your work! That said, I didn't get Web Services to work until now ;( Same error every time: System.Configuration.ConfigurationException: Cannot load type 'DumpExtension, extensions' (node name: add) () Removing DumpExtension from the file web.config doesn't help. This extension is really needed, I suppose. Martin
Comment 12 Martin Honermeyer 2004-05-03 15:48:40 UTC
Created attachment 30651 [details] mod_mono-0.8.ebuild fixed xsp dependency!
Comment 13 Martin Honermeyer 2004-05-03 15:51:54 UTC
Created attachment 30652 [details] 70_mod_mono.conf fixed examples configuration (added Mono as handler)
Comment 14 aent 2004-05-07 17:55:17 UTC
Created attachment 30979 [details] 70_mod_mono.conf Added AddHandler, removed SetHandler... now .aspx .ashx .asmx .ascx .asax .config .ascx are all associated with mod_mono...
Comment 15 Peter Westwood 2004-05-10 04:28:31 UTC
Had a play with this over the weekednd - and works fine for me as long as I stick with mono 0.31 and don't upgrade to 0.91.
Comment 16 Chuck Short (RETIRED) 2004-05-10 12:17:30 UTC
I just had a look at the most recent ebuild and I dont think the dependsis right. Since there is no xsp. Could you please double check your depends then I would have no problem adding this to cvs. thanks chuck
Comment 17 Martin Honermeyer 2004-05-10 15:54:14 UTC
Created attachment 31132 [details] mod_mono-0.9.ebuild This is the new version! Dependencies should be right. mod_mono-0.9 belongs to xsp-0.13, which belongs to mono-0.91 (everything from beta1).
Comment 18 aent 2004-05-14 18:14:47 UTC
Created attachment 31447 [details] mod_mono-0.9.ebuild It doesn't USE apache2 (yet anyways), it depends on it... I removed it from IUSE... Chuck: XSP's ebuild needs to be added before this one, its in bug #41652
Comment 19 Chuck Short (RETIRED) 2004-05-21 19:59:56 UTC
Added thanks for the ebuild.