From e5c43b2caf46272510895a71aeb319bbbb0dc228 Mon Sep 17 00:00:00 2001 From: Jurek Bartuszek Date: Sat, 25 Nov 2006 00:19:34 +0000 Subject: [PATCH] Added www-apache/mod_mono-1.2.1 Package-Manager: portage-2.1.1-r2 --- www-apache/mod_mono/ChangeLog | 8 +- www-apache/mod_mono/Manifest | 20 ++++- .../mod_mono/files/1.2.1/70_mod_mono.conf | 78 +++++++++++++++++++ .../mod_mono/files/digest-mod_mono-1.2.1 | 3 + www-apache/mod_mono/mod_mono-1.2.1.ebuild | 60 ++++++++++++++ 5 files changed, 164 insertions(+), 5 deletions(-) create mode 100644 www-apache/mod_mono/files/1.2.1/70_mod_mono.conf create mode 100644 www-apache/mod_mono/files/digest-mod_mono-1.2.1 create mode 100644 www-apache/mod_mono/mod_mono-1.2.1.ebuild diff --git a/www-apache/mod_mono/ChangeLog b/www-apache/mod_mono/ChangeLog index 2bcf0150af5f..35acb5381e47 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.26 2006/11/12 22:08:38 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_mono/ChangeLog,v 1.27 2006/11/25 00:19:33 jurek Exp $ + +*mod_mono-1.2.1 (25 Nov 2006) + + 25 Nov 2006; Jurek Bartuszek + +files/1.2.1/70_mod_mono.conf, +mod_mono-1.2.1.ebuild: + Version bump. 12 Nov 2006; Jurek Bartuszek -files/1.1.10/70_mod_mono.conf, -mod_mono-1.1.10-r2.ebuild: diff --git a/www-apache/mod_mono/Manifest b/www-apache/mod_mono/Manifest index 434936c5daa8..f7ffc849117a 100644 --- a/www-apache/mod_mono/Manifest +++ b/www-apache/mod_mono/Manifest @@ -6,6 +6,10 @@ AUX 1.1.17/70_mod_mono.conf 2431 RMD160 77fb57f7a3318c1c3f073b61406a44541c08de04 MD5 226e1c33f965ecb36da0e2eed1953a2f files/1.1.17/70_mod_mono.conf 2431 RMD160 77fb57f7a3318c1c3f073b61406a44541c08de04 files/1.1.17/70_mod_mono.conf 2431 SHA256 a3d2ae2316592fcc9b697b6ab297402b5344ee40d25c11a10375e3be84344f74 files/1.1.17/70_mod_mono.conf 2431 +AUX 1.2.1/70_mod_mono.conf 2431 RMD160 77fb57f7a3318c1c3f073b61406a44541c08de04 SHA1 1408c8ab42cb11ee16f3989c1d04485568c9536e SHA256 a3d2ae2316592fcc9b697b6ab297402b5344ee40d25c11a10375e3be84344f74 +MD5 226e1c33f965ecb36da0e2eed1953a2f files/1.2.1/70_mod_mono.conf 2431 +RMD160 77fb57f7a3318c1c3f073b61406a44541c08de04 files/1.2.1/70_mod_mono.conf 2431 +SHA256 a3d2ae2316592fcc9b697b6ab297402b5344ee40d25c11a10375e3be84344f74 files/1.2.1/70_mod_mono.conf 2431 AUX mod_mono-1.1.13.5-configure-apr-config.patch 681 RMD160 a93afc3d5b1a7e33d11dbac66f8c79926e022ce5 SHA1 cb27684b74083ba9953b0b0c8a750b63c1bbb9a4 SHA256 ae39edf304a9718c1a793fcca9f35f29dfb0600401345e4b714012ac47d671a9 MD5 05a001ed1b3292d2f38524ff6cfe5451 files/mod_mono-1.1.13.5-configure-apr-config.patch 681 RMD160 a93afc3d5b1a7e33d11dbac66f8c79926e022ce5 files/mod_mono-1.1.13.5-configure-apr-config.patch 681 @@ -16,6 +20,7 @@ RMD160 0a42409e521d0b64c3dcfe363a55030093d435b0 files/mono_auto_application_aspn SHA256 166e09aae2ce8a44dbdb7793b6d02eaf610b76050f4cb7bec341ee6fcbf86393 files/mono_auto_application_aspnet2.patch 426 DIST mod_mono-1.1.13.5.tar.gz 335683 RMD160 a37023ce18b09170aa6f05425041c0d36e772c25 SHA1 c6023ff400361206917d03bd723504b5bacece61 SHA256 91ada9c15770cbf8c7cb768f61382c07c624c484a4574c0c72a5455c1e3eeebb DIST mod_mono-1.1.17.tar.gz 334754 RMD160 0e567ea06deaa7255b63dd835e4be9549e5c1e35 SHA1 c042f45a97b23f18abb3473c044701e5d416873a SHA256 92dc2703c2d675529698e779d3d60afcfb5842a784da0bb0ddf573c0757a1144 +DIST mod_mono-1.2.1.tar.gz 335399 RMD160 2d19954cc0f3e349d9f025d277519395f243e8db SHA1 902f1904123816fd94304f92450fccc83509167a SHA256 078554a25ff0cf4b6196702b1b75ee341dd969a4a3ae34bb2f889f1b7542f646 EBUILD mod_mono-1.1.13.5.ebuild 1814 RMD160 3651f1b3194204a658e92bb445ca285f2b0bf6e4 SHA1 bc5bcb8cb2d92160d5964c57ee842ba019741eb5 SHA256 5864cd225a30a50cbbcef6228241367278d15b30d53e081af171af3b7d7a3dbe MD5 bf044f591255c4a5712f534b4132f426 mod_mono-1.1.13.5.ebuild 1814 RMD160 3651f1b3194204a658e92bb445ca285f2b0bf6e4 mod_mono-1.1.13.5.ebuild 1814 @@ -24,10 +29,14 @@ EBUILD mod_mono-1.1.17-r1.ebuild 1541 RMD160 171304fa025f616a8cbd3e7eb3d9e4e9b52 MD5 9a62603c7a0969c921a6f1059e864a72 mod_mono-1.1.17-r1.ebuild 1541 RMD160 171304fa025f616a8cbd3e7eb3d9e4e9b52e2b90 mod_mono-1.1.17-r1.ebuild 1541 SHA256 89b0cae8a5c17f6cda87d146760f3346c50e813def2202c5592945e571e08043 mod_mono-1.1.17-r1.ebuild 1541 -MISC ChangeLog 6585 RMD160 cc1466ceb6a418dd041c5cc2f7b1f44c7c4e6614 SHA1 c378d049aa68674551a4b3ea590b6259efef8fae SHA256 225b7d020828d8e6fd06b45bd704fcab06fdee85a453799b4c04cc58922fb44f -MD5 7f2a03fdc725a25f9848a2486ba7bbea ChangeLog 6585 -RMD160 cc1466ceb6a418dd041c5cc2f7b1f44c7c4e6614 ChangeLog 6585 -SHA256 225b7d020828d8e6fd06b45bd704fcab06fdee85a453799b4c04cc58922fb44f ChangeLog 6585 +EBUILD mod_mono-1.2.1.ebuild 1536 RMD160 7c9342cb410b5e1bbb9cf30db40c6feb45baabb1 SHA1 5091f7a833068f06edb1423889c88a861ea1ed53 SHA256 a92d5ac48067aead96285467a49361ff0e6443390950015de744179b435408f4 +MD5 f898871d80f98be491f04a72f1193fa0 mod_mono-1.2.1.ebuild 1536 +RMD160 7c9342cb410b5e1bbb9cf30db40c6feb45baabb1 mod_mono-1.2.1.ebuild 1536 +SHA256 a92d5ac48067aead96285467a49361ff0e6443390950015de744179b435408f4 mod_mono-1.2.1.ebuild 1536 +MISC ChangeLog 6740 RMD160 6b916c08124e98c5e6a84bf3fc42fc18ca8d24cc SHA1 1eda402171f5d8e226419fafc45be0cd84a687fc SHA256 8605623edd3c2cd78983494e489cf81843934a82be2d72bfe03efe024b3b5716 +MD5 39c85ca4897a896c409bb780e37e6f94 ChangeLog 6740 +RMD160 6b916c08124e98c5e6a84bf3fc42fc18ca8d24cc ChangeLog 6740 +SHA256 8605623edd3c2cd78983494e489cf81843934a82be2d72bfe03efe024b3b5716 ChangeLog 6740 MISC metadata.xml 644 RMD160 ed7db36cf1436198919aadd15bbf52c69f821f7c SHA1 6840dc0a879baf3816edd92a29c404849bc4c21d SHA256 d66b1588ded70e801109646fe95939c3c158141155009054f84a179a835ff6e8 MD5 68004dcec16c46ac5f4bb99c49e87277 metadata.xml 644 RMD160 ed7db36cf1436198919aadd15bbf52c69f821f7c metadata.xml 644 @@ -38,3 +47,6 @@ SHA256 0096aa0b9a779533cf39e59c36bef76032b4dc683fb69749aeba5c05229f1537 files/di MD5 c077f91b9eab9554f1b744df78388e44 files/digest-mod_mono-1.1.17-r1 247 RMD160 a2673e900381b65905794f317dd6a2b6670f7d78 files/digest-mod_mono-1.1.17-r1 247 SHA256 6547a88bf4dd80b502dd6cee6f34041e18a0ef8f9b34270c2cded113f6093dd5 files/digest-mod_mono-1.1.17-r1 247 +MD5 b151459ca803e9f727315fd468406af3 files/digest-mod_mono-1.2.1 244 +RMD160 ba196d2323446671029dccd8f61de4a954576117 files/digest-mod_mono-1.2.1 244 +SHA256 6bcda13a1a7244ab75663a9927e9099d6648a8ec45079291da2aba2ea0b472c4 files/digest-mod_mono-1.2.1 244 diff --git a/www-apache/mod_mono/files/1.2.1/70_mod_mono.conf b/www-apache/mod_mono/files/1.2.1/70_mod_mono.conf new file mode 100644 index 000000000000..eff05b13d1fc --- /dev/null +++ b/www-apache/mod_mono/files/1.2.1/70_mod_mono.conf @@ -0,0 +1,78 @@ +# For more information on the Mono* directives, see the man page for +# mod_mono(8) + + + # 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 + + + LoadModule mono_module modules/mod_mono.so + + + + 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 + + +### 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 + + + + Alias /mono "/usr/lib/xsp/test" + + + # 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" + + + SetHandler mono + MonoSetServerAlias testinst + + + Order allow,deny + Allow from all + + + # Sample ASP.NET 1.1/2.0 applications can be accessed + # via index2.aspx. + DirectoryIndex index.aspx + #DirectoryIndex index2.aspx + + + +### MONO_DEMO end. + + diff --git a/www-apache/mod_mono/files/digest-mod_mono-1.2.1 b/www-apache/mod_mono/files/digest-mod_mono-1.2.1 new file mode 100644 index 000000000000..690b7d0f929e --- /dev/null +++ b/www-apache/mod_mono/files/digest-mod_mono-1.2.1 @@ -0,0 +1,3 @@ +MD5 7159da992ab6e656388bf1f55dea0961 mod_mono-1.2.1.tar.gz 335399 +RMD160 2d19954cc0f3e349d9f025d277519395f243e8db mod_mono-1.2.1.tar.gz 335399 +SHA256 078554a25ff0cf4b6196702b1b75ee341dd969a4a3ae34bb2f889f1b7542f646 mod_mono-1.2.1.tar.gz 335399 diff --git a/www-apache/mod_mono/mod_mono-1.2.1.ebuild b/www-apache/mod_mono/mod_mono-1.2.1.ebuild new file mode 100644 index 000000000000..64bf322e399f --- /dev/null +++ b/www-apache/mod_mono/mod_mono-1.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 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.1.ebuild,v 1.1 2006/11/25 00:19:33 jurek Exp $ + +inherit apache-module eutils + +DESCRIPTION="Apache module for Mono" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://go-mono.com/sources/${PN}/${P}.tar.gz" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="apache2 debug aspnet2" +DEPEND=">=dev-dotnet/xsp-${PV}" + +RDEPEND="${DEPEND}" + +APACHE1_MOD_FILE="${S}/src/.libs/mod_mono.so" +APACHE1_MOD_CONF="${PV}/70_mod_mono" +APACHE1_MOD_DEFINE="MONO" + +APACHE2_MOD_FILE="${S}/src/.libs/mod_mono.so" +APACHE2_MOD_CONF="${PV}/70_mod_mono" +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() { + conf="$(use_enable debug) \ + --disable-dependency-tracking" + econf ${conf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + mv src/.libs/mod_mono.so{.0.0.0,} + 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" +} -- 2.26.2