From patchwork Fri May 10 22:20:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1098358 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.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.b="Ae1wDom7"; 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 4514RS1Y60z9s9N for ; Sat, 11 May 2019 08:20:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 44E9B31307; Fri, 10 May 2019 22:20:49 +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 8YnlLZ+iHtQ7; Fri, 10 May 2019 22:20:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 30A453134B; Fri, 10 May 2019 22:20:46 +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 5EDAD1BF5AE for ; Fri, 10 May 2019 22:20:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5BC20889ED for ; Fri, 10 May 2019 22:20:45 +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 6hWrB+X4L+TI for ; Fri, 10 May 2019 22:20:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 7DCAC889D0 for ; Fri, 10 May 2019 22:20:44 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id i3so3109026wml.4 for ; Fri, 10 May 2019 15:20:44 -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=2m/HGTWi6fAE0G3FtBwZwXCgP88lKAAi93JIWi+K1U0=; b=Ae1wDom7jrbVs0l7el2P5uwzkVCks+D2cCnnPKuATc4zLu5RSBvbGexi+0w25IoKfq qhQcMIKwqtoKNj/taqi7FEapSzAXZbcvklcEGDRZTL6mwttTYKKfdZHzwmy9sRsQhFrx pC1d6tewxp+nJ5QTW8NGH6Kqz9TccS0FoiJJgz9oRd1IvlAYtQtrfUFygyvQ+88WGaDQ xMjmLpB8sbTZaLTNWaWq8/OYYi/3m5HfX9AC9B0w9nXG6TwbbOXBYOnClpJDU6EOvQ7I 65wtDSe2g4gGn3+WAnbreFFZz2C1dVrwKWsJ9nroAv1OXHBPt9g4cfZwc6cEWqa9BsWj ybZA== 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=2m/HGTWi6fAE0G3FtBwZwXCgP88lKAAi93JIWi+K1U0=; b=NKw4HOzg7DZGV4Qm9mT22dqwb609/0gwbxHn2ECeF+KSe2ofIS0Teom58ixIFT6SYY 4wf4bZsSRVTv1r7srs9AWlAGIVLntmTxjoATvzHbBjJZSVQg73JbNFe6dOGwYQqHyLDz zscjaF6HSPOxq2SQqNeetE1m+c7wtaz6YgDKAfVdlOsQGMhnGAojGnXXddO9EWXh85yY urNUUtoTLN9/4Oq28PFAf9C+CopOHY4Xq4kAbN5LB+0oCWV/7U6ZkhotxyZLdY8/tnJO U8VFa23tl/UafnWwrhvUl2Nek+qJkeFl0MKLfCPL8nynQmG06YJIp/PtkePF3GjVDzGz A9PA== X-Gm-Message-State: APjAAAVaWpBKGePIhy/IPsmFwyywJaNmXoLh6WPNbaTObCI0+9DeuuNX TRSOP0rP3wsYHISkSt5hDtv4fa+d X-Google-Smtp-Source: APXvYqzO5gkDGTf/g5hGvRZeeDbo07wK8rBygFnYreVT9HMTCkgXK40YQ+TxLR3k3qnYVoxywfiEuA== X-Received: by 2002:a1c:1902:: with SMTP id 2mr8228362wmz.153.1557526842742; Fri, 10 May 2019 15:20:42 -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 a6sm6371635wrp.49.2019.05.10.15.20.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 May 2019 15:20:41 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 11 May 2019 00:20:29 +0200 Message-Id: <20190510222029.28734-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH/next 1/1] package/samba4: add cmocka 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: Bernd Kuhls , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Use system version of cmocka instead of the embedded one Signed-off-by: Fabrice Fontaine --- package/samba4/Config.in | 3 ++- package/samba4/samba4.mk | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/samba4/Config.in b/package/samba4/Config.in index 4ccd22aa2d..f65cdc47b6 100644 --- a/package/samba4/Config.in +++ b/package/samba4/Config.in @@ -9,10 +9,11 @@ config BR2_PACKAGE_SAMBA4 depends on BR2_USE_MMU # fork() depends on BR2_USE_WCHAR # python depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # python -> libffi - depends on !BR2_STATIC_LIBS # python, gnutls + depends on !BR2_STATIC_LIBS # cmocka, python, gnutls depends on !BR2_nios2 # binary too large, relocations don't fit depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_CMOCKA select BR2_PACKAGE_E2FSPROGS select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC select BR2_PACKAGE_POPT diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 941d4df1d6..3ab255b8fe 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -12,7 +12,7 @@ SAMBA4_LICENSE = GPL-3.0+ SAMBA4_LICENSE_FILES = COPYING SAMBA4_DEPENDENCIES = \ host-e2fsprogs host-heimdal host-python host-nfs-utils \ - e2fsprogs popt python zlib \ + cmocka e2fsprogs popt python zlib \ $(if $(BR2_PACKAGE_LIBAIO),libaio) \ $(if $(BR2_PACKAGE_LIBCAP),libcap) \ $(if $(BR2_PACKAGE_READLINE),readline) \