From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YAg6C-0002vO-Hi for ptxdist@pengutronix.de; Mon, 12 Jan 2015 15:36:08 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YAg6C-0001YY-GI for ptxdist@pengutronix.de; Mon, 12 Jan 2015 15:36:08 +0100 Date: Mon, 12 Jan 2015 15:36:08 +0100 From: Michael Olbrich Message-ID: <20150112143608.GA26436@pengutronix.de> References: <1419701935-28132-1-git-send-email-alex.aring@gmail.com> <1419701935-28132-3-git-send-email-alex.aring@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1419701935-28132-3-git-send-email-alex.aring@gmail.com> Subject: Re: [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: , 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 On Sat, Dec 27, 2014 at 06:38:53PM +0100, Alexander Aring wrote: > 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 I think we should always install this, unless there is a good reason to make this optional? Michael > + > @$(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 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de