All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vadim Kochan <vadim4j@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] package/rtrlib: new package
Date: Mon, 24 Feb 2020 19:26:51 +0200	[thread overview]
Message-ID: <20200224172652.30932-3-vadim4j@gmail.com> (raw)
In-Reply-To: <20200224172652.30932-1-vadim4j@gmail.com>

The RTRlib implements the client-side of the RPKI-RTR protocol (RFC
6810), (RFC 8210) and BGP Prefix Origin Validation (RFC 6811). This also
enables the maintenance of router keys. Router keys are required to
deploy BGPSEC.

It is required by frr package.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
---
 DEVELOPERS                 |  1 +
 package/Config.in          |  1 +
 package/rtrlib/Config.in   | 13 +++++++++++++
 package/rtrlib/rtrlib.hash |  2 ++
 package/rtrlib/rtrlib.mk   | 20 ++++++++++++++++++++
 5 files changed, 37 insertions(+)
 create mode 100644 package/rtrlib/Config.in
 create mode 100644 package/rtrlib/rtrlib.hash
 create mode 100644 package/rtrlib/rtrlib.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 7d3d1ca11a..e07236937b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2479,6 +2479,7 @@ N:	Vadim Kochan <vadim4j@gmail.com>
 F:	package/brcm-patchram-plus/
 F:	package/gettext-tiny/
 F:	package/tinyssh/
+F:	package/rtrlib/
 
 N:	Valentin Korenblit <valentinkorenblit@gmail.com>
 F:	package/clang/
diff --git a/package/Config.in b/package/Config.in
index dfa3f34b9d..60bf9aac10 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1724,6 +1724,7 @@ menu "Networking"
 	source "package/rabbitmq-c/Config.in"
 	source "package/restclient-cpp/Config.in"
 	source "package/rtmpdump/Config.in"
+	source "package/rtrlib/Config.in"
 	source "package/slirp/Config.in"
 	source "package/snmppp/Config.in"
 	source "package/sofia-sip/Config.in"
diff --git a/package/rtrlib/Config.in b/package/rtrlib/Config.in
new file mode 100644
index 0000000000..440eeb5d63
--- /dev/null
+++ b/package/rtrlib/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_RTRLIB
+	bool "rtrlib"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_SSP
+	help
+	  An open-source C implementation of the RPKI/Router Protocol client.
+
+	  http://rtrlib.realmv6.org
+
+comment "rtrlib requires toolchain w/ threads, SSP"
+	  depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+		  !BR2_TOOLCHAIN_HAS_SSP
+
diff --git a/package/rtrlib/rtrlib.hash b/package/rtrlib/rtrlib.hash
new file mode 100644
index 0000000000..3fb590bceb
--- /dev/null
+++ b/package/rtrlib/rtrlib.hash
@@ -0,0 +1,2 @@
+sha256 f6e825cedadac970f681e3714dad396fd62cb811b98a94d8e8e02e0c5abe765a  LICENSE
+sha256 79fbfaa624dd4b53b304cd7c755ee31219b53558a5ee21eb81ca796356190af6  rtrlib-0.7.0.tar.gz
diff --git a/package/rtrlib/rtrlib.mk b/package/rtrlib/rtrlib.mk
new file mode 100644
index 0000000000..4385484bf1
--- /dev/null
+++ b/package/rtrlib/rtrlib.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# rtrlib
+#
+################################################################################
+
+RTRLIB_VERSION = 0.7.0
+RTRLIB_SITE = $(call github,rtrlib,rtrlib,v$(RTRLIB_VERSION))
+RTRLIB_LICENSE = MIT
+RTRLIB_LICENSE_FILES = LICENSE
+RTRLIB_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_LIBSSH),y)
+RTRLIB_CONF_OPTS += -DRTRLIB_TRANSPORT_SSH=Yes
+RTRLIB_DEPENDENCIES += libssh
+else
+RTRLIB_CONF_OPTS += -DRTRLIB_TRANSPORT_SSH=No
+endif
+
+$(eval $(cmake-package))
-- 
2.17.1

  parent reply	other threads:[~2020-02-24 17:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 17:26 [Buildroot] [PATCH 0/3] add frr package Vadim Kochan
2020-02-24 17:26 ` [Buildroot] [PATCH 1/3] package/libyang: enable LYD_PRIV option Vadim Kochan
2020-02-24 19:52   ` Thomas Petazzoni
2020-02-24 20:36     ` vadim4j at gmail.com
2020-02-24 17:26 ` Vadim Kochan [this message]
2020-02-24 19:53   ` [Buildroot] [PATCH 2/3] package/rtrlib: new package Thomas Petazzoni
2020-02-24 21:00     ` vadim4j at gmail.com
2020-02-24 17:26 ` [Buildroot] [PATCH 3/3] package/frr: " Vadim Kochan
2020-02-24 20:06   ` Thomas Petazzoni
2020-02-24 21:14     ` vadim4j at gmail.com
2020-02-24 21:32       ` Thomas Petazzoni
2020-02-24 21:36         ` vadim4j at gmail.com
2020-02-24 22:07           ` Thomas Petazzoni
2020-02-25  1:28             ` vadim4j at gmail.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200224172652.30932-3-vadim4j@gmail.com \
    --to=vadim4j@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.