aboutsummaryrefslogtreecommitdiffstats
path: root/config/apache_mod_security-dev
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-23 13:08:25 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-23 13:08:25 -0300
commit09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b (patch)
treecc4839927eef397e20b248ee927a5f298ede87ee /config/apache_mod_security-dev
parent668c8abc54d02c473c9e272c22995d636149960f (diff)
downloadpfsense-packages-09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b.tar.gz
pfsense-packages-09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b.tar.bz2
pfsense-packages-09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b.zip
Sanitize version prepare dependencies and uses for ports apache-mod_security and apache-mod_security-devel
Diffstat (limited to 'config/apache_mod_security-dev')
-rw-r--r--config/apache_mod_security-dev/apache_mod_security.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc
index 1ef78819..72c1f9b4 100644
--- a/config/apache_mod_security-dev/apache_mod_security.inc
+++ b/config/apache_mod_security-dev/apache_mod_security.inc
@@ -34,7 +34,7 @@ require_once("service-utils.inc");
$shortcut_section = "apache";
// Check to find out on which system the package is running
$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
-if ($pf_version > 2.0)
+if ($pf_version == "2.1" || $pf_version == "2.2")
define('APACHEDIR', '/usr/pbi/proxy_mod_security-' . php_uname("m"));
else
define('APACHEDIR', '/usr/local');