From 5c4b3a6a5f26991e4ab105e2e9188dc5c4e6c645 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Thu, 19 Dec 2013 13:27:24 +0000 Subject: [PATCH] - Update to 3.2.18 - Add 'reload all' support to rc script --- net/exabgp/Makefile | 6 +++--- net/exabgp/distinfo | 4 ++-- net/exabgp/files/exabgp.in | 10 +++++++++- net/exabgp/pkg-plist | 2 ++ 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/net/exabgp/Makefile b/net/exabgp/Makefile index 78c6de0acf71..f23e02165c90 100644 --- a/net/exabgp/Makefile +++ b/net/exabgp/Makefile @@ -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} \ diff --git a/net/exabgp/distinfo b/net/exabgp/distinfo index 841f3676eb14..3b87fe6b5d33 100644 --- a/net/exabgp/distinfo +++ b/net/exabgp/distinfo @@ -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 diff --git a/net/exabgp/files/exabgp.in b/net/exabgp/files/exabgp.in index 4f5a1d10b7b7..4cc7cb63b92b 100644 --- a/net/exabgp/files/exabgp.in +++ b/net/exabgp/files/exabgp.in @@ -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" diff --git a/net/exabgp/pkg-plist b/net/exabgp/pkg-plist index ce27ca31477e..9496c26803d1 100644 --- a/net/exabgp/pkg-plist +++ b/net/exabgp/pkg-plist @@ -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