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 implementation
24 // 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 FusionForge domain
32 // this is used where ever the "naked" form of the FusionForge 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";
37 // Machine used for downloading sources/packages
38 $sys_download_host = 'download.gforge.company.com';
40 // Machine(s) that host users' shell accounts
41 // N.B. to the SourceForge Crew: What's the difference between the user
42 // host and the shell host? They are clearly two different hostnames
43 // in the source code, but they seem to serve the same purpose..?
44 $sys_shell_host = 'shell.gforge.company.com';
45 $sys_users_host = 'users.gforge.company.com';
47 // Machine that hosts the GForge mailing lists (This could also be
48 // the mail host if you have enough horsepower & bandwidth)
49 $sys_lists_host = 'gforge.company.com';
55 // Machine that hosts SCM
56 $sys_scm_host = 'cvs.gforge.company.com';
57 $sys_cvs_host=$sys_scm_host;
59 // Force the use of a single scm host instead of scm.project.domain.com
60 // Set to 1 to use scm.domain.com for all projects
61 // Set to 0 to use scm.project.domain.com
62 $sys_scm_single_host = 1;
64 // Path to tarballs directory
65 $sys_scm_tarballs_path="$sys_var_path/scmtarballs";
67 // Path to snapshots directory
68 $sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
71 $sys_path_to_scmweb="$sys_opt_path/bin/";
73 //Databases, html/php/other paths
74 //server to use for updates and reads
75 //If this is null (i.e. ""), then gforge will use Unix sockets to connect
78 $sys_dbname='alexandria';
80 // You can also specify a database port if you're using something other than 5432
94 // UNIX for classic account management
95 // LDAP for managing with ldap
96 // NIS not implemented
97 $sys_account_manager_type='UNIX';
99 // email address to send admin alerts to
100 $sys_admin_email = 'gforge@gforge.company.com';
102 // Path to sendmail program
103 $sys_sendmail_path='/usr/sbin/sendmail';
105 // Select unix_password cipher
106 // Normally there will be no reason to change this for Linux based systems
107 // Valid choices are MD5, DES, Blowfish, or Plain
108 // DO NOT CHANGE ON EXISTING INSTALL!!!
110 // If using usergroup_wrapper.php (for non-Linux systems)
111 // this value MUST be plain
112 $unix_cipher = 'MD5';
115 // LDAP configuration
117 // enable(1) or disable(0) ldap use altogether
118 $sys_ldap_host='ldap.gforge.company.com';
121 // this is dn under which all information stored
122 $sys_ldap_base_dn='dc=gforge,dc=company,dc=com';
123 // and this, how we do access it (add permission required)
124 $sys_ldap_bind_dn='cn=SF_robot,dc=gforge,dc=company,dc=com';
125 // admin dn - login dn which has permissions to delete entries
126 // NOT used by web code, only by support utilities
127 // note that password NOT stored here
128 $sys_ldap_admin_dn='cn=admin,dc=gforge,dc=company,dc=com';
131 // Jabber Configuration
134 //messages from the system will be sent to this address
135 $sys_jabber_server='jabber.gforge.company.com';
136 $sys_jabber_port='5222';
137 // messages sent to jabber accounts will come from this user
138 // It is similar to the "From: noreply@gforge.org" used in emails
139 $sys_jabber_user='noreply';
143 // You can turn features on/off sitewide
146 $sys_use_tracker=true;
149 $sys_use_docman=true;
152 $sys_use_survey=true;
157 $sys_use_snippet=false;
159 $sys_use_people=false;
161 $sys_use_private_project=true;
163 $sys_use_bookmarks=true;
164 $sys_use_project_tags=true;
165 $sys_use_project_full_list=true;
167 // Enable/Disable user ratings
168 $sys_use_ratings=true;
169 // Enable/Disable the ability to upload files using FTP in FRS
170 $sys_use_ftpuploads=false;
171 // Enable/Disable the use of mail gateways for trackers and forums
172 $sys_use_gateways=true;
174 // Enable/Disable the ability to add additionnal vhost for a project
175 $sys_use_project_vhost=false;
176 // Enable/Disable the ability to have database for a project (backend not implemented)
177 $sys_use_project_database=false;
178 // Enable/Disable the ability to add images for a project (frontend not implemented)
179 $sys_use_project_multimedia=false;
182 // Restricted project registration
183 // If set to true, only a site admin can register projects
185 $sys_project_reg_restricted=true;
188 // Auto approve project registration.
190 $sys_project_reg_autoapprove=false;
191 $sys_project_reg_autoapprove_user='admin';
194 // Restricted user registration
195 // If set to true, only a site admin can register users
197 $sys_user_reg_restricted=false;
200 // Groups and Homes dir prefix
202 $homedir_prefix='/home';
203 $groupdir_prefix='/home/groups';
206 // SCM directory prefixes
208 //$cvsdir_prefix='$sys_var_path/cvsroot';
209 //$svndir_prefix="$sys_var_path/svnroot";
210 $cvsdir_prefix='/cvsroot';
211 $svndir_prefix='/svnroot';
216 // File Upload Configuration
218 // Create a directory, which is writable by your webserver, but not
219 // within its document root (does not fall under www/ in the tarball)
220 // Your php.ini file may have to be modified to allow writing outside
221 // the webserver's directory
223 $sys_upload_dir="$sys_var_path/uploads/";
224 $sys_ftp_upload_dir='/path/to/frs/upload';
225 $sys_ftp_upload_host='upload.gforge.company.com';
226 $sys_apache_user='apacheuser';
227 $sys_apache_group='apachegroup';
229 // Where the GForge files are placed
230 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
231 // that points to the www directory of the GForge
232 // installation. If you use ANY form of relative path
233 // you will break the html_image function in include/html.php
235 $sys_urlroot="$sys_opt_path/www/";
238 // Name of the system as a whole (needed by various utils and titles)
241 // Mailman base installation directory
242 $sys_path_to_mailman='/usr/lib/mailman';
244 // session cookie settings
246 // IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
248 $sys_session_key = 'foobar';
249 $sys_session_expire = 60 * 60 * 24 * 7;
251 // Require that user give unique (not yet existent in db) email upon
253 $sys_require_unique_email=0;
255 // Require that all email be copied to this address if present
256 $sys_bcc_all_email_address='';
258 // GUI modifications (menu colors, etc.)
259 // See the top of the file include/html.php, this is where the menu colors
260 // and colors used throughout GForge are defined.
262 // Themeing related vars... Some of this needs to change in the session stuff
263 // The theme base directory, everything else is handled by theme_sysinit()
264 $sys_themeroot="$sys_opt_path/www/themes/";
265 // If you want an other default theme or language
268 $sys_default_timezone='GMT';
269 $sys_default_country_code='US';
271 // Akamization of images
272 // example: http://images.gforge.company.com
274 $sys_images_secure_url='';
277 // The GForge permission model is based on groups
278 // certain parts of the site, like news, stats, etc
279 // are based on special group_id numbers
280 // group_id #1 is the super-user group of sitewide admins
283 $sys_peer_rating_group=4;
284 $sys_template_group=5;
285 $default_trove_cat=18;
288 $sys_path_to_jpgraph=$sys_opt_path.'/jpgraph';
291 // Setting this to 1 will add a "Show Source" link to the bottom of each page
297 // Truetype font settings
298 //$gantt_title_font_family='FF_ARIAL';
299 //$gantt_title_font_style='FS_NORMAL';
300 //$gantt_title_font_size=12;
301 //$gantt_task_font_family='FF_ARIAL';
302 //$gantt_task_font_style='FS_NORMAL';
303 //$gantt_task_font_size=12;
305 // Place for customized files
306 $sys_custom_path=$sys_etc_path.'/custom';
308 // Gettext files (default: /usr/share/locale).
309 $sys_gettext_path=$sys_opt_path.'/locales';
311 // Define the type of installation
315 // * production: normal mode.
316 $sys_install_type = 'production';
319 // Plugins configuration
321 // Path to plugins directory
322 $sys_plugins_path="$sys_opt_path/plugins/";
324 // You can overwrite FusionForge's default role settings here
325 //$default_roles=array(
326 // 'Admin'=>array( 'projectadmin'=>'A', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'1' ),
327 // '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' ),
328 // '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' ),
329 // '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'),
330 // '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')
333 // End of customizations -- place nothing after this line