diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-10-03 05:46:07 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2006-10-03 05:46:07 +0000 |
commit | 47819040d6d0138a36c34f88bd7357017450056a (patch) | |
tree | 3a6b9ceebad3ac25401519addd5be5c4d9b18c35 /dev-ruby/rails | |
parent | version bump (bug #147531) (diff) | |
download | gentoo-2-47819040d6d0138a36c34f88bd7357017450056a.tar.gz gentoo-2-47819040d6d0138a36c34f88bd7357017450056a.tar.bz2 gentoo-2-47819040d6d0138a36c34f88bd7357017450056a.zip |
Removed old ebuilds. Added 1.1.6-r1 to ignore lighttpd older than 1.4.10 (bug #133500)
(Portage version: 2.1.1)
Diffstat (limited to 'dev-ruby/rails')
-rw-r--r-- | dev-ruby/rails/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/rails/files/1.1.6-deprecate-old-lighttpd.patch | 17 | ||||
-rw-r--r-- | dev-ruby/rails/files/digest-rails-1.1.6-r1 | 3 | ||||
-rw-r--r-- | dev-ruby/rails/rails-1.1.6-r1.ebuild | 34 |
4 files changed, 64 insertions, 1 deletions
diff --git a/dev-ruby/rails/ChangeLog b/dev-ruby/rails/ChangeLog index 73dc9ba9f2c5..2e7b3ca4b987 100644 --- a/dev-ruby/rails/ChangeLog +++ b/dev-ruby/rails/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-ruby/rails # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.65 2006/09/02 21:47:22 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.66 2006/10/03 05:46:07 pclouds Exp $ + +*rails-1.1.6-r1 (03 Oct 2006) + + 03 Oct 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org> + +files/1.1.6-deprecate-old-lighttpd.patch, -rails-1.1.2.ebuild, + -rails-1.1.3.ebuild, -rails-1.1.4.ebuild, -rails-1.1.5.ebuild, + +rails-1.1.6-r1.ebuild: + Removed old ebuilds. Added 1.1.6-r1 to ignore lighttpd older than 1.4.10 + (bug #133500) 02 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> rails-1.1.6.ebuild: Stable on ia64. diff --git a/dev-ruby/rails/files/1.1.6-deprecate-old-lighttpd.patch b/dev-ruby/rails/files/1.1.6-deprecate-old-lighttpd.patch new file mode 100644 index 000000000000..9c2f31afc955 --- /dev/null +++ b/dev-ruby/rails/files/1.1.6-deprecate-old-lighttpd.patch @@ -0,0 +1,17 @@ +--- lib/commands/server.rb 2006-09-03 06:48:07.000000000 +0700 ++++ server.rb 2006-10-02 17:41:16.000000000 +0700 +@@ -14,7 +14,13 @@ + ARGV.shift + else + if RUBY_PLATFORM !~ /mswin/ && !silence_stderr { `lighttpd -version` }.blank? && defined?(FCGI) +- "lighttpd" ++ if %x(lighttpd -version) =~ /^lighttpd-(\d+)\.(\d+)\.(\d+)/ and ($1.to_i < 1 or $2.to_i < 4 or $3.to_i < 10) ++ puts "You are using an old version of lighttpd (less than 1.4.10)" ++ puts "Your lighttpd should not work properly with rails and will be ignored" ++ "webrick" ++ else ++ "lighttpd" ++ end + else + "webrick" + end diff --git a/dev-ruby/rails/files/digest-rails-1.1.6-r1 b/dev-ruby/rails/files/digest-rails-1.1.6-r1 new file mode 100644 index 000000000000..cdc394aac2ce --- /dev/null +++ b/dev-ruby/rails/files/digest-rails-1.1.6-r1 @@ -0,0 +1,3 @@ +MD5 dee64ab90efedbbe900944fac754d72d rails-1.1.6.gem 144896 +RMD160 f7460a881eeb8f8c2cbc6a31e99127d1cb867871 rails-1.1.6.gem 144896 +SHA256 f78cc3dfe77ceaa3cdd808735dcb81c8d3bdbd8e4d6b72ecc3a1b7fc19f1bd49 rails-1.1.6.gem 144896 diff --git a/dev-ruby/rails/rails-1.1.6-r1.ebuild b/dev-ruby/rails/rails-1.1.6-r1.ebuild new file mode 100644 index 000000000000..13d94ee37fb9 --- /dev/null +++ b/dev-ruby/rails/rails-1.1.6-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.1.6-r1.ebuild,v 1.1 2006/10/03 05:46:07 pclouds Exp $ + +inherit ruby gems + +USE_RUBY="ruby18" +DESCRIPTION="ruby on rails is a web-application and persistance framework" +HOMEPAGE="http://www.rubyonrails.org" +# The URL depends implicitly on the version, unfortunately. Even if you +# change the filename on the end, it still downloads the same file. +SRC_URI="http://gems.rubyforge.org/gems/${P}.gem" + +LICENSE="Ruby" +SLOT="1.1" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" + +IUSE="mysql sqlite sqlite3 postgres fastcgi" +DEPEND=">=dev-lang/ruby-1.8.2 + >=dev-ruby/rake-0.7.1 + =dev-ruby/activerecord-1.14.4 + =dev-ruby/actionmailer-1.2.5 + =dev-ruby/actionwebservice-1.1.6 + 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 + cd ${D}/${GEMSDIR}/gems/${P} + epatch ${FILESDIR}/1.1.6-deprecate-old-lighttpd.patch +} |