[Fusionforge-commits] r9565 - in trunk/gforge/etc: . local.d

Christian Bayle cbayle at libremir.placard.fr.eu.org
Wed Apr 21 20:45:48 CEST 2010


Author: cbayle
Date: 2010-04-21 20:45:48 +0200 (Wed, 21 Apr 2010)
New Revision: 9565

Modified:
   trunk/gforge/etc/local.d/01begin
   trunk/gforge/etc/local.d/02scm
   trunk/gforge/etc/local.d/25features
   trunk/gforge/etc/local.d/30homegroupother
   trunk/gforge/etc/local.d/50plugins
   trunk/gforge/etc/local.inc.example
   trunk/gforge/etc/local.pl.example
Log:
Regenerate local.*  examples


Modified: trunk/gforge/etc/local.d/01begin
===================================================================
--- trunk/gforge/etc/local.d/01begin	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.d/01begin	2010-04-21 18:45:48 UTC (rev 9565)
@@ -1,33 +1,29 @@
 <?php
 // PLEASE DO NOT REMOVE THIS LINE
 
-// GForge Universal Site Modifications
+// FusionForge Universal Site Modifications
 // by David HM Spector <spector at 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='{gforge_etc}';
+$sys_share_path='{usr_share_gforge}';
+$sys_var_path='{var_lib_gforge}';
+
 //
+// FusionForge hostnames
 //
-// GForge hostnames
-//
 // Hostnames should be fully qualified domain names (FQDNs); using short names
-// would be prettier but would stop you from distributing your SourceForge
-// implementation across multiple domains.
+// would be prettier but would stop you from distributing your implementation
+// across multiple domains.
 //
 // Of course, if you have a lot of machines serving a particular purpose
 // such as FTP or for shell accounts, the "hostname" here might be in
 // reality an addr_list of machines that is serviced by a round-robin
 // mechanism or something fancy like a local-director.
 //
-// The default GForge domain
-// this is used where ever the "naked" form of the GForge domain
+// The default FusionForge domain
+// this is used where ever the "naked" form of the FusionForge domain
 // might be used.  E.g., "mailto:admin at gforge.net"
 $sys_default_domain = '{domain_name}';
 $sys_forum_return_domain = "{sys_forum_return_domain}";
@@ -43,7 +39,7 @@
 $sys_shell_host = '{shell_host}';
 $sys_users_host = '{users_host}';
 
-// Machine that hosts the GForge mailing lists (This could also be
+// Machine that hosts the FusionForge mailing lists (This could also be
 // the mail host if you have enough horsepower & bandwidth)
 $sys_lists_host = '{lists_host}';
 

Modified: trunk/gforge/etc/local.d/02scm
===================================================================
--- trunk/gforge/etc/local.d/02scm	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.d/02scm	2010-04-21 18:45:48 UTC (rev 9565)
@@ -4,7 +4,7 @@
 
 // Machine that hosts SCM
 $sys_scm_host = '{scm_host}';
-$sys_cvs_host= '{scm_host}';
+$sys_cvs_host=$sys_scm_host;
 
 // Force the use of a single scm host instead of scm.project.domain.com
 // Set to 1 to use scm.domain.com for all projects
@@ -12,11 +12,11 @@
 $sys_scm_single_host = 1;
 
 // Path to tarballs directory
-$sys_scm_tarballs_path='{sys_scm_tarballs_path}';
+$sys_scm_tarballs_path="$sys_var_path/scmtarballs";
 
 // Path to snapshots directory
-$sys_scm_snapshots_path='{sys_scm_snapshots_path}';
+$sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
 
 // Path to SCMWEB
-$sys_path_to_scmweb='{sys_path_to_scmweb}';
+$sys_path_to_scmweb="$sys_share_path/bin/";
 

Modified: trunk/gforge/etc/local.d/25features
===================================================================
--- trunk/gforge/etc/local.d/25features	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.d/25features	2010-04-21 18:45:48 UTC (rev 9565)
@@ -46,7 +46,14 @@
 //	If set to true, only a site admin can register projects
 //
 $sys_project_reg_restricted={sys_project_reg_restricted};
+
 //
+//  Auto approve project registration.
+//
+$sys_project_reg_autoapprove=false;
+$sys_project_reg_autoapprove_user='admin';
+
+//
 //	Restricted user registration
 //	If set to true, only a site admin can register users
 //

