diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-09-01 04:10:13 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2007-09-01 04:10:13 +0000 |
commit | 9f2521ca8351e454e03193ddccbf5eb2166ec1fd (patch) | |
tree | 2df2d2ba5cf8123d90bb81b1039c3cec071330e0 /packages/p3scan-pf | |
parent | 188234df1c9d986f8a7fc80d0f57cbd91125fb14 (diff) | |
download | pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.tar.gz pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.tar.bz2 pfsense-packages-9f2521ca8351e454e03193ddccbf5eb2166ec1fd.zip |
* added copyright header to each file
* added XSL stylesheet to each file
* added DTD to some files (TODO: Add DTD to the remaining files and validate them against the DTD)
* added a Document Type Definition which allows to validate package files
Diffstat (limited to 'packages/p3scan-pf')
-rw-r--r-- | packages/p3scan-pf/p3scan-pf-emer.xml | 1 | ||||
-rw-r--r-- | packages/p3scan-pf/p3scan-pf-msg.xml | 11 | ||||
-rw-r--r-- | packages/p3scan-pf/p3scan-pf-spam.xml | 3 | ||||
-rw-r--r-- | packages/p3scan-pf/p3scan-pf-transex.xml | 1 | ||||
-rw-r--r-- | packages/p3scan-pf/p3scan-pf-vir.xml | 19 | ||||
-rw-r--r-- | packages/p3scan-pf/p3scan-pf.xml | 19 |
6 files changed, 30 insertions, 24 deletions
diff --git a/packages/p3scan-pf/p3scan-pf-emer.xml b/packages/p3scan-pf/p3scan-pf-emer.xml index 12a78e09..da39aef8 100644 --- a/packages/p3scan-pf/p3scan-pf-emer.xml +++ b/packages/p3scan-pf/p3scan-pf-emer.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> diff --git a/packages/p3scan-pf/p3scan-pf-msg.xml b/packages/p3scan-pf/p3scan-pf-msg.xml index 00c29acf..d3f81aa2 100644 --- a/packages/p3scan-pf/p3scan-pf-msg.xml +++ b/packages/p3scan-pf/p3scan-pf-msg.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> @@ -53,8 +54,8 @@ set, you are still required to save this page if you are editing this page for the very first time! </note> - <include_file>p3scan-pf.inc</include_file> <aftersaveredirect>pkg_edit.php?xml=p3scan-pf-msg.xml&id=0</aftersaveredirect> + <include_file>p3scan-pf.inc</include_file> <tabs> <tab> <text>Daemon Settings</text> @@ -107,8 +108,8 @@ <fieldname>bytesfree</fieldname> <description>The number of KB's there must be free before processing any mail.</description> <type>input</type> - <default_value>10000</default_value> <required /> + <default_value>10000</default_value> </field> <field> <fielddescr>Broken Email Clients</fielddescr> @@ -139,8 +140,8 @@ </description> <type>input</type> <size>60</size> - <default_value>Subject: "[Virus] found in a mail to you:" <virus name></default_value> <required /> + <default_value>Subject: "[Virus] found in a mail to you:" <virus name></default_value> </field> <field> <fielddescr>Notify</fielddescr> @@ -152,8 +153,8 @@ </description> <type>input</type> <size>60</size> - <default_value>Per instruction, the message has been deleted.</default_value> <required /> + <default_value>Per instruction, the message has been deleted.</default_value> </field> <field> <fielddescr>SMTP Reject</fielddescr> @@ -165,8 +166,8 @@ </description> <type>input</type> <size>60</size> - <default_value>Virus detected! P3scan rejected message!</default_value> <required /> + <default_value>Virus detected! P3scan rejected message!</default_value> </field> <field> <fielddescr>Check SMTP size</fielddescr> diff --git a/packages/p3scan-pf/p3scan-pf-spam.xml b/packages/p3scan-pf/p3scan-pf-spam.xml index 60de13e6..86301a50 100644 --- a/packages/p3scan-pf/p3scan-pf-spam.xml +++ b/packages/p3scan-pf/p3scan-pf-spam.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> @@ -53,8 +54,8 @@ set, you are still required to save this page if you are editing this page for the very first time! </note> - <include_file>p3scan-pf.inc</include_file> <aftersaveredirect>pkg_edit.php?xml=p3scan-pf-spam.xml&id=0</aftersaveredirect> + <include_file>p3scan-pf.inc</include_file> <tabs> <tab> <text>Daemon Settings</text> diff --git a/packages/p3scan-pf/p3scan-pf-transex.xml b/packages/p3scan-pf/p3scan-pf-transex.xml index 343529cb..e1b2070a 100644 --- a/packages/p3scan-pf/p3scan-pf-transex.xml +++ b/packages/p3scan-pf/p3scan-pf-transex.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> diff --git a/packages/p3scan-pf/p3scan-pf-vir.xml b/packages/p3scan-pf/p3scan-pf-vir.xml index 8a04c6e1..d96e8a87 100644 --- a/packages/p3scan-pf/p3scan-pf-vir.xml +++ b/packages/p3scan-pf/p3scan-pf-vir.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> @@ -53,8 +54,8 @@ set, you are still required to save this page if you are editing this page for the very first time! </note> - <include_file>p3scan-pf.inc</include_file> <aftersaveredirect>pkg_edit.php?xml=p3scan-pf-vir.xml&id=0</aftersaveredirect> + <include_file>p3scan-pf.inc</include_file> <tabs> <tab> <text>Daemon Settings</text> @@ -97,15 +98,15 @@ <fieldname>scannertype</fieldname> <description>Select here which type of scanner you want to use.</description> <type>select</type> - <default_value>clamd</default_value> <size>1</size> + <default_value>clamd</default_value> <options> - <option><value>avpd</value><name>Kaspersky Anti-Virus for Linux</name></option> - <option><value>avpd_new</value><name>Kaspersky Anti-Virus for Linux (New)</name></option> - <option><value>bash</value><name>Shell Script</name></option> - <option><value>basic</value><name>Default Scanner Type</name></option> - <option><value>clamd</value><name>Clam Anti-Virus</name></option> - <option><value>trophie</value><name>Trophie Daemon</name></option> + <option><name>Kaspersky Anti-Virus for Linux</name><value>avpd</value></option> + <option><name>Kaspersky Anti-Virus for Linux (New)</name><value>avpd_new</value></option> + <option><name>Shell Script</name><value>bash</value></option> + <option><name>Default Scanner Type</name><value>basic</value></option> + <option><name>Clam Anti-Virus</name><value>clamd</value></option> + <option><name>Trophie Daemon</name><value>trophie</value></option> </options> </field> <field> @@ -113,8 +114,8 @@ <fieldname>scanner</fieldname> <description>Depends on scannertype.</description> <type>input</type> - <default_value>127.0.0.1:3310</default_value> <required /> + <default_value>127.0.0.1:3310</default_value> </field> <field> <fielddescr>Scanner Returncode</fielddescr> diff --git a/packages/p3scan-pf/p3scan-pf.xml b/packages/p3scan-pf/p3scan-pf.xml index 4594aaec..f309cb50 100644 --- a/packages/p3scan-pf/p3scan-pf.xml +++ b/packages/p3scan-pf/p3scan-pf.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> @@ -52,15 +53,15 @@ set, you are still required to save this page if you are editing this page for the very first time! </note> - <include_file>p3scan-pf.inc</include_file> <aftersaveredirect>pkg_edit.php?xml=p3scan-pf.xml&id=0</aftersaveredirect> + <include_file>p3scan-pf.inc</include_file> <!-- Menu is where this packages menu will appear --> <menu> <name>POP3 Proxy</name> + <tooltiptext>A transparent POP3-Proxy with virus-scanning capabilities</tooltiptext> <section>Services</section> <configfile>p3scan-pf.xml</configfile> <url>/pkg_edit.php?xml=p3scan-pf.xml&id=0</url> - <tooltiptext>A transparent POP3-Proxy with virus-scanning capabilities</tooltiptext> </menu> <service> <name>p3scan-pf</name> @@ -147,56 +148,56 @@ <fieldname>ipaddr</fieldname> <description>The <acronym title="Internet Protocol">IP</acronym> Address we listen on.</description> <type>input</type> - <default_value>127.0.0.1</default_value> <required /> + <default_value>127.0.0.1</default_value> </field> <field> <fielddescr>Port</fielddescr> <fieldname>port</fieldname> <description>The <acronym title="Transmission Control Protocol">TCP</acronym> port on we should listen.</description> <type>input</type> - <default_value>8110</default_value> <required /> + <default_value>8110</default_value> </field> <field> <fielddescr>SSL Port</fielddescr> <fieldname>sslport</fieldname> <description>The TCP <acronym title="Secure Sockets Layer">SSL</acronym> port on we should listen.</description> <type>input</type> - <default_value>995</default_value> <required /> + <default_value>995</default_value> </field> <field> <fielddescr>Target IP</fielddescr> <fieldname>targetip</fieldname> <description>Target IP is the IP to connect (0.0.0.0 enables transparent mode).</description> <type>input</type> - <default_value>0.0.0.0</default_value> <required /> + <default_value>0.0.0.0</default_value> </field> <field> <fielddescr>Target Port</fielddescr> <fieldname>targetport</fieldname> <description>Target Port is the port to connect.</description> - <default_value>8110</default_value> <type>input</type> <required /> + <default_value>8110</default_value> </field> <field> <fielddescr>Email Port</fielddescr> <fieldname>emailport</fieldname> <description>The port we should listen on to scan outgoing email messages.</description> <type>input</type> - <default_value>25</default_value> <required /> + <default_value>25</default_value> </field> <field> <fielddescr>Daemon User</fielddescr> <fieldname>daemonuser</fieldname> <description>The username the daemon should run as.</description> <type>input</type> - <default_value>root</default_value> <required /> + <default_value>root</default_value> </field> </fields> <!-- |