From patchwork Fri Dec 25 00:02:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Dickinson X-Patchwork-Id: 560983 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3F830140BDA for ; Fri, 25 Dec 2015 11:03:20 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id F26A628BD02; Fri, 25 Dec 2015 01:02:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 470EA28BCAF for ; Fri, 25 Dec 2015 01:02:34 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -8.5 Received: from s1.neomailbox.net (s1.neomailbox.net [5.148.176.57]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 25 Dec 2015 01:02:34 +0100 (CET) From: openwrt@daniel.thecshore.com To: openwrt-devel@lists.openwrt.org Date: Thu, 24 Dec 2015 19:02:47 -0500 Message-Id: <1451001767-46735-1-git-send-email-openwrt@daniel.thecshore.com> Subject: [OpenWrt-Devel] [PATCH] config: Add option to make crypto default when there is an config option for it X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From: Daniel Dickinson This package is primarily for the packages and other feeds as base already builds both encrypted/ssl versions and non-encrypted/ssl versions of packages where there is the options and/or already uses encryption where it is an option. In the feeds there are number of packages which provide configuration options to enable building with encryption but which do not provide both encrypted/ssl flavours and unenecrypted/non-ssl flavours. This configuration option is intended to allow for modifying those packages so that one can enable ssl/encryption for all of those packages at once, just by selecting this configuation option (i.e. selection this option turn on the ssl/encryption configuration options for those packages by default). Long-term ideal is to move all packages to flavours, but that will take more time and effort and this interim solution will make life easier in the meantime. Signed-off-by: Daniel Dickinson --- config/Config-build.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/Config-build.in b/config/Config-build.in index 2523a18..1a35c5d 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -65,6 +65,16 @@ menu "Global build settings" Useful for release builds, so that kernel issues can be debugged offline later. + config CRYPTO_DEFAULT + bool + prompt "Enable SSL/Encryption by default for non-flavoured packages" + default n + help + This defaults to using encryption when there are packages to have an + option to use or not use encryption, but which do not have both + encrypted and unencrypted flavours, even when the encryption library + is a 'heavier' one such as OpenSSL. + comment "Kernel build options" source "config/Config-kernel.in"