/[smeserver]/rpms/e-smith-samba/sme7/e-smith-samba-1.14.0-setname.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme7/e-smith-samba-1.14.0-setname.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 16:12:59 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_0-30_el4_sme, e-smith-samba-1_14_0-35_el4_sme, e-smith-samba-1_14_0-36_el4_sme, e-smith-samba-1_14_0-33_el4_sme, e-smith-samba-1_14_0-34_el4_sme, e-smith-samba-1_14_0-31_el4_sme, e-smith-samba-1_14_0-32_el4_sme, e-smith-samba-1_14_0-29_el4_sme
Import on branch sme7 of package e-smith-samba-1.14.0-29.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName
2     --- e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName 2005-02-17 15:11:34.000000000 -0700
3     +++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/defaults/smb/ServerName 1969-12-31 17:00:00.000000000 -0700
4     @@ -1 +0,0 @@
5     -mitel-networks-server
6     diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName
7     --- e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName 1969-12-31 17:00:00.000000000 -0700
8     +++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/db/configuration/migrate/30smbServerName 2007-01-26 18:07:19.000000000 -0700
9     @@ -0,0 +1,8 @@
10     +{
11     + my $smb = $DB->get('smb') || return;
12     + my $srvName = $smb->prop('ServerName') || 'e-smith-server';
13     + my $sysName = $DB->get('SystemName') || return;
14     +
15     + return unless $srvName =~ m#(mitel-networks|e-smith)-server#;
16     + $smb->set_prop('ServerName', $sysName->value);
17     +}

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