From fadf36be68b38a589771f19f69c20036bb053ee4 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 24 Apr 2015 15:09:43 -0300 Subject: Sanitize spamd version, add run_depends, port_category and fix check for PBI --- config/spamd/spamd.inc | 2 +- pkg_config.10.xml | 4 +++- 2 files changed, 4 insertions(+), 2 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"); diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 31ec7ec5..7e7ba64f 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -439,9 +439,11 @@ Services https://packages.pfsense.org/packages/config/spamd/spamd.xml spamd-4.9.1_2-##ARCH##.pbi - 4.9.1_2 v1.1.2 + 1.1.2 Beta 2.2 + net + sbin/spamdb:mail/spamd spamd.xml mail/spamd -- cgit v1.2.3