Remove old, redundant versions.
authorLuca Longinotti <chtekk@gentoo.org>
Sat, 13 Jan 2007 18:38:28 +0000 (18:38 +0000)
committerLuca Longinotti <chtekk@gentoo.org>
Sat, 13 Jan 2007 18:38:28 +0000 (18:38 +0000)
Package-Manager: portage-2.1.2_rc4-r8

dev-ruby/mod_ruby/Manifest
dev-ruby/mod_ruby/files/20_mod_ruby.conf [deleted file]
dev-ruby/mod_ruby/files/digest-mod_ruby-1.0.7 [deleted file]
dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.2 [deleted file]
dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.4 [deleted file]
dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.4-r1 [deleted file]
dev-ruby/mod_ruby/mod_ruby-1.0.7.ebuild [deleted file]
dev-ruby/mod_ruby/mod_ruby-1.2.2.ebuild [deleted file]
dev-ruby/mod_ruby/mod_ruby-1.2.4-r1.ebuild [deleted file]
dev-ruby/mod_ruby/mod_ruby-1.2.4.ebuild [deleted file]

index bd24207da0a1fb92411f495bebe46092b478fd6e..8ade1db3c29283e5bdfe3e84c937f27233dcee6a 100644 (file)
@@ -1,7 +1,3 @@
-AUX 20_mod_ruby.conf 1286 RMD160 63e256f13bd8066171c84d61bc0c202de4f1c714 SHA1 1fa26c317205a04186fc0d81b2ffff25fb017783 SHA256 f1dd0a2f073c2d08246e04415590f7a82d4ab1e4daccb6fe673ee7fc39cc2183
-MD5 9212f9bc81514ddee76f6c4251ca71c3 files/20_mod_ruby.conf 1286
-RMD160 63e256f13bd8066171c84d61bc0c202de4f1c714 files/20_mod_ruby.conf 1286
-SHA256 f1dd0a2f073c2d08246e04415590f7a82d4ab1e4daccb6fe673ee7fc39cc2183 files/20_mod_ruby.conf 1286
 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
@@ -10,49 +6,19 @@ AUX mod_ruby.conf 846 RMD160 3ae644cfa6fcaf4377b7b8fc9a7b44197ad68935 SHA1 e6148
 MD5 70674a49abbe9321ac65cf4932c0ad23 files/mod_ruby.conf 846
 RMD160 3ae644cfa6fcaf4377b7b8fc9a7b44197ad68935 files/mod_ruby.conf 846
 SHA256 ba70a1f748fd03707be5ef80388a0b0b7c455802286f108de2b195c0a9ce2814 files/mod_ruby.conf 846
-DIST mod_ruby-1.0.7.tar.gz 69035 RMD160 db5c0314d6f1e91ded87088339c358df8ef7757d SHA1 c9738ef257c266e67456b4a3f87868b3f65e7372 SHA256 89c64c337f5cfe15d85c271ee073d40d63ea90b7e7865ea6dc4f76d2b17f923c
-DIST mod_ruby-1.2.2.tar.gz 93925 RMD160 4ab174ef26fdf5b91ceccbe22c9111ae9f8eb46f SHA1 70f3ecb54186d76694589c31b1ad1cb454ad7d31 SHA256 4ee92cede6c80e6f7cb62417a0601f716a22278ae52b05e33b81b9b54668176a
 DIST mod_ruby-1.2.4.tar.gz 107797 RMD160 720058d331207dcc79531fdb3bf9c4080834b2cc SHA1 758e1706944ab77a1547c88ceb0aadd69131d732 SHA256 de21cc60306100fab125ffcbc413e0128bac92133e5c1a3837d33c1cd2d6e269
