Browse Source

[trac772] Add ACL to spec file

Michal 'vorner' Vaner 14 years ago
parent
commit
1c1bd99f0a
1 changed files with 19 additions and 7 deletions
  1. 19 7
      src/bin/xfrout/xfrout.spec.pre.in

+ 19 - 7
src/bin/xfrout/xfrout.spec.pre.in

@@ -16,27 +16,27 @@
        },
        {
          "item_name": "log_file",
-    	 "item_type": "string",
+         "item_type": "string",
          "item_optional": false,
          "item_default": "@@LOCALSTATEDIR@@/@PACKAGE@/log/Xfrout.log"
        },
        {
          "item_name": "log_severity",
-    	 "item_type": "string",
+         "item_type": "string",
          "item_optional": false,
-    	 "item_default": "debug"
+         "item_default": "debug"
        },
        {
          "item_name": "log_versions",
-    	 "item_type": "integer",
+         "item_type": "integer",
          "item_optional": false,
-    	 "item_default": 5
+         "item_default": 5
        },
        {
          "item_name": "log_max_bytes",
-    	 "item_type": "integer",
+         "item_type": "integer",
          "item_optional": false,
-    	 "item_default": 1048576
+         "item_default": 1048576
        },
        {
          "item_name": "tsig_key_ring",
@@ -49,6 +49,18 @@
              "item_type": "string",
              "item_optional": true
          }
+       },
+       {
+         "item_name": "ACL",
+         "item_type": "list",
+         "item_optional": false,
+         "item_default": [],
+         "list_item_spec":
+         {
+             "item_name": "ACL_element",
+             "item_type": "any",
+             "item_optional": true
+         }
        }
       ],
       "commands": [