Modified: trunk/gforge/etc/local.d/30homegroupother
===================================================================
--- trunk/gforge/etc/local.d/30homegroupother	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.d/30homegroupother	2010-04-21 18:45:48 UTC (rev 9565)
@@ -22,9 +22,9 @@
 $sys_apache_user='{sys_apache_user}';
 $sys_apache_group='{sys_apache_group}';
 
-// Where the GForge files are placed
+// Where the FusionForge files are placed
 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
-//             that points to the www directory of the GForge
+//             that points to the www directory of the FusionForge
 //             installation.  If you use ANY form of relative path
 //             you will break the html_image function in include/html.php
 //
@@ -53,7 +53,7 @@
 
 // GUI modifications (menu colors, etc.)
 //	See the top of the file include/html.php, this is where the menu colors
-//	and colors used throughout GForge are defined.
+//	and colors used throughout FusionForge are defined.
 
 // Themeing related vars... Some of this needs to change in the session stuff
 // The theme base directory, everything else is handled by theme_sysinit()
@@ -70,7 +70,7 @@
 $sys_images_secure_url='';
 
 // Groups
-//	The GForge permission model is based on groups
+//	The FusionForge permission model is based on groups
 //	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
@@ -99,5 +99,15 @@
 //$gantt_task_font_size=12;
 
 // Place for customized files
-$sys_custom_path='{sys_custom_path}';
+$sys_custom_path=$sys_etc_path.'/custom';
 
+// Gettext files (default: /usr/share/locale).
+$sys_gettext_path=$sys_share_path.'/locales';
+
+// Define the type of installation
+//    * development: 
+//    * integration: 
+//    * staging: 
+//    * production: normal mode.
+$sys_install_type = 'production';
+

Modified: trunk/gforge/etc/local.d/50plugins
===================================================================
--- trunk/gforge/etc/local.d/50plugins	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.d/50plugins	2010-04-21 18:45:48 UTC (rev 9565)
@@ -2,5 +2,14 @@
 // Plugins configuration
 //
 // Path to plugins directory
-$sys_plugins_path='{sys_plugins_path}';
+$sys_plugins_path="$sys_share_path/plugins/";
 
+// You can overwrite FusionForge's default role settings here
+//$default_roles=array(
+//	'Admin'=>array( 'projectadmin'=>'A', 'frs'=>'1', 'scm'=>'1', 'docman'=>'1', 'forumadmin'=>'2', 'forum'=>'2', 'trackeradmin'=>'2', 'tracker'=>'2', 'pmadmin'=>'2', 'pm'=>'2', 'webcal'=>'1' ),
+//	'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' ),
+//	'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' ),
+//	'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'),
+//	'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')
+//);
+

Modified: trunk/gforge/etc/local.inc.example
===================================================================
--- trunk/gforge/etc/local.inc.example	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.inc.example	2010-04-21 18:45:48 UTC (rev 9565)
@@ -7,7 +7,7 @@
 // FusionForge global paths
 //
 $sys_etc_path='/etc/gforge';
-$sys_opt_path='/opt/gforge';
+$sys_share_path='/opt/gforge';
 $sys_var_path='/var/lib/gforge';
 
 //
@@ -27,6 +27,7 @@
 // might be used.  E.g., "mailto:admin at gforge.net"
 $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';
@@ -38,9 +39,9 @@
 $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
+// Machine that hosts the FusionForge mailing lists (This could also be
 // the mail host if you have enough horsepower & bandwidth)
-$sys_lists_host = 'gforge.company.com';
+$sys_lists_host = 'lists.gforge.company.com';
 
 //
 // SCM configuration
@@ -62,7 +63,7 @@
 $sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
 
 // Path to SCMWEB
-$sys_path_to_scmweb="$sys_opt_path/bin/";
+$sys_path_to_scmweb="$sys_share_path/bin/";
 
 //Databases, html/php/other paths
 //server to use for updates and reads
@@ -158,6 +159,9 @@
 $sys_use_project_tags=true;
 $sys_use_project_full_list=true;
 
+// This one exists purely for hysteric raisins
+$sys_use_mwframe=false;
+
 // Enable/Disable user ratings
 $sys_use_ratings=true;
 // Enable/Disable the ability to upload files using FTP in FRS
@@ -190,20 +194,17 @@
 //
 $sys_user_reg_restricted=false;
 
+// Require acceptance of terms and conditions
+$sys_require_accept_conditions=false;
+// Block anonymous downloads?
+$sys_block_anonymous_downloads=false;
 //
 // Groups and Homes dir prefix
 //
 $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='';
 
 //
