aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-24 15:09:43 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-24 15:09:43 -0300
commitfadf36be68b38a589771f19f69c20036bb053ee4 (patch)
treec65a9a89ab50023478b7eece91390696288bee67 /config/spamd
parent851ee8e025ec8c14a9daac5818cee2284ada6def (diff)
downloadpfsense-packages-fadf36be68b38a589771f19f69c20036bb053ee4.tar.gz
pfsense-packages-fadf36be68b38a589771f19f69c20036bb053ee4.tar.bz2
pfsense-packages-fadf36be68b38a589771f19f69c20036bb053ee4.zip
Sanitize spamd version, add run_depends, port_category and fix check for PBI
Diffstat (limited to 'config/spamd')
-rw-r--r--config/spamd/spamd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc
index e09b2b7f..71f20106 100644
--- a/config/spamd/spamd.inc
+++ b/config/spamd/spamd.inc
@@ -35,7 +35,7 @@ if(!function_exists("filter_configure"))
function sync_package_spamd() {
global $config, $g;
$pf_version = substr(trim(file_get_contents("/etc/version")),0,3);
- if ($pf_version < 2.2) {
+ if ($pf_version != "2.2") {
$localpath = "/usr/local";
} else {
$ARCH = php_uname("m");