From patchwork Thu Aug 27 09:18:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jugurtha BELKALEM X-Patchwork-Id: 1352424 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=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=1Ztj+dcC; 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 4BccbZ10kTz9sRK for ; Thu, 27 Aug 2020 19:18:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BBEFB8795E; Thu, 27 Aug 2020 09:18:29 +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 f-KbciDKx-7h; Thu, 27 Aug 2020 09:18:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 920FD8788B; Thu, 27 Aug 2020 09:18: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 493091BF866 for ; Thu, 27 Aug 2020 09:18:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3D0CE20505 for ; Thu, 27 Aug 2020 09:18:27 +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 pJdg8Rg2Sccp for ; Thu, 27 Aug 2020 09:18:26 +0000 (UTC) X-Greylist: from 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 17245204F7 for ; Thu, 27 Aug 2020 09:18:25 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id c18so100242wrm.9 for ; Thu, 27 Aug 2020 02:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=PFtquASfLPGVl0um8GyNnILeRbui2uQfhBozbQQtJfY=; b=1Ztj+dcCXOYszDu8NGSwkoqMWHsqwkNJVsAp7zyxSbcPcyAJ7vPxR3hbcOBtvA+cak IoNLC7uxEVvZPW+KJRmMJD113gqL5wnHpmAA/Mtkpoeqgw7rqkc11BfMsdYQ3P/Gy4Ow iz+l+bDVwqYzBlexMqlmHJPQ1PkPy4bX64sV9XcJ8u4pr2guKGYspGDdoaeS3CfC/mGR Uohn9vZi03QSHV5idKIjg5g7h8ftJ4XmTvTOQr7S5UQSO0ltvQblWGrkSlr5NijMXibb yjnSg6bEOVx6o+b4zJiQmbOYOn4sKf9h9Yzx0UCN9nH7Qq5DOFpkxaepWCysvS+jBktK Drxg== 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; bh=PFtquASfLPGVl0um8GyNnILeRbui2uQfhBozbQQtJfY=; b=RkJc0Tf58DlZI3rizGPTcN9JkQ2tnN8/O0NEEwKJM5N0R4YOmhVPQvl1HUbvqq5SVQ AK+n1xZnJjxZynzEhd0WDPoO5R5kmKPxSyH154LWaCfjPTPVhAYsgPLd/EzpTKd+hebq oT8JNeEtMwWq1mQq5cVgGrKoGizjNCCdFD+Co4btfuMhRGKFTuR582ZJL6rqelADAEBH Z5ur9vbxpfiKyOp8h5ijleyvZExm+z02qoSxjyGpJgjAsZ1jr2/RoKV6oiAZQoj8Oom7 P6NJsppjbnk4KWS2ceYOS8mpUmYAT8FAhyCmP4ZuLHlxUeHlhYimJPj5Wk6IUZ1BF/ET to4w== X-Gm-Message-State: AOAM531DN5UYxSCj70Vcw5S6aVr42kIF1nPCiQxmJgboAeDlwAr1g16w cz7FFSxTvGFltiLVZye1C9wksH8nj38/fQ== X-Google-Smtp-Source: ABdhPJx0A0dHZXWZRjpjC7ZeVOyj4iM84Pt4hxy1+s+sSu+s7Y2cNV3n5ND9wtc35/dz54nDoLXj5Q== X-Received: by 2002:adf:8544:: with SMTP id 62mr1207402wrh.262.1598519904217; Thu, 27 Aug 2020 02:18:24 -0700 (PDT) Received: from P-NAN-SUCRE.nantes.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id z8sm3930561wmf.10.2020.08.27.02.18.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Aug 2020 02:18:23 -0700 (PDT) From: Jugurtha BELKALEM To: buildroot@buildroot.org Date: Thu, 27 Aug 2020 11:18:21 +0200 Message-Id: <20200827091821.17990-1-jugurtha.belkalem@smile.fr> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH 1/1] package/iptraf-ng : add dependency on Linux headers >= 3.14 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: Jugurtha BELKALEM , thomas.petazzoni@bootlin.com MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" iptraf-ng uses a number of definitions (like PACKET_KERNEL and PACKET_USERSPACE) provided by the Linux kernel headers, which were introduced in Linux 3.14[1], so we need to add a dependency on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14. [1] https://elixir.bootlin.com/linux/v3.14-rc1/source/include/uapi/linux/if_packet.h """ Fixes: http://autobuild.buildroot.net/results/480/480b00b4b264cfe1da533c762595d21b72fa8211/build-end.log """ Signed-off-by: Jugurtha BELKALEM --- package/iptraf-ng/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/iptraf-ng/Config.in b/package/iptraf-ng/Config.in index f240daf93d..5c61b7c0e2 100644 --- a/package/iptraf-ng/Config.in +++ b/package/iptraf-ng/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_IPTRAF_NG bool "iptraf-ng" depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 select BR2_PACKAGE_NCURSES help IPTraf-ng is a console-based network monitoring program for @@ -10,3 +11,7 @@ config BR2_PACKAGE_IPTRAF_NG IPTraf-ng is a fork of original IPTraf v3.0.0 (http://iptraf.seul.org). + +comment "iptraf-ng needs a toolchain w/ kernel headers >= 3.14" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14