summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-02-01 09:17:44 +0100
committerChristian Hopps <chopps@labn.net>2024-02-01 09:17:44 +0100
commitcb56b004b500432210da80531e8484fc9ded36ec (patch)
tree930dbe62320760d4c777de48b59f9aafface7010 /redhat
parentMerge pull request #15258 from louis-6wind/fix-adj-in-attr (diff)
downloadfrr-cb56b004b500432210da80531e8484fc9ded36ec.tar.xz
frr-cb56b004b500432210da80531e8484fc9ded36ec.zip
redhat: add option to include mgmtd_testc test client
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 37a2e17e8..3371a3ed4 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