From patchwork Tue Apr 14 08:25:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1270180 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.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.a=rsa-sha256 header.s=20161025 header.b=rWx8PFB7; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 491dqd14GTz9sPF for ; Tue, 14 Apr 2020 18:26:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A7A60848AA; Tue, 14 Apr 2020 08:26:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zqrj51JsaM-x; Tue, 14 Apr 2020 08:26:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A566784785; Tue, 14 Apr 2020 08:26:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 57E941BF2AE for ; Tue, 14 Apr 2020 08:26:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5503B84785 for ; Tue, 14 Apr 2020 08:26:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aW5UBGS4klik for ; Tue, 14 Apr 2020 08:26:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 59C2B845DB for ; Tue, 14 Apr 2020 08:26:16 +0000 (UTC) Received: by mail-wm1-f47.google.com with SMTP id x4so12029941wmj.1 for ; Tue, 14 Apr 2020 01:26:16 -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=Hr78ktpQU+leB+yyTuB0y00labGpM4+YZZNwhVjzMf4=; b=rWx8PFB7URxpfjEJp9yoQR8kHt9aLG/V1/b7vDw7utDov0yYCXKmZdhxIsoM+VhUDw alL0kTL37Y+9KpZZwg9U/4gTdEhCXbpiv8UDCYlnRpgYTxwLiq2n6DCNGoH1+diEHCwq 16SwM4397f3mXefWp+1n03arBsbaU+1YtdJLbxH+DUvJdAy7xlRlLeOpAYKVAgcuebi4 V3Ny6JpBV4EC2y+6QPHx2Ftn+OQ2/iCuyzJHortixWUW+7cpDf4Z0qAkWVP4DC5E/4pi vc9Z1Z2uSz9oXj/JLHGIwC+fboKHCVZnof0PdzMDkjlS+4ZazY9XDmFMuY28TpepVXSq jrEg== 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=Hr78ktpQU+leB+yyTuB0y00labGpM4+YZZNwhVjzMf4=; b=qqydyICZQMzCq4gXbo5bBQyZzgXxS/xaRR8xkz4ck2at959WhPpWMNX5888nZqsEJE L5etppgoAaYTgcOhFjbEjLxOJeP1uzlcMtL8xjahyL6RK+jG0THaUISZ7rTxxx8nCGGo G7Bpvj/gkxN11y/QVR8NFLEoM9MlEH9XVcVVuY+ErXtCbzz+s10kdR/BieH99GTH5hVT WfxUs7cg4DqhJzF4mHIHqznNCCUxn2J9OrHQbWCYjzxhtjEtXbeMUxgZU+zqbMty6eRU R+v6c7JOawvyJ2ICnbSs5O3MylSqlwQXqxP9d0maB7NXBeYdsgvqKUeY7DidTV1ylGzp DeVQ== X-Gm-Message-State: AGi0PuYfQBv4jiGnO0YCrCIV660xtspMPu22S7/78yVJH6+RvDej0pHN mvxPPcqUDIaLsnqHSRxKqrAuXC53 X-Google-Smtp-Source: APiQypJTGK2xfK4Q4UFSBRQrxjTloDF9CYRh6CQepmlIBQYl5hDTMAbyOzt8T/Jzw2hMTf/q1cwh3w== X-Received: by 2002:a1c:e407:: with SMTP id b7mr22514985wmh.32.1586852774209; Tue, 14 Apr 2020 01:26:14 -0700 (PDT) Received: from t450s.fritz.box (ip5b426f84.dynamic.kabel-deutschland.de. [91.66.111.132]) by smtp.gmail.com with ESMTPSA id k184sm17486413wmf.9.2020.04.14.01.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 01:26:13 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Tue, 14 Apr 2020 10:25:51 +0200 Message-Id: <20200414082548.8625-3-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200414082548.8625-1-heiko.thiery@gmail.com> References: <20200414082548.8625-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/netopeer2-cli: 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 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" netopeer2 cli is a simple command line interface to connect to a NETCONF server (device). Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + package/netopeer2-cli/Config.in | 20 ++++++++++++++++++++ package/netopeer2-cli/netopeer2-cli.hash | 1 + package/netopeer2-cli/netopeer2-cli.mk | 17 +++++++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 package/netopeer2-cli/Config.in create mode 120000 package/netopeer2-cli/netopeer2-cli.hash create mode 100644 package/netopeer2-cli/netopeer2-cli.mk diff --git a/DEVELOPERS b/DEVELOPERS index 79980863c7..fb2763adaf 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1106,6 +1106,7 @@ F: package/python-sip/ N: Heiko Thiery F: package/libnetconf2/ F: package/libyang/ +F: package/netopeer2-cli/ F: package/netopeer2-server/ F: package/sysrepo/ diff --git a/package/Config.in b/package/Config.in index 78c0d4b7ce..49c020cae6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1736,6 +1736,7 @@ menu "Networking" source "package/mongoose/Config.in" source "package/nanomsg/Config.in" source "package/neon/Config.in" + source "package/netopeer2-cli/Config.in" source "package/netopeer2-server/Config.in" source "package/nghttp2/Config.in" source "package/norm/Config.in" diff --git a/package/netopeer2-cli/Config.in b/package/netopeer2-cli/Config.in new file mode 100644 index 0000000000..70210597a1 --- /dev/null +++ b/package/netopeer2-cli/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_NETOPEER2_CLI + bool "netopeer2-cli" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_LIBNETCONF2 + select BR2_PACKAGE_LIBSSH + select BR2_PACKAGE_LIBSSH_SERVER + select BR2_PACKAGE_PCRE # libyang + select BR2_PACKAGE_PCRE_UCP # libyang + help + Netopeer2 is a set of tools implementing network + configuration tools based on the NETCONF Protocol. + + This is the CLI client part. + + https://github.com/CESNET/Netopeer2 + +comment "netopeer2cli needs a toolchain w/ threads, dynamic libraray" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/netopeer2-cli/netopeer2-cli.hash b/package/netopeer2-cli/netopeer2-cli.hash new file mode 120000 index 0000000000..1abc5dfda4 --- /dev/null +++ b/package/netopeer2-cli/netopeer2-cli.hash @@ -0,0 +1 @@ +../netopeer2-server/netopeer2-server.hash \ No newline at end of file diff --git a/package/netopeer2-cli/netopeer2-cli.mk b/package/netopeer2-cli/netopeer2-cli.mk new file mode 100644 index 0000000000..be82161d43 --- /dev/null +++ b/package/netopeer2-cli/netopeer2-cli.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# netopeer2-cli +# +################################################################################ + +NETOPEER2_CLI_VERSION = 1.1.7 +NETOPEER2_CLI_SOURCE = netopeer2-$(NETOPEER2_CLI_VERSION).tar.gz +NETOPEER2_CLI_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_CLI_VERSION)) +NETOPEER2_CLI_DL_SUBDIR = netopeer2 +NETOPEER2_CLI_LICENSE = BSD-3-Clause +NETOPEER2_CLI_LICENSE_FILES = LICENSE +NETOPEER2_CLI_SUBDIR = cli +NETOPEER2_CLI_INSTALL_STAGING = YES +NETOPEER2_CLI_DEPENDENCIES = libnetconf2 libyang + +$(eval $(cmake-package))