1 diff -Nur -x '*.orig' -x '*.rej' gforge-3.0/etc/local.inc mezzanine_patched_gforge-3.0/etc/local.inc
2 --- gforge-3.0/etc/local.inc Fri Jun 20 07:42:09 2003
3 +++ mezzanine_patched_gforge-3.0/etc/local.inc Thu Aug 14 20:13:10 2003
5 // The default GForge domain
6 // this is used where ever the "naked" form of the GForge domain
7 // might be used. E.g., "mailto:admin@gforge.net"
8 -$sys_default_domain = 'gforge.company.com';
9 -$sys_fallback_domain = 'gforge2.company.com';
10 -$sys_internal_network = '192.168.1.';
11 +$sys_default_domain = 'localhost';
12 +$sys_fallback_domain = 'localhost';
13 +$sys_internal_network = '127.0.0.';
15 // Machine that hosts CVS
16 $sys_cvs_single_host=true;
17 -$sys_cvs_host = 'cvs.company.com';
18 +$sys_cvs_host = 'localhost';
20 // Force the use of a single cvs host instead of cvs.project.domain.com
21 // Set to 1 to use cvs.domain.com:/cvsroot/project for all projects
23 $sys_cvs_single_host = 1;
25 // Machine used for downloading sources/packages
26 -$sys_download_host = "download.company.com";
27 +$sys_download_host = "localhost";
29 // Machine used for uploading sources/packages
30 -$sys_upload_host = "upload.company.com";
31 +$sys_upload_host = "localhost";
33 // Machine(s) that host users' shell accounts
34 // N.B. to the SourceForge Crew: What's the difference between the user
35 // host and the shell host? They are clearly two different hostnames
36 // in the source code, but they seem to serve the same purpose..?
37 -$sys_shell_host = "shell.company.com";
38 -$sys_users_host = "users.company.com";
39 +$sys_shell_host = "localhost";
40 +$sys_users_host = "localhost";
41 $homedir_prefix='/home';
42 $groupdir_prefix='/home/groups';
45 // machine that the SourceForge code is running on because all of the
46 // PHP makes reference to these documents in terms of relative paths that
47 // are part of the GForge code tree.
48 -$sys_docs_host = "sfdocs.company.com";
49 +$sys_docs_host = "localhost";
51 // Machine that hosts the GForge mailing lists (This could also be
52 // the mail host if you have enough horsepower & bandwidth)
53 -$sys_lists_host = "lists.company.com";
54 +$sys_lists_host = "localhost";
56 // Domain Name Servers
57 // N.B.: Use terminated FQDNs here (with the final ".") so the resolver
58 // doesn't attempt to recurse in the case of a slightly broken DNS
60 -$sys_dns1_host = "ns1.company.com";
61 -$sys_dns2_host = "ns2.company.com";
62 +$sys_dns1_host = "localhost";
63 +$sys_dns2_host = "localhost";
65 //Databases, html/php/other paths
66 //server to use for updates and reads
68 $sys_dbreadhost='localhost';
69 $sys_dbreaddb='stats';
70 $sys_dbname="alexandria";
73 +$sys_dbuser="gforge";
74 +$sys_dbpasswd="DBPASSHERE";
75 // You can also specify a database port if you're using something other than 5432
80 // disable ldap use altogether
82 -$sys_ldap_host="ldap.company.com";
83 +$sys_ldap_host="localhost";
85 // this is dn under which all information stored
86 $sys_ldap_base_dn="dc=company,dc=com";
90 //messages from the system will be sent to this address
91 -$sys_jabber_server='jabber.company.com';
92 +$sys_jabber_server='localhost';
93 $sys_jabber_port='5222';
94 // messages sent to jabber accounts will come from this user
95 // It is similar to the "From: noreply@gforge.org" used in emails
97 // Your php.ini file may have to be modified to allow writing outside
98 // the webserver's directory
100 -$sys_upload_dir='/path/to/uploads/';
101 +$sys_upload_dir='/usr/share/gforge/www/incoming';
103 // Where the GForge files are placed
104 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
105 @@ -136,16 +136,16 @@
106 // installation. If you use ANY form of relative path
107 // you will break the html_image function in include/html.php
109 -$sys_urlroot="/path/to/gforge/www/";
110 +$sys_urlroot="/usr/share/gforge/www/";
112 // Name of the system as a whole (needed by various utils and titles)
113 -$sys_name="prodigy";
114 +$sys_name="localhost";
116 // session cookie settings
118 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
120 -$sys_session_key = "foobar";
121 +$sys_session_key = "RANDOMIDHERE";
122 $sys_session_expire = 60 * 60 * 24 * 7;
124 // Require that user give unique (not yet existent in db) email upon