/[smecontribs]/rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.tcpip_socket.patch3
ViewVC logotype

Annotation of /rpms/smeserver-postgresql/contribs7/smeserver-postgresql-0.0.1.tcpip_socket.patch3

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Dec 28 02:32:06 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-postgresql-0_0_1-24_el4_sme
Import on branch contribs7 of package smeserver-postgresql-0.0.1-24.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-postgresql-0.0.1/root/etc/e-smith/templates/var/lib/pgsql/data/postgresql.conf/tcpip_socket mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/var/lib/pgsql/data/postgresql.conf/tcpip_socket
2     --- smeserver-postgresql-0.0.1/root/etc/e-smith/templates/var/lib/pgsql/data/postgresql.conf/tcpip_socket 2007-05-24 16:13:22.000000000 -0400
3     +++ mezzanine_patched_smeserver-postgresql-0.0.1/root/etc/e-smith/templates/var/lib/pgsql/data/postgresql.conf/tcpip_socket 2007-05-24 16:12:37.000000000 -0400
4     @@ -1,5 +1,13 @@
5     {
6     my $local = $postgresql{LocalNetworkingOnly} || 'yes';
7     - $OUT = "tcpip_socket = ";
8     - $OUT .= ($local eq 'yes') ? 'false' : 'true';
9     + if (scalar </usr/share/doc/postgresql-7.*>)
10     + {
11     + $OUT = "tcpip_socket = ";
12     + $OUT .= ($local eq 'yes') ? 'false' : 'true';
13     + }
14     + else
15     + {
16     + $OUT = "listen_addresses = ";
17     + $OUT .= ($local eq 'yes') ? 'localhost' : "127.0.0.1,$LocalIP";
18     + }
19     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed