From e540121d1c8fcfb7935fc133c1851c8ee39dde6f Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 15 Jun 2012 10:12:38 +0000 Subject: List all dependencies here to avoid problems during installation --- config/snort/snort.inc | 2 +- pkg_config.8.xml | 4 ++++ pkg_config.8.xml.amd64 | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/snort/snort.inc b/config/snort/snort.inc index fed42b72..48e826d4 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -957,7 +957,7 @@ function create_rules_iface($id, $if_real, $snort_uuid) $folder_chk = (count(glob("{$if_rule_dir}/rules/*")) === 0) ? 'empty' : 'full'; if ($folder_chk == "empty") { - if (!is_dir("/usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/rules")) + if (!is_dir("{$if_rule_dir}/rules")) exec("/bin/mkdir -p {$if_rule_dir}/rules"); exec("/bin/cp /usr/local/etc/snort/rules/* {$if_rule_dir}/rules"); if (file_exists("/usr/local/etc/snort/custom_rules/local_{$snort_uuid}_{$if_real}.rules")) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 5c09c7ed..3ff85eba 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -393,6 +393,10 @@ http://files.pfsense.org/packages/8/All/ mysql-client-5.1.53.tbz barnyard2-1.9_2.tbz + libnet11-1.1.2.1_3,1.tbz + libdnet-1.11_3.tbz + libpcap-1.1.1_1.tbz + daq-0.6.2.tbz snort-2.9.2.3.tbz perl-threaded-5.12.4_4.tbz /usr/ports/devel/pcre diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index e66589b9..7f8995de 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -475,6 +475,10 @@ snort-2.9.1-amd64.pbi mysql-client-5.1.53.tbz barnyard2-1.9_2.tbz + libnet11-1.1.2.1_3,1.tbz + libdnet-1.11_3.tbz + libpcap-1.1.1_1.tbz + daq-0.6.2.tbz snort-2.9.2.3.tbz perl-threaded-5.12.4_4.tbz /usr/ports/devel/pcre -- cgit v1.2.3