summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rails/files')
-rw-r--r--dev-ruby/rails/files/1.1.6-deprecate-old-lighttpd.patch17
-rw-r--r--dev-ruby/rails/files/digest-rails-1.1.6-r13
2 files changed, 20 insertions, 0 deletions
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