Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3, 1/1] package/keepalived: add optional libnftnl dependency
@ 2019-03-27 18:12 Fabrice Fontaine
  2019-03-27 19:11 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-03-27 18:12 UTC (permalink / raw)
  To: buildroot

nftables support has been added since version 2.0.11 and
https://github.com/acassen/keepalived/commit/aa12175ea638912a7789e832634d7ccf80fdf48d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v2 -> v3 (after review of Baruch Siach):
 - Drop libmnl dependency as libnftnl already depends on it

Changes v1 -> v2 (after review of Baruch Siach, Thomas Petazzoni and
Arnout Vandecappelle)
 - nftables support depends on libmnl and libnftnl, it does not depend
   on iptables's nftables option or nftables package

 package/keepalived/keepalived.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk
index fcdb43ce13..15a1b0e9f4 100644
--- a/package/keepalived/keepalived.mk
+++ b/package/keepalived/keepalived.mk
@@ -46,4 +46,11 @@ else
 KEEPALIVED_CONF_OPTS += --disable-libiptc
 endif
 
+ifeq ($(BR2_PACKAGE_LIBNFTNL),y)
+KEEPALIVED_DEPENDENCIES += libnftnl
+KEEPALIVED_CONF_OPTS += --enable-nftables
+else
+KEEPALIVED_CONF_OPTS += --disable-nftables
+endif
+
 $(eval $(autotools-package))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v3, 1/1] package/keepalived: add optional libnftnl dependency
  2019-03-27 18:12 [Buildroot] [PATCH v3, 1/1] package/keepalived: add optional libnftnl dependency Fabrice Fontaine
@ 2019-03-27 19:11 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-03-27 19:11 UTC (permalink / raw)
  To: buildroot

On Wed, 27 Mar 2019 19:12:48 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> nftables support has been added since version 2.0.11 and
> https://github.com/acassen/keepalived/commit/aa12175ea638912a7789e832634d7ccf80fdf48d
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v2 -> v3 (after review of Baruch Siach):
>  - Drop libmnl dependency as libnftnl already depends on it

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-27 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-27 18:12 [Buildroot] [PATCH v3, 1/1] package/keepalived: add optional libnftnl dependency Fabrice Fontaine
2019-03-27 19:11 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox