From patchwork Fri Mar 29 17:25:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1069982 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="V3af+J7x"; 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 44W7tS4ZgPz9sQy for ; Sat, 30 Mar 2019 04:25:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3291086838; Fri, 29 Mar 2019 17:25:50 +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 KNFgYYidEZEO; Fri, 29 Mar 2019 17:25:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 673AF8683C; Fri, 29 Mar 2019 17:25:49 +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 E39891BF337 for ; Fri, 29 Mar 2019 17:25:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DF10787E40 for ; Fri, 29 Mar 2019 17:25:47 +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 aWDlXf5+BJKc for ; Fri, 29 Mar 2019 17:25:47 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 46CC787E3B for ; Fri, 29 Mar 2019 17:25:47 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id y197so3716742wmd.0 for ; Fri, 29 Mar 2019 10:25:47 -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=wH4w7QCreTHb+WLLzqadHRkouPrCca9NI4rfm0NuFns=; b=V3af+J7xlK7I0KbMoAKDCUOR85kr35bZY8SKEJKwkYs0Xz0DF9goOO/DT3krEvoVyB 2ZG3Mrq44jZoiJrNDViC/5yVDmfaQSVtqiBG+X0oNn5KYrPGYi89DyAsqVpcora0YTHE 47lDMD0v8Pqu2/8iSSvkPUfXj6bQaAgwAcSTiLawhGay8FEbLoF0k2x8udS7ycJt/RhF OzoX9g8ycZi5qZMijMpKk/+m9FKVZDPi0YAGQJstAbS7qSJPQ0jULdvqfQG8tGQ89+aQ ZwhSrt6XM3+n+PHGl4rL80kp9BeGKUDtm0dIywqJE4aiEnWwIHzCtOBKnGAL/DD4bt8k rl4A== 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=wH4w7QCreTHb+WLLzqadHRkouPrCca9NI4rfm0NuFns=; b=ckD9FW/l7ypeBcPaqZtm1nR5Zs8IFqMaH6wQiRokX2PQ9+JFIfilDcnQq/7aZwu4az lRLI6SMK44g4SXbwbBj2Ywwc6B0S1vLPxRze8FCh+IWqKObzzrkCjC31MQBbBjQSy6bV QVaKqZqpNH0HO9xQcHStl2Q7hLnP9wvpcyjqfsh/pAZTfo2c71vKg2ba1AH88kOggY1a cjViovZJZr1IvQan4IaRMs1pafo0DM6sX0moekj0AGlmxh8Rh4hfVRASvFkuTNhIiozC swk4h7yHe4eq6ikrNq3u+urQG1PS2SKASStXKhyDx/GF+6Znj7p6w2cm92Ulglkz7zQ5 qKWw== X-Gm-Message-State: APjAAAUDwVwAX+62LlYHnXCn0Y3ktTpoCuqguf8RGrJKAonMkzFED02x rx+kGAA5zN4pSINpazd75z1Kng+Y X-Google-Smtp-Source: APXvYqzSfKEg/UhFUBYP4DFKX3LuaKd0fUx0EB14z510V5VXrGQeovtuHZGBX91w7mt6Pxh11WOtRQ== X-Received: by 2002:a1c:ef08:: with SMTP id n8mr4502963wmh.85.1553880345500; Fri, 29 Mar 2019 10:25:45 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id j11sm3453132wrw.85.2019.03.29.10.25.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Mar 2019 10:25:44 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 29 Mar 2019 18:25:28 +0100 Message-Id: <20190329172528.22787-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190329172528.22787-1-fontaine.fabrice@gmail.com> References: <20190329172528.22787-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/quota: add optional netlink dependency 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: Jarkko Sakkinen , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Fabrice Fontaine --- package/quota/quota.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/quota/quota.mk b/package/quota/quota.mk index 46ef243ecc..836baf6071 100644 --- a/package/quota/quota.mk +++ b/package/quota/quota.mk @@ -11,6 +11,13 @@ QUOTA_LICENSE = GPL-2.0+ QUOTA_LICENSE_FILES = COPYING QUOTA_LIBS = $(TARGET_NLS_LIBS) +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy) +QUOTA_DEPENDENCIES += host-pkgconf dbus libnl +QUOTA_CONF_OTS += --enable-netlink +else +QUOTA_CONF_OPTS += --disable-netlink +endif + ifeq ($(BR2_PACKAGE_E2FSPROGS),y) QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs QUOTA_CONF_OPTS += --enable-ext2direct