diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2008-01-11 20:41:55 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2008-01-11 20:41:55 +0000 |
commit | 1be469e38575465df171de6b2f0c84835b2ef155 (patch) | |
tree | a7ac0001d3009836a28c79bffd035f057a074946 /www-apache/mod_mono | |
parent | ppc stable, bug #203345 (diff) | |
download | gentoo-2-1be469e38575465df171de6b2f0c84835b2ef155.tar.gz gentoo-2-1be469e38575465df171de6b2f0c84835b2ef155.tar.bz2 gentoo-2-1be469e38575465df171de6b2f0c84835b2ef155.zip |
www-apache/mod_mono-1.2.6-r1: updated config file so it works with apache 2.2 (bug #205163)
(Portage version: 2.1.3.19)
Diffstat (limited to 'www-apache/mod_mono')
-rw-r--r-- | www-apache/mod_mono/ChangeLog | 10 | ||||
-rw-r--r-- | www-apache/mod_mono/files/1.2.6/70_mod_mono.conf | 2 | ||||
-rw-r--r-- | www-apache/mod_mono/files/digest-mod_mono-1.2.6-r1 | 3 | ||||
-rw-r--r-- | www-apache/mod_mono/mod_mono-1.2.6-r1.ebuild | 57 |
4 files changed, 69 insertions, 3 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog index 9fc1a56b87ba..6ad52b5437e3 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.41 2007/12/14 20:14:46 jurek Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.42 2008/01/11 20:41:53 jurek Exp $ + +*mod_mono-1.2.6-r1 (11 Jan 2008) + + 11 Jan 2008; Jurek Bartuszek <jurek@gentoo.org> + files/1.2.6/70_mod_mono.conf, +mod_mono-1.2.6-r1.ebuild: + Updated config file so it works with apache 2.2 (bug #205163) *mod_mono-1.2.6 (14 Dec 2007) 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 index eff05b13d1fc..b6582740d2a4 100644 --- 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 @@ -61,7 +61,7 @@ SetHandler mono MonoSetServerAlias testinst - <IfModule mod_access.c> + <IfModule mod_authz_host.c> Order allow,deny Allow from all </IfModule> diff --git a/www-apache/mod_mono/files/digest-mod_mono-1.2.6-r1 b/www-apache/mod_mono/files/digest-mod_mono-1.2.6-r1 new file mode 100644 index 000000000000..50955459b1b1 --- /dev/null +++ b/www-apache/mod_mono/files/digest-mod_mono-1.2.6-r1 @@ -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-r1.ebuild b/www-apache/mod_mono/mod_mono-1.2.6-r1.ebuild new file mode 100644 index 000000000000..d29c9f1632e8 --- /dev/null +++ b/www-apache/mod_mono/mod_mono-1.2.6-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 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-r1.ebuild,v 1.1 2008/01/11 20:41:53 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." +} |