2 // PLEASE DO NOT REMOVE THIS LINE
4 // FusionForge Universal Site Modifications
5 // by David HM Spector <spector@zeitgeist.com>
7 // FusionForge global paths
9 $sys_etc_path='/etc/gforge';
10 $sys_opt_path='/opt/gforge';
11 $sys_var_path='/var/lib/gforge';
14 // FusionForge database type
16 //$sys_database_type='mysql';
17 $sys_database_type='pgsql';
20 // FusionForge hostnames
22 // Hostnames should be fully qualified domain names (FQDNs); using short names
23 // would be prettier but would stop you from distributing your SourceForge
24 // implementation across multiple domains.
26 // Of course, if you have a lot of machines serving a particular purpose
27 // such as FTP or for shell accounts, the "hostname" here might be in
28 // reality an addr_list of machines that is serviced by a round-robin
29 // mechanism or something fancy like a local-director.
31 // The default GForge domain
32 // this is used where ever the "naked" form of the GForge domain
33 // might be used. E.g., "mailto:admin@gforge.net"
34 $sys_default_domain = 'gforge.company.com';
35 $sys_forum_return_domain = "gforge.company.com";
36 //$sys_fallback_domain = 'gforge2.company.com';
38 // Machine used for downloading sources/packages
39 $sys_download_host = 'download.gforge.company.com';
41 // Machine(s) that host users' shell accounts
42 // N.B. to the SourceForge Crew: What's the difference between the user
43 // host and the shell host? They are clearly two different hostnames
44 // in the source code, but they seem to serve the same purpose..?
45 $sys_shell_host = 'shell.gforge.company.com';
46 $sys_users_host = 'users.gforge.company.com';
48 // Machine that hosts the GForge mailing lists (This could also be
49 // the mail host if you have enough horsepower & bandwidth)
50 $sys_lists_host = 'gforge.company.com';
56 // Machine that hosts SCM
57 $sys_scm_host = 'cvs.gforge.company.com';
58 $sys_cvs_host=$sys_scm_host;
60 // Force the use of a single scm host instead of scm.project.domain.com
61 // Set to 1 to use scm.domain.com for all projects
62 // Set to 0 to use scm.project.domain.com
63 $sys_scm_single_host = 1;
65 // Path to tarballs directory
66 $sys_scm_tarballs_path="$sys_var_path/scmtarballs";
68 // Path to snapshots directory
69 $sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
72 $sys_path_to_scmweb="$sys_opt_path/bin/";
74 //Databases, html/php/other paths
75 //server to use for updates and reads
76 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
79 $sys_dbname='alexandria';
81 // You can also specify a database port if you're using something other than 5432
95 // UNIX for classic account management
96 // LDAP for managing with ldap
97 // NIS not implemented
98 $sys_account_manager_type='UNIX';
100 // email address to send admin alerts to
101 $sys_admin_email = 'gforge@gforge.company.com';
103 // Path to sendmail program
104 $sys_sendmail_path='/usr/sbin/sendmail';
106 // Select unix_password cipher
107 // Normally there will be no reason to change this for Linux based systems
108 // Valid choices are MD5, DES, Blowfish, or Plain
109 // DO NOT CHANGE ON EXISTING INSTALL!!!
111 // If using usergroup_wrapper.php (for non-Linux systems)
112 // this value MUST be plain
113 $unix_cipher = 'MD5';
116 // LDAP configuration
118 // enable(1) or disable(0) ldap use altogether
119 $sys_ldap_host='ldap.gforge.company.com';
122 // this is dn under which all information stored
123 $sys_ldap_base_dn='dc=gforge,dc=company,dc=com';
124 // and this, how we do access it (add permission required)
125 $sys_ldap_bind_dn='cn=SF_robot,dc=gforge,dc=company,dc=com';
126 // admin dn - login dn which has permissions to delete entries
127 // NOT used by web code, only by support utilities
128 // note that password NOT stored here
129 $sys_ldap_admin_dn='cn=admin,dc=gforge,dc=company,dc=com';
132 // Jabber Configuration
135 //messages from the system will be sent to this address
136 $sys_jabber_server='jabber.gforge.company.com';
137 $sys_jabber_port='5222';
138 // messages sent to jabber accounts will come from this user
139 // It is similar to the "From: noreply@gforge.org" used in emails
140 $sys_jabber_user='noreply';
144 // You can turn features on/off sitewide
147 $sys_use_tracker=true;
150 $sys_use_docman=true;
153 $sys_use_survey=true;
158 $sys_use_snippet=false;
160 $sys_use_people=false;
162 $sys_use_private_project=true;
164 $sys_use_bookmarks=true;
165 $sys_use_project_tags=true;
166 $sys_use_project_full_list=true;
168 // Enable/Disable user ratings
169 $sys_use_ratings=true;
170 // Enable/Disable the ability to upload files using FTP in FRS
171 $sys_use_ftpuploads=false;
172 // Enable/Disable the use of mail gateways for trackers and forums
173 $sys_use_gateways=true;
175 // Enable/Disable the ability to add additionnal vhost for a project
176 $sys_use_project_vhost=false;
177 // Enable/Disable the ability to have database for a project (backend not implemented)
178 $sys_use_project_database=false;
179 // Enable/Disable the ability to add images for a project (frontend not implemented)
180 $sys_use_project_multimedia=false;
183 // Restricted project registration
184 // If set to true, only a site admin can register projects
186 $sys_project_reg_restricted=true;
188 // Restricted user registration
189 // If set to true, only a site admin can register users
191 $sys_user_reg_restricted=false;
194 // Groups and Homes dir prefix
196 $homedir_prefix='/home';
197 $groupdir_prefix='/home/groups';
200 // SCM directory prefixes
202 //$cvsdir_prefix='$sys_var_path/cvsroot';
203 //$svndir_prefix="$sys_var_path/svnroot";
204 $cvsdir_prefix='/cvsroot';
205 $svndir_prefix='/svnroot';
210 // File Upload Configuration
212 // Create a directory, which is writable by your webserver, but not
213 // within its document root (does not fall under www/ in the tarball)
214 // Your php.ini file may have to be modified to allow writing outside
215 // the webserver's directory
217 $sys_upload_dir="$sys_var_path/uploads/";
218 $sys_ftp_upload_dir='/path/to/frs/upload';
219 $sys_ftp_upload_host='upload.gforge.company.com';
220 $sys_apache_user='apacheuser';
221 $sys_apache_group='apachegroup';
223 // Where the GForge files are placed
224 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
225 // that points to the www directory of the GForge
226 // installation. If you use ANY form of relative path
227 // you will break the html_image function in include/html.php
229 $sys_urlroot="$sys_opt_path/www/";
232 // Name of the system as a whole (needed by various utils and titles)
235 // Mailman base installation directory
236 $sys_path_to_mailman='/usr/lib/mailman';
238 // session cookie settings
240 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
242 $sys_session_key = 'foobar';
243 $sys_session_expire = 60 * 60 * 24 * 7;
245 // Require that user give unique (not yet existent in db) email upon
247 $sys_require_unique_email=0;
249 // Require that all email be copied to this address if present
250 $sys_bcc_all_email_address='';
252 // GUI modifications (menu colors, etc.)
253 // See the top of the file include/html.php, this is where the menu colors
254 // and colors used throughout GForge are defined.
256 // Themeing related vars... Some of this needs to change in the session stuff
257 // The theme base directory, everything else is handled by theme_sysinit()
258 $sys_themeroot="$sys_opt_path/www/themes/";
259 // If you want an other default theme or language
262 $sys_default_timezone='GMT';
263 $sys_default_country_code='US';
265 // Akamization of images
266 // example: http://images.gforge.company.com
268 $sys_images_secure_url='';
271 // The GForge permission model is based on groups
272 // certain parts of the site, like news, stats, etc
273 // are based on special group_id numbers
274 // group_id #1 is the super-user group of sitewide admins
277 $sys_peer_rating_group=4;
278 $sys_template_group=5;
279 $default_trove_cat=18;
282 $sys_path_to_jpgraph=$sys_opt_path.'/jpgraph';
285 // Setting this to 1 will add a "Show Source" link to the bottom of each page
291 // Truetype font settings
292 //$gantt_title_font_family='FF_ARIAL';
293 //$gantt_title_font_style='FS_NORMAL';
294 //$gantt_title_font_size=12;
295 //$gantt_task_font_family='FF_ARIAL';
296 //$gantt_task_font_style='FS_NORMAL';
297 //$gantt_task_font_size=12;
299 // Place for customized files
300 $sys_custom_path=$sys_etc_path.'/custom';
302 // Gettext files (default: /usr/share/locale).
303 $sys_gettext_path=$sys_opt_path.'/locales';
305 // Define the type of installation
309 // * production: normal mode.
310 $sys_install_type = 'production';
313 // Plugins configuration
315 // Path to plugins directory
316 $sys_plugins_path="$sys_opt_path/plugins/";
318 // You can overwrite FusionForge's default role settings here
319 //$default_roles=array(
320 // 'Admin'=>array( 'projectadmin'=>'A', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'1' ),
321 // 'Senior Developer'=>array( 'projectadmin'=>'0', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'2' ),
322 // 'Junior Developer'=>array( 'projectadmin'=>'0', 'frs'=>'0', 'scm'=>'1', 'docman'=>'0', 'forumadmin'=>'0', 'forum'=>'1', 'trackeradmin'=>'0', 'tracker'=>'1', 'pmadmin'=>'0', 'pm'=>'1', 'webcal'=>'2' ),
323 // 'Doc Writer'=>array( 'projectadmin'=>'0', 'frs'=>'0', 'scm'=>'0', 'docman'=>'1', 'forumadmin'=>'0', 'forum'=>'1', 'trackeradmin'=>'0', 'tracker'=>'0', 'pmadmin'=>'0', 'pm'=>'0' , 'webcal'=>'2'),
324 // 'Support Tech'=>array( 'projectadmin'=>'0', 'frs'=>'0', 'scm'=>'0', 'docman'=>'1', 'forumadmin'=>'0', 'forum'=>'1', 'trackeradmin'=>'0', 'tracker'=>'2', 'pmadmin'=>'0', 'pm'=>'0' , 'webcal'=>'2')
327 // End of customizations -- place nothing after this line