[Fusionforge-commits] r7272 - in trunk/gforge: . etc/httpd.d plugins/scmcvs utils

Alexandre Neymann neymanna at libremir.placard.fr.eu.org
Thu Apr 2 10:42:48 CEST 2009


Author: neymanna
Date: 2009-04-02 10:42:48 +0200 (Thu, 02 Apr 2009)
New Revision: 7272

Modified:
   trunk/gforge/etc/httpd.d/httpd.secrets
   trunk/gforge/fusionforge.spec
   trunk/gforge/plugins/scmcvs/fusionforge-plugin-scmcvs.spec
   trunk/gforge/utils/include.pl
Log:
assume that connexion to db are local

Modified: trunk/gforge/etc/httpd.d/httpd.secrets
===================================================================
--- trunk/gforge/etc/httpd.d/httpd.secrets	2009-04-01 11:23:09 UTC (rev 7271)
+++ trunk/gforge/etc/httpd.d/httpd.secrets	2009-04-02 08:42:48 UTC (rev 7272)
@@ -2,8 +2,8 @@
 
 SetEnv sys_localinc {sys_localinc}
 
-RequestHeader unset GForgeDbhost
-RequestHeader append GForgeDbhost {db_host}
+#RequestHeader unset GForgeDbhost
+#RequestHeader append GForgeDbhost {db_host}
 
 RequestHeader unset GForgeDbport
 RequestHeader append GForgeDbport {db_port}

Modified: trunk/gforge/fusionforge.spec
===================================================================
--- trunk/gforge/fusionforge.spec	2009-04-01 11:23:09 UTC (rev 7271)
+++ trunk/gforge/fusionforge.spec	2009-04-02 08:42:48 UTC (rev 7272)
@@ -42,7 +42,6 @@
 #Requires: /var/www/jpgraph/jpgraph.php
 #Requires: libnss-pgsql >= 1.4
 Requires: mailman
-#Requires: nscd
 Requires: gettext
  
 BuildRequires: perl
@@ -244,7 +243,7 @@
 	# updating PostgreSQL configuration
 	if ! grep -i '^ *host.*%{dbname}.*' /var/lib/pgsql/data/pg_hba.conf >/dev/null 2>&1; then
 		echo 'host %{dbname} %{dbuser} 127.0.0.1 255.255.255.255 md5' >> /var/lib/pgsql/data/pg_hba.conf
- 		echo 'local %{dbname} gforge_mta trust' >> /var/lib/pgsql/data/pg_hba.conf
+ 		echo 'local %{dbname} gforge_mta md5md5md5md5md5' >> /var/lib/pgsql/data/pg_hba.conf
 		echo 'local %{dbname} gforge_nss trust' >> /var/lib/pgsql/data/pg_hba.conf
 		%reloadpostgresql
 	fi

Modified: trunk/gforge/plugins/scmcvs/fusionforge-plugin-scmcvs.spec
===================================================================
--- trunk/gforge/plugins/scmcvs/fusionforge-plugin-scmcvs.spec	2009-04-01 11:23:09 UTC (rev 7271)
+++ trunk/gforge/plugins/scmcvs/fusionforge-plugin-scmcvs.spec	2009-04-02 08:42:48 UTC (rev 7272)
@@ -16,6 +16,7 @@
 #update etc/plugins/scmcvs/config.php $cvs_binary_version before updating cvs to 1.12
 Requires: cvs < 1.12
 Requires: rcs
+Requires: nscd
 URL: http://www.gforge.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 

Modified: trunk/gforge/utils/include.pl
===================================================================
--- trunk/gforge/utils/include.pl	2009-04-01 11:23:09 UTC (rev 7271)
+++ trunk/gforge/utils/include.pl	2009-04-02 08:42:48 UTC (rev 7272)
@@ -32,7 +32,7 @@
 sub db_connect ( ) {
     &parse_local_inc;
 
-    $dbh ||= DBI->connect("DBI:Pg:dbname=$sys_dbname;host=$sys_dbhost","$sys_dbuser","$sys_dbpasswd") ;
+    $dbh ||= DBI->connect("DBI:Pg:dbname=$sys_dbname","$sys_dbuser","$sys_dbpasswd") ;
     if (! $dbh) {
 	die "Error while connecting to database: $!" ;
     }




More information about the Fusionforge-commits mailing list