-EBUILD mod_ruby-1.0.7.ebuild 927 RMD160 ee8a34425a2b0923c8401af9a984b85af7763ac3 SHA1 c7de662e9301a89beab527e4a0e50d6b17b9f1aa SHA256 5c7d5380384909259158f3a36b28a01fbc77b83f96ddf9c35c549f0d353e2185
-MD5 0a3b2010518d678dcb74dacf8511fe28 mod_ruby-1.0.7.ebuild 927
-RMD160 ee8a34425a2b0923c8401af9a984b85af7763ac3 mod_ruby-1.0.7.ebuild 927
-SHA256 5c7d5380384909259158f3a36b28a01fbc77b83f96ddf9c35c549f0d353e2185 mod_ruby-1.0.7.ebuild 927
-EBUILD mod_ruby-1.2.2.ebuild 1922 RMD160 718ecfa76cc1f983af0e81654278b73e28999e4d SHA1 b05710095b600400583e9ad25a8f42dba0746950 SHA256 621143ad0caf841d4cfba9a1b67ab31a3646bda850a5bc40967af99a19cd947e
-MD5 7bc3f30928f7661de325aa29d0d6861e mod_ruby-1.2.2.ebuild 1922
-RMD160 718ecfa76cc1f983af0e81654278b73e28999e4d mod_ruby-1.2.2.ebuild 1922
-SHA256 621143ad0caf841d4cfba9a1b67ab31a3646bda850a5bc40967af99a19cd947e mod_ruby-1.2.2.ebuild 1922
-EBUILD mod_ruby-1.2.4-r1.ebuild 1136 RMD160 ad1077baa9e016eb60083850ac828748970d411c SHA1 9cd51b7a8ae15ff82a57c2e33d86b8f40f01a87b SHA256 7028b87c15a483c5bee0f4f9c3ba81bc7e3eae087ce9604f55ac8c62fe331e12
-MD5 2b4d5ae65d1dc92adf5c70292819be42 mod_ruby-1.2.4-r1.ebuild 1136
-RMD160 ad1077baa9e016eb60083850ac828748970d411c mod_ruby-1.2.4-r1.ebuild 1136
-SHA256 7028b87c15a483c5bee0f4f9c3ba81bc7e3eae087ce9604f55ac8c62fe331e12 mod_ruby-1.2.4-r1.ebuild 1136
 EBUILD mod_ruby-1.2.4-r2.ebuild 1187 RMD160 c69c4d4b372021dce0104af201972b3bd3dfd249 SHA1 6eb921f1652385213bd0c25c8d0509249e93365a SHA256 e0d9f1b8c74fe660cebab68b09c39d7db3c9e51ca65fc277fd0ca84b4d3e95a3
 MD5 458b5e8dcbce71e138a208c3c3c028c5 mod_ruby-1.2.4-r2.ebuild 1187
 RMD160 c69c4d4b372021dce0104af201972b3bd3dfd249 mod_ruby-1.2.4-r2.ebuild 1187
 SHA256 e0d9f1b8c74fe660cebab68b09c39d7db3c9e51ca65fc277fd0ca84b4d3e95a3 mod_ruby-1.2.4-r2.ebuild 1187
-EBUILD mod_ruby-1.2.4.ebuild 1920 RMD160 18139f2b45f8eee4d4a6cd0f51023e482511b01a SHA1 eb870d7ffe2edb3c834d96035779f1596a88876b SHA256 2ce73986765b4b7d861d0a7a446d8c3b824d4c03e1d961d19951d2ec2b5ac983
-MD5 8b670a664910f41977031b1ec0213751 mod_ruby-1.2.4.ebuild 1920
-RMD160 18139f2b45f8eee4d4a6cd0f51023e482511b01a mod_ruby-1.2.4.ebuild 1920
-SHA256 2ce73986765b4b7d861d0a7a446d8c3b824d4c03e1d961d19951d2ec2b5ac983 mod_ruby-1.2.4.ebuild 1920
-MISC ChangeLog 5593 RMD160 cc8b96af14c2fc75720639225821706649be989b SHA1 60a632ca4855fc3d543c572a1fb0781d41f30bc9 SHA256 1503a4b433ac6c5f23398feffda9c981527c4f90b718eed34cc4b65fbfa121df
-MD5 facf31996987914b9ea29da1ab0bc8a8 ChangeLog 5593
-RMD160 cc8b96af14c2fc75720639225821706649be989b ChangeLog 5593
-SHA256 1503a4b433ac6c5f23398feffda9c981527c4f90b718eed34cc4b65fbfa121df ChangeLog 5593
+MISC ChangeLog 5796 RMD160 fe46e905ae232ec4b85b687a5d635767031b7394 SHA1 fb7cb1e752cf06005bf97dee4389c7d3a498fde7 SHA256 4cefed58aa6822797c457aad988e226f32e6fa7c6df5e7418049c8d29be670d1
+MD5 e0c424df9c1131971847e27df2da52a0 ChangeLog 5796
+RMD160 fe46e905ae232ec4b85b687a5d635767031b7394 ChangeLog 5796
+SHA256 4cefed58aa6822797c457aad988e226f32e6fa7c6df5e7418049c8d29be670d1 ChangeLog 5796
 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 aca39b9e14c45cbe05fd584997ccf335 files/digest-mod_ruby-1.0.7 241
