Readd old mono for iFolder System

Package-Manager: portage-2.2.0_alpha166
RepoMan-Options: --force
This commit is contained in:
Mario Fetka 2013-04-20 08:04:30 +02:00
parent 9835768392
commit 025783940e
6 changed files with 191 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# ChangeLog for www-apache/mod_mono
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*mod_mono-2.6.3 (20 Apr 2013)
20 Apr 2013; Mario Fetka <mario.fetka@gmail.com> +files/2.2/70_mod_mono.conf,
+files/mono26_auto_application_aspnet2.patch, +metadata.xml,
+mod_mono-2.6.3.ebuild:
Readd old mono for iFolder System

View File

@ -0,0 +1,6 @@
AUX 2.2/70_mod_mono.conf 2889 SHA256 1ab3424a4d9365e21ef55e5bda0af3efedb2bfb71b039b022eb54f6dacadb0f1 SHA512 6e35d73331b7f10f4dbc4c13461b4d7d83bacef2973bdd5c15ba6ca39f6cef00f3543e77f98c0f3f2d60187afb44aca98d448479c555eaa1d3c87f4b572180f6 WHIRLPOOL 3cb0a9ee021ff3beeacdda98b72832eba0c7f51e581f9ce93e586dbc2cd1445800f1993ffc29ba90eedecbe66e0c7332b27a7ea19b780c56fb26d871ba4d5f19
AUX mono26_auto_application_aspnet2.patch 389 SHA256 25faa39dc3fb0bea15101a037af35b44d56f72545e62f4862e90a86a731ba9fe SHA512 71742165aa6052b717c3b5a834627c756dab3c948ad9975d60e02fe90df1c1adf266f59080a9b107253d3d3c25403d5264fd8a4e4c39244429b8aa53a272daf0 WHIRLPOOL 75e3edef6758e6495a0cb0de61c78cb5328045b6b3bb374b1b0d06617d9e64638649b6f790a462d68f07af14fa783374908c772fe98b0359946816d7e9d11bdd
DIST mod_mono-2.6.3.tar.bz2 258327 SHA256 6081996d607884393f5ccf580e1045e32261a25b9c6462646b825c5b5dc6269a SHA512 758af1227e31638aa69dedfa95708b43387f9d7cdae6ede6e112b77ab360926332d4e0cc08fbadb81925eb8b00b715cf322e872f8f5192c5ef618ef65d182b18 WHIRLPOOL 46a3a4981bdfd821e955e43d72205f42af8d0b7711c5032567742b663f66c3a3c8b95135d28fb996b2f6649b7d0c0b030790b177fd3b5598b7fb7770810cb4fb
EBUILD mod_mono-2.6.3.ebuild 1900 SHA256 9eb67b03f6678086607f28689416b2351b2d420b83949f13ad60e5d917ca5568 SHA512 101fddf5916af26640775f4581082f5267f4e94fc8d58f55505a1396c3d2a2237b5ae30bc9ade2a721c2fb1d41c8b7c45b1714c0ca9d7037b964ede3f7da7cc4 WHIRLPOOL 7350bd8b1c875088d2a6b53b66fdbe3becfae52dca318083a6a2f9f12c9300264a4c9cf77f5be2225ca619c2f5f54323fe4cb9ae953cdc914143f114e19951ca
MISC ChangeLog 356 SHA256 3cc0f317ff25b1b60ceb4e78032f781099478a3a68a68756f01996407259e9d2 SHA512 022f312095907a68715e82255ec24edb382e567438b2b11a931f4fbd19db4850666574478188192abb71991602b784c85b0abdd00d9328af98b83ff92203e324 WHIRLPOOL a13fad884ace149cc01ece0008cc3d7acc03a35eb8bcb5dcea437ea1de15a55e726789ed034b2afc30f8ec4f2af69c248942dc90ea9db9c0e89ef7d1289d8853
MISC metadata.xml 413 SHA256 023c381a976e28aedb0858121bf26a0bb03e85b4d662c9be0f2d8e35b592d9d5 SHA512 e95fb009fbe00bfce8a0244ebef87813213e652dd04cad28a7fcaa709367b7a1d3ee6aa64923806e202c507734051f08610550930cf421e7e0739d3047500c7d WHIRLPOOL ff79beb5f57eccbba7132072279d3391a47ef1e6fa730b43368bfb5c12e9815cb8bc83a1bc9b32b3470308b4d9229d671571ab9b9efcb8a1350dcd255210bb78

