From patchwork Sun Sep 20 08:13:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1367814 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.137; helo=fraxinus.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.a=rsa-sha256 header.s=20161025 header.b=eX2uKxBg; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BvL2s3tQDz9ryj for ; Sun, 20 Sep 2020 18:14:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2FB6886302; Sun, 20 Sep 2020 08:14:42 +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 4b7TNsCjegyk; Sun, 20 Sep 2020 08:14:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0D0A985E7C; Sun, 20 Sep 2020 08:14:38 +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 2DD851BF23F for ; Sun, 20 Sep 2020 08:14:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2A6A886D81 for ; Sun, 20 Sep 2020 08:14:34 +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 zqhAJy-4wioa for ; Sun, 20 Sep 2020 08:14:33 +0000 (UTC) X-Greylist: domain 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 5D25F86D7F for ; Sun, 20 Sep 2020 08:14:33 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id c18so9630404wrm.9 for ; Sun, 20 Sep 2020 01:14:33 -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=W8Bc5LxYrx6F1HUk3mq5jsOyVHmM1aCq3F4qIpGp2wg=; b=eX2uKxBgrb/lDZRG+t9H/YN7QVrfFOemD/mjs5KWbJXm66YSZQFUXB/PKku+IjD6ny mkQxRvPotDLY0XZk9e8gtsal43JVuFYKQWiAxeQ5tORSMsKIb9CwCPT16FYH0M432tPL 2PZnP2MZMJkPCUOC9/Zko7tPUgoj1YDIa87VUw1d02643fw4namJ5Cct8FKSgjqyCY2r HutPh7I5LgOubFR4i0DJbDsP2f5P1YUp/WxXisQJ5S0i/aokoHbUtAzKTvj/z/inlErS x+/0uS/9gIr2Q1thcNOgPlkrAn5CVLbLmAt3SN5OgdHnvA8h8o/OqhLOzUVYWrfkYsRS l7bw== 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=W8Bc5LxYrx6F1HUk3mq5jsOyVHmM1aCq3F4qIpGp2wg=; b=HyrW1ilx55eAKKIczqsA36zP33NzcgW5APp9toLKrIOXiZuF+1aM4a9MwxWXNKXDLs 90wEOnvfeYrchdG/Ylbv49dleHK94nJ1I3Hp62ucxvkItPsL+CjxCOzq8WvwUfs9+aXs 8YjLJwh73mvM/QroPKTY18lYsCuo5V9O+vh2Q5mhx38k2u4qg+64YKTit3HJx+gcWdov /XmkiTa2GQL1oRyFkxROZFZC94ZAXd7TVRSfKg+nDcrFgqtR7dkBkywplOA6KpY8VlMo N9oB0lmPpUZzxWjWp1cgFrTviBV7Fxahtal+q+CUwX1TOgGLr2/x2aPekqX3ECJFdweT 5dKQ== X-Gm-Message-State: AOAM531b+iNVx6URcRkQAIupmYsvcSfF7+JjsOgGKEZ2Ml33MyfOVHad nIomuOdc9jyJ2btS+jHQ/DaazHw0Oz4= X-Google-Smtp-Source: ABdhPJwx+0ACUGZvtMGdPO51NR8U5tCrdsqdPwZU2vU2Qo4W/2r7QBOKLE4nQ+U5ii+GrUi8b8B7nw== X-Received: by 2002:adf:aa84:: with SMTP id h4mr19069306wrc.426.1600589671679; Sun, 20 Sep 2020 01:14:31 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id x10sm13540497wmi.37.2020.09.20.01.14.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Sep 2020 01:14:31 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 20 Sep 2020 10:13:53 +0200 Message-Id: <20200920081354.663762-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200920081354.663762-1-fontaine.fabrice@gmail.com> References: <20200920081354.663762-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/nginx: add stream ssl preread module 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: Samuel Martin , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" stream ssl preread is available since version 1.11.5 and https://github.com/nginx/nginx/commit/5a7afb1b0d3f74d0ff96d4d9c519c26deb0fde39 Signed-off-by: Fabrice Fontaine --- package/nginx/Config.in | 5 +++++ package/nginx/nginx.mk | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/package/nginx/Config.in b/package/nginx/Config.in index 507b4dcfb4..30947e50fe 100644 --- a/package/nginx/Config.in +++ b/package/nginx/Config.in @@ -345,6 +345,11 @@ config BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE help Enable ngx_stream_geoip_module +config BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE + bool "ngx_stream_ssl_preread_module" + help + Enable ngx_stream_ssl_preread_module + config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE bool "ngx_stream_limit_conn_module" default y diff --git a/package/nginx/nginx.mk b/package/nginx/nginx.mk index 2fcdf91b0c..7d9214baff 100644 --- a/package/nginx/nginx.mk +++ b/package/nginx/nginx.mk @@ -238,6 +238,10 @@ NGINX_DEPENDENCIES += geoip NGINX_CONF_OPTS += --with-stream_geoip_module endif +ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE),y) +NGINX_CONF_OPTS += --with-stream_ssl_preread_module +endif + NGINX_CONF_OPTS += \ $(if $(BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE),,--without-stream_limit_conn_module) \ $(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \