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.3.4.ebuild |
Date: | Fri, 04 Sep 2009 01:21:51 |
Message-Id: | E1MjSJN-0003ei-Gm@stork.gentoo.org |
1 | graaff 09/09/04 06:30:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rails-2.3.4.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.143 dev-ruby/rails/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.143&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.143&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.142&r2=1.143 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v |
19 | retrieving revision 1.142 |
20 | retrieving revision 1.143 |
21 | diff -u -r1.142 -r1.143 |
22 | --- ChangeLog 16 Aug 2009 14:31:02 -0000 1.142 |
23 | +++ ChangeLog 4 Sep 2009 06:30:17 -0000 1.143 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-ruby/rails |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.142 2009/08/16 14:31:02 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.143 2009/09/04 06:30:17 graaff Exp $ |
29 | + |
30 | +*rails-2.3.4 (04 Sep 2009) |
31 | + |
32 | + 04 Sep 2009; Hans de Graaff <graaff@g.o> +rails-2.3.4.ebuild: |
33 | + Version bump: fix security issues reported in #283396. |
34 | |
35 | 16 Aug 2009; Raúl Porcel <armin76@g.o> rails-2.3.3.ebuild: |
36 | Add ~ia64 wrt #279123 |
37 | |
38 | |
39 | |
40 | 1.1 dev-ruby/rails/rails-2.3.4.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.3.4.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.3.4.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: rails-2.3.4.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.3.4.ebuild,v 1.1 2009/09/04 06:30:17 graaff Exp $ |
50 | |
51 | inherit ruby gems |
52 | USE_RUBY="ruby18 ruby19" |
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.3" |
59 | KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
60 | |
61 | IUSE="fastcgi" |
62 | DEPEND=">=dev-lang/ruby-1.8.6 |
63 | >=app-admin/eselect-rails-0.15 |
64 | >=dev-ruby/rake-0.8.3 |
65 | ~dev-ruby/activerecord-2.3.4 |
66 | ~dev-ruby/activeresource-2.3.4 |
67 | ~dev-ruby/activesupport-2.3.4 |
68 | ~dev-ruby/actionmailer-2.3.4 |
69 | ~dev-ruby/actionpack-2.3.4" |
70 | |
71 | RDEPEND="${DEPEND} |
72 | fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 ) |
73 | >=dev-ruby/rubygems-1.3.1" |
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 | sed -i -e "s/>= 0/${PV}/" "${D}/usr/bin/rails-${PV}" |
81 | mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}" |
82 | } |
83 | |
84 | pkg_postinst() { |
85 | einfo "To select between slots of rails, use:" |
86 | einfo "\teselect rails" |
87 | |
88 | eselect rails update |
89 | } |
90 | |
91 | pkg_postrm() { |
92 | eselect rails update |
93 | } |