From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y4vLA-0007Oj-7C for ptxdist@pengutronix.de; Sat, 27 Dec 2014 18:39:48 +0100 Received: by mail-wg0-f42.google.com with SMTP id k14so16294412wgh.15 for ; Sat, 27 Dec 2014 09:39:42 -0800 (PST) From: Alexander Aring Date: Sat, 27 Dec 2014 18:38:53 +0100 Message-Id: <1419701935-28132-3-git-send-email-alex.aring@gmail.com> In-Reply-To: <1419701935-28132-1-git-send-email-alex.aring@gmail.com> References: <1419701935-28132-1-git-send-email-alex.aring@gmail.com> Subject: [ptxdist] [PATCH bluetooth-next 2/4] openssl: allow to install openssl.cnf Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alexander Aring For doing some certificates magic the openssl tool requires some openssl.cnf files. This patch adds an option to install the default one. Signed-off-by: Alexander Aring --- rules/openssl.in | 5 +++++ rules/openssl.make | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/rules/openssl.in b/rules/openssl.in index 096b398..d1c085d 100644 --- a/rules/openssl.in +++ b/rules/openssl.in @@ -28,4 +28,9 @@ config OPENSSL_BIN help Whether to build and install OpenSSL binary. +config OPENSSL_CNF + bool "install openssl.cnf" + help + Install openssl.cnf config file. + endif diff --git a/rules/openssl.make b/rules/openssl.make index 56cd6b7..ec32fe5 100644 --- a/rules/openssl.make +++ b/rules/openssl.make @@ -100,6 +100,12 @@ ifdef PTXCONF_OPENSSL_BIN @$(call install_copy, openssl, 0, 0, 0755, -, \ /usr/bin/openssl) endif + +ifdef PTXCONF_OPENSSL_CNF + @$(call install_copy, openssl, 0, 0, 0644, -, \ + /usr/lib/ssl/openssl.cnf) +endif + @$(call install_lib, openssl, 0, 0, 0644, libssl) @$(call install_lib, openssl, 0, 0, 0644, libcrypto) -- 2.2.0 -- ptxdist mailing list ptxdist@pengutronix.de