summaryrefslogtreecommitdiff
path: root/backup/backuppc/files/3.3.0/03-reasonable-config.pl-defaults.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backup/backuppc/files/3.3.0/03-reasonable-config.pl-defaults.patch')
-rw-r--r--backup/backuppc/files/3.3.0/03-reasonable-config.pl-defaults.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/backup/backuppc/files/3.3.0/03-reasonable-config.pl-defaults.patch b/backup/backuppc/files/3.3.0/03-reasonable-config.pl-defaults.patch
new file mode 100644
index 000000000000..8b54fc87b050
--- /dev/null
+++ b/backup/backuppc/files/3.3.0/03-reasonable-config.pl-defaults.patch
@@ -0,0 +1,64 @@
+--- conf/config.pl.formatted 2013-09-23 23:12:30.708129365 +0300
++++ conf/config.pl 2013-09-23 23:12:39.448043656 +0300
+@@ -1305,7 +1305,7 @@
+ '--times',
+ '--block-size=2048',
+ '--recursive',
+-
++ '--specials',
+ #
+ # Rsync >= 2.6.3 supports the --checksum-seed option
+ # which allows rsync checksum caching on the server.
+@@ -1313,7 +1313,7 @@
+ # you have a recent client rsync version and you want
+ # to enable checksum caching.
+ #
+- #'--checksum-seed=32761',
++ '--checksum-seed=32761',
+ ];
+
+ #
+@@ -1383,6 +1383,7 @@
+ '--relative',
+ '--ignore-times',
+ '--recursive',
++ '--specials',
+
+ #
+ # Rsync >= 2.6.3 supports the --checksum-seed option
+@@ -1391,7 +1392,7 @@
+ # you have a recent client rsync version and you want
+ # to enable checksum caching.
+ #
+- #'--checksum-seed=32761',
++ '--checksum-seed=32761',
+
+ #
+ # Add additional arguments here
+@@ -2029,7 +2030,7 @@
+ # --> administrative users are only craig and celia'.
+ #
+ $Conf{CgiAdminUserGroup} = '';
+-$Conf{CgiAdminUsers} = '';
++$Conf{CgiAdminUsers} = 'backuppc';
+
+ #
+ # URL of the BackupPC_Admin CGI script. Used for email messages.
+@@ -2076,7 +2077,7 @@
+ # dates (MM/DD), a value of 2 uses full YYYY-MM-DD format, and zero
+ # for international dates (DD/MM).
+ #
+-$Conf{CgiDateFormatMMDD} = 1;
++$Conf{CgiDateFormatMMDD} = 2;
+
+ #
+ # If set, the complete list of hosts appears in the left navigation
+@@ -2262,7 +2263,7 @@
+ ClientTimeout => 1,
+ MaxOldPerPCLogFiles => 1,
+ CompressLevel => 1,
+- ClientNameAlias => 1,
++ ClientNameAlias => 0,
+ DumpPreUserCmd => 0,
+ DumpPostUserCmd => 0,
+ RestorePreUserCmd => 0,