From patchwork Mon Oct 28 09:03:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1185260 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.138; helo=whitealder.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="SmQQ7S44"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471pgg1W0Bz9sPL for ; Mon, 28 Oct 2019 20:04:30 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AC7368263D; Mon, 28 Oct 2019 09:04:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rm0A4sxeP+B4; Mon, 28 Oct 2019 09:04:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DE47B81D7E; Mon, 28 Oct 2019 09:04:24 +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 DC62E1BF284 for ; Mon, 28 Oct 2019 09:04:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D876220397 for ; Mon, 28 Oct 2019 09:04:23 +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 g2SydjLZlaDH for ; Mon, 28 Oct 2019 09:04:22 +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 9640920365 for ; Mon, 28 Oct 2019 09:04:22 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id e11so8955309wrv.4 for ; Mon, 28 Oct 2019 02:04:22 -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=/KpmnTRiPWBtNiLl/HutPZoWy4S0GA0mXjgTlgY2vPw=; b=SmQQ7S44ggqZ8THzPnVGt1a+vJvOnyjBVtrq3QqRTCfFNNj/RjLHz+8VxDrpEJodBl X0wKwcSonbj8zrhbElxeA8Ws+SYHBpBoftsEfk78Ryf/D3NYdeahmu44cDD8lTjnoVLk 1uD3JC1r8Jyx4ZCHebsbdZE6avJW6N3ZMj8jGJtjQMW9TzPeYzVHanqGzvtPtpesZ5JJ wvHFgdY6CpSb1qmOKrfnWvkKDWzfSJXuGOmzrGVcicBSL4ynpcxK1uSHl+JatP1K1QML Xk3z+cchbc40D8sPWvZQIChJ3/XRpzUkzDr4L4MrJDP0zIUjMDmy3wrJQaRgXdESUZBT C6Ew== 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=/KpmnTRiPWBtNiLl/HutPZoWy4S0GA0mXjgTlgY2vPw=; b=PfT5Zj6ii24GjC9EjZNEAMQEKt95Gt4Z/hA8Y4niYWG971ZGNNVoBmpqopPIyXru9z V/I//tIQBjycXnkMmNujqqwvN6PQfoz7d7L9dJGZsFySCq/8sGn62BifRZAgq7Hy3cgK tLwMONghcYhmRhQMT/WlVQagBvsmEvoX5PiFselX/pKzxZ91mniGp/hK8nLI7LPkvjJJ Qr/W00++mBg1Bd4+haueuI8dBO6jlzPrYMJKlwJGRYCvO6cU3MQ/NIo+tNt0OoiaR0rP aiFHKTjcq6cHkFayVd+zeFgNWP0K+mZFBj/ghgBMCdjOGmRnvMzrGsAQdMzv/grTRtGq JOEg== X-Gm-Message-State: APjAAAXsjMdJP/0aAauFlezRk2729a5LVn48gF5AtxwPhdehkMU0Jm4s /w/66JC0H1hx8SWykAmK3X8hH0Fe X-Google-Smtp-Source: APXvYqx3fUDxfpfB2hoDFSZlWgl9wKkHWBc7rBSrFBGn9crrtRrLaTtFs1fZ3JEKvT9Qje1PGYJtRg== X-Received: by 2002:adf:d1a3:: with SMTP id w3mr9586275wrc.9.1572253460614; Mon, 28 Oct 2019 02:04:20 -0700 (PDT) Received: from hthiery01.sab.local ([213.135.10.150]) by smtp.gmail.com with ESMTPSA id 26sm10344909wmi.17.2019.10.28.02.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 02:04:20 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Mon, 28 Oct 2019 10:03:24 +0100 Message-Id: <20191028090329.25432-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v5 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 and 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. Changes v4 -> v5: - fix up the 'v' prefix in the versions - sysrepo: fix REPOSITORY_LOC not to install in staging for host build - sysrepo: disable building python/cpp buildings - sysrepo: fix indentations in init scripts - sysrepo: fix alphabetic sorting issue in Config.in - sysrepo: move comment to the end of Config.in - sysrepo: drop config option for host gcc version - netopeer2: drop config option for host gcc version - netopeer2: move comment to the end of Config.in 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 | 31 +++++++ 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 | 45 ++++++++++ package/sysrepo/S51sysrepo-plugind | 50 +++++++++++ package/sysrepo/sysrepo.hash | 2 + package/sysrepo/sysrepo.mk | 60 +++++++++++++ 20 files changed, 538 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