summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-13 20:24:56 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 00:27:08 +0000
commit97b5f22bcdb7c527725de15dcc3d37eef3340026 (patch)
tree5429326d2f497917f7a7cb0a4f5e5b9368ddf821 /redhat
parentd5a6ff434e164ced08f882c15081c0f0956db26f (diff)
vrrpd: update auto*, init scripts, etc
Add vrrpd to all the usual places daemons need to go Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in20
1 files changed, 19 insertions, 1 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 36f9259865..ebd9ac3f47 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -24,6 +24,7 @@
%{!?with_pam: %global with_pam 0 }
%{!?with_pbrd: %global with_pbrd 1 }
%{!?with_pimd: %global with_pimd 1 }
+%{!?with_vrrpd: %global with_vrrpd 1 }
%{!?with_rpki: %global with_rpki 0 }
%{!?with_rtadv: %global with_rtadv 1 }
%{!?with_watchfrr: %global with_watchfrr 1 }
@@ -124,6 +125,12 @@
%define daemon_babeld ""
%endif
+%if %{with_vrrpd}
+ %define daemon_vrrpd vrrpd
+%else
+ %define daemon_vrrpd ""
+%endif
+
%if %{with_watchfrr}
%define daemon_watchfrr watchfrr
%else
@@ -136,7 +143,7 @@
%define daemon_bfdd ""
%endif
-%define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_babeld} %{daemon_watchfrr} %{daemon_pbrd} %{daemon_bfdd}
+%define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_babeld} %{daemon_watchfrr} %{daemon_pbrd} %{daemon_bfdd} %{daemon_vrrpd}
#release sub-revision (the two digits after the CONFDATE)
%{!?release_rev: %global release_rev 01 }
@@ -306,6 +313,11 @@ developing OSPF-API and frr applications.
%else
--disable-babeld \
%endif
+%if %{with_vrrpd}
+ --enable-vrrpd \
+%else
+ --disable-vrrpd \
+%endif
%if %{with_pam}
--with-libpam \
%endif
@@ -461,6 +473,9 @@ zebra_spec_add_service isisd 2608/tcp "ISISd vty"
zebra_spec_add_service bfdd 2617/tcp "BFDd vty"
%endif
zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
+%if %{with_vrrpd}
+ zebra_spec_add_service vrrpd 2619/tcp "VRRPd vty"
+%endif
%if "%{initsystem}" == "systemd"
for daemon in %all_daemons ; do
@@ -596,6 +611,9 @@ fi
%if %{with_pbrd}
%{_sbindir}/pbrd
%endif
+%if %{with_vrrpd}
+ %{_sbindir}/vrrpd
+%endif
%{_sbindir}/isisd
%{_sbindir}/fabricd
%if %{with_ldpd}