View File

@ -0,0 +1,88 @@
# 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 /usr/@LIBDIR@/apache2/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 .vb
AddType application/x-asp-net .master
AddType application/x-asp-net .sitemap
AddType application/x-asp-net .resources
AddType application/x-asp-net .skin
AddType application/x-asp-net .browser
AddType application/x-asp-net .webinfo
AddType application/x-asp-net .resx
AddType application/x-asp-net .licx
AddType application/x-asp-net .csproj
AddType application/x-asp-net .vbproj
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_authz_host.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>

View File

@ -0,0 +1,11 @@
--- src/mod_mono.h 2009-09-25 16:01:20.000000000 +0000
+++ src/mod_mono.h.new 2010-02-27 21:00:27.000000000 +0000
@@ -89,7 +89,7 @@
#define DIRECTORY_SEPARATOR "/"
#endif
-#define MODMONO_SERVER_PATH MONO_PREFIX "/bin/mod-mono-server"
+#define MODMONO_SERVER_PATH MONO_PREFIX "/bin/mod-mono-server2"
#define WAPIDIR "/tmp"
#define DOCUMENT_ROOT NULL
#define APPCONFIG_FILE NULL

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>dotnet</herd>
<longdescription lang="en">
The module allows Apache (http://httpd.apache.org) to serve ASP.NET
pages by proxying the requests to a slightly modified version of our XSP
called mod-mono-server that is installed along with XSP.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,66 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/Attic/mod_mono-2.6.3.ebuild,v 1.5 2011/07/08 10:06:17 pacho dead $
EAPI=2
# DRAGONS: Watch the order of these.
inherit apache-module multilib eutils go-mono mono
KEYWORDS="amd64 ppc x86"
DESCRIPTION="Apache module for Mono."
HOMEPAGE="http://www.go-mono.com/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="aspnet2 debug"
DEPEND="=dev-dotnet/xsp-${GO_MONO_REL_PV}*"
RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="2.2/70_${PN}"
APACHE2_MOD_DEFINE="MONO"
DOCFILES="AUTHORS ChangeLog COPYING INSTALL NEWS README"
need_apache2
src_prepare() {
sed -e "s:@LIBDIR@:$(get_libdir):" "${FILESDIR}/${APACHE2_MOD_CONF}.conf" \
> "${WORKDIR}/${APACHE2_MOD_CONF##*/}.conf" || die
go-mono_src_prepare
use aspnet2 && epatch "${FILESDIR}/mono26_auto_application_aspnet2.patch"
}
src_configure() {
export LIBS="$(pkg-config --libs apr-1)"
go-mono_src_configure \
$(use_enable debug) \
--with-apxs="${APXS}" \
--with-apr-config="/usr/bin/apr-1-config" \
--with-apu-config="/usr/bin/apu-1-config" \
|| die "econf failed"
}
src_compile() {
go-mono_src_compile
}
src_install() {
go-mono_src_install
find "${D}" -name 'mod_mono.conf' -delete || die "failed to remove mod_mono.conf"
insinto "${APACHE_MODULES_CONFDIR}"
newins "${WORKDIR}/${APACHE2_MOD_CONF##*/}.conf" "${APACHE2_MOD_CONF##*/}.conf" \
|| die "internal ebuild error: '${FILESDIR}/${APACHE2_MOD_CONF}.conf' not found"
}
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."
}