summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r--meta/recipes-connectivity/openssl/openssl_1.1.0h.bb18
1 files changed, 15 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb b/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb
index 4f80a807cd..8b3d92203f 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb
@@ -24,7 +24,7 @@ SRC_URI_append_class-nativesdk = " \
24SRC_URI[md5sum] = "5271477e4d93f4ea032b665ef095ff24" 24SRC_URI[md5sum] = "5271477e4d93f4ea032b665ef095ff24"
25SRC_URI[sha256sum] = "5835626cde9e99656585fc7aaa2302a73a7e1340bf8c14fd635a62c66802a517" 25SRC_URI[sha256sum] = "5835626cde9e99656585fc7aaa2302a73a7e1340bf8c14fd635a62c66802a517"
26 26
27inherit lib_package multilib_header ptest 27inherit lib_package multilib_header ptest relative_symlinks
28 28
29#| engines/afalg/e_afalg.c: In function 'eventfd': 29#| engines/afalg/e_afalg.c: In function 'eventfd':
30#| engines/afalg/e_afalg.c:110:20: error: '__NR_eventfd' undeclared (first use in this function) 30#| engines/afalg/e_afalg.c:110:20: error: '__NR_eventfd' undeclared (first use in this function)
@@ -135,6 +135,18 @@ do_configure () {
135do_install () { 135do_install () {
136 oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install 136 oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install
137 oe_multilib_header openssl/opensslconf.h 137 oe_multilib_header openssl/opensslconf.h
138
139 # Create SSL structure for PATH hard-coded packages like ca-certificates
140 # Debian is also using this technique
141 install -d ${D}${sysconfdir}/ssl/
142 mv ${D}${libdir}/ssl-1.1/openssl.cnf \
143 ${D}${libdir}/ssl-1.1/certs \
144 ${D}${libdir}/ssl-1.1/private \
145 \
146 ${D}${sysconfdir}/ssl/
147 ln -sf ${sysconfdir}/ssl/certs ${D}${libdir}/ssl-1.1/certs
148 ln -sf ${sysconfdir}/ssl/private ${D}${libdir}/ssl-1.1/private
149 ln -sf ${sysconfdir}/ssl/openssl.cnf ${D}${libdir}/ssl-1.1/openssl.cnf
138} 150}
139 151
140do_install_append_class-native () { 152do_install_append_class-native () {
@@ -171,8 +183,8 @@ FILES_${PN}-engines = "${libdir}/engines-1.1"
171FILES_${PN}-misc = "${libdir}/ssl-1.1/misc" 183FILES_${PN}-misc = "${libdir}/ssl-1.1/misc"
172RDEPENDS_${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}" 184RDEPENDS_${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}"
173 185
174FILES_openssl-conf = "${libdir}/ssl-1.1/openssl.cnf" 186FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf ${libdir}/ssl-1.1/openssl.cnf"
175CONFFILES_openssl-conf = "${libdir}/ssl-1.1/openssl.cnf" 187CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf"
176RRECOMMENDS_libcrypto += "openssl-conf" 188RRECOMMENDS_libcrypto += "openssl-conf"
177 189
178RDEPENDS_${PN}-bin = "perl" 190RDEPENDS_${PN}-bin = "perl"