-RMD160 fd64085aa9f793b470fd26fe5b20c2271779b651 files/digest-mod_ruby-1.0.7 241
-SHA256 91e6f6c724a401ab926ef45b1dd9fa03bd77ab7870ca840f1f0f5f4b8f6bc5f4 files/digest-mod_ruby-1.0.7 241
-MD5 bd37f37740aa643373e6bf82e09a9fd1 files/digest-mod_ruby-1.2.2 241
-RMD160 380c1abd136c62dc31a520c9d124a3e93503d608 files/digest-mod_ruby-1.2.2 241
-SHA256 b192ffad2a91ab485a3f7a26db42a109d8b549a93ccd39c442b6702ee6ed1841 files/digest-mod_ruby-1.2.2 241
-MD5 75be4473dc459edc735afffc22e7286f files/digest-mod_ruby-1.2.4 244
-RMD160 712cfc4c89c7e38d1395f382c8c13d8f238f5148 files/digest-mod_ruby-1.2.4 244
-SHA256 57332d36af400be75bbc47ca681c829c106ea64be950486a83da38a498632272 files/digest-mod_ruby-1.2.4 244
-MD5 75be4473dc459edc735afffc22e7286f files/digest-mod_ruby-1.2.4-r1 244
-RMD160 712cfc4c89c7e38d1395f382c8c13d8f238f5148 files/digest-mod_ruby-1.2.4-r1 244
-SHA256 57332d36af400be75bbc47ca681c829c106ea64be950486a83da38a498632272 files/digest-mod_ruby-1.2.4-r1 244
 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
