mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 02:57:18 +00:00
redhat: Add option to build with RPKI
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org> Conflicts: redhat/frr.spec.in
This commit is contained in:
parent
34a0beaa6c
commit
aaf38c9461
@ -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
|
||||
@ -156,6 +157,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
|
||||
@ -305,6 +310,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" SPHINXBUILD=%{sphinx}
|
||||
|
||||
@ -605,7 +613,10 @@ rm -rf %{buildroot}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Feb 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
|
||||
* Sun Mar 4 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
|
||||
- Add option to build with RPKI (default: disabled)
|
||||
|
||||
* Tue Feb 20 2018 Martin Winter <mwinter@opensourcerouting.org>
|
||||
- Adapt to new documentation structure based on Sphinx
|
||||
|
||||
* Fri Oct 20 2017 Martin Winter <mwinter@opensourcerouting.org>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user