From patchwork Fri Jun 5 22:55:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Norbert Lange X-Patchwork-Id: 1304437 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.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.a=rsa-sha256 header.s=20161025 header.b=ECMZn3/4; 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 49dygj1bM7z9sSS for ; Sat, 6 Jun 2020 08:56:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E077425C83; Fri, 5 Jun 2020 22:56:30 +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 HJ38snurFG2g; Fri, 5 Jun 2020 22:56:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8F94025A72; Fri, 5 Jun 2020 22:56:28 +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 452841BF3A9 for ; Fri, 5 Jun 2020 22:56:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 41FDF8848A for ; Fri, 5 Jun 2020 22:56: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 elsWd67DoG7B for ; Fri, 5 Jun 2020 22:56:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ej1-f67.google.com (mail-ej1-f67.google.com [209.85.218.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9573288484 for ; Fri, 5 Jun 2020 22:56:26 +0000 (UTC) Received: by mail-ej1-f67.google.com with SMTP id l27so11826186ejc.1 for ; Fri, 05 Jun 2020 15:56:26 -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=lqlwz3gREy50HmQlonNNC9Kqd+Hh69DZxdfjUVDRVa4=; b=ECMZn3/4AVrq0z2j6kO1vc7JvkldIBnd89Q7coFgXY8sbe0XIJN7kQ0YVjSUHKoy6y diheYdBHD9kvTEHrAiSPdahRk1mrnuKw0rIip2DsSEZezPcb+hh4wMIBWsRoiWZfyqwa 79/K2e7JukcWobXtMKq7JZTnTVW7g11vvK2idB0lrCVtcypG825iYnLcFHqaEfFU3y9l nJovttFLzurdPa/ljV6BMUE7SP/IN6bpVoKZaqwSXcXzpzNaIaOcJvPNoFgj7xxo3a6K e6S3+7fTZ6oG199OB0Cd+WIH+eVy/gJ138ReMZGJ/Pf9Woq9KRNMyderPhqA956W8nnU /CoQ== 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=lqlwz3gREy50HmQlonNNC9Kqd+Hh69DZxdfjUVDRVa4=; b=ED4xY2+3lp7tYsx/lQ4wf89xzOptaJ63L+B0h1joOtNo5iVDHB8gw/O9symqT6eS9Q DeazLDa5V9WnOEMEFKMgG32JBPU3UMSKpIeoahWXFCTDgx3PW5EqzoK8Zv6Yy4uAqEZj br1zJNUCiiWxwa+fc3SDgetHNbo+6SwcRuSQc14OLhazXkBzVcJCDjZYsDGWcwirO6KL YPtiDsnrqlLL6gBa90j4oynvAGxK8A7hr6wHd4Fr49Uek4+pK2p3EXBXO49yR6Mh1Ib2 6UZZwPjYeuu3naQNSpEVucUynEA8nZgJST+DVxtYxhOinUH+cgFaETvMSKKLARHzcQx/ jzwQ== X-Gm-Message-State: AOAM532R6uX9iLcwFmA8t5G8r1iheaEdVuSZccPaWUXdscqJroGKeVce VgkLlzfXRqIvqERTYVNtlTs13jFDxw4= X-Google-Smtp-Source: ABdhPJyp5FxPY56dlTUwp3hhVlQW3F2WLPd6tDo8QYxWY+GNa+JFluE6eJkFgMaK0zoMegJFrTDdgw== X-Received: by 2002:a17:906:1359:: with SMTP id x25mr11672081ejb.42.1591397784719; Fri, 05 Jun 2020 15:56:24 -0700 (PDT) Received: from localhost.localdomain (84-114-45-16.cable.dynamic.surfer.at. [84.114.45.16]) by smtp.gmail.com with ESMTPSA id b15sm6048205edk.90.2020.06.05.15.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 15:56:24 -0700 (PDT) From: Norbert Lange To: buildroot@buildroot.org Date: Sat, 6 Jun 2020 00:55:54 +0200 Message-Id: <20200605225555.13679-1-nolange79@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/iproute2: order after libcap and selinux 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: Norbert Lange Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" the configuration will automatically detect if libcap / selinux is available. Signed-off-by: Norbert Lange --- package/iproute2/iproute2.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 6d20f65f34..e5841cc460 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -16,6 +16,14 @@ ifeq ($(BR2_PACKAGE_ELFUTILS),y) IPROUTE2_DEPENDENCIES += elfutils endif +ifeq ($(BR2_PACKAGE_LIBCAP),y) +IPROUTE2_DEPENDENCIES += libcap +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +IPROUTE2_DEPENDENCIES += libselinux +endif + ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx) IPROUTE2_DEPENDENCIES += iptables else