@@ -214,20 +215,21 @@
 // Your php.ini file may have to be modified to allow writing outside
 // the webserver's directory
 //
-$sys_upload_dir="$sys_var_path/uploads/";
+$sys_upload_dir='/path/to/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';
+//$sys_ftp_upload_chowner='{ftpuploadchowner}';
+$sys_apache_user='www-gforge';
+$sys_apache_group='www-gforge';
 
-// Where the GForge files are placed
+// Where the FusionForge files are placed
 // *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
-//             that points to the www directory of the GForge
+//             that points to the www directory of the FusionForge
 //             installation.  If you use ANY form of relative path
 //             you will break the html_image function in include/html.php
 //
-$sys_urlroot="$sys_opt_path/www/";
-$sys_urlprefix="";
+$sys_urlroot='/path/to/gforge/www/';
+$sys_urlprefix='/';
 
 // Name of the system as a whole (needed by various utils and titles)
 $sys_name='MyForge';
@@ -244,18 +246,18 @@
 
 // Require that user give unique (not yet existent in db) email upon
 // registration
-$sys_require_unique_email=0;
+$sys_require_unique_email=false;
 //
 // 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
-//	and colors used throughout GForge are defined.
+//	and colors used throughout FusionForge are defined.
 
 // 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_opt_path/www/themes/";
+$sys_themeroot='/path/to/gforge/www/themes/';
 // If you want an other default theme or language
 $sys_theme='gforge';
 $sys_lang='English';
@@ -268,18 +270,18 @@
 $sys_images_secure_url='';
 
 // Groups
-//	The GForge permission model is based on groups
+//	The FusionForge permission model is based on groups
 //	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_stats_group=2;
-$sys_news_group=3;
+$sys_news_group=2;
+$sys_stats_group=3;
 $sys_peer_rating_group=4;
 $sys_template_group=5;
 $default_trove_cat=18;
 
 // JPGRAPH Package
-$sys_path_to_jpgraph=$sys_opt_path.'/jpgraph';
+$sys_path_to_jpgraph='/path/to/jpgraph';
 
 // Show Source
 //	Setting this to 1 will add a "Show Source" link to the bottom of each page
@@ -300,7 +302,7 @@
 $sys_custom_path=$sys_etc_path.'/custom';
 
 // Gettext files (default: /usr/share/locale).
-$sys_gettext_path=$sys_opt_path.'/locales';
+$sys_gettext_path=$sys_share_path.'/locales';
 
 // Define the type of installation
 //    * development: 
@@ -313,7 +315,7 @@
 // Plugins configuration
 //
 // Path to plugins directory
-$sys_plugins_path="$sys_opt_path/plugins/";
+$sys_plugins_path="$sys_share_path/plugins/";
 
 // You can overwrite FusionForge's default role settings here
 //$default_roles=array(
@@ -324,4 +326,11 @@
 //	'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')
 //);
 
-// End of customizations -- place nothing after this line
+//bbcode customizations
+$sys_bbcode_make_clickable=1;
+$sys_bbcode_smilie_on=1;
+$sys_bbcode_bbcode_on=1;
+$sys_bbcode_strip_html=1;
+
+// End of customizations -- place nothing after the closing PHP tag!
+?>

Modified: trunk/gforge/etc/local.pl.example
===================================================================
--- trunk/gforge/etc/local.pl.example	2010-04-21 18:45:40 UTC (rev 9564)
+++ trunk/gforge/etc/local.pl.example	2010-04-21 18:45:48 UTC (rev 9565)
@@ -13,9 +13,9 @@
 $FTPFILES_DIR = '/usr/share/gforge/download' ;
 $sys_urlroot='/usr/share/gforge/www/' ;
 $sf_cache_dir = '/var/cache/gforge' ;
-$sys_name = 'MyGForge' ;
+$sys_name = 'MyForge' ;
 $sys_themeroot = $sys_urlroot.'themes/' ;
-$sys_news_group = '3' ;
+$sys_news_group = '2' ;
 $sys_dbhost = '' ;
 $sys_dbname = 'alexandria' ;
 $sys_dbuser = 'www' ;
@@ -36,6 +36,6 @@
 $chroot_prefix = '';
 $homedir_prefix = '/home';
 $grpdir_prefix = '/home/groups';
-$file_dir = '/path/to/var/lib/gforge';
+$file_dir = '/var/lib/gforge';
 $cvs_root = '/cvsroot';
 $svn_root = '/svnroot';




More information about the Fusionforge-commits mailing list