From patchwork Tue Oct 1 14:30:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169989 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.133; helo=hemlock.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="Xo5b6XK0"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46jMCQ4sHCz9sPJ for ; Wed, 2 Oct 2019 00:31:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3174A87634; Tue, 1 Oct 2019 14:31:29 +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 Uq1TfV+I6GiX; Tue, 1 Oct 2019 14:31:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 80356877E9; Tue, 1 Oct 2019 14:31:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 0BB7A1BF592 for ; Tue, 1 Oct 2019 14:31:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EBC4D1FEF0 for ; Tue, 1 Oct 2019 14:31:26 +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 UV5e2IrsdSvC for ; Tue, 1 Oct 2019 14:31:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by silver.osuosl.org (Postfix) with ESMTPS id D118020491 for ; Tue, 1 Oct 2019 14:31:03 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id 5so3683418wmg.0 for ; Tue, 01 Oct 2019 07:31:03 -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=Qe4q3CxypJLnP/h7Eb+nr9S14LKQDJPBVTCfN0gCGNs=; b=Xo5b6XK0K/ctrZe2Pr7LxstuLYlDsAIJM+xjpaoRwwJ04TERhQe4yvqg/s0Z9QWYTC xMfZyhVTMTUOBmaWMmcYKcDoBmRjIfJ+U3wABaE4kq2SIuju0jXvdM65ovdkEXXu3snK w76hXhn1/nmMpx2pR4tuYyw+krivjiwFkPfgZW/mJ2C3HEV7j9HFvvz6MAw3c3fP38xT Dhb47jXS2Y4O1PdGysQ8QjxnVRTvl/cM4bpk5VmaGKar8hw1o32FdA2FFU+ak8S1MOVg hrn7Qe6ATixFuhfkLmIWQLQuD9lzFZXpotLQs8ce/HRAZTtNPsG3k2eF5GNPdjbKUUo9 i7VA== 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=Qe4q3CxypJLnP/h7Eb+nr9S14LKQDJPBVTCfN0gCGNs=; b=BqF0BrfmqHqD0wURgiEwk9R24qclPFLS2NTlMITloG4PPpjVpFDQ8jAUrc7+RivPSB bKHbyFYvqkAmmdWysOug+PnRR675iK4l24RAFznjb59JiVMKyxJufzmiR+9WR3unFNjq Z3YhtXxi55Sg29KE5ldcT/yVwBM30wCuIkFLbzcIXhho5pb2y5W3MeJKw/teaJBLqwNY 9exSD7AhJoWRHvGBDxrzir5CtHBH3/d059L9SOV0exy5p//g/Ijz5asY3FAEJVs1dlfA nRdi79eED0+ELVB6L1VTBJucqe7U8YPMwgqDEGgSok9azlR7u28NGa4wPfQbVVHYgU9O ajUQ== X-Gm-Message-State: APjAAAUWuwfrNCxu7mLEl2bWuMcBKgM7mhVdC0N8ixmemHrZ3LR25Voi ndCfGvV27Dh+H3rTsafmaSuLI0fl X-Google-Smtp-Source: APXvYqzF8tzk/woHqvDbtpDoaaT/QW4fIu3sOFwuXnNiBsA1TZJOd01mnJ9OLotUjOuod94IVeZeOg== X-Received: by 2002:a1c:c589:: with SMTP id v131mr3877311wmf.163.1569940261815; Tue, 01 Oct 2019 07:31:01 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id y5sm4027506wma.14.2019.10.01.07.31.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:31:01 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:21 +0200 Message-Id: <20191001143023.698-8-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 8/9] package/netopeer2cli: 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 CLI - simple command line interface to connect to a NETCONF server (device). Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + package/netopeer2cli/Config.in | 10 ++++++++++ package/netopeer2cli/netopeer2cli.hash | 2 ++ package/netopeer2cli/netopeer2cli.mk | 16 ++++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/netopeer2cli/Config.in create mode 100644 package/netopeer2cli/netopeer2cli.hash create mode 100644 package/netopeer2cli/netopeer2cli.mk diff --git a/DEVELOPERS b/DEVELOPERS index d70e2c7b56..08793ffb98 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1040,6 +1040,7 @@ N: Heiko Thiery F: package/libredblack/ F: package/libyang/ F: package/libnetconf2/ +F: package/netopeer2cli/ F: package/netopeer2server/ F: package/sysrepo/ diff --git a/package/Config.in b/package/Config.in index c91ef640bf..a42dae1df7 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/netopeer2cli/Config.in" source "package/netopeer2server/Config.in" source "package/nghttp2/Config.in" source "package/norm/Config.in" diff --git a/package/netopeer2cli/Config.in b/package/netopeer2cli/Config.in new file mode 100644 index 0000000000..12f94281d4 --- /dev/null +++ b/package/netopeer2cli/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_NETOPEER2CLI + bool "netopeer2-cli" + 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 + help + Netopeer2 CLI is a simple command line interface to + connect to a NETCONF server (device). diff --git a/package/netopeer2cli/netopeer2cli.hash b/package/netopeer2cli/netopeer2cli.hash new file mode 100644 index 0000000000..592228e63e --- /dev/null +++ b/package/netopeer2cli/netopeer2cli.hash @@ -0,0 +1,2 @@ +sha256 59688271be4fecbbee671fc7eb3dc0538b13b4baab53e923e26eaeb33e6f7ec0 netopeer2cli-v0.7-r2.tar.gz +sha256 932b75a8610a5c58e0fe0f70f8e4ebbcf3a2392acc16a88e95aebcdbdb9245e0 LICENSE diff --git a/package/netopeer2cli/netopeer2cli.mk b/package/netopeer2cli/netopeer2cli.mk new file mode 100644 index 0000000000..930559e517 --- /dev/null +++ b/package/netopeer2cli/netopeer2cli.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# netopeer2cli +# +################################################################################ + +NETOPEER2CLI_VERSION = v0.7-r2 +NETOPEER2CLI_SITE = $(call github,CESNET,Netopeer2,$(NETOPEER2CLI_VERSION)) +NETOPEER2CLI_LICENSE = BSD-3-Clause +NETOPEER2CLI_LICENSE_FILES = LICENSE +NETOPEER2CLI_SUBDIR = cli +NETOPEER2CLI_INSTALL_STAGING = YES +NETOPEER2CLI_DEPENDENCIES += libyang +NETOPEER2CLI_DEPENDENCIES += sysrepo + +$(eval $(cmake-package))