From 0881d90baf0ce2ec2db853892f60ba8cef5a9d06 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 27 Apr 2015 10:20:19 -0300 Subject: Sanitize siproxd version, add port_category, run_depends and fix pbi checking --- config/siproxd/siproxd.inc | 6 +++--- config/siproxd/siproxd.xml | 2 +- pkg_config.10.xml | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/config/siproxd/siproxd.inc b/config/siproxd/siproxd.inc index d9830fb2..e873e08d 100644 --- a/config/siproxd/siproxd.inc +++ b/config/siproxd/siproxd.inc @@ -33,10 +33,10 @@ require_once("service-utils.inc"); // Check to find out on which system the package is running $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); -if ($pfs_version == "2.0") { - define('SIPROXD', '/usr/local'); -} else { +if ($pfs_version == "2.1" || $pfs_version == "2.2") { define('SIPROXD', '/usr/pbi/siproxd-' . php_uname("m")); +} else { + define('SIPROXD', '/usr/local'); } // End of system check diff --git a/config/siproxd/siproxd.xml b/config/siproxd/siproxd.xml index 8b1b5856..455fca9c 100644 --- a/config/siproxd/siproxd.xml +++ b/config/siproxd/siproxd.xml @@ -37,7 +37,7 @@ Describe your package requirements here Currently there are no FAQ items provided. siproxdsettings - 0.8.0_2 pkg v1.0.2 + 1.0.3 siproxd: Settings /usr/local/pkg/siproxd.inc /pkg_edit.php?xml=siproxd.xml&id=0 diff --git a/pkg_config.10.xml b/pkg_config.10.xml index d7314352..06e84277 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -530,10 +530,12 @@ https://packages.pfsense.org/packages/config/siproxd/siproxd.xml siproxd-0.8.0_1-##ARCH##.pbi https://doc.pfsense.org/index.php/Siproxd_package + net + sbin/siproxd:net/siproxd net/siproxd - 0.8.0_1 pkg v1.0.3 + 1.0.3 Beta 2.2 siproxd.xml -- cgit v1.2.3