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

Contents 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.2 - (show annotations) (download)
Sat Dec 15 16:01:25 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme7 of package e-smith-samba-1.14.1-1.el4.sme.src.rpm

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