Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rails: ChangeLog rails-2.1.2.ebuild
Date: Fri, 24 Oct 2008 12:23:07
Message-Id: E1KtLh2-0008QE-QZ@stork.gentoo.org
1 graaff 08/10/24 12:23:04
2
3 Modified: ChangeLog
4 Added: rails-2.1.2.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.114 dev-ruby/rails/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.114&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.114&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.113&r2=1.114
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v
19 retrieving revision 1.113
20 retrieving revision 1.114
21 diff -u -r1.113 -r1.114
22 --- ChangeLog 20 Oct 2008 19:35:46 -0000 1.113
23 +++ ChangeLog 24 Oct 2008 12:23:04 -0000 1.114
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/rails
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.113 2008/10/20 19:35:46 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.114 2008/10/24 12:23:04 graaff Exp $
29 +
30 +*rails-2.1.2 (24 Oct 2008)
31 +
32 + 24 Oct 2008; Hans de Graaff <graaff@g.o> +rails-2.1.2.ebuild:
33 + Version bump. Fixes security issue #242914 (header-injection) and #237285.
34 + Also features minor fixes.
35
36 *rails-2.0.5 (20 Oct 2008)
37
38
39
40
41 1.1 dev-ruby/rails/rails-2.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rails-2.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.1.2.ebuild,v 1.1 2008/10/24 12:23:04 graaff Exp $
51
52 inherit ruby gems
53
54 DESCRIPTION="ruby on rails is a web-application and persistance framework"
55 HOMEPAGE="http://www.rubyonrails.org"
56
57 LICENSE="MIT"
58 SLOT="2.1"
59 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60
61 IUSE="fastcgi"
62 DEPEND=">=dev-lang/ruby-1.8.5
63 >=app-admin/eselect-rails-0.12
64 >=dev-ruby/rake-0.8.1
65 ~dev-ruby/activerecord-2.1.2
66 ~dev-ruby/activeresource-2.1.2
67 ~dev-ruby/activesupport-2.1.2
68 ~dev-ruby/actionmailer-2.1.2
69 ~dev-ruby/actionpack-2.1.2
70 !<dev-ruby/rails-1.1.6-r1"
71
72 RDEPEND="${DEPEND}
73 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )"
74
75 src_install() {
76 gems_src_install
77 # Rename slotted files that may clash so that eselect can handle
78 # them
79 mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}"
80 mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}"
81 }
82
83 pkg_postinst() {
84 einfo "To select between slots of rails, use:"
85 einfo "\teselect rails"
86 # Bring users to rails 2.1.x by default when updating
87 eselect rails update 2.1
88
89 ewarn "All database USE flags have been moved to dev-ruby/activerecord"
90 }
91
92 pkg_postrm() {
93 # Drop users back to rails 2.0.x when they remove 2.1.x
94 eselect rails update 2
95 }