[DRE-commits] r2987 - packages-wip/redmine/trunk/debian/patches

rnhurt-guest at alioth.debian.org rnhurt-guest at alioth.debian.org
Tue Sep 9 13:52:13 UTC 2008


Author: rnhurt-guest
Date: 2008-09-09 13:52:12 +0000 (Tue, 09 Sep 2008)
New Revision: 2987

Removed:
   packages-wip/redmine/trunk/debian/patches/dispatch.patch
Log:
Removed the old, combined dispatch.patch as its been replaced by two discreet ones.

Deleted: packages-wip/redmine/trunk/debian/patches/dispatch.patch
===================================================================
--- packages-wip/redmine/trunk/debian/patches/dispatch.patch	2008-09-09 13:37:59 UTC (rev 2986)
+++ packages-wip/redmine/trunk/debian/patches/dispatch.patch	2008-09-09 13:52:12 UTC (rev 2987)
@@ -1,48 +0,0 @@
---- a/public/dispatch.cgi.example
-+++ b/public/dispatch.cgi.example
-@@ -1,4 +1,4 @@
--#!/usr/bin/ruby
-+#!/usr/bin/env ruby
- 
- require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
- 
-@@ -7,4 +7,4 @@
- require "dispatcher"
- 
- ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
--Dispatcher.dispatch
-\ No newline at end of file
-+Dispatcher.dispatch
---- a/public/dispatch.rb.example
-+++ b/public/dispatch.rb.example
-@@ -1,4 +1,4 @@
--#!/usr/bin/ruby
-+#!/usr/bin/env ruby
- 
- require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
- 
-@@ -7,4 +7,4 @@
- require "dispatcher"
- 
- ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
--Dispatcher.dispatch
-\ No newline at end of file
-+Dispatcher.dispatch
---- a/public/dispatch.fcgi.example
-+++ b/public/dispatch.fcgi.example
-@@ -1,4 +1,4 @@
--#!/usr/bin/ruby
-+#!/usr/bin/env ruby
- #
- # You may specify the path to the FastCGI crash log (a log of unhandled
- # exceptions which forced the FastCGI instance to exit, great for debugging)
-@@ -18,7 +18,8 @@
- #   # Custom log path, normal GC behavior.
- #   RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
- #
--require File.dirname(__FILE__) + "/../config/environment"
-+RAILS_ROOT = "/usr/share/redmine"
-+require "/usr/share/redmine/config/environment"
- require 'fcgi_handler'
- 
- RailsFCGIHandler.process!




More information about the Pkg-ruby-extras-commits mailing list