aboutsummaryrefslogtreecommitdiffstats
path: root/config/siproxd
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-27 10:20:19 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-27 10:20:19 -0300
commit0881d90baf0ce2ec2db853892f60ba8cef5a9d06 (patch)
tree0d256451e626d5b67746d6b0d5ed074026ac0a6c /config/siproxd
parent3a0d7845b25085754d83ac52757eb6649938ca17 (diff)
downloadpfsense-packages-0881d90baf0ce2ec2db853892f60ba8cef5a9d06.tar.gz
pfsense-packages-0881d90baf0ce2ec2db853892f60ba8cef5a9d06.tar.bz2
pfsense-packages-0881d90baf0ce2ec2db853892f60ba8cef5a9d06.zip
Sanitize siproxd version, add port_category, run_depends and fix pbi checking
Diffstat (limited to 'config/siproxd')
-rw-r--r--config/siproxd/siproxd.inc6
-rw-r--r--config/siproxd/siproxd.xml2
2 files changed, 4 insertions, 4 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 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>siproxdsettings</name>
- <version>0.8.0_2 pkg v1.0.2</version>
+ <version>1.0.3</version>
<title>siproxd: Settings</title>
<include_file>/usr/local/pkg/siproxd.inc</include_file>
<aftersaveredirect>/pkg_edit.php?xml=siproxd.xml&amp;id=0</aftersaveredirect>