summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2008-05-31 12:44:12 +0000
committerJurek Bartuszek <jurek@gentoo.org>2008-05-31 12:44:12 +0000
commita4dce32d9af582bf99be28847645c8f8cc9fe5e0 (patch)
treeca9eeaa5e0c71bdc2098908df6d26b43213fae95 /www-apache
parentdev-dotnet/xsp: version bump (bug #213381) (diff)
downloadhistorical-a4dce32d9af582bf99be28847645c8f8cc9fe5e0.tar.gz
historical-a4dce32d9af582bf99be28847645c8f8cc9fe5e0.tar.bz2
historical-a4dce32d9af582bf99be28847645c8f8cc9fe5e0.zip
www-apache/mod_mono: Version bump (bug #213381)
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_mono/ChangeLog8
-rw-r--r--www-apache/mod_mono/mod_mono-1.9.ebuild57
2 files changed, 64 insertions, 1 deletions
diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog
index bb34a9f68f50..e91751a3db18 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.43 2008/05/06 20:16:21 ramereth Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.44 2008/05/31 12:44:12 jurek Exp $
+
+*mod_mono-1.9 (31 May 2008)
+
+ 31 May 2008; Jurek Bartuszek <jurek@gentoo.org>
+ +files/1.9/70_mod_mono.conf, +mod_mono-1.9.ebuild:
+ Version bump (bug #213381)
06 May 2008; Lance Albertson <ramereth@gentoo.org> metadata.xml:
Remove myself as a maintainer since I no longer use this package.
diff --git a/www-apache/mod_mono/mod_mono-1.9.ebuild b/www-apache/mod_mono/mod_mono-1.9.ebuild
new file mode 100644
index 000000000000..7b99b2772b96
--- /dev/null
+++ b/www-apache/mod_mono/mod_mono-1.9.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.9.ebuild,v 1.1 2008/05/31 12:44:12 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."
+}