Enable nftables support (#1769278)

This commit is contained in:
Ryan O'Hara 2019-11-06 13:47:41 -06:00
parent 30521c556a
commit 876ddb0e6e

View File

@ -1,6 +1,7 @@
%bcond_without snmp
%bcond_without vrrp
%bcond_without sha1
%bcond_without nftables
%bcond_with profile
%bcond_with debug
@ -23,6 +24,9 @@ Requires(postun): systemd
%if %{with snmp}
BuildRequires: net-snmp-devel
%endif
%if %{with nftables}
BuildRequires: libnftnl-devel
%endif
BuildRequires: gcc
BuildRequires: systemd-units
BuildRequires: openssl-devel
@ -54,6 +58,7 @@ infrastructures.
%{?with_profile:--enable-profile} \
%{!?with_vrrp:--disable-vrrp} \
%{?with_snmp:--enable-snmp --enable-snmp-rfc} \
%{?with_nftables:--enable-nftables} \
%{?with_sha1:--enable-sha1} \
--with-init=systemd
%{__make} %{?_smp_mflags} STRIP=/bin/true
@ -95,6 +100,9 @@ mkdir -p %{buildroot}%{_libexecdir}/keepalived
%{_mandir}/man8/keepalived.8*
%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
- Update to 2.0.19 (#1763424)