Build with nftables support instead of iptables
This commit is contained in:
parent
431b0fca30
commit
2bce224611
@ -10,7 +10,7 @@
|
|||||||
Name: keepalived
|
Name: keepalived
|
||||||
Summary: High Availability monitor built upon LVS, VRRP and service pollers
|
Summary: High Availability monitor built upon LVS, VRRP and service pollers
|
||||||
Version: 2.0.20
|
Version: 2.0.20
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.keepalived.org/
|
URL: http://www.keepalived.org/
|
||||||
|
|
||||||
@ -25,14 +25,16 @@ Requires(postun): systemd
|
|||||||
BuildRequires: net-snmp-devel
|
BuildRequires: net-snmp-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with nftables}
|
%if %{with nftables}
|
||||||
|
BuildRequires: libmnl-devel
|
||||||
BuildRequires: libnftnl-devel
|
BuildRequires: libnftnl-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: ipset-devel
|
||||||
|
BuildRequires: iptables-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: libnl3-devel
|
BuildRequires: libnl3-devel
|
||||||
BuildRequires: ipset-devel
|
|
||||||
BuildRequires: iptables-devel
|
|
||||||
BuildRequires: libnfnetlink-devel
|
BuildRequires: libnfnetlink-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -58,7 +60,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_nftables:--enable-nftables --disable-iptables --disable-ipset} \
|
||||||
%{?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
|
||||||
@ -100,6 +102,9 @@ mkdir -p %{buildroot}%{_libexecdir}/keepalived
|
|||||||
%{_mandir}/man8/keepalived.8*
|
%{_mandir}/man8/keepalived.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 18 2020 Ryan O'Hara <rohara@redhat.com> - 2.0.20-3
|
||||||
|
- Build with nftables support instead of iptables
|
||||||
|
|
||||||
* Thu Feb 13 2020 Ryan O'Hara <rohara@redhat.com> - 2.0.20-2
|
* Thu Feb 13 2020 Ryan O'Hara <rohara@redhat.com> - 2.0.20-2
|
||||||
- Remove unused patches
|
- Remove unused patches
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user