From patchwork Thu Oct 24 07:46:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1182660 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.b="a8NUP2hA"; 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 46zK9x55qpz9sQr for ; Thu, 24 Oct 2019 18:48:35 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C0EF4868D1; Thu, 24 Oct 2019 07:48:31 +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 miypE13N2KRU; Thu, 24 Oct 2019 07:48:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6FF78868C0; Thu, 24 Oct 2019 07:48:29 +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 8A2DF1BF32D for ; Thu, 24 Oct 2019 07:48:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 84D08203FC for ; Thu, 24 Oct 2019 07:48:28 +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 Mk98h4m3dazY for ; Thu, 24 Oct 2019 07:48:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by silver.osuosl.org (Postfix) with ESMTPS id 524F0203D6 for ; Thu, 24 Oct 2019 07:48:27 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id z11so1498021wro.11 for ; Thu, 24 Oct 2019 00:48:27 -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:mime-version :content-transfer-encoding; bh=pfgx3lwlRNUeZ1qTFgKwBCL7/c65HBVZDZXUoTo2LN8=; b=a8NUP2hAg4lKp6yJkwUYaDi1lb0mTgg728RRzkGMVCeb623lLXUf77X2y9TNsjnSYu VPLwL0MqXoN+l+bCx0LhM0Q7RH0du3LKkafhcBJ3AF03T5doxmoaFgH3EUJGJmIr85eP avTws9IwIgHz8ecGmOapZiwwceswQAUOA+3D57WpZnAPQRrC2hYsNptC4bZ9A4uuZr+8 WLHGyX5cGrfq4Q2Ur41rU/h2Scz5Pd93ZLBHK7QS/eSp7IWLWQMbACBx7B3aeeM5rMC4 jBPOII9ahZX9P2YHgk28hYQeyToDP0LcqyQRkJsjioxCPUPgsfAfFax81QVrhNT7tgE2 qmhA== 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:mime-version :content-transfer-encoding; bh=pfgx3lwlRNUeZ1qTFgKwBCL7/c65HBVZDZXUoTo2LN8=; b=VI84IxhBFxZcatk7A1Iu0CGqI6zX6tvPFxAgeh3PI2/BmlpoIhwZsp8HNMTACatb+S 0ZZj6H04f2Gqvq9OBDxDCvnztZWIUc138u3tQf2T+TChpsz0Y6bvd3LrV8iA6C2KUu1L NIo4Tx+PcQsQFNCIirv244FxkAvZgDOpgjOUiBnOY+XqMXgQLr1o3P9s9/oTJF8APKW1 m9rS9/1EEThrA+/a5Rshh2knMC4VPR+XWqnm5x8s155X6G3c+vCdDoS/WsxeMJvDFIOL HdmSb5JMDslqBjqKGuwDmcc9fjRoNlQLoaI5iuMda0yz2M/URWYlpvIlYI1mNT4Ip2Ne GUQw== X-Gm-Message-State: APjAAAVtWCQho4yId/YguIzQ0nFd0gPhru0EYx0F+G3MVavX0rdg4hTu yyjuy45QrMLo+cfqVhlwE1JVD8zN X-Google-Smtp-Source: APXvYqzn2ow0sb11LBhEx3LmEYC9QJg2TTkIuExysvW92THmCCUCpvO6YfYVOgZzhGUz+ERscynU5w== X-Received: by 2002:adf:f78f:: with SMTP id q15mr2404446wrp.282.1571903305392; Thu, 24 Oct 2019 00:48:25 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id c21sm1549536wmb.46.2019.10.24.00.48.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 00:48:24 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Thu, 24 Oct 2019 09:46:39 +0200 Message-Id: <20191024074644.10442-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v4 0/5] Add netopeer2 package (and dependencies) 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 , thomas.petazzoni@bootlin.com Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Heiko Thiery This patchset contains the netopeer2 package and the required dependencies. Netopeer2 is a set of tools implementing network configuration tools based on the NETCONF Protocol. This includes the packages for sysrepo, netopeer2-server, netopeer2-cli, netopeer2-keystored. Also add the host target support for libev. This is needed for the install steps of sysrepo, netopeer2-server and netopeer2-keystored. Signed-off-by: Heiko Thiery --- Changes v1 -> v2: - replace libredblack with libavl because this is also supported by debian. - changes all over the place to integrate review comments. Changes v2 -> v3: - download the netopeer2 sources only once for the packages netopeer2-cli, netopeer2-keystored and netopeer2-server. Use the same value in _DL_SUBDIR and _SOURCE for all 3 packages. - add sysv init scripts for netopeer-server, sysrepod and syrepo-plugind. - changes all over the place to integrate review comments. Changes v3 -> v4: - add config option for sysrepo examples - remove select of BR2_PACKAGE_NETOPEER2_SERVER_TLS in netopeer2-server because it creates a recursive dependency. - fix check-package warnings Heiko Thiery (5): package/libev: use host-autotools-package macro package/sysrepo: add package package/netopeer2-keystored: add package package/netopeer2-server: add package package/netopeer2-cli: add package DEVELOPERS | 4 + package/Config.in | 4 + package/libev/libev.mk | 1 + package/netopeer2-cli/Config.in | 21 +++++ package/netopeer2-cli/netopeer2-cli.hash | 1 + package/netopeer2-cli/netopeer2-cli.mk | 17 ++++ package/netopeer2-keystored/Config.in | 17 ++++ .../netopeer2-keystored.hash | 2 + .../netopeer2-keystored.mk | 32 +++++++ package/netopeer2-server/Config.in | 51 +++++++++++ package/netopeer2-server/S52netopeer2-server | 90 +++++++++++++++++++ .../netopeer2-server/netopeer2-server.hash | 1 + package/netopeer2-server/netopeer2-server.mk | 33 +++++++ ...espect-CMAKE_INSTALL_PREFIX-and-DEST.patch | 33 +++++++ ...t-make-systemd-unit-dir-configurable.patch | 40 +++++++++ package/sysrepo/Config.in | 35 ++++++++ package/sysrepo/S50sysrepod | 44 +++++++++ package/sysrepo/S51sysrepo-plugind | 49 ++++++++++ package/sysrepo/sysrepo.hash | 2 + package/sysrepo/sysrepo.mk | 52 +++++++++++ 20 files changed, 529 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 create mode 100644 package/netopeer2-keystored/Config.in create mode 100644 package/netopeer2-keystored/netopeer2-keystored.hash create mode 100644 package/netopeer2-keystored/netopeer2-keystored.mk create mode 100644 package/netopeer2-server/Config.in create mode 100644 package/netopeer2-server/S52netopeer2-server create mode 120000 package/netopeer2-server/netopeer2-server.hash create mode 100644 package/netopeer2-server/netopeer2-server.mk create mode 100644 package/sysrepo/0001-CMakeLists.txt-respect-CMAKE_INSTALL_PREFIX-and-DEST.patch create mode 100644 package/sysrepo/0002-CMakeLists.txt-make-systemd-unit-dir-configurable.patch create mode 100644 package/sysrepo/Config.in create mode 100644 package/sysrepo/S50sysrepod create mode 100644 package/sysrepo/S51sysrepo-plugind create mode 100644 package/sysrepo/sysrepo.hash create mode 100644 package/sysrepo/sysrepo.mk