From patchwork Tue Jun 2 10:40:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1302334 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.133; helo=hemlock.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=VyCZDDcW; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49bpV94n1Kz9sRK for ; Tue, 2 Jun 2020 20:40:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6987D87FB2; Tue, 2 Jun 2020 10:40:46 +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 Yxayx4rz3dFd; Tue, 2 Jun 2020 10:40:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 00E1F87EE6; Tue, 2 Jun 2020 10:40:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0CCE11BF27A for ; Tue, 2 Jun 2020 10:40:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 09EF4868B0 for ; Tue, 2 Jun 2020 10:40:39 +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 G5srpepFUL+L for ; Tue, 2 Jun 2020 10:40:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4E0B086D39 for ; Tue, 2 Jun 2020 10:40:38 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id e1so2876305wrt.5 for ; Tue, 02 Jun 2020 03:40:38 -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=ZwE81cN3IPVoRGQe8mkevfD8f045vzhPm2gsT+5RUk4=; b=VyCZDDcW4tTTFFUrw8eucBQp9WlnFmgf6BiEJrh9xOhWtZLODGbBDpWDSqPejE5B2u 1Yl8VtG3YOPC9FmfT3F7IuHKcWvz0FrI/IDcZVmg3i3cwSQeHivpDJqxtma3qoW3cPYV /Sqfy7a9sLpsc44kzmZfWtsRh2VKS6g1KUV+lqn+U3x/vExskLx3qt1EfEtn5nQj27Cf LzR01HUOeUNBsLUU7a1kcCm1YekyMMvxTXt9xBaqBfevlZwUIMxA5Ot4ZUj+A0V5XnL/ 3jDlkTepj+H0+A0xeKW1BlSTlaPv1ip+lzpWo1DU0IATZy3Nk7vcxpJzv+hE3R+4mPIR rLkQ== 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=ZwE81cN3IPVoRGQe8mkevfD8f045vzhPm2gsT+5RUk4=; b=mSCm9Hpmx3jAigsK8A6l8msRYFOpJdurr2exs1bx8vOzIBQfNzhVgal4DruGXpMgnD o1IHyhrFLrOvKOPyZshe029srdcpM8GHOPjP29HK7pRlqq17hPV0YzQNUAaybUYMcwlw 8VslzxSoMgrF5VJlGdnufra2Z4ib2et4ieofB4nw8fB4H0q1MYjq7QA7aGAPG2t3rb66 47oMOdskomyrUcIDOJxAgMP++GD1c3iIT8TNy+eXhyAmoPOtUYRwQnP/CXqbhrXbqAT7 p93CShJgCtPiivVamsxWP0G25BZpadIn6v13jKhlsO46C6CPpU0iXuBJ3r2W5ZjRRa1I +OiA== X-Gm-Message-State: AOAM532Ix2RX1JcnZAyLVOZ0As7UTrEvLxP1foECmJLszk6wy50J1IRr 9aHearhuDxP1JT2L/rEE3Xk2FiEuPKo2uA== X-Google-Smtp-Source: ABdhPJyjYc1CaR7k3qjD+0x2ryKrBQUo5l5e4om5O/D2Brq3N64fgPHslgKEpsz5dhzxWXPmxRBFMA== X-Received: by 2002:adf:fc81:: with SMTP id g1mr26546552wrr.156.1591094436550; Tue, 02 Jun 2020 03:40:36 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:63d3:7700:5fb9:2a66:a7a8:378f]) by smtp.gmail.com with ESMTPSA id g3sm3627738wrb.46.2020.06.02.03.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2020 03:40:36 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Tue, 2 Jun 2020 12:40:10 +0200 Message-Id: <20200602104011.837-4-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200602104011.837-1-titouan.christophe@railnova.eu> References: <20200602104011.837-1-titouan.christophe@railnova.eu> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 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 1578f97e0d..c88e107c2b 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