summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-12-14 20:14:47 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-12-14 20:14:47 +0000
commit3d8dbc4f62b39931f5a49926dc751cd9ce31e445 (patch)
tree0b8be981e5b076c8f4fccabfd99b6be1cea70a07 /www-apache/mod_mono
parentdev-dotnet/xsp-1.2.6: version bump (diff)
downloadgentoo-2-3d8dbc4f62b39931f5a49926dc751cd9ce31e445.tar.gz
gentoo-2-3d8dbc4f62b39931f5a49926dc751cd9ce31e445.tar.bz2
gentoo-2-3d8dbc4f62b39931f5a49926dc751cd9ce31e445.zip
www-apache/mod_mono-1.2.6: version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'www-apache/mod_mono')
-rw-r--r--www-apache/mod_mono/ChangeLog8
-rw-r--r--www-apache/mod_mono/files/1.2.6/70_mod_mono.conf78
-rw-r--r--www-apache/mod_mono/files/digest-mod_mono-1.2.63
-rw-r--r--www-apache/mod_mono/mod_mono-1.2.6.ebuild57
4 files changed, 145 insertions, 1 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog
index e58b235a1dce..9fc1a56b87ba 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.40 2007/09/21 20:55:57 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.41 2007/12/14 20:14:46 jurek Exp $
+
+*mod_mono-1.2.6 (14 Dec 2007)
+
+ 14 Dec 2007; Jurek Bartuszek <jurek@gentoo.org>
+ +files/1.2.6/70_mod_mono.conf, +mod_mono-1.2.6.ebuild:
+ Version bump
21 Sep 2007; Benedikt Böhm <hollow@gentoo.org> mod_mono-1.2.1.ebuild,
mod_mono-1.2.4.ebuild, mod_mono-1.2.5.ebuild:
diff --git a/www-apache/mod_mono/files/1.2.6/70_mod_mono.conf b/www-apache/mod_mono/files/1.2.6/70_mod_mono.conf
new file mode 100644
index 000000000000..eff05b13d1fc
--- /dev/null
+++ b/www-apache/mod_mono/files/1.2.6/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.6 b/www-apache/mod_mono/files/digest-mod_mono-1.2.6
new file mode 100644
index 000000000000..50955459b1b1
--- /dev/null
+++ b/www-apache/mod_mono/files/digest-mod_mono-1.2.6
@@ -0,0 +1,3 @@
+MD5 51768697b8c714789fb57eddc551a569 mod_mono-1.2.6.tar.bz2 247057
+RMD160 d13d7b264c5925a9b5c26d612123cf88699eb1ce mod_mono-1.2.6.tar.bz2 247057
+SHA256 3dbb78251a465f881784715c169efdbacfc0463ca7d56c8a4ec23fb4dbb24565 mod_mono-1.2.6.tar.bz2 247057
diff --git a/www-apache/mod_mono/mod_mono-1.2.6.ebuild b/www-apache/mod_mono/mod_mono-1.2.6.ebuild
new file mode 100644
index 000000000000..70a0a42b3831
--- /dev/null
+++ b/www-apache/mod_mono/mod_mono-1.2.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 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.6.ebuild,v 1.1 2007/12/14 20:14:46 jurek Exp $
+
+inherit apache-module eutils
+
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DESCRIPTION="Apache module for Mono."
+HOMEPAGE="http://www.go-mono.com/"
+SRC_URI="http://go-mono.com/sources/${PN}/${P}.tar.bz2"
+LICENSE="Apache-1.1"
+SLOT="0"
+IUSE="aspnet2 debug"
+
+DEPEND=">=dev-dotnet/xsp-${PV}"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_FILE="${S}/src/.libs/${PN}.so"
+APACHE2_MOD_CONF="${PV}/70_${PN}"
+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() {
+ econf \
+ $(use_enable debug) \
+ --disable-dependency-tracking \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ mv -f "src/.libs/${PN}.so.0.0.0" "src/.libs/${PN}.so"
+ 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."
+}