From patchwork Sat May 9 16:50:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1286744 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=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=DosnFbS2; 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 49KCrq1TYSz9sNH for ; Sun, 10 May 2020 02:51:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 598AF20425; Sat, 9 May 2020 16:51:21 +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 kpLF2YUUuQOJ; Sat, 9 May 2020 16:51:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 782DC20357; Sat, 9 May 2020 16:51:17 +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 DA38F1BF335 for ; Sat, 9 May 2020 16:51:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D425586DB0 for ; Sat, 9 May 2020 16:51:11 +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 KVmxp99EapUj for ; Sat, 9 May 2020 16:51:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7694786D6E for ; Sat, 9 May 2020 16:50:56 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id h9so5608721wrt.0 for ; Sat, 09 May 2020 09:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yoFhj0bYkduqGICpajWcGGkTY3zbFtEfr/xpymywadE=; b=DosnFbS2N25iFptakalKKg7KPIxjyeyEVHX+8b4HbVk1jJMgO5iogWbMT1FG6aReZg 1Nlh4mi42gibI6JjFYJiWzBTTmwTZDV6bHRxTTecUq6tNyEfvsNSgddQ6QG81LG6Vu1g t1y9qE/kJvCaI9su2jjuiPmSnMw956/wsl971Um9cB1WhvtJVLefQHDymLOa5PT56Qi1 WGUYHa7abEHEEQHcp93De8HAySCK7mlpazF0LTlCI91mlc96hTFisgJaRL/AjzH+arjQ +Guus2Jit2FbpZo+ghMnvyuyPtsz4vAL26xX1heEh22I6DHSkk5QgZugDr23uuLquwC1 bq5g== 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=yoFhj0bYkduqGICpajWcGGkTY3zbFtEfr/xpymywadE=; b=Q7incMRlhoh1XWFpX6Po4z+UFgmoKc8qkt8pNfK21yqujwlNolB2Y9omXzgP8vUCf6 uFNts9FQlTIGi2HSVlzODC1NpgEfA+/Jd3o4GuMybjGlA63lfDS75VLIgzAGJM5FSVUO dEx+AYePtJAGw2IHyg+iKCyS/AayiT1oizVg+TAYj9CzqZ+bCZgJEFkMQitYU7ms8jmQ 4Zh/7w7w6z9bVR0HS2Ysz1/WhydX5uV+rSGhj0sdr+5kOgdbqv8/VXzLiB237uZt59LG 1kj43HFK0SCIhIhBVtg5lg9x2LxzUqbwdxLfpOHUEV5YVdGfNqV1Qnu4fStO73f+0/sR ZSOg== X-Gm-Message-State: AGi0PubHt5FHL+tkvWwNEsyl+Qbm9TSxgoa2/Ek0TkJE4yLN9JOO9M6a NnTa6tmxT1PGPtB+Ww17sd0LsBCzpMyAnw== X-Google-Smtp-Source: APiQypIFTIWZAuA/IsBCvxJiMF31jw/bmuzoodRvVx5v9mF52+dNupenl4bA9Qk4ckEVgprAeQ1w8g== X-Received: by 2002:a5d:654a:: with SMTP id z10mr8798953wrv.234.1589043054522; Sat, 09 May 2020 09:50:54 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:63d3:7700:cd2f:ad0c:9163:73be]) by smtp.gmail.com with ESMTPSA id u127sm18577787wme.8.2020.05.09.09.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 May 2020 09:50:54 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Sat, 9 May 2020 18:50:38 +0200 Message-Id: <20200509165039.10363-4-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200509165039.10363-1-titouan.christophe@railnova.eu> References: <20200509165039.10363-1-titouan.christophe@railnova.eu> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/4] package/redis: add optional support for TLS connections 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: Daniel Price , Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Titouan Christophe --- package/redis/redis.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/redis/redis.mk b/package/redis/redis.mk index bb7829522d..c83a3a0775 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -30,6 +30,11 @@ endif REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \ PREFIX=$(TARGET_DIR)/usr MALLOC=libc +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +REDIS_DEPENDENCIES += libopenssl +REDIS_BUILDOPTS += BUILD_TLS=yes +endif + define REDIS_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) endef