/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-fixwarnings.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-fixwarnings.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 2 13:58:27 2009 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-12_el5_sme, e-smith-samba-2_2_0-47_el5_sme, e-smith-samba-2_2_0-19_el5_sme, e-smith-samba-2_2_0-52_el5_sme, e-smith-samba-2_2_0-13_el5_sme, e-smith-samba-2_2_0-15_el5_sme, e-smith-samba-2_2_0-49_el5_sme, e-smith-samba-2_2_0-23_el5_sme, e-smith-samba-2_2_0-24_el5_sme, e-smith-samba-2_2_0-14_el5_sme, e-smith-samba-2_2_0-40_el5_sme, e-smith-samba-2_2_0-5_el5_sme, e-smith-samba-2_2_0-43_el5_sme, e-smith-samba-2_2_0-44_el5_sme, e-smith-samba-2_2_0-63_el5_sme, e-smith-samba--, e-smith-samba-2_2_0-61_el5_sme, e-smith-samba-2_2_0-31_el5_sme, e-smith-samba-2_2_0-32_el5_sme, e-smith-samba-2_2_0-11_el5_sme, e-smith-samba-2_2_0-57_el5_sme, e-smith-samba-2_2_0-54_el5_sme, e-smith-samba-2_2_0-41_el5_sme, e-smith-samba-2_2_0-17_el5_sme, e-smith-samba-2_2_0-55_el5_sme, e-smith-samba-2_2_0-39_el5_sme, e-smith-samba-2_2_0-46_el5_sme, e-smith-samba-2_2_0-53_el5_sme, e-smith-samba-2_2_0-50_el5_sme, e-smith-samba-2_2_0-7_el5_sme, e-smith-samba-2_2_0-16_el5_sme, e-smith-samba-2_2_0-18_el5_sme, e-smith-samba-2_2_0-22_el5_sme, e-smith-samba-2_2_0-58_el5_sme, e-smith-samba-2_2_0-30_el5_sme, e-smith-samba-2_2_0-33_el5_sme, e-smith-samba-2_2_0-56_el5_sme, e-smith-samba-2_2_0-51_el5_sme, e-smith-samba-2_2_0-42_el5_sme, e-smith-samba-2_2_0-65_el5_sme, e-smith-samba-2_2_0-64_el5_sme, e-smith-samba-2_2_0-8_el5_sme, e-smith-samba-2_2_0-60_el5_sme, e-smith-samba-2_2_0-62_el5_sme, e-smith-samba-2_2_0-34_el5_sme, e-smith-samba-2_2_0-6_el5_sme, e-smith-samba-2_2_0-10_el5_sme, e-smith-samba-2_2_0-35_el5_sme, e-smith-samba-2_2_0-45_el5_sme, e-smith-samba-2_2_0-48_el5_sme, e-smith-samba-2_2_0-21_el5_sme, e-smith-samba-2_2_0-37_el5_sme, e-smith-samba-2_2_0-38_el5_sme, e-smith-samba-2_2_0-36_el5_sme, e-smith-samba-2_2_0-20_el5_sme, e-smith-samba-2_2_0-29_el5_sme, e-smith-samba-2_2_0-66_el5_sme, e-smith-samba-2_2_0-59_el5_sme, e-smith-samba-2_2_0-26_el5_sme, e-smith-samba-2_2_0-25_el5_sme, e-smith-samba-2_2_0-9_el5_sme, HEAD
Fix warnings in template expansion

1 slords 1.1 --- e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteAnnounce.fixwarnings 2009-06-02 07:46:56.000000000 -0600
2     +++ e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteAnnounce 2009-06-02 07:48:58.000000000 -0600
3     @@ -1,7 +1,7 @@
4     {
5     # Cause this host to announce itself to local subnets here
6     # ; remote announce = 192.168.1.255 192.168.2.44
7     - return "" if $SMB_WINSServer eq $LocalIP;
8     + return "" unless defined $SMB_WINSServer and $SMB_WINSServer ne $LocalIP;
9    
10     return "remote announce = $SMB_WINSServer";
11     }
12     --- e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteBrowseSync.fixwarnings 2009-06-02 07:46:56.000000000 -0600
13     +++ e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11remoteBrowseSync 2009-06-02 07:49:13.000000000 -0600
14     @@ -3,7 +3,7 @@
15     # request announcement to, or browse list sync from:
16     # a specific host or from / to a whole subnet (see below)
17     # ; remote browse sync = 192.168.3.25 192.168.5.255
18     - return "" if $SMB_WINSServer eq $LocalIP;
19     + return "" unless defined $SMB_WINSServer and $SMB_WINSServer ne $LocalIP;
20    
21     return "remote browse sync = $SMB_WINSServer";
22     }
23     --- e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11winsServer.fixwarnings 2009-06-02 07:46:56.000000000 -0600
24     +++ e-smith-samba-2.0.0/root/etc/e-smith/templates/etc/smb.conf/11winsServer 2009-06-02 07:51:05.000000000 -0600
25     @@ -6,8 +6,8 @@
26     # WINS Support - Tells the NMBD component of Samba to enable its WINS Server
27     # WINS Server - Tells the NMBD components of Samba to be a WINS Client
28     #------------------------------------------------------------------
29     - return "wins support = yes" if $SMB_WINSServer eq $LocalIP;
30     + return "wins support = yes" if defined $SMB_WINSServer and $SMB_WINSServer eq $LocalIP;
31    
32     $OUT .= "wins support = no\n";
33     - $OUT .= "wins server = $SMB_WINSServer";
34     + $OUT .= "wins server = $SMB_WINSServer" if defined $SMB_WINSServer;
35     }

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