Enable nftables support (#1769278)
This commit is contained in:
parent
30521c556a
commit
876ddb0e6e
@ -1,6 +1,7 @@
|
|||||||
%bcond_without snmp
|
%bcond_without snmp
|
||||||
%bcond_without vrrp
|
%bcond_without vrrp
|
||||||
%bcond_without sha1
|
%bcond_without sha1
|
||||||
|
%bcond_without nftables
|
||||||
%bcond_with profile
|
%bcond_with profile
|
||||||
%bcond_with debug
|
%bcond_with debug
|
||||||
|
|
||||||
@ -23,6 +24,9 @@ Requires(postun): systemd
|
|||||||
%if %{with snmp}
|
%if %{with snmp}
|
||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with nftables}
|
||||||
|
BuildRequires: libnftnl-devel
|
||||||
|
%endif
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
@ -54,6 +58,7 @@ infrastructures.
|
|||||||
%{?with_profile:--enable-profile} \
|
%{?with_profile:--enable-profile} \
|
||||||
%{!?with_vrrp:--disable-vrrp} \
|
%{!?with_vrrp:--disable-vrrp} \
|
||||||
%{?with_snmp:--enable-snmp --enable-snmp-rfc} \
|
%{?with_snmp:--enable-snmp --enable-snmp-rfc} \
|
||||||
|
%{?with_nftables:--enable-nftables} \
|
||||||
%{?with_sha1:--enable-sha1} \
|
%{?with_sha1:--enable-sha1} \
|
||||||
--with-init=systemd
|
--with-init=systemd
|
||||||
%{__make} %{?_smp_mflags} STRIP=/bin/true
|
%{__make} %{?_smp_mflags} STRIP=/bin/true
|
||||||
@ -95,6 +100,9 @@ mkdir -p %{buildroot}%{_libexecdir}/keepalived
|
|||||||
%{_mandir}/man8/keepalived.8*
|
%{_mandir}/man8/keepalived.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 06 2019 Ryan O'Hara <rohara@redhat.com> - 2.0.19-2
|
||||||
|
- Enable nftables support (#1769278)
|
||||||
|
|
||||||
* Wed Nov 06 2019 Ryan O'Hara <rohara@redhat.com> - 2.0.19-1
|
* Wed Nov 06 2019 Ryan O'Hara <rohara@redhat.com> - 2.0.19-1
|
||||||
- Update to 2.0.19 (#1763424)
|
- Update to 2.0.19 (#1763424)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user