diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2006-11-25 00:19:34 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2006-11-25 00:19:34 +0000 |
commit | ccdc939b00cbc5bb4ed4d14f479c92f07639ec8c (patch) | |
tree | 69ec2a205c90e5f4b198ce3b6ba627fecdfb00fe /www-apache/mod_mono | |
parent | Added dev-dotnet/xsp-1.2.1 (diff) | |
download | gentoo-2-ccdc939b00cbc5bb4ed4d14f479c92f07639ec8c.tar.gz gentoo-2-ccdc939b00cbc5bb4ed4d14f479c92f07639ec8c.tar.bz2 gentoo-2-ccdc939b00cbc5bb4ed4d14f479c92f07639ec8c.zip |
Added www-apache/mod_mono-1.2.1
(Portage version: 2.1.1-r2)
Diffstat (limited to 'www-apache/mod_mono')
-rw-r--r-- | www-apache/mod_mono/ChangeLog | 8 | ||||
-rw-r--r-- | www-apache/mod_mono/files/1.2.1/70_mod_mono.conf | 78 | ||||
-rw-r--r-- | www-apache/mod_mono/files/digest-mod_mono-1.2.1 | 3 | ||||
-rw-r--r-- | www-apache/mod_mono/mod_mono-1.2.1.ebuild | 60 |
4 files changed, 148 insertions, 1 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog index 2bcf0150af5f..35acb5381e47 100644 --- a/www-apache/mod_mono/ChangeLog +++ b/www-apache/mod_mono/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apache/mod_mono # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.26 2006/11/12 22:08:38 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.27 2006/11/25 00:19:33 jurek Exp $ + +*mod_mono-1.2.1 (25 Nov 2006) + + 25 Nov 2006; Jurek Bartuszek <jurek@gentoo.org> + +files/1.2.1/70_mod_mono.conf, +mod_mono-1.2.1.ebuild: + Version bump. 12 Nov 2006; Jurek Bartuszek <jurek@gentoo.org> -files/1.1.10/70_mod_mono.conf, -mod_mono-1.1.10-r2.ebuild: diff --git a/www-apache/mod_mono/files/1.2.1/70_mod_mono.conf b/www-apache/mod_mono/files/1.2.1/70_mod_mono.conf new file mode 100644 index 000000000000..eff05b13d1fc --- /dev/null +++ b/www-apache/mod_mono/files/1.2.1/70_mod_mono.conf @@ -0,0 +1,78 @@ +# For more information on the Mono* directives, see the man page for +# mod_mono(8) + +<IfDefine MONO> + # Set this to False if you manage your ASP.Net server manually through + # /etc/init.d/mod-mono-server + MonoRunXSP True + + # Set this to Enabled if you want to enable AutoHosting. + # See http://www.mono-project.com/AutoConfiguration for more info. + # Note that if you want your automatically hosted applications + # handled by ASP.NET 2.0 engine you have to enable the aspnet2 USE flag. + MonoAutoApplication Enabled + + <IfModule !mod_mono.c> + LoadModule mono_module modules/mod_mono.so + </IfModule> + + <IfModule mod_mime.c> + AddType application/x-asp-net .aspx + AddType application/x-asp-net .asmx + AddType application/x-asp-net .ashx + AddType application/x-asp-net .asax + AddType application/x-asp-net .ascx + AddType application/x-asp-net .soap + AddType application/x-asp-net .rem + AddType application/x-asp-net .axd + AddType application/x-asp-net .cs + AddType application/x-asp-net .config + AddType application/x-asp-net .Config + AddType application/x-asp-net .dll + + DirectoryIndex index.aspx + DirectoryIndex Default.aspx + DirectoryIndex default.aspx + </IfModule> + +### Please also add "-D MONO_DEMO" in order to activate out-of-the-box mono demo +### + + # Note that the test application runs on a separate mod-mono-server + # instance named "testinst". Athought this is not mandatory, it shows how to + # distribute workload between multiple mod-mono-servers. For more info see: + # http://www.mono-project.com/Mod_mono + + <IfDefine MONO_DEMO> + <IfModule mod_alias.c> + Alias /mono "/usr/lib/xsp/test" + </IfModule> + + # You might want to specify the version of mod-mono-server + # instance that will handle your application. The default + # value depends on whether the aspnet2 USE flag was set + # during compilation + #MonoServerPath testinst /usr/lib/mono/1.0/mod-mono-server.exe + #MonoServerPath testinst /usr/lib/mono/2.0/mod-mono-server2.exe + + AddMonoApplications testinst "/mono:/usr/lib/xsp/test" + + <Directory /usr/lib/xsp/test> + SetHandler mono + MonoSetServerAlias testinst + + <IfModule mod_access.c> + Order allow,deny + Allow from all + </IfModule> + <IfModule mod_dir.c> + # Sample ASP.NET 1.1/2.0 applications can be accessed + # via index2.aspx. + DirectoryIndex index.aspx + #DirectoryIndex index2.aspx + </IfModule> + </Directory> + </IfDefine> +### MONO_DEMO end. + +</IfDefine> diff --git a/www-apache/mod_mono/files/digest-mod_mono-1.2.1 b/www-apache/mod_mono/files/digest-mod_mono-1.2.1 new file mode 100644 index 000000000000..690b7d0f929e --- /dev/null +++ b/www-apache/mod_mono/files/digest-mod_mono-1.2.1 @@ -0,0 +1,3 @@ +MD5 7159da992ab6e656388bf1f55dea0961 mod_mono-1.2.1.tar.gz 335399 +RMD160 2d19954cc0f3e349d9f025d277519395f243e8db mod_mono-1.2.1.tar.gz 335399 +SHA256 078554a25ff0cf4b6196702b1b75ee341dd969a4a3ae34bb2f889f1b7542f646 mod_mono-1.2.1.tar.gz 335399 diff --git a/www-apache/mod_mono/mod_mono-1.2.1.ebuild b/www-apache/mod_mono/mod_mono-1.2.1.ebuild new file mode 100644 index 000000000000..64bf322e399f --- /dev/null +++ b/www-apache/mod_mono/mod_mono-1.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/mod_mono-1.2.1.ebuild,v 1.1 2006/11/25 00:19:33 jurek Exp $ + +inherit apache-module eutils + +DESCRIPTION="Apache module for Mono" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://go-mono.com/sources/${PN}/${P}.tar.gz" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="apache2 debug aspnet2" +DEPEND=">=dev-dotnet/xsp-${PV}" + +RDEPEND="${DEPEND}" + +APACHE1_MOD_FILE="${S}/src/.libs/mod_mono.so" +APACHE1_MOD_CONF="${PV}/70_mod_mono" +APACHE1_MOD_DEFINE="MONO" + +APACHE2_MOD_FILE="${S}/src/.libs/mod_mono.so" +APACHE2_MOD_CONF="${PV}/70_mod_mono" +APACHE2_MOD_DEFINE="MONO" + +DOCFILES="AUTHORS ChangeLog COPYING INSTALL NEWS README" + +need_apache + +src_unpack() +{ + unpack ${A} + cd ${S} + + use aspnet2 && epatch ${FILESDIR}/mono_auto_application_aspnet2.patch +} + +src_compile() { + conf="$(use_enable debug) \ + --disable-dependency-tracking" + econf ${conf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + mv src/.libs/mod_mono.so{.0.0.0,} + apache-module_src_install + doman man/mod_mono.8 +} + +pkg_postinst() { + apache-module_pkg_postinst + + elog "To enable mod_mono, add \"-D MONO\" to your apache's" + elog "conf.d configuration file. Additionally, to view sample" + elog "ASP.NET applications, add \"-D MONO_DEMO\" too." + elog "" + elog "If you want mod_mono to handle AutoHosting requests using" + elog "ASP.NET 2.0 engine, enable the aspnet2 USE flag" +} |