summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2006-10-23 22:50:09 +0000
committerJurek Bartuszek <jurek@gentoo.org>2006-10-23 22:50:09 +0000
commitee28e03601afccfb739e734f93904037a69ae8ae (patch)
treec6c1ae211463381742ff86a209860a1f1b7cc26d /www-apache/mod_mono
parentAdd to the pda herd. (diff)
downloadgentoo-2-ee28e03601afccfb739e734f93904037a69ae8ae.tar.gz
gentoo-2-ee28e03601afccfb739e734f93904037a69ae8ae.tar.bz2
gentoo-2-ee28e03601afccfb739e734f93904037a69ae8ae.zip
Removed old versions of www-apache/mod_mono, rewritten the 70_mod_mono.conf file, fixed all xsp related paths
(Portage version: 2.1.1)
Diffstat (limited to 'www-apache/mod_mono')
-rw-r--r--www-apache/mod_mono/ChangeLog17
-rw-r--r--www-apache/mod_mono/files/1.1.10/70_mod_mono.conf57
-rw-r--r--www-apache/mod_mono/files/digest-mod_mono-1.1.10-r23
-rw-r--r--www-apache/mod_mono/mod_mono-1.1.10-r2.ebuild57
4 files changed, 133 insertions, 1 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog
index 4cca9cd255da..5cb8bd00e4a9 100644
--- a/www-apache/mod_mono/ChangeLog
+++ b/www-apache/mod_mono/ChangeLog
@@ -1,6 +1,21 @@
# 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.21 2006/06/04 19:00:26 vericgar Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.22 2006/10/23 22:50:09 jurek Exp $
+
+*mod_mono-1.1.10-r2 (23 Oct 2006)
+
+ 23 Oct 2006; Jurek Bartuszek <koxta@gentoo.org>
+ -files/mod_mono-1.0.2-70_mod_mono.conf, +files/1.1.10/70_mod_mono.conf,
+ -files/mod_mono-1.0.5-70_mod_mono.conf,
+ -files/mod_mono-1.0.8-70_mod_mono.conf, -files/1.0.5-r1/70_mod_mono.conf,
+ -files/70_mod_mono.conf, -mod_mono-1.0.8.ebuild,
+ -mod_mono-1.0.8-r1.ebuild, -mod_mono-1.0.9.ebuild,
+ -mod_mono-1.0.9-r1.ebuild, -mod_mono-1.1.10.ebuild,
+ -mod_mono-1.1.10-r1.ebuild, +mod_mono-1.1.10-r2.ebuild:
+ * Clean out old ebuilds (<=1.1.10-r1)
+ * Added AddType and MonoAutoApplication directives (bug 114814, bug 113336)
+ * Fixed all xsp paths in config file
+
04 Jun 2006; Michael Stewart <vericgar@gentoo.org>
mod_mono-1.0.8-r1.ebuild, mod_mono-1.0.9-r1.ebuild,
diff --git a/www-apache/mod_mono/files/1.1.10/70_mod_mono.conf b/www-apache/mod_mono/files/1.1.10/70_mod_mono.conf
new file mode 100644
index 000000000000..e8f3556616ee
--- /dev/null
+++ b/www-apache/mod_mono/files/1.1.10/70_mod_mono.conf
@@ -0,0 +1,57 @@
+# 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
+ MonoAutoApplication Disabled
+
+ <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
+###
+ <IfDefine MONO_DEMO>
+ <IfModule mod_alias.c>
+ Alias /mono "/usr/lib/xsp/test"
+ </IfModule>
+
+ MonoApplications "/mono:/usr/lib/xsp/test"
+
+ <Directory /usr/lib/xsp/test>
+ <IfModule mod_access.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+ <IfModule mod_dir.c>
+ DirectoryIndex index.aspx
+ </IfModule>
+ </Directory>
+ </IfDefine>
+### MONO_DEMO end.
+
+</IfDefine>
diff --git a/www-apache/mod_mono/files/digest-mod_mono-1.1.10-r2 b/www-apache/mod_mono/files/digest-mod_mono-1.1.10-r2
new file mode 100644
index 000000000000..c489873c6d2d
--- /dev/null
+++ b/www-apache/mod_mono/files/digest-mod_mono-1.1.10-r2
@@ -0,0 +1,3 @@
+MD5 ff71db2750f7ef50f57f85dc6f593373 mod_mono-1.1.10.tar.gz 333610
+RMD160 9b09ff559ce3e178624a4210a86efe099590ba83 mod_mono-1.1.10.tar.gz 333610
+SHA256 f50fd8d7763502fcc312dd5bcb075dde232a318754d0705f863c6d9953c82fb4 mod_mono-1.1.10.tar.gz 333610
diff --git a/www-apache/mod_mono/mod_mono-1.1.10-r2.ebuild b/www-apache/mod_mono/mod_mono-1.1.10-r2.ebuild
new file mode 100644
index 000000000000..da960a47794d
--- /dev/null
+++ b/www-apache/mod_mono/mod_mono-1.1.10-r2.ebuild
@@ -0,0 +1,57 @@
+# 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.1.10-r2.ebuild,v 1.1 2006/10/23 22:50:09 jurek Exp $
+
+inherit apache-module
+
+DESCRIPTION="Apache module for Mono"
+HOMEPAGE="http://www.go-mono.com/"
+SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="apache2"
+DEPEND=">=dev-lang/mono-1.1
+ >=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
+
+pkg_setup() {
+ ewarn "Some users are experiencing problems with mod_mono, where mod-mono-server"
+ ewarn "will not start automatically, or requests will get a HTTP 500 application"
+ ewarn "error. If you experience these problems, please report it on:"
+ ewarn
+ ewarn " http://bugs.gentoo.org/show_bug.cgi?id=77169"
+ ewarn
+ ewarn "with as much information as possible. Thanks!"
+}
+
+src_compile() {
+ econf || 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
+
+ einfo "To view the samples, add \"-D MONO_DEMO\" at your apache's"
+ einfo "conf.d configuration file."
+}