[Fusionforge-commits] r12315 - trunk/src/etc
Christian Bayle
cbayle at fusionforge.org
Sat Feb 19 11:46:49 CET 2011
Author: cbayle
Date: 2011-02-19 11:46:49 +0100 (Sat, 19 Feb 2011)
New Revision: 12315
Removed:
trunk/src/etc/database.inc.example
trunk/src/etc/database.py.example
trunk/src/etc/gforge-httpd.conf.example
trunk/src/etc/gforge.conf.example
trunk/src/etc/httpd.conf.example
trunk/src/etc/httpd.secrets.example
trunk/src/etc/local.inc.example
trunk/src/etc/local.pl.example
trunk/src/etc/nss-pgsql.conf.example
Log:
Cleanup old examples
Deleted: trunk/src/etc/database.inc.example
===================================================================
--- trunk/src/etc/database.inc.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/database.inc.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,9 +0,0 @@
-<?php
- // PLEASE DO NOT REMOVE THIS LINE
- $sys_dbhost="";
- $sys_dbname="alexandria";
- $sys_dbuser="www";
- $sys_dbpasswd="";
- $sys_ldap_passwd="";
- $sys_dbport=5432;
-?>
Deleted: trunk/src/etc/database.py.example
===================================================================
--- trunk/src/etc/database.py.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/database.py.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,6 +0,0 @@
-# PLEASE DO NOT REMOVE THIS LINE
-sys_dbhost="";
-sys_dbname="alexandria";
-sys_dbuser="www";
-sys_dbpasswd="";
-sys_ldap_passwd="";
Deleted: trunk/src/etc/gforge-httpd.conf.example
===================================================================
--- trunk/src/etc/gforge-httpd.conf.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/gforge-httpd.conf.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,65 +0,0 @@
-<VirtualHost _default_:80>
- ServerName gforge.company.com
- DocumentRoot /opt/gforge/www
- ErrorDocument 404 /404.php
-
- <Directory "/opt/gforge/www">
- Options Indexes FollowSymLinks Multiviews
- Order allow,deny
- allow from all
- </Directory>
-
- <Location "/projects">
- ForceType application/x-httpd-php
- </Location>
-
- <Location "/users">
- ForceType application/x-httpd-php
- </Location>
-
- #
- # mailman settings - may have to adjust
- #
- ScriptAlias /mailman /usr/lib/mailman/cgi-bin
- Alias /pipermail /var/lib/mailman/archives/public
-
- <Directory "/usr/lib/mailman/cgi-bin">
- Options Indexes FollowSymLinks Multiviews
- Order allow,deny
- allow from all
- </Directory>
-
- <Directory "/var/lib/mailman/archives/public">
- Options Indexes FollowSymLinks Multiviews
- Order allow,deny
- allow from all
- </Directory>
-
- #
- # SVN Repository
- #
- <Location /svn>
- DAV svn
- SVNParentPath /var/lib/gforge/svnroot
-
- # how to authenticate a user
- AuthzSVNAccessFile /var/lib/gforge/svnroot-access
- AuthType Basic
- AuthName "Document repository"
- AuthUserFile /var/lib/gforge/svnroot-authfile
- SVNIndexXSLT "/svnindex.xsl"
-
- # only authenticated users may access the repository
- Require valid-user
- </Location>
-
- php_value include_path ".:/opt/gforge/www/include/:/opt/gforge:/etc/gforge/"
-
- Alias /scripts/jquery/ /opt/gforge/lib/vendor/jquery/
- Alias /scripts/jquery-tipsy/ /opt/gforge/lib/vendor/jquery-tipsy/
- Alias /scripts/prototype/ /opt/gforge/lib/vendor/prototype/
- Alias /scripts/scriptaculous/ /opt/gforge/lib/vendor/scriptaculous/
- Alias /scripts/yui/ /opt/gforge/lib/vendor/yui/build/
-
- Include "/etc/gforge/httpd.d/*.conf"
-</VirtualHost>
Deleted: trunk/src/etc/gforge.conf.example
===================================================================
--- trunk/src/etc/gforge.conf.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/gforge.conf.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,111 +0,0 @@
-system_name=MyForge
-domain_name=gforge.company.com
-server_admin=webmaster at gforge.company.com
-db_host=
-db_port=5432
-db_name=alexandria
-db_user=www
-db_password=
-ip_address=10.GF.OR.GE
-scm_host=cvs.gforge.company.com
-shell_host=shell.gforge.company.com
-users_host=users.gforge.company.com
-lists_host=lists.gforge.company.com
-jabber_host=jabber.gforge.company.com
-upload_host=upload.gforge.company.com
-download_host=download.gforge.company.com
-ftpuploadhost=upload.gforge.company.com
-ftpuploaddir=/path/to/frs/upload
-newsadmin_groupid=2
-statsadmin_groupid=3
-peerrating_groupid=4
-template_project=5
-admin_login=admin
-admin_password=
-skill_list=Ada;C;C++;HTML;LISP;Perl;PHP;Python;SQL
-default_trove_cat=18
-ldap_host=ldap.gforge.company.com
-ldap_base_dn=dc=gforge,dc=company,dc=com
-ldap_web_add_password=
-sys_path_to_mailman=/usr/lib/mailman
-cgidir=/path/to/cgidir
-cronolog_path=/usr/bin/cronolog
-sys_sendmail_path=/usr/sbin/sendmail
-sys_path_to_jpgraph=/path/to/jpgraph
-sys_path_to_scmweb=/usr/share/gforge/bin/
-gforge_chroot=
-gforge_etc=/etc/gforge
-sys_custom_path=/path/to/gforge/etc/custom
-groupdir=/home/groups
-homedir=/home
-cvsdir=/cvsroot
-svndir=/svnroot
-uploaddir=/path/to/uploads/
-sys_urlroot=/path/to/gforge/www/
-sys_jabber_pass=
-usr_share_gforge=/opt/gforge
-usr_lib_gforge=/path/to/usr/share/gforge
-var_lib_gforge=/var/lib/gforge
-var_log_gforge=/path/to/var/log/gforge
-sys_show_source=0
-sys_force_login=0
-sys_session_key=foobar
-sys_session_expire=60 * 60 * 24 * 7
-sys_show_contact_info=1
-sys_themeroot=/path/to/gforge/www/themes/
-sys_theme=gforge
-sys_lang=English
-sys_default_timezone=GMT
-sys_default_country_code=US
-sys_account_manager_type=UNIX
-sys_use_jabber=0
-sys_use_auth_ldap=1
-sys_ldap_auth_port=389
-sys_ldap_auth_version=3
-sys_ldap_auth_dn=dc=gforge,dc=company,dc=com
-sys_scm_tarballs_path=/path/to/var/lib/gforge/scmtarballs
-sys_scm_snapshots_path=/path/to/var/lib/gforge/scmsnapshots
-sys_use_scm=true
-sys_use_tracker=true
-sys_use_forum=true
-sys_use_pm=true
-sys_use_docman=true
-sys_use_news=true
-sys_use_mail=true
-sys_use_survey=true
-sys_use_frs=true
-sys_use_fti=false
-sys_use_ftp=false
-sys_use_trove=true
-sys_use_snippet=false
-sys_use_shell=true
-sys_use_ratings=true
-sys_use_ssl=false
-sys_use_people=false
-sys_use_ftpuploads=false
-sys_use_diary=true
-sys_use_bookmarks=true
-sys_use_project_tags=true
-sys_use_project_full_list=true
-sys_use_gateways=true
-sys_use_project_vhost=false
-sys_use_project_database=false
-sys_use_project_multimedia=false
-sys_use_private_project=true
-sys_project_reg_restricted=true
-sys_user_reg_restricted=false
-sys_require_accept_conditions=false
-sys_require_unique_email=false
-sys_localinc=/path/to/local.inc
-sys_jabber_pass=
-sys_plugins_path=/usr/share/gforge/plugins/
-sys_sslcrt=
-sys_sslkey=
-noreply_to_bitbucket=true
-sys_simple_dns=true
-sys_apache_user=www-gforge
-sys_apache_group=www-gforge
-sys_forum_return_domain=gforge.company.com
-sys_block_anonymous_downloads=false
-sys_urlprefix=/
-dovhost=true
Deleted: trunk/src/etc/httpd.conf.example
===================================================================
--- trunk/src/etc/httpd.conf.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/httpd.conf.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,224 +0,0 @@
-# 01common begin
-<Files .htaccess>
- order allow,deny
- deny from all
-</Files>
-
-#NameVirtualHost *:80
-# This is magic for virtual hosting!
-UseCanonicalName Off
-
-<Directory ~ "/CVS/">
- ## block web access to CVS directories.
- deny from all
-</Directory>
-# 01common end
-# 05maindirauth begin
-<Directory /opt/gforge/www>
- Options Indexes FollowSymlinks
- AllowOverride All
- order allow,deny
- allow from all
- php_admin_value include_path "/path/to/gforge/etc/custom:/etc/gforge:/opt/gforge:/opt/gforge/www/include:/opt/gforge/plugins:/usr/share/php:."
- php_admin_value default_charset "UTF-8"
- # php_flag register_globals "Off"
- ###
- ### safe PHP settings
- ##
- # report E_ALL errors
- php_admin_value error_reporting 2047
-
- # don't echo error to user
- php_admin_value display_errors 0
-
- # do log the errors in ErrorLog! why even ask?
- php_admin_value log_errors 1
-
- # don't report to syslog! apparently you can't undef error_log to force it to go to
- # apache's error_log. So make sure error_log isn't defined in php.ini (/etc/php5/apache/php.ini)
- ##php_admin_value error_log ''
-</Directory>
-# 05maindirauth end
-# 060maindirhttp.vhost begin
-<VirtualHost *:80>
- ServerName gforge.company.com
- ServerAlias www.gforge.company.com
- ServerAdmin webmaster at gforge.company.com
- DocumentRoot /opt/gforge/www
- #
- # Apache 1.3
- # User www-gforge
- # Group www-gforge
- #
- # Apache 2 apache2-mpm-perchild
- # AssignUserID www-gforge www-gforge
- # Apache 2
- # <IfModule mod_suexec.c>
- # SuexecUserGroup www-gforge www-gforge
- # </IfModule>
-# 060maindirhttp.vhost end
-# 06maindirhttp begin
- DirectoryIndex index.html index.php
- <IfModule mod_userdir.c>
- UserDir disabled
- </IfModule>
-
- php_admin_value default_charset "UTF-8"
-
- <Directory /opt/gforge/www>
- Include /etc/gforge/httpd.secrets
- </Directory>
-
- ScriptAliasMatch ^/plugins/([^/]*)/cgi-bin/(.*) /opt/gforge/plugins/$1/cgi-bin/$2
-
- # Projects and Users script
- <Location /projects>
- ForceType application/x-httpd-php
- </Location>
- <Location /users>
- ForceType application/x-httpd-php
- </Location>
-
- # 404 Error document
- ErrorDocument 404 /404.php
-
- # FusionForge without the DNS delegation
- # Project home pages are in a virtual /www/<group> location
- # AliasMatch ^/www/([^/]*)/(.*) /home/groups/$1/htdocs/$2
- # ScriptAliasMatch ^/([^/]*)/cgi-bin/(.*) /home/groups/$1/cgi-bin/$2
- # <Directory /home/groups>
- # Options Indexes FollowSymlinks
- # AllowOverride All
- # order allow,deny
- # allow from all
- # </Directory>
-
- Alias /fckeditor/ /usr/share/fckeditor/
- <Directory "/usr/share/fckeditor/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
-
- RedirectMatch 301 ^(/plugins/mediawiki/wiki/[-a-zA-Z0-9_]*)/*$ $1/index.php
- AliasMatch ^/plugins/mediawiki/wiki/[-a-zA-Z0-9_]*/api.php /opt/gforge/www/plugins/mediawiki/api.php
- AliasMatch ^/plugins/mediawiki/wiki/[-a-zA-Z0-9_]*/index.php /opt/gforge/www/plugins/mediawiki/index.php
- AliasMatch ^/plugins/mediawiki/wiki/([-a-zA-Z0-9_]*)/images/(.*) /var/lib/gforge/plugins/mediawiki/projects/$1/images/$2
-
- Alias /anonscm/ /var/lib/gforge/chroot/scmrepos/
-
- <DirectoryMatch /var/lib/gforge/chroot/scmrepos/[^/]*>
- Options -Indexes
- </DirectoryMatch>
- <DirectoryMatch /var/lib/gforge/chroot/scmrepos/[^/]*/.*>
- Options +Indexes
- </DirectoryMatch>
-
- <Proxy http://127.0.0.1:8081/*>
- Allow from all
- </Proxy>
-
- <Location /scm/loggerhead/>
- ProxyPass http://127.0.0.1:8081/
- ProxyPassReverse http://127.0.0.1:8081/
- </Location>
-# 06maindirhttp end
-# 06zmaindirhttp.vhost begin
- Alias / /opt/gforge/www/
- LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" fusionforge
- CustomLog "|/usr/bin/cronolog /path/to/var/log/gforge/%Y/%m/%d/fusionforge.log" fusionforge
-
- # Ensure that we don't try to use SSL on SSL Servers
- <IfModule apache_ssl.c>
- SSLDisable
- </IfModule>
-
- RewriteEngine on
- RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
- RewriteRule .* - [F]
-</VirtualHost>
-# 06zmaindirhttp.vhost end
-# 200list.vhost begin
-<VirtualHost *:80>
- ServerName lists.gforge.company.com
-# 200list.vhost end
-# 20list begin
- AddHandler cgi-script .cgi
-
- ScriptAlias /cgi-bin/mailman/ /var/lib/mailman/cgi-bin/
- ScriptAlias /mailman/ /var/lib/mailman/cgi-bin/
-
- Alias /pipermail /var/lib/mailman/archives/public
- <Directory /var/lib/mailman/archives/public>
- AllowOverride Options
- Options FollowSymLinks
- </Directory>
-
- Alias /images/mailman /usr/share/images/mailman
- <Location /images/mailman>
- order allow,deny
- allow from all
- </Location>
-# 20list end
-# 20zlist.vhost begin
- RedirectMatch permanent ^/$ http://lists.gforge.company.com/mailman/listinfo
- LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" fusionforge
- CustomLog "|/usr/bin/cronolog /path/to/var/log/gforge/%Y/%m/%d/fusionforge-lists.log" fusionforge
- # Ensure that we don't try to use SSL on SSL Servers
- <IfModule apache_ssl.c>
- SSLDisable
- </IfModule>
-
- RewriteEngine on
- RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
- RewriteRule .* - [F]
-</VirtualHost>
-# 20zlist.vhost end
-# 40project.vhost begin
-<VirtualHost *:80>
- ServerName gforge.company.com
- ServerAlias *.gforge.company.com
- VirtualDocumentRoot /home/groups/%1/htdocs
- VirtualScriptAlias /home/groups/%1/cgi-bin
- DirectoryIndex index.html index.php
- php_admin_value default_charset "UTF-8"
- php_admin_value include_path "/path/to/gforge/etc/custom:/etc/gforge:/opt/gforge:/opt/gforge/www/include:."
- Alias /themes-gforge/ /usr/share/gforge/www/themes/
- <Directory /home/groups>
- Options Indexes FollowSymlinks
- AllowOverride All
- order allow,deny
- allow from all
- </Directory>
- LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" fusionforge
- CustomLog "|/usr/bin/cronolog /path/to/var/log/gforge/%Y/%m/%d/fusionforge-project-vhost.log" fusionforge
- # Ensure that we don't try to use SSL on SSL Servers
- <IfModule apache_ssl.c>
- SSLDisable
- </IfModule>
-</VirtualHost>
-# 40project.vhost end
-# 55dnsalias.vhost begin
-#This may be used
-#ServerPath /sub1/
-#RewriteEngine On
-#RewriteRule ^(/sub1/.*) /www/subdomain$1
-
-# Other virtual hosts, as requested by users
-Include /var/lib/gforge/etc/httpd.vhosts
-# 55dnsalias.vhost end
-# 61plugin-scmdarcs begin
-<Directory /opt/gforge/plugins/scmdarcs/cgi-bin>
- SetEnv DARCSWEB_CONFPATH /etc/gforge/plugins/scmdarcs/
-</Directory>
-# 61plugin-scmdarcs end
-# 61plugin-scmgit begin
-<Directory /opt/gforge/plugins/scmgit/cgi-bin>
- SetEnv GITWEB_CONFIG /etc/gforge/plugins/scmgit/gitweb.conf
-</Directory>
-# 61plugin-scmgit end
-# 99maindirhttp begin
-#Alias / /opt/gforge/www/
-DocumentRoot /opt/gforge/www
-# 99maindirhttp end
Deleted: trunk/src/etc/httpd.secrets.example
===================================================================
--- trunk/src/etc/httpd.secrets.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/httpd.secrets.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,24 +0,0 @@
-# PLEASE DO NOT REMOVE THIS LINE
-
-SetEnv sys_localinc /path/to/local.inc
-
-#RequestHeader unset GForgeDbhost
-#RequestHeader append GForgeDbhost
-
-#RequestHeader unset GForgeDbport
-#RequestHeader append GForgeDbport 5432
-
-RequestHeader unset GForgeDbname
-RequestHeader append GForgeDbname alexandria
-
-RequestHeader unset GForgeDbuser
-RequestHeader append GForgeDbuser www
-
-RequestHeader unset GForgeDbpasswd
-RequestHeader append GForgeDbpasswd
-
-RequestHeader unset GForgeLdapPasswd
-RequestHeader append GForgeLdapPasswd
-
-RequestHeader unset GForgeJabberPasswd
-RequestHeader append GForgeJabberPasswd
Deleted: trunk/src/etc/local.inc.example
===================================================================
--- trunk/src/etc/local.inc.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/local.inc.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,332 +0,0 @@
-<?php
-// PLEASE DO NOT REMOVE THIS LINE
-
-// FusionForge Universal Site Modifications
-// by David HM Spector <spector at zeitgeist.com>
-//
-// FusionForge global paths
-//
-$sys_etc_path='/etc/gforge';
-$sys_share_path='/opt/gforge';
-$sys_var_path='/var/lib/gforge';
-
-//
-// FusionForge hostnames
-//
-// Hostnames should be fully qualified domain names (FQDNs); using short names
-// 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 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 = '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(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 the FusionForge mailing lists (This could also be
-// the mail host if you have enough horsepower & bandwidth)
-$sys_lists_host = 'lists.gforge.company.com';
-
-//
-// SCM configuration
-//
-
-// Machine that hosts SCM
-$sys_scm_host = 'cvs.gforge.company.com';
-$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
-// Set to 0 to use scm.project.domain.com
-$sys_scm_single_host = 1;
-
-// Path to tarballs directory
-$sys_scm_tarballs_path="$sys_var_path/scmtarballs";
-
-// Path to snapshots directory
-$sys_scm_snapshots_path="$sys_var_path/scmsnapshots";
-
-// Path to SCMWEB
-$sys_path_to_scmweb="$sys_share_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='';
-$sys_dbname='alexandria';
-$sys_dbuser='www';
-// You can also specify a database port if you're using something other than 5432
-$sys_dbport='5432';
-$sys_server='pgsql';
-
-//
-// Passwords
-//
-$sys_dbpasswd='';
-$sys_ldap_passwd='';
-$sys_jabber_pass='';
-
-//
-// Account Management
-//
-// UNIX for classic account management
-// LDAP for managing with ldap
-// NIS not implemented
-$sys_account_manager_type='UNIX';
-
-// email address to send admin alerts to
-$sys_admin_email = 'gforge at 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_port=389;
-$sys_ldap_version=3;
-// this is dn under which all information stored
-$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';
-// 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';
-
-//
-// 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';
-// messages sent to jabber accounts will come from this user
-// It is similar to the "From: noreply at gforge.org" used in emails
-$sys_jabber_user='noreply';
-if (!isset($sys_jabber_pass)) {
- $sys_jabber_pass='';
-}
-//
-// FEATURES
-// You can turn features on/off sitewide
-//
-$sys_use_scm=true;
-$sys_use_tracker=true;
-$sys_use_forum=true;
-$sys_use_pm=true;
-$sys_use_docman=true;
-$sys_use_news=true;
-$sys_use_mail=true;
-$sys_use_survey=true;
-$sys_use_frs=true;
-$sys_use_fti=false;
-$sys_use_ftp=false;
-$sys_use_trove=true;
-$sys_use_snippet=false;
-$sys_use_ssl=false;
-$sys_use_people=false;
-$sys_use_shell=true;
-$sys_use_private_project=true;
-$sys_use_diary=true;
-$sys_use_bookmarks=true;
-$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
-$sys_use_ftpuploads=false;
-// Enable/Disable the ability to upload files using SCP/SFTP in FRS
-$sys_use_manual_uploads=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=false;
-// Enable/Disable the ability to have database for a project (backend not implemented)
-$sys_use_project_database=false;
-// Enable/Disable the ability to add images for a project (frontend not implemented)
-$sys_use_project_multimedia=false;
-
-//
-// Restricted project registration
-// If set to true, only a site admin can register projects
-//
-$sys_project_reg_restricted=true;
-
-//
-// 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
-//
-$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';
-$cvsdir_prefix='/cvsroot';
-$svndir_prefix='/svnroot';
-$sys_chroot='';
-
-//
-// File Upload Configuration
-//
-// 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_upload_dir='/path/to/uploads/';
-$sys_ftp_upload_dir='/path/to/frs/upload';
-$sys_ftp_upload_host='upload.gforge.company.com';
-//$sys_ftp_upload_chowner='{ftpuploadchowner}';
-$sys_apache_user='www-gforge';
-$sys_apache_group='www-gforge';
-
-// Where the FusionForge files are placed
-// *** IMPORTANT: sys_urlroot *MUST* be an ABSOLUTE FILEYSTEM PATH NAME
-// 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='/path/to/gforge/www/';
-$sys_urlprefix='/';
-
-// Name of the system as a whole (needed by various utils and titles)
-$sys_name='MyForge';
-
-// Mailman base installation directory
-$sys_path_to_mailman='/usr/lib/mailman';
-
-// session cookie settings
-//
-// IMPORTANT - YOU MUST CHANGE "foobar" to a long, random number
-//
-$sys_session_key = 'foobar';
-$sys_session_expire = 60 * 60 * 24 * 7;
-
-// Require that user give unique (not yet existent in db) email upon
-// registration
-$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 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='/path/to/gforge/www/themes/';
-// If you want an other default theme or language
-$sys_theme='gforge';
-$sys_lang='English';
-$sys_default_timezone='GMT';
-$sys_default_country_code='US';
-
-// Akamization of images
-// example: http://images.gforge.company.com
-$sys_images_url='';
-$sys_images_secure_url='';
-
-// 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_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='/path/to/jpgraph';
-
-// Show Source
-// Setting this to 1 will add a "Show Source" link to the bottom of each page
-$sys_show_source=0;
-
-// Force Login
-$sys_force_login=0;
-
-// Truetype font settings
-//$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_size=12;
-
-// Place for customized files
-$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';
-
-//
-// Plugins configuration
-//
-// Path to plugins directory
-$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')
-//);
-
Deleted: trunk/src/etc/local.pl.example
===================================================================
--- trunk/src/etc/local.pl.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/local.pl.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,41 +0,0 @@
-# PLEASE DO NOT REMOVE THIS LINE
-
-$sys_default_domain = 'gforge.company.com' ;
-$sys_scm_host = 'cvs.gforge.company.com' ;
-$sys_download_host = 'download.gforge.company.com' ;
-$sys_shell_host = 'shell.gforge.company.com' ;
-$sys_users_host = 'users.gforge.company.com' ;
-$sys_docs_host = 'gforge.company.com' ;
-$sys_lists_host = 'lists.gforge.company.com' ;
-$sys_dns1_host = 'ns1.gforge.company.com' ;
-$sys_dns2_host = 'ns2.gforge.company.com' ;
-$FTPINCOMING_DIR = '/usr/share/gforge/ftp/incoming' ;
-$FTPFILES_DIR = '/usr/share/gforge/download' ;
-$sys_urlroot='/usr/share/gforge/www/' ;
-$sf_cache_dir = '/var/cache/gforge' ;
-$sys_name = 'MyForge' ;
-$sys_themeroot = $sys_urlroot.'themes/' ;
-$sys_news_group = '2' ;
-$sys_dbhost = '' ;
-$sys_dbname = 'alexandria' ;
-$sys_dbuser = 'www' ;
-$sys_dbpasswd = '' ;
-$sys_ldap_base_dn = 'dc=gforge,dc=company,dc=com' ;
-$sys_ldap_host = 'ldap.gforge.company.com' ;
-$skill_list = 'Ada;C;C++;HTML;LISP;Perl;PHP;Python;SQL' ;
-$admin_login = 'admin' ;
-$admin_password = '' ;
-$server_admin = 'webmaster at gforge.company.com' ;
-$domain_name = 'gforge.company.com' ;
-$newsadmin_groupid = '2' ;
-$statsadmin_groupid = '3' ;
-$peerrating_groupid = '4' ;
-$noreply_to_bitbucket = 'true' ;
-$sys_simple_dns = 'true';
-$sys_ip_address = '10.GF.OR.GE';
-$chroot_prefix = '';
-$homedir_prefix = '/home';
-$grpdir_prefix = '/home/groups';
-$file_dir = '/var/lib/gforge';
-$cvs_root = '/cvsroot';
-$svn_root = '/svnroot';
Deleted: trunk/src/etc/nss-pgsql.conf.example
===================================================================
--- trunk/src/etc/nss-pgsql.conf.example 2011-02-19 10:44:01 UTC (rev 12314)
+++ trunk/src/etc/nss-pgsql.conf.example 2011-02-19 10:46:49 UTC (rev 12315)
@@ -1,52 +0,0 @@
-#----------------- DB connection
-host = 127.0.0.1
-# For socket give the directory to put the socket
-#host = /tmp
-port = 5432
-database = gforge
-login = gforge_nss
-passwd = ''
-
-#----------------- New possibility including the query directly here ------------------#
-# query
-# return the passwd array
-querypasswd = SELECT login,passwd,uid,gid,gecos,('/var/lib/gforge/chroot/home/users/' || login),shell FROM nss_passwd
-# return the group array whithout list of members
-querygroup = SELECT name,'x',gid FROM nss_groups
-# return an array of users that are member of a group with gid %d
-querymembers = SELECT user_name FROM nss_usergroups WHERE gid = %d
-# return an array of numeric gid a user %s is member of except his own gid %d
-queryids = SELECT gid FROM nss_usergroups WHERE user_name = '%s' AND gid != %d
-#----------------- Only the following tables map are necessary ------------------------#
-# passwd
-passwd_name = login
-passwd_uid = uid
-# group
-group_name = name
-group_gid = gid
-#--------------------------------------------------------------------------------------#
-
-#----------------- Old Method ------------------#
-# tables
-#passwdtable = nss_passwd
-#grouptable = nss_groups
-#groupmembertable = nss_passwd JOIN nss_usergroups ON nss_passwd.uid=nss_usergroups.uid JOIN nss_groups ON nss_usergroups.gid=nss_groups.gid
-
-# passwd
-#passwd_name = login
-#passwd_passwd = passwd
-#passwd_uid = uid
-#passwd_gid = gid
-#passwd_gecos = gecos
-
-#passwd_dir = homedir
-# New extention that allow concatenation
-#passwd_dir = ('/home/users/' || login)
-#passwd_shell = shell
-
-# group
-#group_name = name
-#group_passwd = passwd
-#group_gid = gid
-
-#group_member = login
More information about the Fusionforge-commits
mailing list