Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > cba0c97ffd15a2b7b538c506be833510 > files > 3

gforge-4.5.11-3mdv2009.0.src.rpm

diff -Naur gforge-4.5.6/etc/local.inc.example gforge-4.5.6.oden/etc/local.inc.example
--- gforge-4.5.6/etc/local.inc.example	2006-01-14 19:44:53.000000000 +0100
+++ gforge-4.5.6.oden/etc/local.inc.example	2006-03-24 20:34:01.000000000 +0100
@@ -29,31 +29,31 @@
 // The default GForge domain
 // this is used where ever the "naked" form of the GForge domain
 // might be used.  E.g., "mailto:admin@gforge.net"
-$sys_default_domain = 'gforge.company.com';
-$sys_forum_return_domain = "gforge.company.com";
-//$sys_fallback_domain = 'gforge2.company.com';
+$sys_default_domain = '@sys_default_domain@';
+$sys_forum_return_domain = '@sys_forum_return_domain@';
+$sys_fallback_domain = '@sys_fallback_domain@';
 
 // Machine used for downloading sources/packages
-$sys_download_host = 'download.gforge.company.com';
+$sys_download_host = '@sys_download_host@';
 
 // Machine(s) that host users' shell accounts
 //  N.B. to the SourceForge Crew: What's the difference between the user
 // host and the shell host?  They are clearly two different hostnames
 // in the source code, but they seem to serve the same purpose..?
-$sys_shell_host = 'shell.gforge.company.com';
-$sys_users_host = 'users.gforge.company.com';
+$sys_shell_host = '@sys_shell_host@';
+$sys_users_host = '@sys_users_host@';
 
 // Machine that hosts the GForge mailing lists (This could also be
 // the mail host if you have enough horsepower & bandwidth)
 //$sys_lists_host = 'lists.gforge.company.com';
-$sys_lists_host = 'gforge.company.com';
+$sys_lists_host = '@sys_lists_host@';
 
 //
 // SCM configuration
 //
 
 // Machine that hosts SCM
-$sys_scm_host = 'cvs.gforge.company.com';
+$sys_scm_host = '@sys_scm_host@';
 $sys_cvs_host=$sys_scm_host;
 
 // Force the use of a single scm host instead of scm.project.domain.com
@@ -75,9 +75,9 @@
 //server to use for updates and reads
 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
 //to the database.
-$sys_dbhost='';
-$sys_dbname='gforge';
-$sys_dbuser='gforge';
+$sys_dbhost='@sys_dbhost@';
+$sys_dbname='@sys_dbname@';
+$sys_dbuser='@sys_dbuser@';
 // You can also specify a database port if you're using something other than 5432
 //$sys_dbport='4242';
 $sys_server='pgsql';
@@ -85,7 +85,7 @@
 //
 // Passwords
 //
-$sys_dbpasswd='';
+$sys_dbpasswd='@sys_dbpasswd@';
 
 //
 // Account Management
@@ -158,10 +158,10 @@
 //
 $sys_upload_dir='/var/lib/gforge/uploads/';
 $sys_ftp_upload_dir='/path/to/frs/upload';
-$sys_ftp_upload_host='upload.gforge.company.com';
+$sys_ftp_upload_host='@sys_ftp_upload_host@';
 //$sys_ftp_upload_chowner='{ftpuploadchowner}';
-$sys_apache_user='apacheuser';
-$sys_apache_group='apachegroup';
+$sys_apache_user='apache';
+$sys_apache_group='apache';
 
 // Where the GForge files are placed
 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
@@ -172,7 +172,7 @@
 $sys_urlroot='/usr/lib/gforge/www/';
 
 // Name of the system as a whole (needed by various utils and titles)
-$sys_name='MyGForge';
+$sys_name='@sys_name@';
 
 // Mailman base installation directory
 $sys_path_to_mailman='/usr/lib/mailman';
@@ -181,7 +181,7 @@
 //
 //	IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
 //
-$sys_session_key = 'foobar';
+$sys_session_key = '@sys_session_key@';
 $sys_session_expire = 60 * 60 * 24 * 7;
 
 // Require that user give unique (not yet existent in db) email upon
diff -Naur gforge-4.5.6/plugins/cvstracker/etc/plugins/cvstracker/config.php gforge-4.5.6.oden/plugins/cvstracker/etc/plugins/cvstracker/config.php
--- gforge-4.5.6/plugins/cvstracker/etc/plugins/cvstracker/config.php	2006-01-14 19:44:57.000000000 +0100
+++ gforge-4.5.6.oden/plugins/cvstracker/etc/plugins/cvstracker/config.php	2006-03-24 20:42:04.000000000 +0100
@@ -1,7 +1,7 @@
 <?php
 
 $use_ssl = false; //whether to use SSL or standard HTTP
-$sys_default_domain = "gforge.company.com";
+$sys_default_domain = '@sys_default_domain@';
 $sys_plugins_path = "/opt/gforge/gforge/plugins/";
 $sys_cvsroot_path = $cvsdir_prefix;
 $cvs_binary_version = "1.12";
diff -Naur gforge-4.5.6/plugins/scmcvs/etc/plugins/scmcvs/config.php gforge-4.5.6.oden/plugins/scmcvs/etc/plugins/scmcvs/config.php
--- gforge-4.5.6/plugins/scmcvs/etc/plugins/scmcvs/config.php	2006-01-14 19:44:59.000000000 +0100
+++ gforge-4.5.6.oden/plugins/scmcvs/etc/plugins/scmcvs/config.php	2006-03-24 20:42:52.000000000 +0100
@@ -7,7 +7,7 @@
 $use_ssl=false;
 $GLOBALS['cvs_binary_version']=$cvs_binary_version;
 $sys_plugins_path='/opt/gforge/gforge/plugins';
-$sys_default_domain='gforge.company.com';
+$sys_default_domain='@sys_default_domain@';
 
 // Local Variables:
 // mode: php