[Buildroot] [PATCH 1/1] package/keepalived: add optional nftables dependency

Fabrice Fontaine fontaine.fabrice at gmail.com
Wed Mar 27 17:45:34 UTC 2019


Dear all,

Le lun. 25 mars 2019 à 22:22, Arnout Vandecappelle <arnout at mind.be> a écrit :
>
>
>
> On 25/03/2019 19:22, Baruch Siach wrote:
> > BTW, what happens when both BR2_PACKAGE_NFTABLES and
> > BR2_PACKAGE_IPTABLES_NFTABLES are enabled? Do both coexist? If they do, I see
> > no way for keepalived to know which library to link against. iptables will
> > always build before keepalived because it optionally depends on
> > BR2_PACKAGE_IPTABLES anyway. But nftables might not build before keepalived in
> > that case.
>
>  I guess the configure script will prefer one over the other if both are available.
>
>  If the configure script prefers iptables over nftables, then the proposed patch
> looks good to me. If, however, the configure script prefers nftables over
> iptables, then the patch is wrong because the keepalived would be built
> differently depending on whether nftables is built first or not.
I sent a v2, nftables support in keepalived depends on libmnl and
libnftnl, it does not depend on iptables/nftables applications.
>
>  Regards,
>  Arnout
Best Regards,

Fabrice



More information about the buildroot mailing list