diff options
author | mykhani <yasir_khan@mentor.com> | 2013-12-17 13:28:35 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-09 11:04:15 +0000 |
commit | d81dd16ce4a0ea921becba071ea5e38d6b0c5317 (patch) | |
tree | b713ed13ad4cd8550506c683e02354e9fb2c6549 /meta/recipes-connectivity/openssl/openssl.inc | |
parent | 59cf6ae3333bc39b3f3d29e2bfb1f9099d86ac39 (diff) | |
download | poky-d81dd16ce4a0ea921becba071ea5e38d6b0c5317.tar.gz |
openssl.inc: Install c_rehash utility with openssl
c_rehash utility is not being installed with openssl.It conveniently
generates hash and symbolic links based on it for CA certificates
stored locally for SSL based server authentication
(From OE-Core master rev: 3c2f9cf615c964e8303fd3e225ea7dd7b5485155)
(From OE-Core rev: fdf04f50dfa3bd8861cb08c80ae149dddce4aa58)
Signed-off-by: Yasir-Khan <yasir_khan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index f4b786a179..91770a59dd 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -13,6 +13,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" | |||
13 | 13 | ||
14 | DEPENDS = "perl-native-runtime" | 14 | DEPENDS = "perl-native-runtime" |
15 | 15 | ||
16 | # Adding RDEPENDS for perl scripts | ||
17 | RDEPENDS_${PN}-misc +="perl" | ||
18 | |||
16 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ | 19 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ |
17 | " | 20 | " |
18 | S = "${WORKDIR}/openssl-${PV}" | 21 | S = "${WORKDIR}/openssl-${PV}" |
@@ -37,7 +40,7 @@ PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf" | |||
37 | FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}" | 40 | FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}" |
38 | FILES_libssl = "${libdir}/libssl.so.*" | 41 | FILES_libssl = "${libdir}/libssl.so.*" |
39 | FILES_${PN} =+ " ${libdir}/ssl/*" | 42 | FILES_${PN} =+ " ${libdir}/ssl/*" |
40 | FILES_${PN}-misc = "${libdir}/ssl/misc" | 43 | FILES_${PN}-misc = "${libdir}/ssl/misc ${bindir}/c_rehash" |
41 | FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}" | 44 | FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}" |
42 | 45 | ||
43 | # Add the openssl.cnf file to the openssl-conf package. Make the libcrypto | 46 | # Add the openssl.cnf file to the openssl-conf package. Make the libcrypto |
@@ -154,6 +157,8 @@ do_install () { | |||
154 | sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl | 157 | sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl |
155 | 158 | ||
156 | oe_multilib_header openssl/opensslconf.h | 159 | oe_multilib_header openssl/opensslconf.h |
160 | # The c_rehash utility isn't installed by the normal installation process. | ||
161 | install -m 0755 ${S}/tools/c_rehash ${D}${bindir} | ||
157 | } | 162 | } |
158 | 163 | ||
159 | BBCLASSEXTEND = "native nativesdk" | 164 | BBCLASSEXTEND = "native nativesdk" |