]> git.proxmox.com Git - mirror_frr.git/commitdiff
redhat: Add option to build with RPKI
authorMartin Winter <mwinter@opensourcerouting.org>
Sun, 4 Mar 2018 13:38:58 +0000 (05:38 -0800)
committerMartin Winter <mwinter@opensourcerouting.org>
Sun, 4 Mar 2018 13:51:22 +0000 (05:51 -0800)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
redhat/frr.spec.in

index 20b96bb76ff6cf16d6e3fdf42a0ceb7c5e5d4128..fdab5cd37dfc11ac3b6c6f5e287ab6418920aea1 100644 (file)
@@ -26,6 +26,7 @@
 %{!?with_watchfrr:      %global  with_watchfrr      1 }
 %{!?with_bgp_vnc:       %global  with_bgp_vnc       0 }
 %{!?with_pimd:          %global  with_pimd          1 }
+%{!?with_rpki:          %global  with_rpki          0 }
 
 # path defines
 %define     _sysconfdir   /etc/frr
@@ -149,6 +150,10 @@ Requires:       ncurses json-c initscripts
 BuildRequires:  pam-devel
 Requires:       pam
 %endif
+%if %{with_rpki}
+BuildRequires:  librtr-devel >= 0.5
+Requires:       librtr >= 0.5
+%endif
 %if "%{initsystem}" == "systemd"
 BuildRequires:      systemd systemd-devel
 Requires(post):     systemd
@@ -298,6 +303,9 @@ developing OSPF-API and frr applications.
     --enable-systemd=yes \
 %endif
     --enable-poll=yes
+%if %{with_rpki}
+    --enable-rpki
+%endif
 
 make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
 
@@ -602,7 +610,10 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
-* Fri Oct 20 2017 Martin Winter <mwinter@opensourcerouting.org> - %{version}
+* Sun Mar  4 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
+- Add option to build with RPKI (default: disabled)
+
+* Fri Oct 20 2017 Martin Winter <mwinter@opensourcerouting.org>
 - Fix script location for watchfrr restart functions in daemon config
 - Fix postun script to restart frr during upgrade