summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-05-17 18:26:34 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-05-17 18:26:34 +0000
commit005ce20d993fa0f4fd75d2b8ce66bda643305e81 (patch)
tree76fbb1cdf981c498622e1a54593b94bff18ad1b5 /www-apache
parentdev-dotnet/xsp: version bump (1.2.4) (diff)
downloadgentoo-2-005ce20d993fa0f4fd75d2b8ce66bda643305e81.tar.gz
gentoo-2-005ce20d993fa0f4fd75d2b8ce66bda643305e81.tar.bz2
gentoo-2-005ce20d993fa0f4fd75d2b8ce66bda643305e81.zip
www-apache/mod_mono: version bump (1.2.4)
(Portage version: 2.1.2.2)
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_mono/ChangeLog8
-rw-r--r--www-apache/mod_mono/files/1.2.4/70_mod_mono.conf78
-rw-r--r--www-apache/mod_mono/files/digest-mod_mono-1.2.43
-rw-r--r--www-apache/mod_mono/mod_mono-1.2.4.ebuild61
4 files changed, 149 insertions, 1 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog
index 33e356b9484f..95591bfeac7c 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.33 2007/01/25 20:04:16 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.34 2007/05/17 18:26:34 jurek Exp $
+
+*mod_mono-1.2.4 (17 May 2007)
+
+ 17 May 2007; Jurek Bartuszek <jurek@gentoo.org>
+ +files/1.2.4/70_mod_mono.conf, +mod_mono-1.2.4.ebuild:
+ Version bump (1.2.4)
25 Jan 2007; Luca Longinotti <chtekk@gentoo.org>
-files/mod_mono-1.1.13.5-configure-apr-config.patch,
diff --git a/www-apache/mod_mono/files/1.2.4/70_mod_mono.conf b/www-apache/mod_mono/files/1.2.4/70_mod_mono.conf
new file mode 100644
index 000000000000..eff05b13d1fc
--- /dev/null
+++ b/www-apache/mod_mono/files/1.2.4/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.4 b/www-apache/mod_mono/files/digest-mod_mono-1.2.4
new file mode 100644
index 000000000000..91ca02cec592
--- /dev/null
+++ b/www-apache/mod_mono/files/digest-mod_mono-1.2.4
@@ -0,0 +1,3 @@
+MD5 17b5278a22b3502d3b9499943cf02273 mod_mono-1.2.4.tar.bz2 252763
+RMD160 9508440272b53dbea2a086aad60fda563e00eb31 mod_mono-1.2.4.tar.bz2 252763
+SHA256 9c77a263680fa5bd00ebbb222d607a2a19121b501d86bfd7e259a402c8cdea4f mod_mono-1.2.4.tar.bz2 252763
diff --git a/www-apache/mod_mono/mod_mono-1.2.4.ebuild b/www-apache/mod_mono/mod_mono-1.2.4.ebuild
new file mode 100644
index 000000000000..3376f34445fe
--- /dev/null
+++ b/www-apache/mod_mono/mod_mono-1.2.4.ebuild
@@ -0,0 +1,61 @@
+# 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.4.ebuild,v 1.1 2007/05/17 18:26:34 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}"
+
+APACHE1_MOD_FILE="${S}/src/.libs/${PN}.so"
+APACHE1_MOD_CONF="${PV}/70_${PN}"
+APACHE1_MOD_DEFINE="MONO"
+
+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."
+}