1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/RemotePort mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/RemotePort |
2 |
--- smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/RemotePort 1970-01-01 10:00:00.000000000 +1000 |
3 |
+++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/RemotePort 2006-05-18 16:45:42.599495124 +1000 |
4 |
@@ -0,0 +1 @@ |
5 |
+22 |
6 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/root/.ssh/config/50rdiff-backup mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/root/.ssh/config/50rdiff-backup |
7 |
--- smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/root/.ssh/config/50rdiff-backup 2006-05-18 16:47:03.963443011 +1000 |
8 |
+++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/templates/root/.ssh/config/50rdiff-backup 2006-05-18 16:46:47.270326121 +1000 |
9 |
@@ -3,6 +3,7 @@ |
10 |
if (${'rdiff-backup'}{EnableRemote} ne 'yes'); |
11 |
|
12 |
my $host = ${'rdiff-backup'}{RemoteHost} || 'localhost'; |
13 |
+ my $port = ${'rdiff-backup'}{RemotePort} || 22; |
14 |
|
15 |
return "# rdiff-backup: RemoteHost is localhost" |
16 |
if ($host eq 'localhost'); |
17 |
@@ -16,6 +17,7 @@ |
18 |
|
19 |
Host rdiff-backup-$host |
20 |
Hostname $host |
21 |
+ Port $port |
22 |
IdentityFile $identity |
23 |
|
24 |
END_OF_HERE |