<?php
// PLEASE DO NOT REMOVE THIS LINE
-// GForge Universal Site Modifications
+// FusionForge Universal Site Modifications
// by David HM Spector <spector@zeitgeist.com>
//
-// Really Important Safety Tip: --> DO NOT LEAVE ANY WHITE
-// SPACE AFTER THE CLOSING PHP TAG AT THE END OF THIS FILE!
+// FusionForge global paths
//
-// Doing so will really confuse the software and cause
-// 1) cookies to fail and 2) HTML page headers to fail
-// which will give you some preally hard-to-debug problems.
-// Why? PHP is a *pre-processor* -- anything that's not PHP gets
-// emitted as part of the HTML stream and processed by the browser,
-// so white space is meaningful!
+$sys_etc_path='/etc/gforge';
+$sys_opt_path='/opt/gforge';
+$sys_var_path='/var/lib/gforge';
+
+//
+// FusionForge database type
//
+//$sys_database_type='mysql';
+$sys_database_type='pgsql';
+
//
-// GForge hostnames
+// FusionForge hostnames
//
// Hostnames should be fully qualified domain names (FQDNs); using short names
// would be prettier but would stop you from distributing your SourceForge
// 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_fallback_domain = "gforge2.company.com";
-//$sys_internal_network = '192.168.1.';
+$sys_default_domain = 'gforge.company.com';
+$sys_forum_return_domain = "gforge.company.com";
+//$sys_fallback_domain = 'gforge2.company.com';
// Machine used for downloading sources/packages
-$sys_download_host = "download.gforge.company.com";
-
-// Machine used for uploading sources/packages
-$sys_upload_host = "upload.gforge.company.com";
+$sys_download_host = 'download.gforge.company.com';
// 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";
-
-// Machine that hosts docs (such as the FAQs and the various software
-// licenses (*BSD, [L]GPL, etc.). You REALLY want this to be the same
-// machine that the GForge code is running on because all of the
-// PHP makes reference to these documents in terms of relative paths that
-// are part of the GForge code tree.
-$sys_docs_host = "gfdocs.gforge.company.com";
+$sys_shell_host = 'shell.gforge.company.com';
+$sys_users_host = 'users.gforge.company.com';
// 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";
-
-// Domain Name Servers
-// N.B.: Use terminated FQDNs here (with the final ".") so the resolver
-// doesn't attempt to recurse in the case of a slightly broken DNS
-// configuration
-$sys_dns1_host = "ns1.gforge.company.com";
-$sys_dns2_host = "ns2.gforge.company.com";
+$sys_lists_host = 'gforge.company.com';
//
// SCM configuration
$sys_scm_single_host = 1;
// Path to tarballs directory
-$sys_scm_tarballs_path='/home/bayle/local/gforge/gforge/var/lib/gforge/scmtarballs';
+$sys_scm_tarballs_path="$sys_var_path/scmtarballs";
// Path to snapshots directory
-$sys_scm_snapshots_path='/var/lib/gforge/scmsnapshots';
+$sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
// Path to SCMWEB
-$sys_path_to_scmweb='/usr/lib/gforge/bin/';
-
+$sys_path_to_scmweb="$sys_opt_path/bin/";
//Databases, html/php/other paths
//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="localhost";
-//whether or not to use replication
-$sys_db_use_replication=false;
-$sys_dbreadhost='localhost';
-$sys_dbreaddb='stats';
-$sys_dbname="alexandria";
-$sys_dbuser="www";
+$sys_dbhost='';
+$sys_dbname='alexandria';
+$sys_dbuser='www';
// You can also specify a database port if you're using something other than 5432
-//$sys_dbport="4242";
-$sys_server="pgsql";
+//$sys_dbport='4242';
+$sys_server='pgsql';
//
// Passwords
//
-$sys_dbpasswd="";
-$sys_ldap_passwd="";
-$sys_jabber_pass="";
+$sys_dbpasswd='';
+$sys_ldap_passwd='';
+$sys_jabber_pass='';
+
//
// Account Management
//
// NIS not implemented
$sys_account_manager_type='UNIX';
+// email address to send admin alerts to
+$sys_admin_email = 'gforge@gforge.company.com';
+
+// Path to sendmail program
+$sys_sendmail_path='/usr/sbin/sendmail';
+
+// Select unix_password cipher
+// Normally there will be no reason to change this for Linux based systems
+// Valid choices are MD5, DES, Blowfish, or Plain
+// DO NOT CHANGE ON EXISTING INSTALL!!!
+
+// If using usergroup_wrapper.php (for non-Linux systems)
+// this value MUST be plain
+$unix_cipher = 'MD5';
+
//
// LDAP configuration
//
// enable(1) or disable(0) ldap use altogether
-$sys_ldap_host="ldap.gforge.company.com";
+$sys_ldap_host='ldap.gforge.company.com';
$sys_ldap_port=389;
$sys_ldap_version=3;
// this is dn under which all information stored
-$sys_ldap_base_dn="dc=gforge,dc=company,dc=com";
+$sys_ldap_base_dn='dc=gforge,dc=company,dc=com';
// and this, how we do access it (add permission required)
-$sys_ldap_bind_dn="cn=SF_robot,dc=gforge,dc=company,dc=com";
+$sys_ldap_bind_dn='cn=SF_robot,dc=gforge,dc=company,dc=com';
// admin dn - login dn which has permissions to delete entries
// NOT used by web code, only by support utilities
// note that password NOT stored here
-$sys_ldap_admin_dn="cn=admin,dc=gforge,dc=company,dc=com";
+$sys_ldap_admin_dn='cn=admin,dc=gforge,dc=company,dc=com';
//
// Jabber Configuration
//
$sys_use_jabber=0;
//messages from the system will be sent to this address
-$sys_jabber_server="jabber.gforge.company.com";
-$sys_jabber_port="5222";
+$sys_jabber_server='jabber.gforge.company.com';
+$sys_jabber_port='5222';
// messages sent to jabber accounts will come from this user
// It is similar to the "From: noreply@gforge.org" used in emails
-$sys_jabber_user="noreply";
+$sys_jabber_user='noreply';
//
// FEATURES
$sys_use_mail=true;
$sys_use_survey=true;
$sys_use_frs=true;
+$sys_use_fti=false;
$sys_use_ftp=true;
$sys_use_trove=true;
$sys_use_snippet=true;
$sys_use_ssl=false;
$sys_use_people=true;
+$sys_use_shell=true;
+$sys_use_private_project=true;
+$sys_use_diary=true;
+$sys_use_bookmarks=true;
+
+// Enable/Disable user ratings
+$sys_use_ratings=true;
+// Enable/Disable the ability to upload files using FTP in FRS
+$sys_use_ftpuploads=false;
+// Enable/Disable the use of mail gateways for trackers and forums
+$sys_use_gateways=true;
// Enable/Disable the ability to add additionnal vhost for a project
$sys_use_project_vhost=true;
//
$homedir_prefix='/home';
$groupdir_prefix='/home/groups';
+
+//
+// SCM directory prefixes
+//
+//$cvsdir_prefix='$sys_var_path/cvsroot';
+//$svndir_prefix="$sys_var_path/svnroot";
+$cvsdir_prefix='/cvsroot';
+$svndir_prefix='/svnroot';
+
$sys_chroot='';
//
// Your php.ini file may have to be modified to allow writing outside
// the webserver's directory
//
-$sys_upload_dir='/path/to/uploads/';
+$sys_upload_dir="$sys_var_path/uploads/";
+$sys_ftp_upload_dir='/path/to/frs/upload';
+$sys_ftp_upload_host='upload.gforge.company.com';
+$sys_apache_user='apacheuser';
+$sys_apache_group='apachegroup';
// Where the GForge files are placed
// *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
// installation. If you use ANY form of relative path
// you will break the html_image function in include/html.php
//
-$sys_urlroot='/path/to/gforge/www/';
+$sys_urlroot="$sys_opt_path/www/";
+$sys_urlprefix="";
// Name of the system as a whole (needed by various utils and titles)
-$sys_name='MyGForge';
+$sys_name='MyForge';
+
+// Mailman base installation directory
+$sys_path_to_mailman='/usr/lib/mailman';
// session cookie settings
//
// Require that user give unique (not yet existent in db) email upon
// registration
$sys_require_unique_email=0;
+//
+// Require that all email be copied to this address if present
+$sys_bcc_all_email_address='';
// GUI modifications (menu colors, etc.)
// See the top of the file include/html.php, this is where the menu colors
// Themeing related vars... Some of this needs to change in the session stuff
// The theme base directory, everything else is handled by theme_sysinit()
-$sys_themeroot=$sys_urlroot.'themes/';
+$sys_themeroot="$sys_opt_path/www/themes/";
// If you want an other default theme or language
$sys_theme='gforge';
$sys_lang='English';
// certain parts of the site, like news, stats, etc
// are based on special group_id numbers
// group_id #1 is the super-user group of sitewide admins
-$sys_news_group=3;
$sys_stats_group=2;
+$sys_news_group=3;
$sys_peer_rating_group=4;
+$sys_template_group=5;
$default_trove_cat=18;
// JPGRAPH Package
-$sys_path_to_jpgraph='/path/to/jpgraph';
+$sys_path_to_jpgraph=$sys_opt_path.'/jpgraph';
// Show Source
// Setting this to 1 will add a "Show Source" link to the bottom of each page
$sys_force_login=0;
// Truetype font settings
-//$gantt_title_font_family="FF_ARIAL";
-//$gantt_title_font_style="FS_NORMAL";
+//$gantt_title_font_family='FF_ARIAL';
+//$gantt_title_font_style='FS_NORMAL';
//$gantt_title_font_size=12;
-//$gantt_task_font_family="FF_ARIAL";
-//$gantt_task_font_style="FS_NORMAL";
+//$gantt_task_font_family='FF_ARIAL';
+//$gantt_task_font_style='FS_NORMAL';
//$gantt_task_font_size=12;
// Place for customized files
-$sys_custom_path='/path/to/gforge/etc/custom';
-
-
-//
-// Localization caching Configuration
-//
+$sys_custom_path=$sys_etc_path.'/custom';
-// Enable localization caching system
-$sys_localization_enable_caching = true;
-
-// Create a directory, which is writable by your webserver, but not
-// within its document root (does not fall under www/ in the tarball)
-// Your php.ini file may have to be modified to allow writing outside
-// the webserver's directory
-$sys_localization_cache_path = '/path/to/localization/cache/';
+// Gettext files (default: /usr/share/locale).
+$sys_gettext_path=$sys_opt_path.'/locales';
-// Enable timestamp checking (if disabled, you have to remove manually cache files on update)
-$sys_localization_enable_timestamp_checking = true;
//
// Plugins configuration
//
// Path to plugins directory
-$sys_plugins_path='/usr/lib/gforge/plugins/';
+$sys_plugins_path="$sys_opt_path/plugins/";
-// End of customizations -- place nothing after the closing PHP tag!
-?>
+// End of customizations -- place nothing after this line