[Buildroot] [git commit branch/next] package/bird: add rpki support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jul 21 07:25:48 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=9070a7355b443c01760876bd8870a8ab7cc87286
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

rpki support optionally depends on libssh

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/bird/Config.in | 5 +++++
 package/bird/bird.mk   | 8 ++++++++
 2 files changed, 13 insertions(+)

diff --git a/package/bird/Config.in b/package/bird/Config.in
index e78dfdf90f..866fc65617 100644
--- a/package/bird/Config.in
+++ b/package/bird/Config.in
@@ -73,6 +73,11 @@ config BR2_PACKAGE_BIRD_RIP
 	help
 	  Enable RIP protocol.
 
+config BR2_PACKAGE_BIRD_RPKI
+	bool "rpki"
+	help
+	  Enable RPKI protocol.
+
 config BR2_PACKAGE_BIRD_STATIC
 	bool "static"
 	help
diff --git a/package/bird/bird.mk b/package/bird/bird.mk
index 4d4dfe1dca..4d6159b075 100644
--- a/package/bird/bird.mk
+++ b/package/bird/bird.mk
@@ -19,6 +19,13 @@ else
 BIRD_CONF_OPTS += --disable-client
 endif
 
+ifeq ($(BR2_PACKAGE_LIBSSH),y)
+BIRD_CONF_OPTS += --enable-libssh
+BIRD_DEPENDENCIES += libssh
+else
+BIRD_CONF_OPTS += --disable-libssh
+endif
+
 BIRD_PROTOCOLS = \
 	$(if $(BR2_PACKAGE_BIRD_BFD),bfd) \
 	$(if $(BR2_PACKAGE_BIRD_BABEL),babel) \
@@ -29,6 +36,7 @@ BIRD_PROTOCOLS = \
 	$(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \
 	$(if $(BR2_PACKAGE_BIRD_RADV),radv) \
 	$(if $(BR2_PACKAGE_BIRD_RIP),rip) \
+	$(if $(BR2_PACKAGE_BIRD_RPKI),rpki) \
 	$(if $(BR2_PACKAGE_BIRD_STATIC),static)
 
 BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS)))


More information about the buildroot mailing list