[RackTables] Update patch file

Colin Coe coec at fedoraproject.org
Tue Jan 1 05:09:54 UTC 2013


commit 5e0105f907fa714209244a85dbae914c190ecd53
Author: Colin Coe <colin.coe at gmail.com>
Date:   Thu Dec 27 20:05:11 2012 +0800

    Update patch file

 RackTables-Fedora-paths.patch |   25 ++++++++-----------------
 1 files changed, 8 insertions(+), 17 deletions(-)
---
diff --git a/RackTables-Fedora-paths.patch b/RackTables-Fedora-paths.patch
index ab3a68e..70c8073 100644
--- a/RackTables-Fedora-paths.patch
+++ b/RackTables-Fedora-paths.patch
@@ -1,26 +1,17 @@
-diff -ru RackTables-0.19.12.orig/scripts/syncdomain.php RackTables-0.19.12/scripts/syncdomain.php
---- RackTables-0.19.12.orig/scripts/syncdomain.php	2012-03-14 20:58:35.000000000 +0800
-+++ RackTables-0.19.12/scripts/syncdomain.php	2012-04-15 13:26:21.612466742 +0800
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/php
-+#!/usr/bin/php
- <?php
- 
- # This file is a part of RackTables, a datacenter and server room management
-diff -ru RackTables-0.19.12.orig/wwwroot/inc/pre-init.php RackTables-0.19.12/wwwroot/inc/pre-init.php
---- RackTables-0.19.12.orig/wwwroot/inc/pre-init.php	2012-03-14 20:58:35.000000000 +0800
-+++ RackTables-0.19.12/wwwroot/inc/pre-init.php	2012-04-15 13:27:46.210465219 +0800
-@@ -24,11 +24,11 @@
+diff -ru RackTables-0.20.3.orig/wwwroot/inc/pre-init.php RackTables-0.20.3/wwwroot/inc/pre-init.php
+--- RackTables-0.20.3.orig/wwwroot/inc/pre-init.php	2012-12-20 00:30:47.000000000 +0800
++++ RackTables-0.20.3/wwwroot/inc/pre-init.php	2012-12-27 20:03:43.609459873 +0800
+@@ -25,11 +25,11 @@
  # code, multiple instances" deploy, in which case the paths could be changed
  # in the custom entry point wrapper (like own index.php)
  if (! isset ($racktables_staticdir)) // the directory containing 'pix', 'js', 'css' dirs
 -	$racktables_staticdir = $racktables_rootdir;
 +	$racktables_staticdir = '/usr/share/RackTables/static';
- if (! isset ($racktables_gwdir)) // the directory containing 'deviceconfig', 'sendfile' dirs, etc
+ if (! isset ($racktables_gwdir)) // the directory containing the 'telnet' and 'ssh' scripts
  	$racktables_gwdir = realpath ($racktables_rootdir . '/../gateways');
- if (! isset ($racktables_confdir)) // the directory containing local.php and secret.php (default is wwwroot/inc)
+ if (! isset ($racktables_confdir)) // the directory containing secret.php (default is wwwroot/inc)
 -	$racktables_confdir = dirname (__FILE__);
 +	$racktables_confdir = '/etc/RackTables';
- if (! isset ($path_to_secret_php))
+ if (! isset ($path_to_secret_php)) // you can overrride the path to secret.php separately from $racktables_confdir (legacy feature)
  	$path_to_secret_php = $racktables_confdir . '/secret.php';
- if (! isset ($path_to_local_php))
+ if (! isset ($racktables_plugins_dir)) // the directory where RT will load additional *.php files (like local.php) from


More information about the scm-commits mailing list