aboutsummaryrefslogtreecommitdiffstats
path: root/packages/clamav.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/clamav.xml')
-rw-r--r--packages/clamav.xml44
1 files changed, 21 insertions, 23 deletions
diff --git a/packages/clamav.xml b/packages/clamav.xml
index 017c8e80..483a32a6 100644
--- a/packages/clamav.xml
+++ b/packages/clamav.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
<packagegui>
<copyright>
@@ -44,15 +45,10 @@
<description>Describe your package here</description>
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
+ <name>clamav</name>
+ <version>none</version>
+ <title>Antivirus</title>
<include_file>clamav.inc</include_file>
-
- <!-- Installation -->
- <additional_files_needed>
- <item>http://www.pfsense.org/packages/config/clamav.inc</item>
- </additional_files_needed>
- <custom_php_install_command>
- clamav_install_command();
- </custom_php_install_command>
<menu>
<name>Antivirus</name>
<tooltiptext>Configure antivirus settings</tooltiptext>
@@ -61,60 +57,59 @@
</menu>
<service>
<name>ClamAV</name>
- <description>The ClamAV antivirus.</description>
<rcfile>clamd.sh</rcfile>
<executable>clamd</executable>
+ <description>The ClamAV antivirus.</description>
</service>
<service>
<name>FreshClam</name>
- <description>A daemon that periodically updates the ClamAV virus database.</description>
<rcfile>freshclam.sh</rcfile>
<executable>freshclam</executable>
+ <description>A daemon that periodically updates the ClamAV virus database.</description>
</service>
-
- <!-- Interface -->
- <name>clamav</name>
- <title>Antivirus</title>
+ <additional_files_needed>
+ <item>http://www.pfsense.org/packages/config/clamav.inc</item>
+ </additional_files_needed>
<fields>
<field>
- <fieldname>expert</fieldname>
<fielddescr>Expert mode</fielddescr>
+ <fieldname>expert</fieldname>
<description>This enables the expert mode. Don't check this unless you are sure of what you are doing.</description>
<type>checkbox</type>
<enablefields>brokenexec,scan_pe,scan_ole2,scan_html,scan_archive</enablefields>
<required/>
</field>
<field>
- <fieldname>brokenexec</fieldname>
<fielddescr>Detect broken executables</fielddescr>
+ <fieldname>brokenexec</fieldname>
<description>Try to detect broken executables.</description>
<type>checkbox</type>
<default_value>on</default_value>
</field>
<field>
- <fieldname>scan_pe</fieldname>
<fielddescr>Scan PE</fielddescr>
+ <fieldname>scan_pe</fieldname>
<description>Scan files in 32-bit Windows' Portable Executable format.</description>
<type>checkbox</type>
<default_value>on</default_value>
</field>
<field>
- <fieldname>scan_ole2</fieldname>
<fielddescr>Scan OLE2</fielddescr>
+ <fieldname>scan_ole2</fieldname>
<description>Scan Microsoft Office document macros.</description>
<type>checkbox</type>
<default_value>on</default_value>
</field>
<field>
- <fieldname>scan_html</fieldname>
<fielddescr>Scan HTML</fielddescr>
+ <fieldname>scan_html</fieldname>
<description>Perform HTML normalization and decryption of Microsoft Script Encoder code.</description>
<type>checkbox</type>
<default_value>on</default_value>
</field>
<field>
- <fieldname>scan_archive</fieldname>
<fielddescr>Scan archives</fielddescr>
+ <fieldname>scan_archive</fieldname>
<description>Try to uncompress archived files to scan their content.</description>
<type>checkbox</type>
<default_value>on</default_value>
@@ -123,10 +118,13 @@
<custom_php_command_before_form>
clamav_before_form(&amp;$pkg);
</custom_php_command_before_form>
- <custom_php_validation_command>
- clamav_validate_input($post, &amp;$input_errors);
- </custom_php_validation_command>
<custom_php_resync_config_command>
clamav_resync();
</custom_php_resync_config_command>
+ <custom_php_validation_command>
+ clamav_validate_input($post, &amp;$input_errors);
+ </custom_php_validation_command>
+ <custom_php_install_command>
+ clamav_install_command();
+ </custom_php_install_command>
</packagegui>