summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-12-08 22:32:52 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-12-08 22:32:52 +0000
commit5a29cc3abcae1a05ea2ba0c56af0375e51260d34 (patch)
treef3a9d971a976673f20025d72ceb134092a143144 /www-apache/mod_mono
parentAdded USE=audioscrobbler (diff)
downloadgentoo-2-5a29cc3abcae1a05ea2ba0c56af0375e51260d34.tar.gz
gentoo-2-5a29cc3abcae1a05ea2ba0c56af0375e51260d34.tar.bz2
gentoo-2-5a29cc3abcae1a05ea2ba0c56af0375e51260d34.zip
Bump to 2.0, bug 250257.
(Portage version: 2.2_rc17/cvs/Linux 2.6.28-rc6 x86_64)
Diffstat (limited to 'www-apache/mod_mono')
-rw-r--r--www-apache/mod_mono/ChangeLog7
-rw-r--r--www-apache/mod_mono/mod_mono-2.0.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog
index 07b831a27b1f..c6d3f236c1e9 100644
--- a/www-apache/mod_mono/ChangeLog
+++ b/www-apache/mod_mono/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apache/mod_mono
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.45 2008/08/23 04:36:11 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.46 2008/12/08 22:32:52 loki_val Exp $
+
+*mod_mono-2.0 (08 Dec 2008)
+
+ 08 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> +mod_mono-2.0.ebuild:
+ Bump to 2.0, bug 250257.
23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
diff --git a/www-apache/mod_mono/mod_mono-2.0.ebuild b/www-apache/mod_mono/mod_mono-2.0.ebuild
new file mode 100644
index 000000000000..f935388b28e6
--- /dev/null
+++ b/www-apache/mod_mono/mod_mono-2.0.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-2.0.ebuild,v 1.1 2008/12/08 22:32:52 loki_val Exp $
+
+inherit apache-module eutils
+
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DESCRIPTION="Apache module for Mono."
+HOMEPAGE="http://www.go-mono.com/"
+SRC_URI="http://ftp.novell.com/pub/mono/sources/mod_mono/${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="1.9/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."
+}