3.1.0 changes:
[BackupPC.git] / lib / BackupPC / Config / Meta.pm
index 242a789..133ddd0 100644 (file)
@@ -10,7 +10,7 @@
 #   Craig Barratt  <cbarratt@users.sourceforge.net>
 #
 # COPYRIGHT
-#   Copyright (C) 2004  Craig Barratt
+#   Copyright (C) 2004-2007  Craig Barratt
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
 #
 #========================================================================
 #
-# Version 3.0.0, released 28 Jan 2007.
+# Version 3.1.0, released 25 Nov 2007.
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -199,6 +199,7 @@ use vars qw(%ConfigMeta);
     XferLogLevel       => "integer",
 
     ClientCharset       => "string",
+    ClientCharsetLegacy => "string",
 
     SmbShareName       => {
            type   => "list",
@@ -209,7 +210,7 @@ use vars qw(%ConfigMeta);
     SmbClientPath      => {type => "execPath", undefIfEmpty => 1},
     SmbClientFullCmd   => "string",
     SmbClientIncrCmd   => "string",
-    SmbClientRestoreCmd => "string",
+    SmbClientRestoreCmd => {type => "string", undefIfEmpty => 1},
 
     TarShareName       => {
            type   => "list",
@@ -218,7 +219,7 @@ use vars qw(%ConfigMeta);
     TarClientCmd       => "string",
     TarFullArgs        => "string",
     TarIncrArgs                => "string",
-    TarClientRestoreCmd        => "string",
+    TarClientRestoreCmd        => {type => "string", undefIfEmpty => 1},
     TarClientPath      => {type => "string", undefIfEmpty => 1},
 
     RsyncShareName     => {
@@ -236,14 +237,15 @@ use vars qw(%ConfigMeta);
 
     RsyncCsumCacheVerifyProb => "float",
     RsyncArgs          => {
-           type   => "list",
-           emptyOk => 1,
-           child  => "string",
+           type         => "list",
+           emptyOk      => 1,
+           child        => "string",
     },
     RsyncRestoreArgs   => {
-           type   => "list",
-           emptyOk => 1,
-           child  => "string",
+           type         => "list",
+           emptyOk      => 1,
+            undefIfEmpty => 1,
+           child        => "string",
     },
 
     BackupPCdCmd        => "string",
@@ -312,11 +314,11 @@ use vars qw(%ConfigMeta);
     CgiURL             => "string",
     Language           => {
            type   => "select",
-           values => [qw(de en es fr it nl pt_br)],
+           values => [qw(de en es fr it nl pl pt_br zh_CN)],
     },
     CgiUserHomePageCheck => "string",
     CgiUserUrlCreate    => "string",
-    CgiDateFormatMMDD  => "boolean",
+    CgiDateFormatMMDD  => "integer",
     CgiNavBarAdminAllHosts => "boolean",
     CgiSearchBoxEnable         => "boolean",
     CgiNavBarLinks     => {
@@ -382,6 +384,7 @@ use vars qw(%ConfigMeta);
                 XferMethod                => "boolean",
                 XferLogLevel              => "boolean",
                 ClientCharset             => "boolean",
+                ClientCharsetLegacy       => "boolean",
                 SmbShareName              => "boolean",
                 SmbShareUserName          => "boolean",
                 SmbSharePasswd            => "boolean",
@@ -396,6 +399,7 @@ use vars qw(%ConfigMeta);
                 TarClientRestoreCmd       => "boolean",
                 RsyncShareName            => "boolean",
                 RsyncdClientPort          => "boolean",
+                RsyncdUserName            => "boolean",
                 RsyncdPasswd              => "boolean",
                 RsyncdAuthRequired        => "boolean",
                 RsyncCsumCacheVerifyProb  => "boolean",