From patchwork Sat Mar 30 14:49:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1070875 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="FcisJU+W"; 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 44WhNQ3C58z9sRQ for ; Sun, 31 Mar 2019 01:50:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 07742872D1; Sat, 30 Mar 2019 14:50:10 +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 CsV7vI1LwwVp; Sat, 30 Mar 2019 14:50:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0435487296; Sat, 30 Mar 2019 14:50:07 +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 9EC0D1BF83A for ; Sat, 30 Mar 2019 14:50:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9BEC086388 for ; Sat, 30 Mar 2019 14:50:01 +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 z8xKIBa4kKO2 for ; Sat, 30 Mar 2019 14:50:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by fraxinus.osuosl.org (Postfix) with ESMTPS id D6D0485FD0 for ; Sat, 30 Mar 2019 14:50:00 +0000 (UTC) Received: by mail-wm1-f47.google.com with SMTP id y197so6070401wmd.0 for ; Sat, 30 Mar 2019 07:50:00 -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=VVAUcc5O5vE9HYtyJCfUFmQcL7ZOMJg+zCS0CUz9iLI=; b=FcisJU+WrG5JbPFjC6FvpBeIeMfoviSclywBlZtpXRUg1ngl4wRkb7U+lWqAWaeynu vWRqrj5lVoFk5JVgiWtSBq2vxNkMIGgay+T1gfFhlF9/1ljw0l6x0+mI1Qg/RocVohsc 5UrN0n2otxkV0b1q/KKGgaHOATXCQ7HY4CKKTUvv6xhbV2sGDa+9uepMb3vOiAuXHunN RKx8gh5Bckv2M2djqBK1wYeVbt3f29Rae0hooXXCaLwfsfVtSClxK8u66S9U+a+RYwFF fZ6DbwUmRr4QEQOcWM7dg+nwD6oLCAMq9Bc122QLBY1e8HqpGCBUUH5TUpwvfwdJnVsh D/rw== 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=VVAUcc5O5vE9HYtyJCfUFmQcL7ZOMJg+zCS0CUz9iLI=; b=SJeQI0J9eJQnGXprSB17ne0SwcE2p96uRXkC1LorMQo/3HFlV8MggIH+5JMiL5Sg5Y YumIyNzuoyhHePRAxPK9yQEU6WJTOu9myTRZttj7wy1SCDwXKOxd4Tm6joJPbE4HWQJu 7JuhL0RhGCGtTgNGagXxJXPu2abvoyhTfRTbaGNPYxuy5TxEiXzCE/v2tXkg4o+1h5LU kxEB9V78NN/GGeSqGmQ5cGSNrp5EWYPZTuGKMWtY8Yj5bY9ULVRjlt7Rt3yeQRpCbZdi surFN7Qh9zQQ1lI/FfSWvFdLtFE2nV5/FWmKEZK940l9SJCivhRNs2quecJdOvHoFE0+ Ylcw== X-Gm-Message-State: APjAAAWCcqDxl9dDLXANsmO6/Q2MdpjHD6iAFZMGmO36TpWSf9IGxds2 uST08lGnrTJZmHXZ+MqDnxZ/lJCi X-Google-Smtp-Source: APXvYqypRWT+coHcEIApI/hNpOi6Hj37+672l0ZfVKflKbNluVwyf9m/7ozhR67Nr11qFZZFc0FcRA== X-Received: by 2002:a1c:20c1:: with SMTP id g184mr7323672wmg.137.1553957399010; Sat, 30 Mar 2019 07:49:59 -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 x11sm4186862wmh.2.2019.03.30.07.49.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Mar 2019 07:49:58 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 30 Mar 2019 15:49:43 +0100 Message-Id: <20190330144947.27638-4-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190330144947.27638-1-fontaine.fabrice@gmail.com> References: <20190330144947.27638-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2, 4/8] package/rpm: add optional libcap 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: Fabrice Fontaine , James Knight Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Fabrice Fontaine --- Changes v1 -> v2 (after review of Thomas Petazzoni): - Put bump as the first patch in the serie package/rpm/rpm.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk index 78f429f8b6..0eb6e7f3c7 100644 --- a/package/rpm/rpm.mk +++ b/package/rpm/rpm.mk @@ -25,7 +25,6 @@ RPM_CONF_OPTS = \ --disable-rpath \ --with-external-db \ --with-gnu-ld \ - --without-cap \ --without-hackingdocs \ --without-lua @@ -36,6 +35,13 @@ else RPM_CONF_OPTS += --without-acl endif +ifeq ($(BR2_PACKAGE_LIBCAP),y) +RPM_DEPENDENCIES += libcap +RPM_CONF_OPTS += --with-cap +else +RPM_CONF_OPTS += --without-cap +endif + ifeq ($(BR2_PACKAGE_LIBNSS),y) RPM_DEPENDENCIES += libnss RPM_CONF_OPTS += --with-crypto=nss