summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-11-25 08:57:09 +0000
committerHans de Graaff <graaff@gentoo.org>2007-11-25 08:57:09 +0000
commitb936cf9e5ff4d676546d4b24cb4acb9bfc0bad28 (patch)
tree7f4ba66dc91db7ac7961d3d643abc5517de40091 /dev-ruby/rails/rails-1.2.6.ebuild
parentAdd addpredict to workaround sandbox violation, bug #197705. (diff)
downloadhistorical-b936cf9e5ff4d676546d4b24cb4acb9bfc0bad28.tar.gz
historical-b936cf9e5ff4d676546d4b24cb4acb9bfc0bad28.tar.bz2
historical-b936cf9e5ff4d676546d4b24cb4acb9bfc0bad28.zip
Version bump for Rails 1.2.6, security bug #200159
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-ruby/rails/rails-1.2.6.ebuild')
-rw-r--r--dev-ruby/rails/rails-1.2.6.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/rails/rails-1.2.6.ebuild b/dev-ruby/rails/rails-1.2.6.ebuild
new file mode 100644
index 000000000000..eddc46ba57a9
--- /dev/null
+++ b/dev-ruby/rails/rails-1.2.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.2.6.ebuild,v 1.1 2007/11/25 08:57:08 graaff Exp $
+
+inherit ruby gems
+
+DESCRIPTION="ruby on rails is a web-application and persistance framework"
+HOMEPAGE="http://www.rubyonrails.org"
+
+LICENSE="MIT"
+SLOT="1.2"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+
+IUSE="mysql sqlite sqlite3 postgres fastcgi"
+DEPEND=">=dev-lang/ruby-1.8.5
+ app-admin/eselect-rails
+ >=dev-ruby/rake-0.7.2
+ =dev-ruby/activerecord-1.15.6
+ =dev-ruby/actionmailer-1.3.6
+ =dev-ruby/actionwebservice-1.2.6
+ =dev-ruby/activesupport-1.4.4
+ =dev-ruby/actionpack-1.13.6
+ !<dev-ruby/rails-1.1.6-r1"
+
+RDEPEND="${DEPEND}
+ fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )
+ sqlite? ( >=dev-ruby/sqlite-ruby-2.2.2 )
+ sqlite3? ( dev-ruby/sqlite3-ruby )
+ mysql? ( >=dev-ruby/mysql-ruby-2.7 )
+ postgres? ( >=dev-ruby/ruby-postgres-0.7.1 )"
+
+src_install() {
+ gems_src_install
+ # Rename slotted files that may clash so that eselect can handle
+ # them
+ mv ${D}/usr/bin/rails ${D}/usr/bin/rails-${PV}
+ mv ${D}/${GEMSDIR}/bin/rails ${D}/${GEMSDIR}/bin/rails-${PV}
+}
+
+pkg_postinst() {
+ einfo "To select between slots of rails, use:"
+ einfo "\teselect rails"
+ eselect rails update --if-unset
+}
+
+pkg_postrm() {
+ eselect rails update --if-unset
+}