[Fusionforge-commits] r7325 - trunk/gforge/deb-specific

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Apr 3 12:03:49 CEST 2009


Author: lolando
Date: 2009-04-03 12:03:49 +0200 (Fri, 03 Apr 2009)
New Revision: 7325

Modified:
   trunk/gforge/deb-specific/install-exim4.sh
Log:
Use Unix sockets for Exim4's database connection

Modified: trunk/gforge/deb-specific/install-exim4.sh
===================================================================
--- trunk/gforge/deb-specific/install-exim4.sh	2009-04-03 09:52:59 UTC (rev 7324)
+++ trunk/gforge/deb-specific/install-exim4.sh	2009-04-03 10:03:49 UTC (rev 7325)
@@ -72,9 +72,9 @@
 while (($l = <>) !~ /^\s*domainlist\s*local_domains/) {
   print $l;
   $seen_gf_domains = 1 if ($l =~ /\s*GFORGE_DOMAINS=/);
-  $seen_pg_servers = 1 if ($l =~ m,hide pgsql_servers = $sys_dbhost.*/gforge_mta,);
+  $seen_pg_servers = 1 if ($l =~ m,hide pgsql_servers = .*$sys_dbhost.*/gforge_mta,);
 };
-print "hide pgsql_servers = $sys_dbhost/$sys_dbname/gforge_mta/gforge_mta\n" unless $seen_pg_servers;
+print "hide pgsql_servers = (/var/run/postgresql/.s.PGSQL.5432)/mail/Debian-exim/bogus:$sys_dbhost/$sys_dbname/gforge_mta/\n" unless $seen_pg_servers;
 print "GFORGE_DOMAINS=$sys_users_host:$sys_lists_host\n" unless $seen_gf_domains;
 chomp $l;
 $l .= ":GFORGE_DOMAINS" unless ($l =~ /^[^#]*GFORGE_DOMAINS/);




More information about the Fusionforge-commits mailing list