From patchwork Sun Jul 8 07:36:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 940911 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="IBbS5q4A"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41NgK42jR2z9s37 for ; Sun, 8 Jul 2018 17:37:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A5A478694C; Sun, 8 Jul 2018 07:37:06 +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 6Gb4rXxxDkAc; Sun, 8 Jul 2018 07:37:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 007E686956; Sun, 8 Jul 2018 07:37:04 +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 4E54E1C0547 for ; Sun, 8 Jul 2018 07:37:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4C1B88626C for ; Sun, 8 Jul 2018 07:37:03 +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 hk-C4h_tENdu for ; Sun, 8 Jul 2018 07:37:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A1E078625D for ; Sun, 8 Jul 2018 07:37:02 +0000 (UTC) Received: by mail-wr1-f44.google.com with SMTP id p1-v6so7791995wrs.9 for ; Sun, 08 Jul 2018 00:37:02 -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; bh=yDXMQJE8zhJ0iTo6EvS5yGTTlsNjH+mKFWJcwqGdEIk=; b=IBbS5q4ANSbGbxIhcsMMmX23QyTmKcJhOj1LHFcU85b7e3MOfzttIgzAAXw8BLALI/ uUg6RDaosizpLbE+yZQcoIDfuTkj3RlFy91bVcYHC6ESzv225JZiWCiUXjOyAQ8TkbnB OD2yZC0gXJX5B+6+hI2SfZIuMjvx0GaGRN3ypXhNVbXVzhUcReOqfq5+Rtpu+I8fqAzF etX08imj73g8t/MKhwTHTZPocE2B52tyJZkFBwkoK6qHT9uk0UVDasQt4ZzJeUw3J0tB zFekcarGpef7fj5Ng2ctvMCvNZctj4xaTX1YTMsMICKaukzDhhqvVG0eo7PXx5/4D/aG Ssbg== 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; bh=yDXMQJE8zhJ0iTo6EvS5yGTTlsNjH+mKFWJcwqGdEIk=; b=mEkyo9Q2Umtwt3OnW8Nri5FQfv7HkcTgqomWCVUOU95uZm+Z4FvVNz/L6vtfOnHP7R CQ0iUXnmiTIUf+6CSdJhfO8pnuVbIvbElwV65zrBt5m5trvoW+iYhWmo4YHShBDYkKco cCyDY99GEKk5UOimRf8kQobk71T/0ZUkkx0/UiDuDMb+jz+t/LVAaaub00rVaxmmmgWV OciTC52bujE27Kr+OJyy09Idgqc4tqwvXhg+GNV+voboAFERI4Bb0/invCcmaruYTaey Ot4nwOF5n69qh+jYKTEhLVnIpURg94KygnSbcSQtbacDUtSGRpq9gnTA4aBfeQ8Uwfe/ C+XQ== X-Gm-Message-State: APt69E085Wnx33QLKLmhJd1PbqOg2j1cX+PcH0LKcVLl6WChICxZiC0v 68ZxRT52miWx6TRnhQPxK0k5VQ== X-Google-Smtp-Source: AAOMgpfFQ0QCdVMQxwR0CcxUrr0UqTzGcZr2qlar9QZvmoeM8ZdpjuVgTlHJJsIlako3c1uW4fYgSQ== X-Received: by 2002:adf:a907:: with SMTP id u7-v6mr11134938wrc.175.1531035420816; Sun, 08 Jul 2018 00:37:00 -0700 (PDT) Received: from fabrice-VirtualBox.home (ARennes-656-1-273-34.w109-218.abo.wanadoo.fr. [109.218.73.34]) by smtp.gmail.com with ESMTPSA id f133-v6sm13382803wme.42.2018.07.08.00.36.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jul 2018 00:37:00 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 8 Jul 2018 09:36:46 +0200 Message-Id: <20180708073647.16301-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180708073647.16301-1-fontaine.fabrice@gmail.com> References: <20180708073647.16301-1-fontaine.fabrice@gmail.com> Subject: [Buildroot] [PATCH 2/3] libzip: add optional openssl support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" openssl support has been added since version 1.5.0 Signed-off-by: Fabrice Fontaine --- package/libzip/libzip.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk index d46bc17977..0253a61cda 100644 --- a/package/libzip/libzip.mk +++ b/package/libzip/libzip.mk @@ -18,4 +18,11 @@ else LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBZIP_DEPENDENCIES += openssl +LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON +else +LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF +endif + $(eval $(cmake-package))