aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort.xml
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-12-05 02:00:16 -0800
committerrobiscool <robrob2626@yahoo.com>2009-12-05 02:00:16 -0800
commit1ac3cc08ca0e82bba94f0c18a7bb0613fe093321 (patch)
treeb3fb3ad344e793e5353dbaf466a77888e4144a62 /config/snort-dev/snort.xml
parent3726058d63955bbe8b9b033dc033403a7cb9c640 (diff)
downloadpfsense-packages-1ac3cc08ca0e82bba94f0c18a7bb0613fe093321.tar.gz
pfsense-packages-1ac3cc08ca0e82bba94f0c18a7bb0613fe093321.tar.bz2
pfsense-packages-1ac3cc08ca0e82bba94f0c18a7bb0613fe093321.zip
snort-dev, test new install and deinstall code
Diffstat (limited to 'config/snort-dev/snort.xml')
-rw-r--r--config/snort-dev/snort.xml18
1 files changed, 15 insertions, 3 deletions
diff --git a/config/snort-dev/snort.xml b/config/snort-dev/snort.xml
index 6023a353..cf72a7ca 100644
--- a/config/snort-dev/snort.xml
+++ b/config/snort-dev/snort.xml
@@ -69,6 +69,11 @@
<item>http://www.pfsense.com/packages/config/snort-dev/snort.inc</item>
</additional_files_needed>
<additional_files_needed>
+ <prefix>/usr/local/bin/</prefix>
+ <chmod>077</chmod>
+ <item>http://www.pfsense.com/packages/config/snort/bin/barnyard2</item>
+ </additional_files_needed>
+ <additional_files_needed>
<prefix>/usr/local/pkg/snort/</prefix>
<chmod>077</chmod>
<item>http://www.pfsense.com/packages/config/snort-dev/snort_gui.inc</item>
@@ -84,7 +89,7 @@
<item>http://www.pfsense.com/packages/config/snort-dev/snort_whitelist.xml</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/usr/local/www/snort/images/</prefix>
+ <prefix>/usr/local/www/snort/</prefix>
<chmod>077</chmod>
<item>http://www.pfsense.com/packages/config/snort-dev/images/alert.jpg</item>
</additional_files_needed>
@@ -158,13 +163,20 @@
<chmod>077</chmod>
<item>http://www.pfsense.com/packages/config/snort-dev/snort_rulesets.php</item>
</additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/snort/</prefix>
+ <chmod>077</chmod>
+ <item>http://www.pfsense.com/packages/config/snort-dev/snort_preprocessors.php</item>
+ </additional_files_needed>
<fields>
</fields>
- <custom_php_resync_config_command>
- </custom_php_resync_config_command>
<custom_add_php_command>
</custom_add_php_command>
+ <custom_php_resync_config_command>
+ sync_package_snort();
+ </custom_php_resync_config_command>
<custom_php_install_command>
+ snort_postinstall();
</custom_php_install_command>
<custom_php_deinstall_command>
snort_deinstall();