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