1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 3.2.18

- Add 'reload all' support to rc script
This commit is contained in:
Ryan Steinmetz 2013-12-19 13:27:24 +00:00
parent f823078f01
commit 5c4b3a6a5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336900
4 changed files with 16 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= exabgp
PORTVERSION= 3.2.13
PORTVERSION= 3.2.18
CATEGORIES= net
MASTER_SITES= GH GHC \
http://mirrors.rit.edu/zi/
@ -14,9 +14,9 @@ COMMENT= A BGP engine and route injector
LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= thomas-mangin
GH_ACCOUNT= Exa-Networks
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 3ccdb34
GH_COMMIT= 51d6b56
USE_PYTHON= yes
SUB_FILES= pkg-message exabgp.sh
SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \

View File

@ -1,2 +1,2 @@
SHA256 (exabgp-3.2.13.tgz) = f156dae61774eba01de889af3bb0519eace3d278eed6fe4326348427810e1697
SIZE (exabgp-3.2.13.tgz) = 583161
SHA256 (exabgp-3.2.18.tgz) = e3856b73a897d68275f7a7274793ca1345a3f3b570a97d37fdfe5fd7d86143de
SIZE (exabgp-3.2.18.tgz) = 596423

View File

@ -28,7 +28,9 @@ command="%%PYTHON_SITELIBDIR%%/${name}/application/bgp.py"
procname="%%PYTHON_CMD%%"
start_cmd="exabgp_start"
extra_commands="reload"
reload_all_cmd="exabgp_reload_all"
extra_commands="reload reload_all"
sig_reload="USR1"
exabgp_start()
{
@ -46,4 +48,10 @@ exabgp_start()
${procname} ${command} --folder %%ETCDIR%% ${exabgp_conf}
}
exabgp_reload_all() {
{
echo "Reloading exabgp configuration and processes."
kill -USR2 $rc_pid
}
run_rc_command "$1"

View File

@ -57,6 +57,8 @@ sbin/exabgp
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/__init__.pyc
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/__init__.py
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/__init__.pyc
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/aigp.py
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/aigp.pyc
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/aggregator.py
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/aggregator.pyc
%%PYTHON_SITELIBDIR%%/exabgp/bgp/message/update/attribute/aspath.py