diff options
author | Christian Heim <phreak@gentoo.org> | 2007-08-19 12:34:20 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-08-19 12:34:20 +0000 |
commit | 0aaed04a2283fe2ef435c6e9e592c00c6bb5bca1 (patch) | |
tree | 849d5ed3a4c1a32110da716b81fe565ca8445ad4 /www-apache | |
parent | Version bump. Fixes bug #180353. Thanks to xerxes <xerxesmc@web.de> and Andre... (diff) | |
download | gentoo-2-0aaed04a2283fe2ef435c6e9e592c00c6bb5bca1.tar.gz gentoo-2-0aaed04a2283fe2ef435c6e9e592c00c6bb5bca1.tar.bz2 gentoo-2-0aaed04a2283fe2ef435c6e9e592c00c6bb5bca1.zip |
Moving dev-ruby/mod_ruby to www-apache.
(Portage version: 2.1.3.6)
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_ruby/ChangeLog | 173 | ||||
-rw-r--r-- | www-apache/mod_ruby/Manifest | 28 | ||||
-rw-r--r-- | www-apache/mod_ruby/files/21_mod_ruby.conf | 55 | ||||
-rw-r--r-- | www-apache/mod_ruby/files/digest-mod_ruby-1.2.4-r2 | 3 | ||||
-rw-r--r-- | www-apache/mod_ruby/files/digest-mod_ruby-1.2.6 | 3 | ||||
-rw-r--r-- | www-apache/mod_ruby/metadata.xml | 6 | ||||
-rw-r--r-- | www-apache/mod_ruby/mod_ruby-1.2.4-r2.ebuild | 47 | ||||
-rw-r--r-- | www-apache/mod_ruby/mod_ruby-1.2.6.ebuild | 47 |
8 files changed, 362 insertions, 0 deletions
diff --git a/www-apache/mod_ruby/ChangeLog b/www-apache/mod_ruby/ChangeLog new file mode 100644 index 000000000000..65c13655c4e5 --- /dev/null +++ b/www-apache/mod_ruby/ChangeLog @@ -0,0 +1,173 @@ +# ChangeLog for dev-ruby/mod_ruby +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ruby/ChangeLog,v 1.1 2007/08/19 12:34:20 phreak Exp $ + + 19 Aug 2007; Christian Heim <phreak@gentoo.org>: + Moving dev-ruby/mod_ruby to www-apache. + +*mod_ruby-1.2.6 (17 May 2007) + + 17 May 2007; Luca Longinotti <chtekk@gentoo.org> mod_ruby-1.2.4-r2.ebuild, + +mod_ruby-1.2.6.ebuild: + Update to support Apache 2.2. Fix compilation wrt Apache1 removal. + + 15 Jan 2007; Luca Longinotti <chtekk@gentoo.org> -files/mod_ruby.conf, + mod_ruby-1.2.4-r2.ebuild: + Cleanup. + + 13 Jan 2007; Luca Longinotti <chtekk@gentoo.org> -files/20_mod_ruby.conf, + -mod_ruby-1.0.7.ebuild, -mod_ruby-1.2.2.ebuild, -mod_ruby-1.2.4.ebuild, + -mod_ruby-1.2.4-r1.ebuild: + Remove old versions. + + 13 Jan 2007; Luca Longinotti <chtekk@gentoo.org> metadata.xml: + Add Apache herd to metadata. + + 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> mod_ruby-1.2.2.ebuild, + mod_ruby-1.2.4.ebuild: + Convert to use elog. + + 20 Oct 2006; Aron Griffis <agriffis@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + Mark 1.2.4-r2 stable on alpha + + 09 Aug 2006; Simon Stelling <blubb@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + stable on amd64 + + 04 Jun 2006; Michael Stewart <vericgar@gentoo.org> + mod_ruby-1.2.4-r2.ebuild: + Address dependency issues caused by depend.apache. Refer to bug 107127. + + 09 Mar 2006; Aron Griffis <agriffis@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + Mark 1.2.4-r2 stable on ia64 + + 25 Feb 2006; Mark Loeser <halcy0n@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + Stable on x86; bug #121831 + + 17 Feb 2006; Joseph Jezak <josejx@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + Marked ppc stable for bug #121831. + + 15 Feb 2006; Markus Rothe <corsair@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + Stable on ppc64; bug #121831 + + 14 Dec 2005; Caleb Tennis <caleb@gentoo.org> mod_ruby-1.2.2.ebuild, + mod_ruby-1.2.4.ebuild: + Change PV to PF per bug #112668 + + 03 Oct 2005; Aron Griffis <agriffis@gentoo.org> mod_ruby-1.2.4-r2.ebuild: + Mark 1.2.4-r2 ~ia64 + + 24 Apr 2005; Simon Stelling <blubb@gentoo.org> mod_ruby-1.2.4.ebuild: + stable on amd64 + +*mod_ruby-1.2.4-r2 (13 Apr 2005) + + 13 Apr 2005; Caleb Tennis <caleb@gentoo.org> +files/21_mod_ruby.conf, + +mod_ruby-1.2.4-r2.ebuild: + Bump for file fixes in right spot (#77564) + + 08 Apr 2005; Caleb Tennis <caleb@gentoo.org> mod_ruby-1.2.4-r1.ebuild: + minor formatting fix (Bug #88316) + +*mod_ruby-1.2.4-r1 (23 Mar 2005) + + 23 Mar 2005; Caleb Tennis <caleb@gentoo.org> +mod_ruby-1.2.4-r1.ebuild: + New attempt at a apache-modules compliant ebuild + + 16 Dec 2004; Markus Rothe <corsair@gentoo.org> mod_ruby-1.2.4.ebuild: + Stable on ppc64 + + 09 Dec 2004; Mamoru KOMACHI <usata@gentoo.org> mod_ruby-1.2.4.ebuild: + Stable on x86, ppc and alpha. + + 01 Nov 2004; Markus Rothe <corsair@gentoo.org> mod_ruby-1.2.2.ebuild: + Marked ~ppc64; bug #67066 + +*mod_ruby-1.2.4 (20 Oct 2004) + + 20 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> -mod_ruby-1.2.0.ebuild, + mod_ruby-1.2.2.ebuild, +mod_ruby-1.2.4.ebuild: + Version bumped. + + 10 Oct 2004; Simon Stelling <blubb@gentoo.org> mod_ruby-1.2.2.ebuild: + added ~amd64 + +*mod_ruby-1.2.0 (22 Sep 2004) + + 22 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml, + +files/20_mod_ruby.conf, +files/mod_ruby.conf, +mod_ruby-1.0.7.ebuild, + +mod_ruby-1.2.0.ebuild, +mod_ruby-1.2.2.ebuild: + Renamed from mod-ruby. + +*mod-ruby-1.2.2 (24 Aug 2004) + + 24 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> -mod-ruby-1.1.3-r1.ebuild, + mod-ruby-1.2.0.ebuild, +mod-ruby-1.2.2.ebuild: + Version bumped. Marked previous version stable on x86 and alpha. + + 08 Jun 2004; Aron Griffis <agriffis@gentoo.org> mod-ruby-1.0.7.ebuild, + mod-ruby-1.1.3-r1.ebuild, mod-ruby-1.2.0.ebuild: + Fix use invocation and has_version mis-usage + +*mod-ruby-1.2.0 (22 May 2004) + + 22 May 2004; Mamoru KOMACHI <usata@gentoo.org> mod-ruby-1.0.7.ebuild, + mod-ruby-1.1.1-r2.ebuild, mod-ruby-1.1.3-r1.ebuild, mod-ruby-1.2.0.ebuild: + Version bumped. Corrected DESCRIPTION for 1.0.7, bug #51724. + Marked 1.1.3-r1 stable on x86 and alpha. Removed 1.1.1-r2 from CVS. + + 01 May 2004; Mamoru KOMACHI <usata@gentoo.org> mod-ruby-1.0.1.ebuild, + mod-ruby-1.0.7.ebuild, mod-ruby-1.1.3.ebuild: + Stable on x86. Removed old ebuilds. + +*mod-ruby-1.1.3-r1 (17 Apr 2004) + + 17 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> mod-ruby-1.1.1-r2.ebuild, + mod-ruby-1.1.3-r1.ebuild, files/mod_ruby.conf: + Fix configs for apache-1.x, thanks to Jeff Mitchell + <quixoticsycophant@yahoo.com> for the patch. Closing bug #27649 + + 11 Apr 2004; David Holm <dholm@gentoo.org> mod-ruby-1.1.3.ebuild: + Added to ~ppc. + +*mod-ruby-1.1.3 (10 Apr 2004) +*mod-ruby-1.0.7 (10 Apr 2004) + + 10 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> mod-ruby-0.9.7.ebuild, + mod-ruby-1.0.1.ebuild, mod-ruby-1.0.7.ebuild, mod-ruby-1.1.1-r2.ebuild, + mod-ruby-1.1.3.ebuild: + Version bumped (stable and development branch). Removed old ebuild and + marked 1.0.1 stable. virtual/ruby fix + +*mod-ruby-1.1.1-r2 (21 Feb 2004) + + 21 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> mod-ruby-1.1.1-r1.ebuild, + mod-ruby-1.1.1-r2.ebuild, mod-ruby-1.1.1.ebuild: + Fixed conditional statement when only apache2 is installed but apache2 + USE flag is not set. Closing bug #41458 + + 21 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> mod-ruby-1.1.1-r1.ebuild, + mod-ruby-1.1.1-r2.ebuild, mod-ruby-1.1.1.ebuild: + Fixed typo + + 10 Jun 2003; Tom Payne <twp@gentoo.org> mod-ruby-1.1.1-r1.ebuild : + Build and install docs if USE=doc. Bug # 20805. + +*mod-ruby-1.1.1 (10 May 2003) + + 10 May 2003; Tom Payne <twp@gentoo.org> mod-ruby-1.1.1.ebuild : + Version bump. Ebuild tidy. Experimental apache-1.3 support. Bugs # 16539 and 18916. + +*mod-ruby-1.0.1 (29 Nov 2002) + + 29 Nov 2002; Donny Davies <woodchip@gentoo.org> : + Updated for Apache2. + +*mod-ruby-0.9.7 (10 Mar 2002) + + 10 Mar 2002; Karl Trygve Kalleberg <karltk@gentoo.org> all : + mod_ruby embeds the Ruby interpreter into the Apache web server, allowing + Ruby CGI scripts to be executed natively. These scripts will start up much + faster than without mod_ruby. + + 07 Jul 2002; Aron Griffis <agriffis@gentoo.org> mod-ruby-0.9.7.ebuild: + Updated with LICENSE, KEYWORDS, SLOT. diff --git a/www-apache/mod_ruby/Manifest b/www-apache/mod_ruby/Manifest new file mode 100644 index 000000000000..7f389d6d03d3 --- /dev/null +++ b/www-apache/mod_ruby/Manifest @@ -0,0 +1,28 @@ +AUX 21_mod_ruby.conf 1281 RMD160 1ff18ac15c19e46fdf3107356eb6b0badca84fed SHA1 3374d500120d7a26c00a9ea1af235e9740adf19f SHA256 9795729cb0d17e525cdc8829fb36aabddb0e2a87849ebd186df814be33f97323 +MD5 d87224e9645bea207d6db5f6a2079e97 files/21_mod_ruby.conf 1281 +RMD160 1ff18ac15c19e46fdf3107356eb6b0badca84fed files/21_mod_ruby.conf 1281 +SHA256 9795729cb0d17e525cdc8829fb36aabddb0e2a87849ebd186df814be33f97323 files/21_mod_ruby.conf 1281 +DIST mod_ruby-1.2.4.tar.gz 107797 RMD160 720058d331207dcc79531fdb3bf9c4080834b2cc SHA1 758e1706944ab77a1547c88ceb0aadd69131d732 SHA256 de21cc60306100fab125ffcbc413e0128bac92133e5c1a3837d33c1cd2d6e269 +DIST mod_ruby-1.2.6.tar.gz 110886 RMD160 08a7beb415608d93b7e48b484e3969a08eec4f31 SHA1 3934fdb206a78baf9deb592334ef4d05400ea133 SHA256 d4e7385271a20309ce997f7460ea4a8805bb614ca3eb956d34f0934cce98685a +EBUILD mod_ruby-1.2.4-r2.ebuild 991 RMD160 d89545cdf5ebcdbfff91e5dd6c90277113596687 SHA1 c9199e614b72c0f71b26d3754b3c8d78d1d5e322 SHA256 e212700fb6f7a923e80a88d66f1e10c0c50ef91ca23ddedc45afc2bc0414ae0f +MD5 2f79aeebcc0cbba4eafc27fbe784b0fb mod_ruby-1.2.4-r2.ebuild 991 +RMD160 d89545cdf5ebcdbfff91e5dd6c90277113596687 mod_ruby-1.2.4-r2.ebuild 991 +SHA256 e212700fb6f7a923e80a88d66f1e10c0c50ef91ca23ddedc45afc2bc0414ae0f mod_ruby-1.2.4-r2.ebuild 991 +EBUILD mod_ruby-1.2.6.ebuild 993 RMD160 8655b832287ad1a59943bead4cd8516001d130ea SHA1 ebf57397816f0a19ed0ff60473886b9818612ca6 SHA256 85aee3cbd0ad415b3076d222c8ec91bdf2a47e3dbdb99b1fcd9dc1e1d491e0e4 +MD5 53bc10c3445b187c45a89e8febe66d8e mod_ruby-1.2.6.ebuild 993 +RMD160 8655b832287ad1a59943bead4cd8516001d130ea mod_ruby-1.2.6.ebuild 993 +SHA256 85aee3cbd0ad415b3076d222c8ec91bdf2a47e3dbdb99b1fcd9dc1e1d491e0e4 mod_ruby-1.2.6.ebuild 993 +MISC ChangeLog 6207 RMD160 afb874a4606ef8cca5d2839e15404d73050e1296 SHA1 9eac58f6911d3373dff575728ebcbe3e2f0e5c4c SHA256 87c685ba409070efaa541026af24c132e3a907c0c34913277dff11df18318e4b +MD5 790f27b41ba47a0d91f1c121aba60f66 ChangeLog 6207 +RMD160 afb874a4606ef8cca5d2839e15404d73050e1296 ChangeLog 6207 +SHA256 87c685ba409070efaa541026af24c132e3a907c0c34913277dff11df18318e4b ChangeLog 6207 +MISC metadata.xml 179 RMD160 046a67d39c9a5784800b120b3da44d67caa1f0af SHA1 31e15b20d55994a9989fff90a20847c1e76db2cb SHA256 d07e5a69f0aaee3b23884e0e414fad4aba70b9f4a115d2649714b8f1bd99d9fe +MD5 73837d39c976941977b0a4c4f68981a2 metadata.xml 179 +RMD160 046a67d39c9a5784800b120b3da44d67caa1f0af metadata.xml 179 +SHA256 d07e5a69f0aaee3b23884e0e414fad4aba70b9f4a115d2649714b8f1bd99d9fe metadata.xml 179 +MD5 75be4473dc459edc735afffc22e7286f files/digest-mod_ruby-1.2.4-r2 244 +RMD160 712cfc4c89c7e38d1395f382c8c13d8f238f5148 files/digest-mod_ruby-1.2.4-r2 244 +SHA256 57332d36af400be75bbc47ca681c829c106ea64be950486a83da38a498632272 files/digest-mod_ruby-1.2.4-r2 244 +MD5 fe074a4c5ee111013667a6bad247780f files/digest-mod_ruby-1.2.6 244 +RMD160 92303665c1be5f465db7ead5463c0dd77de6da2a files/digest-mod_ruby-1.2.6 244 +SHA256 6b44eb358d4387ed416c679db588825c6e33e30d5403b7ea923371ba20dfe73e files/digest-mod_ruby-1.2.6 244 diff --git a/www-apache/mod_ruby/files/21_mod_ruby.conf b/www-apache/mod_ruby/files/21_mod_ruby.conf new file mode 100644 index 000000000000..0f8eda7f28a6 --- /dev/null +++ b/www-apache/mod_ruby/files/21_mod_ruby.conf @@ -0,0 +1,55 @@ +<IfDefine RUBY> + <IfModule !mod_ruby.c> + LoadModule ruby_module modules/mod_ruby.so + </IfModule> +</IfDefine> + +# taken from the example file +# If the ruby module is installed, this will be enabled. +<IfModule mod_ruby.c> + # for Apache::RubyRun + RubyRequire apache/ruby-run + + # exec files under /ruby as ruby scripts. + <Location /ruby> + SetHandler ruby-object + RubyHandler Apache::RubyRun.instance + Options ExecCGI + </Location> + + # exec *.rbx as ruby scripts. + <Files *.rbx> + SetHandler ruby-object + RubyHandler Apache::RubyRun.instance + </Files> + + # # for Apache::ERubyRun + # RubyRequire apache/eruby-run + # + # # handle files under /eruby as eRuby files by eruby. + # <Location /eruby> + # SetHandler ruby-object + # RubyHandler Apache::ERubyRun.instance + # Options ExecCGI + # </Location> + # + # # handle *.rhtml as eruby files. + # <Files *.rhtml> + # SetHandler ruby-object + # RubyHandler Apache::ERubyRun.instance + # </Files> + + # # for Apache::ERbRun + # RubyRequire apache/erb-run + # + # # handle files under /erb as eRuby files by ERb. + # <Location /erb> + # SetHandler ruby-object + # RubyHandler Apache::ERbRun.instance + # Options ExecCGI + # </Location> + + # # for debug + # RubyRequire auto-reload +</IfModule> + diff --git a/www-apache/mod_ruby/files/digest-mod_ruby-1.2.4-r2 b/www-apache/mod_ruby/files/digest-mod_ruby-1.2.4-r2 new file mode 100644 index 000000000000..13a00484ef8c --- /dev/null +++ b/www-apache/mod_ruby/files/digest-mod_ruby-1.2.4-r2 @@ -0,0 +1,3 @@ +MD5 2b803c021297517eecb3dc6cf77b9534 mod_ruby-1.2.4.tar.gz 107797 +RMD160 720058d331207dcc79531fdb3bf9c4080834b2cc mod_ruby-1.2.4.tar.gz 107797 +SHA256 de21cc60306100fab125ffcbc413e0128bac92133e5c1a3837d33c1cd2d6e269 mod_ruby-1.2.4.tar.gz 107797 diff --git a/www-apache/mod_ruby/files/digest-mod_ruby-1.2.6 b/www-apache/mod_ruby/files/digest-mod_ruby-1.2.6 new file mode 100644 index 000000000000..8e4c8f1ac21d --- /dev/null +++ b/www-apache/mod_ruby/files/digest-mod_ruby-1.2.6 @@ -0,0 +1,3 @@ +MD5 299d8536f36e93197f6386e35c2a02c1 mod_ruby-1.2.6.tar.gz 110886 +RMD160 08a7beb415608d93b7e48b484e3969a08eec4f31 mod_ruby-1.2.6.tar.gz 110886 +SHA256 d4e7385271a20309ce997f7460ea4a8805bb614ca3eb956d34f0934cce98685a mod_ruby-1.2.6.tar.gz 110886 diff --git a/www-apache/mod_ruby/metadata.xml b/www-apache/mod_ruby/metadata.xml new file mode 100644 index 000000000000..7dcdaa3f775a --- /dev/null +++ b/www-apache/mod_ruby/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>apache</herd> + <herd>ruby</herd> +</pkgmetadata> diff --git a/www-apache/mod_ruby/mod_ruby-1.2.4-r2.ebuild b/www-apache/mod_ruby/mod_ruby-1.2.4-r2.ebuild new file mode 100644 index 000000000000..625b6dc6e85a --- /dev/null +++ b/www-apache/mod_ruby/mod_ruby-1.2.4-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ruby/mod_ruby-1.2.4-r2.ebuild,v 1.1 2007/08/19 12:34:20 phreak Exp $ + +inherit apache-module + +KEYWORDS="alpha amd64 ia64 ppc ppc64 ~sparc x86" + +DESCRIPTION="Embeds the Ruby interpreter into Apache." +HOMEPAGE="http://modruby.net/" +SRC_URI="http://modruby.net/archive/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +IUSE="doc" + +RDEPEND="virtual/ruby" +DEPEND="${RDEPEND} + doc? ( dev-ruby/rdtool )" + +APACHE2_MOD_CONF="21_mod_ruby" +APACHE2_MOD_DEFINE="RUBY" +APACHE2_MOD_FILE="${PN}.so" + +DOCFILES="ChangeLog COPYING README.*" + +need_apache + +src_compile() { + ./configure.rb --with-apxs=${APXS2} + + emake || die "emake failed" + + if use doc ; then + cd doc + emake || die "emake doc failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use doc ; then + dohtml doc/*.css doc/*.html + fi + + apache-module_src_install +} diff --git a/www-apache/mod_ruby/mod_ruby-1.2.6.ebuild b/www-apache/mod_ruby/mod_ruby-1.2.6.ebuild new file mode 100644 index 000000000000..e968d956e1cb --- /dev/null +++ b/www-apache/mod_ruby/mod_ruby-1.2.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_ruby/mod_ruby-1.2.6.ebuild,v 1.1 2007/08/19 12:34:20 phreak Exp $ + +inherit apache-module + +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DESCRIPTION="Embeds the Ruby interpreter into Apache." +HOMEPAGE="http://modruby.net/" +SRC_URI="http://modruby.net/archive/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +IUSE="doc" + +RDEPEND="virtual/ruby" +DEPEND="${RDEPEND} + doc? ( dev-ruby/rdtool )" + +APACHE2_MOD_CONF="21_mod_ruby" +APACHE2_MOD_DEFINE="RUBY" +APACHE2_MOD_FILE="${PN}.so" + +DOCFILES="ChangeLog COPYING README.*" + +need_apache + +src_compile() { + ./configure.rb --with-apxs=${APXS2} + + emake || die "emake failed" + + if use doc ; then + cd doc + emake || die "emake doc failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use doc ; then + dohtml doc/*.css doc/*.html + fi + + apache-module_src_install +} |