diff --git a/dev-ruby/mod_ruby/files/20_mod_ruby.conf b/dev-ruby/mod_ruby/files/20_mod_ruby.conf
deleted file mode 100644 (file)
index e480b3e..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<IfDefine RUBY>
-  <IfModule !mod_ruby.c>
-    LoadModule ruby_module    extramodules/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/dev-ruby/mod_ruby/files/digest-mod_ruby-1.0.7 b/dev-ruby/mod_ruby/files/digest-mod_ruby-1.0.7
deleted file mode 100644 (file)
index cf5b851..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b03bb4e2fe58f6f3251a8aa168364221 mod_ruby-1.0.7.tar.gz 69035
-RMD160 db5c0314d6f1e91ded87088339c358df8ef7757d mod_ruby-1.0.7.tar.gz 69035
-SHA256 89c64c337f5cfe15d85c271ee073d40d63ea90b7e7865ea6dc4f76d2b17f923c mod_ruby-1.0.7.tar.gz 69035
diff --git a/dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.2 b/dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.2
deleted file mode 100644 (file)
index a729bbe..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 786d740c84ec6aba73d0450b546b4642 mod_ruby-1.2.2.tar.gz 93925
-RMD160 4ab174ef26fdf5b91ceccbe22c9111ae9f8eb46f mod_ruby-1.2.2.tar.gz 93925
-SHA256 4ee92cede6c80e6f7cb62417a0601f716a22278ae52b05e33b81b9b54668176a mod_ruby-1.2.2.tar.gz 93925
diff --git a/dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.4 b/dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.4
deleted file mode 100644 (file)
index 13a0048..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-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/dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.4-r1 b/dev-ruby/mod_ruby/files/digest-mod_ruby-1.2.4-r1
deleted file mode 100644 (file)
index 13a0048..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-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/dev-ruby/mod_ruby/mod_ruby-1.0.7.ebuild b/dev-ruby/mod_ruby/mod_ruby-1.0.7.ebuild
deleted file mode 100644 (file)
index 86ca68b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod_ruby/mod_ruby-1.0.7.ebuild,v 1.2 2005/03/23 16:39:06 caleb Exp $
-
-DESCRIPTION="An Apache2 DSO providing an embedded Ruby interpreter"
-HOMEPAGE="http://www.modruby.net/"
-
-SRC_URI="http://www.modruby.net/archive/${P}.tar.gz"
-DEPEND="virtual/ruby
-       =net-www/apache-2*"
-LICENSE="BSD"
-KEYWORDS="x86"
-IUSE=""
-SLOT="0"
-
-src_compile() {
-       ./configure.rb --with-apxs=/usr/sbin/apxs2 || die "configure.rb failed"
-       sed -i -e 's|usr/lib/apache2/modules|usr/lib/apache2-extramodules|' Makefile \
-               || die "sed failed"
-       emake || die "emake failed"
-}
-
-src_install() {
-       make DESTDIR=${D} install || die "make install failed"
-       insinto /etc/apache2/conf/modules.d
-       doins ${FILESDIR}/20_mod_ruby.conf || die
-       dodoc ${FILESDIR}/20_mod_ruby.conf || die
-       dodoc ChangeLog COPYING README* || die
-}
diff --git a/dev-ruby/mod_ruby/mod_ruby-1.2.2.ebuild b/dev-ruby/mod_ruby/mod_ruby-1.2.2.ebuild
deleted file mode 100644 (file)
index 2a3a5de..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod_ruby/mod_ruby-1.2.2.ebuild,v 1.8 2007/01/05 16:47:32 flameeyes Exp $
-
-DESCRIPTION="Embeds the Ruby interpreter into Apache"
-HOMEPAGE="http://modruby.net/"
-SRC_URI="http://modruby.net/archive/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-# 1.2.X -> stable branch; 1.3.Y -> development branch
-KEYWORDS="alpha ~sparc x86 ppc ~amd64 ~ppc64"
-IUSE="apache2 doc"
-DEPEND=">=net-www/apache-1.3.3
-       virtual/ruby
-       doc? ( dev-ruby/rdtool )"
-
-apache2-detect() {
-       use apache2 || ! has_version '=net-www/apache-1*'
-}
-
-src_compile() {
-
-       local two
-       if apache2-detect ; then
-               two="2"
-       else    # apache1
-               ewarn "apache 1.3.x support is UNTESTED"
-               two=""
-       fi
-
-       ./configure.rb --with-apxs=/usr/sbin/apxs${two}
-
-       sed -i -e "s:\(^APACHE_LIBEXECDIR = \$(DESTDIR)/usr/lib/apache${two}\)/modules:\1-extramodules:" Makefile
-
-       emake || die
-
-       if use doc; then
-               cd doc
-               emake
-       fi
-}
-
-src_install() {
-
-       make DESTDIR=${D} install || die
-
-       if apache2-detect ; then
-               insinto /etc/apache2/conf/modules.d
-               doins ${FILESDIR}/20_mod_ruby.conf
-       else    # apache1
-               insinto /etc/apache/conf/addon-modules
-               doins ${FILESDIR}/mod_ruby.conf
-       fi
-
-       dodoc ChangeLog COPYING README.*
-
-       if use doc; then
-               dohtml doc/*.css doc/*.html
-       fi
-
-}
-
-pkg_postinst() {
-       if apache2-detect ; then
-               elog "To enable mod_ruby, edit /etc/conf.d/apache2 and add \"-D RUBY\""
-               elog "You may also wish to edit /etc/apache2/conf/modules.d/20_mod_ruby.conf"
-       else    # apache1
-               elog "To enable mod_ruby:"
-               elog "1. Run \"emerge --config =${PF}\""
-               elog "2. Edit /etc/conf.d/apache and add \"-D RUBY\""
-       fi
-       elog "You must restart apache for changes to take effect"
-}
-
-pkg_config() {
-       if ! apache2-detect ; then
-               echo -e "<IfDefine RUBY>\n Include conf/addon-modules/mod_ruby.conf\n</IfDefine>" \
-               >> ${ROOT}/etc/apache/conf/apache.conf
-       fi
-}
diff --git a/dev-ruby/mod_ruby/mod_ruby-1.2.4-r1.ebuild b/dev-ruby/mod_ruby/mod_ruby-1.2.4-r1.ebuild
deleted file mode 100644 (file)
index 9d47c49..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod_ruby/mod_ruby-1.2.4-r1.ebuild,v 1.2 2005/04/08 12:26:55 caleb Exp $
-
-inherit apache-module
-
-DESCRIPTION="Embeds the Ruby interpreter into Apache"
-HOMEPAGE="http://modruby.net/"
-SRC_URI="http://modruby.net/archive/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~sparc ~x86 ~ppc ~amd64 ~ppc64"
-IUSE="doc"
-
-DEPEND="virtual/ruby
-       doc? ( dev-ruby/rdtool )"
-
-APACHE1_MOD_CONF="/mod_ruby"
-APACHE2_MOD_CONF="20_mod_ruby"
-APACHE1_MOD_DEFINE="RUBY"
-APACHE2_MOD_DEFINE="RUBY"
-APACHE1_MOD_FILE="$S/mod_ruby.so"
-APACHE2_MOD_FILE="$S/mod_ruby.so"
-DOCFILES="ChangeLog COPYING README.* doc/*.html doc/*.css"
-
-need_apache
-
-src_compile() {
-       if [ "${APACHE_VERSION}" == "2" ]; then
-               APXS=${APXS2}
-               APACHE_BASEDIR=${APACHE2_BASEDIR}
-       else
-               APXS=${APXS1}
-               APACHE_BASEDIR=${APACHE1_BASEDIR}
-       fi
-
-       ./configure.rb --with-apxs=${APXS}
-
-#      sed -i -e "s:\(^APACHE_LIBEXECDIR = \$(DESTDIR)${APACHE_BASEDIR}\)/modules:\1-extramodules:" Makefile
-       emake || die
-
-       if use doc; then
-               cd doc
-               emake
-       fi
-}
diff --git a/dev-ruby/mod_ruby/mod_ruby-1.2.4.ebuild b/dev-ruby/mod_ruby/mod_ruby-1.2.4.ebuild
deleted file mode 100644 (file)
index 79164b7..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mod_ruby/mod_ruby-1.2.4.ebuild,v 1.9 2007/01/05 16:47:32 flameeyes Exp $
-
-DESCRIPTION="Embeds the Ruby interpreter into Apache"
-HOMEPAGE="http://modruby.net/"
-SRC_URI="http://modruby.net/archive/${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-# 1.2.X -> stable branch; 1.3.Y -> development branch
-KEYWORDS="alpha ~sparc x86 ppc amd64 ppc64"
-IUSE="apache2 doc"
-DEPEND=">=net-www/apache-1.3.3
-       virtual/ruby
-       doc? ( dev-ruby/rdtool )"
-
-apache2-detect() {
-       use apache2 || ! has_version '=net-www/apache-1*'
-}
-
-src_compile() {
-
-       local two
-       if apache2-detect ; then
-               two="2"
-       else    # apache1
-               ewarn "apache 1.3.x support is UNTESTED"
-               two=""
-       fi
-
-       ./configure.rb --with-apxs=/usr/sbin/apxs${two}
-
-       sed -i -e "s:\(^APACHE_LIBEXECDIR = \$(DESTDIR)/usr/lib/apache${two}\)/modules:\1-extramodules:" Makefile
-
-       emake || die
-
-       if use doc; then
-               cd doc
-               emake
-       fi
-}
-
-src_install() {
-
-       make DESTDIR=${D} install || die
-
-       if apache2-detect ; then
-               insinto /etc/apache2/conf/modules.d
-               doins ${FILESDIR}/20_mod_ruby.conf
-       else    # apache1
-               insinto /etc/apache/conf/addon-modules
-               doins ${FILESDIR}/mod_ruby.conf
-       fi
-
-       dodoc ChangeLog COPYING README.*
-
-       if use doc; then
-               dohtml doc/*.css doc/*.html
-       fi
-
-}
-
-pkg_postinst() {
-       if apache2-detect ; then
-               elog "To enable mod_ruby, edit /etc/conf.d/apache2 and add \"-D RUBY\""
-               elog "You may also wish to edit /etc/apache2/conf/modules.d/20_mod_ruby.conf"
-       else    # apache1
-               elog "To enable mod_ruby:"
-               elog "1. Run \"emerge --config =${PF}\""
-               elog "2. Edit /etc/conf.d/apache and add \"-D RUBY\""
-       fi
-       elog "You must restart apache for changes to take effect"
-}
-
-pkg_config() {
-       if ! apache2-detect ; then
-               echo -e "<IfDefine RUBY>\n Include conf/addon-modules/mod_ruby.conf\n</IfDefine>" \
-               >> ${ROOT}/etc/apache/conf/apache.conf
-       fi
-}