From patchwork Tue Oct 1 14:30:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169990 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="t58imgBf"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46jMCY6grZz9sPd for ; Wed, 2 Oct 2019 00:31:37 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2ADA920524; Tue, 1 Oct 2019 14:31:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0c+YMljU0n3G; Tue, 1 Oct 2019 14:31:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1286F2202C; Tue, 1 Oct 2019 14:31:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 38FE31BF592 for ; Tue, 1 Oct 2019 14:31:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 33167877ED for ; Tue, 1 Oct 2019 14:31:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FEixqCxVaxIJ for ; Tue, 1 Oct 2019 14:31:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id E9FCA877E9 for ; Tue, 1 Oct 2019 14:31:01 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id i1so15831442wro.4 for ; Tue, 01 Oct 2019 07:31:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0zavmygNQhpgmxZlqRAnJzY6V2jQw2av6M7/fNpgvXM=; b=t58imgBfY+qXdES3KXzDVaNAGd8jRRiSGcdUTrLOdEcec6lX4b5MVQAMNAIl+nO3XC BEOulh9DUHKbk6qZa3VZZ54MN3C7Y4jxgsyU7gonz8NMTTwEF6fO29yxLKsRtGreohYx +NyP0zgnuHM96PhBgVg3Xw//IQh13JQjNJ0H4Lzt95AIVdfACsJ2oJNkJNtpLJHtqMJ6 wUY3dKYDLFOYmVXu1XYBmphT798DSotXRFy+WT6Kfs1wfxSrLRJ+1YFjG2nolZ6JiIIq seyYSaHWU5ydYV0JkiDmnc3udXhFSF/3kA5+fMINFAUrBwSMIJufwr0CUkwo1qCHS4Cj iAGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0zavmygNQhpgmxZlqRAnJzY6V2jQw2av6M7/fNpgvXM=; b=AH1bbl02SL4wPhV9RkfjzqkoAH6oLhXePbz+Sg0MOmq3bfnom/J8JzQ/ZmDr8hUf/Q rPXhuDsmQq/BYG09sRfXVwrA1twa9kfBGYDJBAa4umVPUfXSvwY1aL6D1+8XECY0loAM ho421in1sSjH2HzDsX/iPH2xXMnLBy/ZmxNSsRnFIhLaQSR4rO5LY5EEU3YRi/kwYSZ+ tkoSQeEPju3xHKq5mKet17NnzYZvLV32iXLFpBhhzPQ956xzKeZ3bT7OQ3AVKhG7NeRX hgieGnKQTPesz1bUJgWrpvmEJSxHB5H+8IgJlOAlEM44XZ5t7XOhR7fPNyjPsoNWP03s mxig== X-Gm-Message-State: APjAAAVV9hDOeaoTN7NTEJfUItvf+iJyBKFs7+q+jxAsZ78vrVfoK1+s 9jIIQ567RCZb0nBx8PcAR6BLAH/Y X-Google-Smtp-Source: APXvYqx5uZ3VfqfBELWdscM3hobxwwY4YGGuogl+LktNqlji0+3Na8hJ3TprbS0ZlgDIn1Z5xPHv2Q== X-Received: by 2002:adf:90e2:: with SMTP id i89mr8157308wri.130.1569940260162; Tue, 01 Oct 2019 07:31:00 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id y5sm4027506wma.14.2019.10.01.07.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:59 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:20 +0200 Message-Id: <20191001143023.698-7-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191001143023.698-1-heiko.thiery@gmail.com> References: <20191001143023.698-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 7/9] package/netopeer2server: add package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heiko.thiery@gmail.com, Heiko Thiery Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Heiko Thiery Netopeer2 is a set of tools implementing network configuration tools based on the NETCONF Protocol. This is the second generation of the toolset, originally available as the Netopeer project. Netopeer2 is based on the new generation of the NETCONF and YANG libraries - libyang and libnetconf2. The Netopeer server uses sysrepo as a NETCONF datastore implementation. Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + package/netopeer2server/Config.in | 16 ++++++++++++++++ package/netopeer2server/netopeer2server.hash | 2 ++ package/netopeer2server/netopeer2server.mk | 19 +++++++++++++++++++ 5 files changed, 39 insertions(+) create mode 100644 package/netopeer2server/Config.in create mode 100644 package/netopeer2server/netopeer2server.hash create mode 100644 package/netopeer2server/netopeer2server.mk diff --git a/DEVELOPERS b/DEVELOPERS index e7b3c9d6f6..d70e2c7b56 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1040,6 +1040,7 @@ N: Heiko Thiery F: package/libredblack/ F: package/libyang/ F: package/libnetconf2/ +F: package/netopeer2server/ F: package/sysrepo/ N: Henrique Camargo diff --git a/package/Config.in b/package/Config.in index c1f6fb2245..c91ef640bf 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1646,6 +1646,7 @@ menu "Networking" source "package/mongoose/Config.in" source "package/nanomsg/Config.in" source "package/neon/Config.in" + source "package/netopeer2server/Config.in" source "package/nghttp2/Config.in" source "package/norm/Config.in" source "package/nss-mdns/Config.in" diff --git a/package/netopeer2server/Config.in b/package/netopeer2server/Config.in new file mode 100644 index 0000000000..99e8e01919 --- /dev/null +++ b/package/netopeer2server/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_NETOPEER2SERVER + bool "netopeer2-server" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_SYSREPO + select BR2_PACKAGE_NETOPEER2KEYSTORED + help + Netopeer2 is a set of tools implementing network + configuration tools based on the NETCONF Protocol. + + https://github.com/CESNET/Netopeer2 + +comment "needs a glibc toolchain w/ threads, dynamic libraray" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/netopeer2server/netopeer2server.hash b/package/netopeer2server/netopeer2server.hash new file mode 100644 index 0000000000..0b6cfa3b53 --- /dev/null +++ b/package/netopeer2server/netopeer2server.hash @@ -0,0 +1,2 @@ +sha256 59688271be4fecbbee671fc7eb3dc0538b13b4baab53e923e26eaeb33e6f7ec0 netopeer2server-v0.7-r2.tar.gz +sha256 932b75a8610a5c58e0fe0f70f8e4ebbcf3a2392acc16a88e95aebcdbdb9245e0 LICENSE diff --git a/package/netopeer2server/netopeer2server.mk b/package/netopeer2server/netopeer2server.mk new file mode 100644 index 0000000000..4d8b17b11f --- /dev/null +++ b/package/netopeer2server/netopeer2server.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# netopeer2server +# +################################################################################ + +NETOPEER2SERVER_VERSION = v0.7-r2 +NETOPEER2SERVER_SITE = $(call github,CESNET,Netopeer2,$(NETOPEER2SERVER_VERSION)) +NETOPEER2SERVER_LICENSE = BSD-3-Clause +NETOPEER2SERVER_LICENSE_FILES = LICENSE +NETOPEER2SERVER_SUBDIR = server +NETOPEER2SERVER_INSTALL_STAGING = YES +NETOPEER2SERVER_DEPENDENCIES += libyang sysrepo + +NETOPEER2SERVER_CONF_OPTS += \ + -DENABLE_CONFIGURATION=OFF \ + -DKEYSTORED_KEYS_DIR=/etc/keystored/keys + +$(eval $(cmake-package))