From patchwork Thu Nov 25 12:55:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1559700 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.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=20210112 header.b=L7XfaQU7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J0HvD2YKTz9sR4 for ; Thu, 25 Nov 2021 23:56:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 5445A40273; Thu, 25 Nov 2021 12:56:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KE99mePDEpnr; Thu, 25 Nov 2021 12:56:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 60E214027D; Thu, 25 Nov 2021 12:56:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 833FC1BF30B for ; Thu, 25 Nov 2021 12:56:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 7041940273 for ; Thu, 25 Nov 2021 12:56:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SUZvWCE5fSdJ for ; Thu, 25 Nov 2021 12:56:26 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by smtp2.osuosl.org (Postfix) with ESMTPS id 3B59C402EC for ; Thu, 25 Nov 2021 12:56:26 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id 137so5515817wma.1 for ; Thu, 25 Nov 2021 04:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6uv229cX3woLcPbFUdabmRv8uX0nicUyFDrivN0FI4o=; b=L7XfaQU7T/BzZmlEP1FR0cijnRWM+FjnSbzh/TAiw4HHxC44a2TXWIKjP/eCFLee0K d+p8E7YmDJ1B9j4oSTkNVNdtgUXzGpCHLqHTD977qmkFGLLNbUJadUN9b5Kuk37YuPTa +C5l/jko+/4rgMjmS+leeJrnV2r0GS9z3BNhkMnqOHO/0tEzeFljXPk8IsdTU2B8zEQW T8xsul2NkG6uGLIs5a45fUVESGc+VocmwdyGcYbgw7MBY5NTF2siIe3h51exMbKJZaZZ 93bCrUA9Csiq3AgecH/SzX7MvqhPpcC5ZSbv984VS9zfWYhrVDPMaK+ZOpsoGnR95tWh axiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6uv229cX3woLcPbFUdabmRv8uX0nicUyFDrivN0FI4o=; b=aWerDH8WULvIB15Jha7ZvZgB2zWmqch3EmEuiaHKOweBZbMIXiAhk5O6d+I1wHjbKO loOam7z/nmIs4CtNUjKnT3iyIFNuwIJoUyjGpAG5ac35lR5+EFb6+EIMn1dlBkZXQOmy CNv37A6MgaAEkhG8EswqVk7zxFv6alCtvkBkga3ID6o3rRKXN1745KJewpW17ZJ+QegI WEty+WLhbKz7cz3TKMp6N01kcrOTBm25Oc6RS9VHKLg8hQxFWTrX/y7Yz9H6nU+1LOi8 3AxgqnS2o4Nb9QeROEP4hmxIsDaT6UcAeLjOofkL+HpFGcoQ64ALDg4alNUMTBoWaZIx dHzw== X-Gm-Message-State: AOAM531P62fYpJX5jyHmQDGonKGX1ZxvUvpAZKHwQfSkiTBADjBdEUgZ H2BB8/rPzNmkl9Y7ncI+go3XYyUt3FE= X-Google-Smtp-Source: ABdhPJyXS9m+QZhn/BpJ3RZidMYhDpT1rI3PHEyOua68uj7HvwXnp9c/OiaS9iuPq6SCxir6xmI2ZQ== X-Received: by 2002:a05:600c:510d:: with SMTP id o13mr7012435wms.104.1637844983178; Thu, 25 Nov 2021 04:56:23 -0800 (PST) Received: from hthiery.fritz.box ([2a02:810c:8d40:ec0:e54:15ff:fe38:2651]) by smtp.gmail.com with ESMTPSA id r62sm2909178wmr.35.2021.11.25.04.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 04:56:22 -0800 (PST) From: Heiko Thiery To: buildroot@buildroot.org Date: Thu, 25 Nov 2021 13:55:59 +0100 Message-Id: <20211125125558.1087094-3-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211125125558.1087094-1-heiko.thiery@gmail.com> References: <20211125125558.1087094-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/4] package/libnetconf2: bump version to 2.0.24 X-BeenThere: buildroot@buildroot.org 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 , Vadim Kochan , =?utf-8?q?Jan_Kundr=C3=A1t?= Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Signed-off-by: Heiko Thiery --- ...IX-netopeer2-build-fails-when-buildi.patch | 34 +++++++++++++++++++ package/libnetconf2/libnetconf2.hash | 2 +- package/libnetconf2/libnetconf2.mk | 2 +- 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch diff --git a/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch b/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch new file mode 100644 index 0000000000..c03fdc9999 --- /dev/null +++ b/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch @@ -0,0 +1,34 @@ +From e06f291cc36c9e9a3c9c224e23109ac6dad4eb1c Mon Sep 17 00:00:00 2001 +From: Heiko Thiery +Date: Thu, 25 Nov 2021 12:29:47 +0100 +Subject: [PATCH] libnetconf2 BUGFIX netopeer2 build fails when building with + musl libc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +/home/hthiery/sources/mainline/buildroot/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/libnetconf2/session_server.h:439:55: error: unknown type name ‘mode_t’ + 439 | int nc_server_endpt_set_perms(const char *endpt_name, mode_t mode, uid_t uid, gid_t gid); + +For musl libc the include "sys/types.h" is required. + +Signed-off-by: Heiko Thiery +--- + src/session_server.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/session_server.h b/src/session_server.h +index 4507eea..4779119 100644 +--- a/src/session_server.h ++++ b/src/session_server.h +@@ -19,6 +19,7 @@ + extern "C" { + #endif + ++#include + #include + #include + +-- +2.30.2 + diff --git a/package/libnetconf2/libnetconf2.hash b/package/libnetconf2/libnetconf2.hash index 24cc3a5557..2dee93cc4c 100644 --- a/package/libnetconf2/libnetconf2.hash +++ b/package/libnetconf2/libnetconf2.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 66139fc9e68aa89c82235f4135dba9e44f5db663541279c14c74131e22b7f571 libnetconf2-1.1.43.tar.gz +sha256 78ffa0bd85823abd321a1dbb09c1ead36612f2a12049638a14bb081567f86ade libnetconf2-2.0.24.tar.gz sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk index 40fa935bb1..33e1fadf76 100644 --- a/package/libnetconf2/libnetconf2.mk +++ b/package/libnetconf2/libnetconf2.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBNETCONF2_VERSION = 1.1.43 +LIBNETCONF2_VERSION = 2.0.24 LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION)) LIBNETCONF2_INSTALL_STAGING = YES LIBNETCONF2_LICENSE = BSD-3-Clause