summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authormykhani <yasir_khan@mentor.com>2013-12-17 13:28:35 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-18 11:21:28 +0000
commit0af8bd9693890e22480007cfc96980b1a7a268da (patch)
tree58f7539727ded95d177224a4b6325ec3d899e112 /meta
parente1e59b646f6611d5fc1009eb6e37a7de36ef747d (diff)
downloadpoky-0af8bd9693890e22480007cfc96980b1a7a268da.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 rev: 3c2f9cf615c964e8303fd3e225ea7dd7b5485155) Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 3bfe569b3c..cdb1809339 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
14DEPENDS = "perl-native-runtime" 14DEPENDS = "perl-native-runtime"
15 15
16# Adding RDEPENDS for perl scripts
17RDEPENDS_${PN}-misc +="perl"
18
16SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ 19SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
17 " 20 "
18S = "${WORKDIR}/openssl-${PV}" 21S = "${WORKDIR}/openssl-${PV}"
@@ -37,7 +40,7 @@ PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf"
37FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}" 40FILES_libcrypto = "${base_libdir}/libcrypto${SOLIBS}"
38FILES_libssl = "${libdir}/libssl.so.*" 41FILES_libssl = "${libdir}/libssl.so.*"
39FILES_${PN} =+ " ${libdir}/ssl/*" 42FILES_${PN} =+ " ${libdir}/ssl/*"
40FILES_${PN}-misc = "${libdir}/ssl/misc" 43FILES_${PN}-misc = "${libdir}/ssl/misc ${bindir}/c_rehash"
41FILES_${PN}-dev += "${base_libdir}/libcrypto${SOLIBSDEV}" 44FILES_${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
@@ -157,6 +160,8 @@ do_install () {
157 sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl 160 sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/ssl/misc/CA.pl
158 161
159 oe_multilib_header openssl/opensslconf.h 162 oe_multilib_header openssl/opensslconf.h
163 # The c_rehash utility isn't installed by the normal installation process.
164 install -m 0755 ${S}/tools/c_rehash ${D}${bindir}
160} 165}
161 166
162BBCLASSEXTEND = "native nativesdk" 167BBCLASSEXTEND = "native nativesdk"