mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCHv2 2/4] openssl: allow to install openssl.cnf
Date: Mon, 26 Jan 2015 16:03:34 +0100	[thread overview]
Message-ID: <20150126150334.GC20195@pengutronix.de> (raw)
In-Reply-To: <1422215784-25936-3-git-send-email-alex.aring@gmail.com>

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 <alex.aring@gmail.com>
> ---
>  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

  reply	other threads:[~2015-01-26 15:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-25 19:56 [ptxdist] [PATCHv2 0/4] openvpn: cleanups, extras and version bumps Alexander Aring
2015-01-25 19:56 ` [ptxdist] [PATCHv2 1/4] liblzo: rework and version bump Alexander Aring
2015-01-27  8:21   ` Michael Olbrich
2015-01-25 19:56 ` [ptxdist] [PATCHv2 2/4] openssl: allow to install openssl.cnf Alexander Aring
2015-01-26 15:03   ` Michael Olbrich [this message]
2015-01-28  8:51     ` Alexander Aring
2015-01-25 19:56 ` [ptxdist] [PATCHv2 3/4] easy-rsa: initial commit Alexander Aring
2015-01-26 15:00   ` Michael Olbrich
2015-01-28  8:50     ` Alexander Aring
2015-01-25 19:56 ` [ptxdist] [PATCHv2 4/4] openvpn: rework and version bump Alexander Aring
2015-01-26 15:24   ` Michael Olbrich
2015-01-28  8:52     ` Alexander Aring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150126150334.GC20195@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox