diff options
author | Hans de Graaff <graaff@gentoo.org> | 2007-11-25 08:57:09 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2007-11-25 08:57:09 +0000 |
commit | 90e12e44c6ed9b4bdf22efa475714186d9539ccb (patch) | |
tree | b8b0c7c034f88de50fa1b8d8c61ab880d28e03ee | |
parent | Add addpredict to workaround sandbox violation, bug #197705. (diff) | |
download | gentoo-2-90e12e44c6ed9b4bdf22efa475714186d9539ccb.tar.gz gentoo-2-90e12e44c6ed9b4bdf22efa475714186d9539ccb.tar.bz2 gentoo-2-90e12e44c6ed9b4bdf22efa475714186d9539ccb.zip |
Version bump for Rails 1.2.6, security bug #200159
(Portage version: 2.1.3.19)
-rw-r--r-- | dev-ruby/rails/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rails/files/digest-rails-1.2.6 | 3 | ||||
-rw-r--r-- | dev-ruby/rails/rails-1.2.6.ebuild | 48 |
3 files changed, 57 insertions, 1 deletions
diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog index a9a1e69bf3a3..39e544ac3a15 100644 --- a/dev-ruby/rails/ChangeLog +++ b/dev-ruby/rails/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rails # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.87 2007/10/21 15:24:43 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.88 2007/11/25 08:57:08 graaff Exp $ + +*rails-1.2.6 (25 Nov 2007) + + 25 Nov 2007; Hans de Graaff <graaff@gentoo.org> +rails-1.2.6.ebuild: + Version bump for Rails 1.2.6, security bug #200159 21 Oct 2007; Steve Dibb <beandog@gentoo.org> rails-1.2.5.ebuild: amd64 stable, security bug 195315 diff --git a/dev-ruby/rails/files/digest-rails-1.2.6 b/dev-ruby/rails/files/digest-rails-1.2.6 new file mode 100644 index 000000000000..57edd8bf8775 --- /dev/null +++ b/dev-ruby/rails/files/digest-rails-1.2.6 @@ -0,0 +1,3 @@ +MD5 4c4a58ef8e703199f97ddb15791e2541 rails-1.2.6.gem 170496 +RMD160 7058ee6e30cea36fe4f106c42662c9617106cb6d rails-1.2.6.gem 170496 +SHA256 5e83cfc2a47d9c4bb5390ffee63e69b32034da281d51b2955c605dcdbecf5c79 rails-1.2.6.gem 170496 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 +} |