From patchwork Tue Oct 1 14:30:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169982 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="tBdshqKm"; 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 46jMBb12XYz9sPd for ; Wed, 2 Oct 2019 00:30:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EAAED20517; Tue, 1 Oct 2019 14:30:44 +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 N2B3lH9f4EiN; Tue, 1 Oct 2019 14:30:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4C5572039A; Tue, 1 Oct 2019 14:30:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A92EE1BF592 for ; Tue, 1 Oct 2019 14:30:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A550C868C6 for ; Tue, 1 Oct 2019 14:30:34 +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 xCCriJbaRbO6 for ; Tue, 1 Oct 2019 14:30:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id ABFE783C53 for ; Tue, 1 Oct 2019 14:30:33 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id v17so3499897wml.4 for ; Tue, 01 Oct 2019 07:30:33 -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=9GihypAEX4fo4dXiOqzE+1fa5pYKGbLy9fRw78hmkas=; b=tBdshqKmVgsgOgivq35IowJ2WlUsKuysiTqH9584AYOlWkGgEpSYHXBZa+CKd4+fib 8E4ikMYFunMt0Gg81ebkWanoCsGL92daSU+0NuSdDzOJKXglCQquI4duC9vDlvnHTaCM eme5o9XWMGzbolUvSunIRgTt2DmPjMxP2UDicrnmkWlinkeReaAVn50PF5LAEljMVsWu 4PS1cOxu73BzxEHEjYlepjYBJgvn5yTRLkQnvljWE4pQHY3PbMHyLOc3X96nRf7mtOQi c6JEoxXbVuMBHH9NAhMNktgO6XXEEQlrA8cN5OrjnSu0tOHGGrEXX4O86sHJk9nK77Gw SJlA== 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=9GihypAEX4fo4dXiOqzE+1fa5pYKGbLy9fRw78hmkas=; b=IcfLQrQuSl5kiEYMIgMMKi1G5BCF3narYdBsQEUJcTqjjHl1RFvW6edzx9QvtKQXWR YtGSjzlLwzPjxp99f9dabALoI50FU9GmpQf46KRkBtCCuC1OhpyITWs/x97IrCvrgFjG mBWeIA1sFMwKPsd6TO7Bkw6fKmJ7QZaCk2US2j2dfSAzll2JGL/+WMrpXAVMpjGxAj4J RSaofSMQXYM5O4/xF77yyWnGAoFLf1jmHLAYkLSIwH6UCTlXJwA2il7cxu1RLXIa3oIX 6cvpWtdxa36PJy29TEN9rC9hY4yhN9kMycjdWdvHwFTPVx3qiQMm15ScBEGPvhFHs4/H 5hFg== X-Gm-Message-State: APjAAAVYfwHFbdN+OoSspSjYOQnoEQuAblgqARv8x/ikGyNrOilwZOZD lxycus5h+qbhzzPe3bmqstv2dIbv X-Google-Smtp-Source: APXvYqwIMhtSTFIxWvf6Eu/viYRIwMuy7NvEBjr27aA428B55s1YPxoSJDz+uAaFKu9P+Owr6LCWiA== X-Received: by 2002:a1c:7ec4:: with SMTP id z187mr3909303wmc.94.1569940231786; Tue, 01 Oct 2019 07:30:31 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:31 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:14 +0200 Message-Id: <20191001143023.698-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/9] package/libev: use host-autotools-package macro 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 Enable host support for the lib because the package host-sysrepo (depends on package libnetconf2) is needed by package netopeer2keystored. Signed-off-by: Heiko Thiery --- package/libev/libev.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libev/libev.mk b/package/libev/libev.mk index 2b2d5db004..38b0530f62 100644 --- a/package/libev/libev.mk +++ b/package/libev/libev.mk @@ -18,3 +18,4 @@ endef LIBEV_POST_PATCH_HOOKS += LIBEV_DISABLE_EVENT_H_INSTALL $(eval $(autotools-package)) +$(eval $(host-autotools-package)) From patchwork Tue Oct 1 14:30:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169983 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.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="t2KRrg+s"; 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 46jMBg1jdrz9sPJ for ; Wed, 2 Oct 2019 00:30:50 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 904D98761B; Tue, 1 Oct 2019 14:30:47 +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 8TUvl74YYyPg; Tue, 1 Oct 2019 14:30:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6350E870B3; Tue, 1 Oct 2019 14:30:43 +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 580801BF592 for ; Tue, 1 Oct 2019 14:30:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 50346877E4 for ; Tue, 1 Oct 2019 14:30:42 +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 HXupbAYzmS67 for ; Tue, 1 Oct 2019 14:30:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 793F187648 for ; Tue, 1 Oct 2019 14:30:41 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id h7so15824222wrw.8 for ; Tue, 01 Oct 2019 07:30:41 -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=6SjK8BOg0MCGilAoZp18QZ4cQyIeAkAUuAIIq4EkP38=; b=t2KRrg+srbrZKa1mi5indk8pafVnnMMUsRN4wrBbLj1gzCCxPDii+8NE4Ch+nckQ3E 6+yWcyBZaEk+KSv5Kv8IReOplMXzoWVymwfNrkz/SKsobh+5Uf9tIWnQw0k7nDMFqOgu K3wWaxAPSo1JeDrBeFuS63GoMk02kV/ZqdShvC0aw8DiQ7p2zoC3kzmonbBaUA/eZFk6 GoxQzygQiZVaqtYEx8b708ORRdf3pTTv/9u2sXqnqkPCsRZRaHZehI4P07LlSzTfBcui jGR1QFz5WQKTmcD2X5k7uWD+zbIQd0I9HpIIjvl+khd6Yrya2Pl5MLThYtGAVZ5s9QHO J+8Q== 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=6SjK8BOg0MCGilAoZp18QZ4cQyIeAkAUuAIIq4EkP38=; b=rnRLNYxEUzWZMoFncxgYtMTRM76xdYUC18kS5EY+0o/BX3hMpnpVh7boc+qzd7UjgE nsLNbW7OeYJDzzXbuNhn4EZoo3n68I8W3MiiqH9oT0Jihzdez7FXUNWzaeaRZXtHdNa4 veb/mKq+d31aciCMnTSPj4D8sG/D08eG2bY3AmMOXdPrsw+224S0dSBBN8EFkVkauMYd ah61pUOb/sMpFyhsgGpjBCeiPDYZOL7qZNiXrSpR1la7IS2CXRU3nVEuqpODY5FCRnSZ lULnDHhkTpB+EfkUZ3HaTDR45wFN9zDkCkSJUJY1Ph918L4h77dkf7rW3sv9MqVUnGM7 WalA== X-Gm-Message-State: APjAAAWVlVOgG9k7x/nElp56KpolzVNH6D4LHWDpNBWLgDsJn79H+Rat sqYyMDjLl2mhHimAaDNDBkez00Jp X-Google-Smtp-Source: APXvYqyP2v+1HqBzAwW46zmUiIbNXSDPZq7Bb4kjHLZHfNG4IQ54vWwtNCaRhjdCAoQH0vlhd6ks/A== X-Received: by 2002:adf:ff8a:: with SMTP id j10mr18691583wrr.334.1569940239643; Tue, 01 Oct 2019 07:30:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:39 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:15 +0200 Message-Id: <20191001143023.698-2-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 2/9] package/libssh: use host-autotools-package macro 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 , Scott Fan Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Heiko Thiery Enable host support for the lib because the package host-sysrepo (depends on package libnetconf2) is needed by package netopeer2keystored. Signed-off-by: Heiko Thiery --- package/libssh/libssh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libssh/libssh.mk b/package/libssh/libssh.mk index b8464ed2bf..b90c52a2f3 100644 --- a/package/libssh/libssh.mk +++ b/package/libssh/libssh.mk @@ -43,3 +43,4 @@ LIBSSH_DEPENDENCIES += openssl endif $(eval $(cmake-package)) +$(eval $(host-cmake-package)) From patchwork Tue Oct 1 14:30:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169985 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.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="VdU5M5Ya"; 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 46jMC02yM4z9sPJ for ; Wed, 2 Oct 2019 00:31:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AB08C85FD5; Tue, 1 Oct 2019 14:31:06 +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 yzHiaL7Boz7g; Tue, 1 Oct 2019 14:31:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4A96185FA2; Tue, 1 Oct 2019 14:31:05 +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 947CE1BF967 for ; Tue, 1 Oct 2019 14:31:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 748B620403 for ; Tue, 1 Oct 2019 14:31:02 +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 HS55DCGjobbo for ; Tue, 1 Oct 2019 14:30:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by silver.osuosl.org (Postfix) with ESMTPS id 416BD1FEAB for ; Tue, 1 Oct 2019 14:30:43 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id w12so15814681wro.5 for ; Tue, 01 Oct 2019 07:30:43 -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=O4zlcjSviAqMJY4S1w+aAB1iyD2CL1/rXHP1cEtq/1g=; b=VdU5M5YaS2WZFNYEZH+ISEnLPPMnuffJaIXt7ULXjzRtvV/THKVauWpWsckrgIoZVj fxjqlmU5x4/brEYwlzrsEVwhgLBAafsuRMDb+uJVuQQcZNT9wZ4gK5VhEVfmBxiR0GlD akD95umGHJ1Ntm+hXBRvh4QR9AavLyCScpNIrsvpiiVUuxOkcaIjY2XCcs4Sci9FnaZg +iuKq2/zvP3PfD6fBnj0eZsy7QQI3kQQU8XqPKJ+7bRFrGtTHrakojaQK4Sw7kDGJGLd mVRK+f7eQPq9/cjZGZ6jjGzN0h3vkxS+LvWHweZYeSOGtsabtd48PfaSdCMNd6OMQxbR 6/NQ== 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=O4zlcjSviAqMJY4S1w+aAB1iyD2CL1/rXHP1cEtq/1g=; b=YcBD1prYKqWl9Bbwi9881J48R6dTGfeYcM0NV0zMImkXMwjR+vG0fy3xOvVjqb5a1E /3xA6oo8B07WSVjwc0K3qVlATidgLBaTlaKPAgN4eDxz9az2dXQAmnrbbYFnhGneGA/2 8JpV4AIXRPM3JS5Ly7F2IZg2wEP8wufibwNX6Jea6RtjFSQDx0s0Lhu5G7+1nmvyW8qj Bs1qPDGbhK7y8eW8Jf1xdLTH3H/V/UdxMtCPu85hnlRam7ZPF+rxghgBtM83ANLBwXoc U3K3UefbWZl3Bu0W3cgDJxwyFWKaUW/fsx6LOR5Lgm7m/bJXDXK26Dl5RlsjrKOIxrM8 6zhw== X-Gm-Message-State: APjAAAVMNQB+vvlYbWn8YBlXnYfWQtz7zHRIcTWR1wrs/6fF9YYZBiCo lisp8TieZCOG+LcVzG8Kc4E/RZR+ X-Google-Smtp-Source: APXvYqwsMVBbi3SYnnwWI470MEeZ4hhUFGlKYMCu6rO9NFFxXCp0fsgwBueP3xWQO77Ga4+gbz3SMQ== X-Received: by 2002:adf:dc01:: with SMTP id t1mr17900473wri.222.1569940241298; Tue, 01 Oct 2019 07:30:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:40 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:16 +0200 Message-Id: <20191001143023.698-3-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 3/9] package/libredblack: 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 RedBlack Balanced Tree Searching and Sorting Library. https://github.com/sysrepo/libredblack Signed-off-by: Heiko Thiery --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/libredblack/Config.in | 4 ++++ package/libredblack/libredblack.hash | 2 ++ package/libredblack/libredblack.mk | 16 ++++++++++++++++ 5 files changed, 26 insertions(+) create mode 100644 package/libredblack/Config.in create mode 100644 package/libredblack/libredblack.hash create mode 100644 package/libredblack/libredblack.mk diff --git a/DEVELOPERS b/DEVELOPERS index ac73c7daa5..a25fbb7a0d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1036,6 +1036,9 @@ F: package/python-markdown/ F: package/python-remi/ F: package/python-sip/ +N: Heiko Thiery +F: package/libredblack/ + N: Henrique Camargo F: package/json-glib/ diff --git a/package/Config.in b/package/Config.in index 4d8fce21c0..abea9e2428 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1745,6 +1745,7 @@ menu "Other" source "package/libpthread-stubs/Config.in" source "package/libpthsem/Config.in" source "package/libpwquality/Config.in" + source "package/libredblack/Config.in" source "package/libseccomp/Config.in" source "package/libsigc/Config.in" source "package/libsigsegv/Config.in" diff --git a/package/libredblack/Config.in b/package/libredblack/Config.in new file mode 100644 index 0000000000..b18a9aecfc --- /dev/null +++ b/package/libredblack/Config.in @@ -0,0 +1,4 @@ +config BR2_PACKAGE_LIBREDBLACK + bool "libredblack - red-black balanced tree algorithm" + help + RedBlack Balanced Tree Searching and Sorting Library. diff --git a/package/libredblack/libredblack.hash b/package/libredblack/libredblack.hash new file mode 100644 index 0000000000..c5e6d04992 --- /dev/null +++ b/package/libredblack/libredblack.hash @@ -0,0 +1,2 @@ +sha256 85833e1549450e8cb06c0a94c3607d82ab2d46791acd14a5c6d35b4259ade853 libredblack-a399310d99b61eec4d3c0677573ab5dddcf9395d.tar.gz +sha256 ede9298547948ae66509e61d6e2d41ff2a8b511578644fb7ec970239fbca07b4 COPYING diff --git a/package/libredblack/libredblack.mk b/package/libredblack/libredblack.mk new file mode 100644 index 0000000000..78d65c7e2b --- /dev/null +++ b/package/libredblack/libredblack.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libredblack +# +################################################################################ + +LIBREDBLACK_VERSION = a399310d99b61eec4d3c0677573ab5dddcf9395d +LIBREDBLACK_SITE = $(call github,sysrepo,libredblack,$(LIBREDBLACK_VERSION)) +LIBREDBLACK_LICENSE = LGPL-2.1 +LIBREDBLACK_LICENSE_FILES = COPYING +LIBREDBLACK_INSTALL_STAGING = YES +LIBREDBLACK_CONF_OPTS = --with-rbgen=no +HOST_LIBREDBLACK_CONF_OPTS = --with-rbgen=no --without-python + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) From patchwork Tue Oct 1 14:30:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169984 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="W9HRInQR"; 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 46jMBw5zj6z9sDB for ; Wed, 2 Oct 2019 00:31:04 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1B035203DC; Tue, 1 Oct 2019 14:31:03 +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 LpghG2IpqfdL; Tue, 1 Oct 2019 14:30:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 68F23204F6; Tue, 1 Oct 2019 14:30:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C036B1BF592 for ; Tue, 1 Oct 2019 14:30:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BD48A8762A for ; Tue, 1 Oct 2019 14:30:52 +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 cAYJEb7+BTvF for ; Tue, 1 Oct 2019 14:30:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6B091875FD for ; Tue, 1 Oct 2019 14:30:50 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id b24so3492214wmj.5 for ; Tue, 01 Oct 2019 07:30:50 -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=VmbIc2waqH3pHZDVuXXPmO+PudsLij0ZgMo3gOgJXEs=; b=W9HRInQR/hf26tL6t2RMKS/ueCBntkTkQS5ff9Yj/tUDUbejmeZEdtThKvOq6f4vbV 1PRSaZ8VLdGrNq2McMZDLT1mlsbguPclcX2acAiDXRFJXxRS/V/CfWRYUkSQ6GbuqxvH kyRE8WtEeWBWqY0yoJDu4CduG04Ak6pYTW6zPCJ4x+b9T1Goadt4S4yHbgVA8quef46Z JuwdM18/4239+w1JQLSOY5kkEZ45ffWmu104NXsLKn8rGFYLLUI1hV250VPEo3xWEf4a sfIccrHcmVmLjsTNOuP/ROYlP/MkHVDeVOYnXiNt+fP+D2zrFrIFJ+DWxIEErNe+zeB3 W7wA== 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=VmbIc2waqH3pHZDVuXXPmO+PudsLij0ZgMo3gOgJXEs=; b=NvIdjGvw0F8efe64DBTZUUhILxUTHFfwvo7C2hBeCnCS9TZCdD9c/56SSmIC5AfaCT wUTF4UrIPxlXtvrwTF/CiDWyS42suRu3fJRPBpPeHcIQnNslHu4RHPy5YUtYR0ZDb999 Zgu7bdZg4ALxyEqKGc2muNlldqdiS1WBG0IW4ke5x4ytALS2NfEBp17GIasw7D9AVPZ8 I1zVASOJVOlT7GhAaz4jHpghnPrLI/D8oDJMLoLYMLk5k2Oo27GZBWmxZw9n1JRedlMc 9Cj60kYPVVpMhPLTCVo26+GRkD4iNjJDV5J9Lit+BJqLxfA4tUJlp4zpoOPqtEQkHi0B RVWA== X-Gm-Message-State: APjAAAW49wgEzgGCIMcptnPY0K/cceztouRg5dlZOLkipbEKltQP2Ujz a8T4fNuVlND1IeFDdtpjkAyenf6s X-Google-Smtp-Source: APXvYqx798nHUtbHvNPcJVdxfOYZ5B+i1AfXzN/7ouJzTJVwh7e0mKKc56BaEa2Wt8G513whLK6Nsg== X-Received: by 2002:a7b:c44e:: with SMTP id l14mr3972192wmi.54.1569940248646; Tue, 01 Oct 2019 07:30:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:48 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:17 +0200 Message-Id: <20191001143023.698-4-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 4/9] package/libyang: 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 LibYANG processes YIN and YANG files. It's a dependency of sysrepo which is a dependency of Netopeer, a NETCONF/YANG server. Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + package/libyang/Config.in | 7 +++++++ package/libyang/libyang.hash | 2 ++ package/libyang/libyang.mk | 21 +++++++++++++++++++++ 5 files changed, 32 insertions(+) create mode 100644 package/libyang/Config.in create mode 100644 package/libyang/libyang.hash create mode 100644 package/libyang/libyang.mk diff --git a/DEVELOPERS b/DEVELOPERS index a25fbb7a0d..a378ff2a61 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1038,6 +1038,7 @@ F: package/python-sip/ N: Heiko Thiery F: package/libredblack/ +F: package/libyang/ N: Henrique Camargo F: package/json-glib/ diff --git a/package/Config.in b/package/Config.in index abea9e2428..04cd466eba 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1640,6 +1640,7 @@ menu "Networking" source "package/libvncserver/Config.in" source "package/libwebsock/Config.in" source "package/libwebsockets/Config.in" + source "package/libyang/Config.in" source "package/lksctp-tools/Config.in" source "package/mongoose/Config.in" source "package/nanomsg/Config.in" diff --git a/package/libyang/Config.in b/package/libyang/Config.in new file mode 100644 index 0000000000..cfd2862c15 --- /dev/null +++ b/package/libyang/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBYANG + bool "libyang - YANG data modeling language parser and toolkit" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PCRE + help + Libyang is YANG data modeling language parser and toolkit + written (and providing API) in C. diff --git a/package/libyang/libyang.hash b/package/libyang/libyang.hash new file mode 100644 index 0000000000..4989873c8c --- /dev/null +++ b/package/libyang/libyang.hash @@ -0,0 +1,2 @@ +sha256 351f712433d50494aad153bfd4aa92ff50299058428620eabddb7a41d781e756 libyang-v1.0-r3.tar.gz +sha256 f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112 LICENSE diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk new file mode 100644 index 0000000000..9005683053 --- /dev/null +++ b/package/libyang/libyang.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# libyang +# +################################################################################ + +LIBYANG_VERSION = v1.0-r3 +LIBYANG_SITE = $(call github,CESNET,libyang,$(LIBYANG_VERSION)) +LIBYANG_LICENSE = BSD-3-Clause +LIBYANG_LICENSE_FILES = LICENSE +LIBYANG_INSTALL_STAGING = YES +LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO +LIBYANG_DEPENDENCIES += pcre +HOST_LIBYANG_DEPENDENCIES += host-pcre + +LIBYANG_CONF_OPTS += \ + -DENABLE_VALGRIND_TESTS=OFF \ + -DGEN_PYTHON_BINDINGS=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) From patchwork Tue Oct 1 14:30:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169987 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="c4L1npjK"; 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 46jMCB0zc7z9sDB for ; Wed, 2 Oct 2019 00:31:17 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 66D082048F; Tue, 1 Oct 2019 14:31:16 +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 CNxV2VfAY7JO; Tue, 1 Oct 2019 14:31:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6D9672154A; Tue, 1 Oct 2019 14:30:55 +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 863881BF592 for ; Tue, 1 Oct 2019 14:30:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8334985D11 for ; Tue, 1 Oct 2019 14:30:54 +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 QQtGC70guVhG for ; Tue, 1 Oct 2019 14:30:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7220285A22 for ; Tue, 1 Oct 2019 14:30:53 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id p7so3657616wmp.4 for ; Tue, 01 Oct 2019 07:30:53 -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=SILeNAUNL6iNgSswJG61Fpv0UY3zkYtTx2Vd8oCWBoM=; b=c4L1npjKac/ca7lTT8MP1r68HYCuZjqwE5waCzE3zO5jmub9G7HVQWTuqCXklRKtds ibwy2ENMzCQpP95LCG+FAHLmbpF6yTa3NAsIRlzIc3smdp+anBtim1ZxIBEvYi9wBTx8 S3AHvLbx+XlRANuSOIU3k76WY7R8X7BZRmNDprhuC+XyxIwNx1qnhdHNi0K/LhSQgERL jCsNg5X80E0L8fgNbmsmkmQVsgioY/m7IZrpn0E/fDDDpwPk0obsQYsMMCL+v+9RND8i zVaLuIRyP31SUZgfb/yBPRLq4VATZyr+R8W2J3zctzZ5tNZ6kcrxU2IBvh5xI/iEqYu1 NpCA== 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=SILeNAUNL6iNgSswJG61Fpv0UY3zkYtTx2Vd8oCWBoM=; b=BV3ay4xTaQiW6tYAXTEv89KB6JCZG/e+1ecTsxQ1sCYNyJtssuUMEnuC/6uFEhtdNb hdl0sNwpa0sjv5mlVfMUbBIY88evDhTATa81dg54d4eJvIe9wXykKCkxgVyLwRYkYqpr 0tj2KwzlFPYr1CCYepASJyH86iSaDwzcVkqERy/wqr+7mhO3Z8yN2p0XhJd8i76s7MJ2 KcR/tanVnhkdLiEwxpo+WL4j95Jck5dINXz6LNXWRLc0ygIvhA4Px9Q3irgfol/H3J77 a4GZT4PHzTMkj9cQ2/zNeH0awRI8cjc/d9LfeUGP68O80Vv5T9vxUGoEsdCty7/LKPGR GW4g== X-Gm-Message-State: APjAAAWEp49QHmWns+gNFbdlZVPFfhr6g49NyeSCxIgg8lJRu7ZI2BDH m5n6me2pwY+XlC2RKMUZHCJjG4de X-Google-Smtp-Source: APXvYqwRY8HItCFhsQSxoEcqHhT7IWN49r0EDmKueODiLUrDGl9OIWO4bhtvcVvgJ3bS7RdxO8DOIg== X-Received: by 2002:a7b:c5c2:: with SMTP id n2mr3948907wmk.20.1569940251503; Tue, 01 Oct 2019 07:30:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:51 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:18 +0200 Message-Id: <20191001143023.698-5-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 5/9] package/libnetconf2: 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 libnetconf2 is a NETCONF library in C intended for building NETCONF clients and servers. Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + .../0001-Add-support-for-musl-libc.patch | 60 +++++++++++++++++++ package/libnetconf2/Config.in | 10 ++++ package/libnetconf2/libnetconf2.hash | 2 + package/libnetconf2/libnetconf2.mk | 28 +++++++++ 6 files changed, 102 insertions(+) create mode 100644 package/libnetconf2/0001-Add-support-for-musl-libc.patch create mode 100644 package/libnetconf2/Config.in create mode 100644 package/libnetconf2/libnetconf2.hash create mode 100644 package/libnetconf2/libnetconf2.mk diff --git a/DEVELOPERS b/DEVELOPERS index a378ff2a61..527b8cccac 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1039,6 +1039,7 @@ F: package/python-sip/ N: Heiko Thiery F: package/libredblack/ F: package/libyang/ +F: package/libnetconf2/ N: Henrique Camargo F: package/json-glib/ diff --git a/package/Config.in b/package/Config.in index 04cd466eba..f9b1b88b91 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1607,6 +1607,7 @@ menu "Networking" source "package/libnatpmp/Config.in" source "package/libndp/Config.in" source "package/libnet/Config.in" + source "package/libnetconf2/Config.in" source "package/libnetfilter_acct/Config.in" source "package/libnetfilter_conntrack/Config.in" source "package/libnetfilter_cthelper/Config.in" diff --git a/package/libnetconf2/0001-Add-support-for-musl-libc.patch b/package/libnetconf2/0001-Add-support-for-musl-libc.patch new file mode 100644 index 0000000000..e6d97ba90f --- /dev/null +++ b/package/libnetconf2/0001-Add-support-for-musl-libc.patch @@ -0,0 +1,60 @@ +From 153fe40bd60499677e825e66501e8601536e0323 Mon Sep 17 00:00:00 2001 +From: Rosen Penev +Date: Mon, 15 Jul 2019 18:15:28 -0700 +Subject: [PATCH] Add support for musl libc + +musl does not support pthread_rwlockattr_setkind_np. Don't use it if it is +not available. +--- + CMakeLists.txt | 1 + + src/config.h.in | 3 +++ + src/session_server.c | 2 ++ + 3 files changed, 6 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 624b8c8..c05cd03 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -176,6 +176,7 @@ target_link_libraries(netconf2 ${CMAKE_THREAD_LIBS_INIT}) + set(CMAKE_REQUIRED_LIBRARIES pthread) + check_include_file(stdatomic.h HAVE_STDATOMIC) + check_function_exists(pthread_mutex_timedlock HAVE_PTHREAD_MUTEX_TIMEDLOCK) ++check_function_exists(pthread_rwlockattr_setkind_np HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP) + + # dependencies - openssl + if(ENABLE_TLS OR ENABLE_DNSSEC OR ENABLE_SSH) +diff --git a/src/config.h.in b/src/config.h.in +index 96d33c5..30dd8a3 100644 +--- a/src/config.h.in ++++ b/src/config.h.in +@@ -73,4 +73,7 @@ + */ + #define NC_PS_QUEUE_SIZE @MAX_PSPOLL_THREAD_COUNT@ + ++/* Portability feature-check macros. */ ++#cmakedefine HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP ++ + #endif /* NC_CONFIG_H_ */ +diff --git a/src/session_server.c b/src/session_server.c +index 636b1a2..3b747ed 100644 +--- a/src/session_server.c ++++ b/src/session_server.c +@@ -560,6 +560,7 @@ nc_server_init(struct ly_ctx *ctx) + errno=0; + + if (pthread_rwlockattr_init(&attr) == 0) { ++#if defined(HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP) + if (pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP) == 0) { + if (pthread_rwlock_init(&server_opts.endpt_lock, &attr) != 0) { + ERR("%s: failed to init rwlock(%s).", __FUNCTION__, strerror(errno)); +@@ -570,6 +571,7 @@ nc_server_init(struct ly_ctx *ctx) + } else { + ERR("%s: failed set attribute (%s).", __FUNCTION__, strerror(errno)); + } ++#endif + pthread_rwlockattr_destroy(&attr); + } else { + ERR("%s: failed init attribute (%s).", __FUNCTION__, strerror(errno)); +-- +2.20.1 + diff --git a/package/libnetconf2/Config.in b/package/libnetconf2/Config.in new file mode 100644 index 0000000000..a991c78c05 --- /dev/null +++ b/package/libnetconf2/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBNETCONF2 + bool "libnetconf2 - NETCONF library" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_LIBSSH + select BR2_PACKAGE_LIBSSH_SERVER + help + libnetconf2 is a NETCONF library in C intended for building + NETCONF clients and servers. diff --git a/package/libnetconf2/libnetconf2.hash b/package/libnetconf2/libnetconf2.hash new file mode 100644 index 0000000000..c6d1f5185d --- /dev/null +++ b/package/libnetconf2/libnetconf2.hash @@ -0,0 +1,2 @@ +sha256 760061fb1c1fe87a2a068d5a9e5affcef280044c5940ef344854e9ea7ec26452 libnetconf2-v0.12-r2.tar.gz +sha256 085122ea91161812dda9cd2f42d8c50ecc3a48cc1a4f15044d86cfc5aa887577 LICENSE diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk new file mode 100644 index 0000000000..7bafe78324 --- /dev/null +++ b/package/libnetconf2/libnetconf2.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# libnetconf2 +# +################################################################################ + +LIBNETCONF2_VERSION = v0.12-r2 +LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,$(LIBNETCONF2_VERSION)) +LIBNETCONF2_INSTALL_STAGING = YES +LIBNETCONF2_LICENSE = BSD-3-Clause +LIBNETCONF2_LICENSE_FILES = LICENSE +LIBNETCONF2_DEPENDENCIES += libyang libssh +HOST_LIBNETCONF2_DEPENDENCIES += host-libyang host-libssh + +LIBNETCONF2_CONF_OPTS += \ + -DENABLE_TLS=ON \ + -DENABLE_SSH=ON \ + -DENABLE_BUILD_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF + +HOST_LIBNETCONF2_CONF_OPTS += \ + -DENABLE_TLS=ON \ + -DENABLE_SSH=ON \ + -DENABLE_BUILD_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) From patchwork Tue Oct 1 14:30:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169986 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.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="YcyrqakT"; 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 46jMC403cHz9sDB for ; Wed, 2 Oct 2019 00:31:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ACD19875EB; Tue, 1 Oct 2019 14:31:09 +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 V3PLGIAPCrlp; Tue, 1 Oct 2019 14:31:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 477498761F; Tue, 1 Oct 2019 14:31:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8638E1BF592 for ; Tue, 1 Oct 2019 14:31:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 83AAD874F7 for ; Tue, 1 Oct 2019 14:31:02 +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 X1yRqSEF11PH for ; Tue, 1 Oct 2019 14:30:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6911B868E7 for ; Tue, 1 Oct 2019 14:30:55 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id a6so3630985wma.5 for ; Tue, 01 Oct 2019 07:30:55 -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=n0zeJ5UA8tjJGm1mCwCIw6UwoP3Gr3Df/XOUu9uyufc=; b=YcyrqakTqXdLADHlnKbzjKU8Je92q0iHEPtvNV7iuxw5lTC6lgt3sKb0zVr4SblX+J DFJdC9z11ckOtGar+m/KG/+ErdAeWZj3/j8BVoBlsGTKQe/oqMPBXhjmiceBxeJFVEy8 0h5WJ+JOs4FYPDF9e2T/fbfyo0iyhpP/n57TLiSiQaxLLI6BeY3iCozSa7u6WADsMixu dBaxpI+EJZaPC93OqGYEgZzNduAhRy9aSFRaKFdWSINST4affwDiRTdxyfgOkPecKh0A ML2FkIeK21dT0ALv8Nwu8w/Sv8pn6pFXpHufnGoD3m3iQy7ivcS4DaFrJp2FumBKXVXL CO0g== 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=n0zeJ5UA8tjJGm1mCwCIw6UwoP3Gr3Df/XOUu9uyufc=; b=QrGz4hHnoL2FPPPfk1KrE08Sj0uqkAwIE7ydOh2OSAMBUl8kRiWIr/2vtfmDrAHzzu oGi9svipH/yFgISQiD27L7b8fKNAW31MRhND2BT8AtwG1rB5naiWcsrEQDmSNzlnICiM 55OdWzv2RPfuE0IQpm6bYBX5ul03QbcBVPV1OpQi88gNtKkOrIkBABm+4d1QDsnGfNE/ L9N8z3aI+oQktkS+Rz7N6BHGp8q9flBSclYZHss4wuKhxseHBCfvFnWd/Fm/CsvQTbJx 8f32Jcd+DZPMMn2i7NBewaPDQwvvBD2A1SNHaIzcW32mts/UM/pLOl9KJ2aHaUB7778Z hQaA== X-Gm-Message-State: APjAAAVmEveDdtdpoEKILopp2lgOUL83jYkRomk30mpuww7cVu/7JiwV 6WrNAIMnFdxMPGj7cNZqGY57AicB X-Google-Smtp-Source: APXvYqwFgOAau/CCbXBUjge6ZuQw4XAf9MDbM9JPLYYiCHaGDaHzi2a2USVwDwMLcPycY8rjlBEMEA== X-Received: by 2002:a05:600c:215a:: with SMTP id v26mr4286800wml.9.1569940253468; Tue, 01 Oct 2019 07:30:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:30:52 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:19 +0200 Message-Id: <20191001143023.698-6-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 6/9] package/sysrepo: 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 sysrepo is a YANG-based configuration and operational state data store for Unix/Linux applications. It is a dependency of Netopeer, a NETCONF server. Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + package/sysrepo/Config.in | 17 +++++++++++++++++ package/sysrepo/sysrepo.hash | 2 ++ package/sysrepo/sysrepo.mk | 26 ++++++++++++++++++++++++++ 5 files changed, 47 insertions(+) create mode 100644 package/sysrepo/Config.in create mode 100644 package/sysrepo/sysrepo.hash create mode 100644 package/sysrepo/sysrepo.mk diff --git a/DEVELOPERS b/DEVELOPERS index 527b8cccac..e7b3c9d6f6 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1040,6 +1040,7 @@ N: Heiko Thiery F: package/libredblack/ F: package/libyang/ F: package/libnetconf2/ +F: package/sysrepo/ N: Henrique Camargo F: package/json-glib/ diff --git a/package/Config.in b/package/Config.in index f9b1b88b91..c1f6fb2245 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1667,6 +1667,7 @@ menu "Networking" source "package/slirp/Config.in" source "package/snmppp/Config.in" source "package/sofia-sip/Config.in" + source "package/sysrepo/Config.in" source "package/thrift/Config.in" source "package/usbredir/Config.in" source "package/wampcc/Config.in" diff --git a/package/sysrepo/Config.in b/package/sysrepo/Config.in new file mode 100644 index 0000000000..78b8097e14 --- /dev/null +++ b/package/sysrepo/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_SYSREPO + bool "sysrepo - YANG based data store" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_LIBEV + select BR2_PACKAGE_LIBNETCONF2 + select BR2_PACKAGE_LIBREDBLACK + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_PROTOBUF_C + select BR2_PACKAGE_PCRE + help + Sysrepo is an YANG-based configuration and operational state + data store for Unix/Linux applications. + +comment "needs a toolchain w/ threads, dynamic libraray" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/sysrepo/sysrepo.hash b/package/sysrepo/sysrepo.hash new file mode 100644 index 0000000000..39ec70a2f6 --- /dev/null +++ b/package/sysrepo/sysrepo.hash @@ -0,0 +1,2 @@ +sha256 d3066c1776a6727b96bbb3517eb646d0bb6037e8e1addcbe873cae590493843e sysrepo-v0.7.8.tar.gz +sha256 28a773bfffa828ec38c030fc8ace5f3aeb90926ec1309bbd135441c4387ce3cd LICENSE diff --git a/package/sysrepo/sysrepo.mk b/package/sysrepo/sysrepo.mk new file mode 100644 index 0000000000..423d3a7b03 --- /dev/null +++ b/package/sysrepo/sysrepo.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# sysrepo +# +################################################################################ + +SYSREPO_VERSION = v0.7.8 +SYSREPO_SITE = $(call github,sysrepo,sysrepo,$(SYSREPO_VERSION)) +SYSREPO_INSTALL_STAGING = YES +SYSREPO_LICENSE = Apache-2.0 +SYSREPO_LICENSE_FILES = LICENSE +SYSREPO_DEPENDENCIES += libev libnetconf2 libredblack libyang pcre protobuf-c +HOST_SYSREPO_DEPENDENCIES += host-libev host-libnetconf2 host-libredblack host-libyang host-pcre host-protobuf-c + +SYSREPO_CONF_OPTS += \ + -DGEN_PYTHON2_TESTS=OFF \ + -DENABLE_TESTS=OFF \ + -DCALL_TARGET_BINS_DIRECTLY=OFF + +HOST_SYSREPO_CONF_OPTS += \ + -DGEN_PYTHON2_TESTS=OFF \ + -DENABLE_TESTS=OFF \ + -DCALL_TARGET_BINS_DIRECTLY=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) 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)) 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)) From patchwork Tue Oct 1 14:30:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1169988 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="YMST/RUM"; 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 46jMCG0btdz9sDB for ; Wed, 2 Oct 2019 00:31:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6A3AD87999; Tue, 1 Oct 2019 14:31:18 +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 go+gdvnzQzCD; Tue, 1 Oct 2019 14:31:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9D406877ED; Tue, 1 Oct 2019 14:31:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C24CB1BF592 for ; Tue, 1 Oct 2019 14:31:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BCD9987631 for ; Tue, 1 Oct 2019 14:31:14 +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 RTwPzwz6L-hG for ; Tue, 1 Oct 2019 14:31:08 +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 whitealder.osuosl.org (Postfix) with ESMTPS id 4EB8087633 for ; Tue, 1 Oct 2019 14:31:05 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id v8so15848236wrt.2 for ; Tue, 01 Oct 2019 07:31:05 -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=h/q4ERm/O0YYMIBxCUsfPWswvaN5ul8GRB9rvS+dVro=; b=YMST/RUMC3CqnMCOXT2CehlO308NK16rdoat565YRm/hvcIW2a0i+gzbmPVhl4bCCj hKmvBAZ5/gzzQQNEnGWS6Cg3I4yPCCC/w3HKWHWKB5Iuh6EEQsFhKZAYfompi0N7JVRr wgGGnHUQtqoxNi3jPLeUfmsWlS7uFxABwP6EcvfhtWYBkz4B901K0mNqJrMUY7uwXxgf NqrMjLQ3/lx2yTEzdr4uDwIaabOsieU1gHjnUNG36/Z3XlMYQ7GN8xolfdLxpaFuKveb oP7Z6ez/Addu4oFQVdmwPFor9+bo3GPK/R5YmV4gCjtJUgzSMEP1FnhPxMvAfRWCdTRG NN6g== 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=h/q4ERm/O0YYMIBxCUsfPWswvaN5ul8GRB9rvS+dVro=; b=nV0bBOPnB+jlKCLopLnGb0Rl2jO45qyLXF3QQx2B0rOGzFiimBfDpWBNDDNUxW4e7Y xl49oMFgwOhFqfHp8utdqUMJQB573jhkqlIi9F2Fq1GPEK5D3eEFy3sly7+F7/jZvOVj n7ZErTKCOqk7cRbenQOADwewTRgpyAb0xFOMzDH8yyck/6UHQllRP2Q7nZZORKyxXO58 9WrOIk9sXGshB0+ZowNNnI00bD/iZ1pgSARa5k6Syq0lK0ydCsPLoxt6pAZvmU8CX5Sh lpfJzE1gE49XMeYqyFbSU2kKCghSDAZJdyQ0BHBBk3E8ITaWe0AMDO063wksoAZDFgre UZNA== X-Gm-Message-State: APjAAAWWw7vAhDtjf2W1XGXXOufT4NhvsaOKeqjvU/I6rFxP/EzV4StR Ctv009/s40E4CSW21iwPcq9Ebkv6 X-Google-Smtp-Source: APXvYqyDn6hi7vDuo1Q0qGoYP1MyrKESZaNDe1OxIbixVBM3RMO+0iQgwrhb+1c42XFS8Un6DO/Kxw== X-Received: by 2002:a5d:4ecf:: with SMTP id s15mr1251021wrv.234.1569940263500; Tue, 01 Oct 2019 07:31:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 07:31:03 -0700 (PDT) From: heiko.thiery@gmail.com To: buildroot@buildroot.org Date: Tue, 1 Oct 2019 16:30:22 +0200 Message-Id: <20191001143023.698-9-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 9/9] package/netopeer2keystored: 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 keystored plugin. Signed-off-by: Heiko Thiery --- DEVELOPERS | 1 + package/Config.in | 1 + package/libnetconf2/libnetconf2.mk | 8 +++----- package/netopeer2keystored/Config.in | 16 +++++++++++++++ .../netopeer2keystored.hash | 2 ++ .../netopeer2keystored/netopeer2keystored.mk | 20 +++++++++++++++++++ 6 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 package/netopeer2keystored/Config.in create mode 100644 package/netopeer2keystored/netopeer2keystored.hash create mode 100644 package/netopeer2keystored/netopeer2keystored.mk diff --git a/DEVELOPERS b/DEVELOPERS index 08793ffb98..ac82b17c20 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1040,6 +1040,7 @@ N: Heiko Thiery F: package/libredblack/ F: package/libyang/ F: package/libnetconf2/ +F: package/netopeer2keystored/ F: package/netopeer2cli/ F: package/netopeer2server/ F: package/sysrepo/ diff --git a/package/Config.in b/package/Config.in index a42dae1df7..1381df4e37 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1647,6 +1647,7 @@ menu "Networking" source "package/nanomsg/Config.in" source "package/neon/Config.in" source "package/netopeer2cli/Config.in" + source "package/netopeer2keystored/Config.in" source "package/netopeer2server/Config.in" source "package/nghttp2/Config.in" source "package/norm/Config.in" diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk index 7bafe78324..65500e9f85 100644 --- a/package/libnetconf2/libnetconf2.mk +++ b/package/libnetconf2/libnetconf2.mk @@ -10,17 +10,15 @@ LIBNETCONF2_INSTALL_STAGING = YES LIBNETCONF2_LICENSE = BSD-3-Clause LIBNETCONF2_LICENSE_FILES = LICENSE LIBNETCONF2_DEPENDENCIES += libyang libssh -HOST_LIBNETCONF2_DEPENDENCIES += host-libyang host-libssh +HOST_LIBNETCONF2_DEPENDENCIES += host-libyang LIBNETCONF2_CONF_OPTS += \ - -DENABLE_TLS=ON \ - -DENABLE_SSH=ON \ -DENABLE_BUILD_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF HOST_LIBNETCONF2_CONF_OPTS += \ - -DENABLE_TLS=ON \ - -DENABLE_SSH=ON \ + -DENABLE_TLS=OFF \ + -DENABLE_SSH=OFF \ -DENABLE_BUILD_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF diff --git a/package/netopeer2keystored/Config.in b/package/netopeer2keystored/Config.in new file mode 100644 index 0000000000..efb12a7f40 --- /dev/null +++ b/package/netopeer2keystored/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_NETOPEER2KEYSTORED + bool "netopeer2-keystore daemon" + 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_SYSREPO + 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/netopeer2keystored/netopeer2keystored.hash b/package/netopeer2keystored/netopeer2keystored.hash new file mode 100644 index 0000000000..5309a36252 --- /dev/null +++ b/package/netopeer2keystored/netopeer2keystored.hash @@ -0,0 +1,2 @@ +sha256 59688271be4fecbbee671fc7eb3dc0538b13b4baab53e923e26eaeb33e6f7ec0 netopeer2keystored-v0.7-r2.tar.gz +sha256 932b75a8610a5c58e0fe0f70f8e4ebbcf3a2392acc16a88e95aebcdbdb9245e0 LICENSE diff --git a/package/netopeer2keystored/netopeer2keystored.mk b/package/netopeer2keystored/netopeer2keystored.mk new file mode 100644 index 0000000000..070593fc46 --- /dev/null +++ b/package/netopeer2keystored/netopeer2keystored.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# netopeer2keystored +# +################################################################################ + +NETOPEER2KEYSTORED_VERSION = v0.7-r2 +NETOPEER2KEYSTORED_SITE = $(call github,CESNET,Netopeer2,$(NETOPEER2KEYSTORED_VERSION)) +NETOPEER2KEYSTORED_LICENSE = BSD-3-Clause +NETOPEER2KEYSTORED_LICENSE_FILES = LICENSE +NETOPEER2KEYSTORED_SUBDIR = keystored +NETOPEER2KEYSTORED_INSTALL_STAGING = YES +NETOPEER2KEYSTORED_DEPENDENCIES += host-sysrepo sysrepo + +NETOPEER2KEYSTORED_CONF_OPTS += \ + -DKEYSTORED_DEFER_SSH_KEY=ON \ + -DMODEL_INSTALL=OFF \ + -DSSH_KEY_INSTALL=OFF + +$(eval $(cmake-package))