Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41655 - New ebuild (mod_mono-0.7.ebuild)
Summary: New ebuild (mod_mono-0.7.ebuild)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
Keywords: EBUILD
Depends on: 41652
  Show dependency tree
Reported: 2004-02-15 05:25 UTC by Chris Laverty
Modified: 2004-05-21 19:59 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

mod_mono-0.7.ebuild (mod_mono-0.7.ebuild,1.10 KB, text/plain)
2004-02-15 05:26 UTC, Chris Laverty
70_mod_mono.conf (70_mod_mono.conf,566 bytes, text/plain)
2004-02-15 05:26 UTC, Chris Laverty
mod-mono-server.init (mod-mono-server.init,1.00 KB, text/plain)
2004-02-15 05:27 UTC, Chris Laverty
mod-mono-server.conf (mod-mono-server.conf,218 bytes, text/plain)
2004-02-15 05:27 UTC, Chris Laverty
mod-mono-server.init (mod-mono-server.init,1.20 KB, text/plain)
2004-02-22 08:12 UTC, Chris Laverty
70_mod_mono.conf (70_mod_mono.conf,620 bytes, text/plain)
2004-04-21 18:52 UTC, aent
mod_mono-0.8.ebuild (mod_mono-0.8.ebuild,945 bytes, text/plain)
2004-04-21 18:53 UTC, aent
mod_mono-0.8.ebuild (mod_mono-0.8.ebuild,997 bytes, text/plain)
2004-04-23 21:09 UTC, aent
mod_mono-0.8.ebuild (mod_mono-0.8.ebuild,1020 bytes, text/plain)
2004-05-03 15:48 UTC, Martin Honermeyer
70_mod_mono.conf (70_mod_mono.conf,641 bytes, text/plain)
2004-05-03 15:51 UTC, Martin Honermeyer
70_mod_mono.conf (70_mod_mono.conf,617 bytes, text/plain)
2004-05-07 17:55 UTC, aent
mod_mono-0.9.ebuild (mod_mono-0.9.ebuild,1.00 KB, text/plain)
2004-05-10 15:54 UTC, Martin Honermeyer
mod_mono-0.9.ebuild (mod_mono-0.9.ebuild,1018 bytes, text/plain)
2004-05-14 18:14 UTC, aent

Note You need to log in before you can comment on or make changes to this bug.
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:
Comment 1 Chris Laverty 2004-02-15 05:26:20 UTC
Created attachment 25657 [details]
Comment 2 Chris Laverty 2004-02-15 05:26:42 UTC
Created attachment 25658 [details]
Comment 3 Chris Laverty 2004-02-15 05:27:03 UTC
Created attachment 25659 [details]
Comment 4 Chris Laverty 2004-02-15 05:27:19 UTC
Created attachment 25660 [details]
Comment 5 Chris Laverty 2004-02-22 08:12:58 UTC
Created attachment 26106 [details]

Runs as unprivileged user aspnet (created by xsp)
Comment 6 aent 2004-04-21 18:52:17 UTC
Created attachment 29786 [details]

Updating for mod_mono-0.8
Comment 7 aent 2004-04-21 18:53:08 UTC
Created attachment 29787 [details]

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]

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 
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.

Comment 12 Martin Honermeyer 2004-05-03 15:48:40 UTC
Created attachment 30651 [details]

fixed xsp dependency!
Comment 13 Martin Honermeyer 2004-05-03 15:51:54 UTC
Created attachment 30652 [details]

fixed examples configuration (added Mono as handler)
Comment 14 aent 2004-05-07 17:55:17 UTC
Created attachment 30979 [details]

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) gentoo-dev 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.

Comment 17 Martin Honermeyer 2004-05-10 15:54:14 UTC
Created attachment 31132 [details]

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]

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) gentoo-dev 2004-05-21 19:59:56 UTC
Added thanks for the ebuild.