diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 10:28:52 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 10:28:52 -0300 |
commit | 942f489ef647252418d9b78440b3b6403de86df4 (patch) | |
tree | edb5171241eed7c3929d2f61b0ef62c398c47935 | |
parent | 0881d90baf0ce2ec2db853892f60ba8cef5a9d06 (diff) | |
download | pfsense-packages-942f489ef647252418d9b78440b3b6403de86df4.tar.gz pfsense-packages-942f489ef647252418d9b78440b3b6403de86df4.tar.bz2 pfsense-packages-942f489ef647252418d9b78440b3b6403de86df4.zip |
Add openbgpd port_category, run_depends and fix pbi check
-rw-r--r-- | config/openbgpd/openbgpd.inc | 2 | ||||
-rw-r--r-- | pkg_config.10.xml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc index 907f6b8c..c625cff8 100644 --- a/config/openbgpd/openbgpd.inc +++ b/config/openbgpd/openbgpd.inc @@ -33,7 +33,7 @@ require_once("service-utils.inc"); define('PKG_BGPD_CONFIG_BASE', '/var/etc/openbgpd'); $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('PKG_BGPD_BIN', '/usr/pbi/openbgpd-' . php_uname("m") . '/sbin'); else define('PKG_BGPD_BIN','/usr/local/sbin'); diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 06e84277..cee7d275 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -545,6 +545,8 @@ <descr>OpenBGPD is a FREE implementation of the Border Gateway Protocol, Version 4. It allows ordinary machines to be used as routers exchanging routes with other systems speaking the BGP protocol. -- WARNING! Installs files to the same place as Quagga OSPF. Installing both will result in a broken state, remove this package before installing Quagga OSPF.</descr> <category>NET</category> <config_file>https://packages.pfsense.org/packages/config/openbgpd/openbgpd.xml</config_file> + <port_category>net</port_category> + <run_depends>sbin/bgpctl:net/openbgpd</run_depends> <build_pbi> <port>net/openbgpd</port> </build_pbi> |