From cb56b004b500432210da80531e8484fc9ded36ec Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Thu, 1 Feb 2024 03:17:44 -0500 Subject: [PATCH] redhat: add option to include mgmtd_testc test client Signed-off-by: Christian Hopps --- redhat/frr.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 37a2e17e8e..3371a3ed4d 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -16,6 +16,7 @@ %{!?with_cumulus: %global with_cumulus 0 } %{!?with_eigrpd: %global with_eigrpd 1 } %{!?with_fpm: %global with_fpm 1 } +%{!?with_mgmtd_test_be_client: %global with_mgmtd_test_be_client 0 } %{!?with_ldpd: %global with_ldpd 1 } %{!?with_multipath: %global with_multipath 256 } %{!?with_nhrpd: %global with_nhrpd 1 } @@ -322,6 +323,9 @@ routing state through standard SNMP MIBs. --localstatedir=%{_localstatedir} \ --disable-static \ --disable-werror \ +%if %{with_mgmtd_test_be_client} + --enable-mgmtd-test-be-client \ +%endif %if %{with_multipath} --enable-multipath=%{with_multipath} \ %endif @@ -669,6 +673,9 @@ fi %{_sbindir}/ripd %{_sbindir}/bgpd %{_sbindir}/mgmtd +%if %{with_mgmtd_test_be_client} + %{_sbindir}/mgmtd_testc +%endif %exclude %{_sbindir}/ssd %if %{with_watchfrr} %{_sbindir}/watchfrr