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 1YFlCQ-00016l-Dw for ptxdist@pengutronix.de; Mon, 26 Jan 2015 16:03:34 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YFlCQ-0006G2-C7 for ptxdist@pengutronix.de; Mon, 26 Jan 2015 16:03:34 +0100 Date: Mon, 26 Jan 2015 16:03:34 +0100 From: Michael Olbrich Message-ID: <20150126150334.GC20195@pengutronix.de> References: <1422215784-25936-1-git-send-email-alex.aring@gmail.com> <1422215784-25936-3-git-send-email-alex.aring@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1422215784-25936-3-git-send-email-alex.aring@gmail.com> Subject: Re: [ptxdist] [PATCHv2 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 Sun, Jan 25, 2015 at 08:56:22PM +0100, Alexander Aring wrote: > For doing some certificates magic the openssl tool requires some > openssl.cnf file. This patch adds support to install the default > shipped openssl.cnf file. > > Signed-off-by: Alexander Aring > --- > rules/openssl.make | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/rules/openssl.make b/rules/openssl.make > index 50039c7..d3928a0 100644 > --- a/rules/openssl.make > +++ b/rules/openssl.make > @@ -100,6 +100,10 @@ ifdef PTXCONF_OPENSSL_BIN > @$(call install_copy, openssl, 0, 0, 0755, -, \ > /usr/bin/openssl) > endif > + > + @$(call install_copy, openssl, 0, 0, 0644, -, \ > + /usr/lib/ssl/openssl.cnf) Use install_alternative. This will fall back to PKGDIR if nothing else is available, but it can be overwritten in projectroot/ in the BSP. Michael > + > @$(call install_lib, openssl, 0, 0, 0644, libssl) > @$(call install_lib, openssl, 0, 0, 0644, libcrypto) > > -- > 2.2.2 > > > -- > 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