mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
openssl-1.1: rework packaging
The main idea is to have libssl and libcrypto in separate packages. This saves space if only single library is needed and also some recipes (in other layers) depend on these library packages. Together with this other packages like in 1.0.x were created. The only difference is that openssl 1.1 has additional package openssl-bin. Add missing dependency to perl for openssl-bin pkg, c_rehash requires it. (From OE-Core rev: b729cae26de23ac6df10cbf74bab0105580cc43d) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Marko Peter <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
82108b6755
commit
97901ab120
@@ -160,12 +160,22 @@ do_install_ptest() {
|
||||
sed -i 's/$target{shared_extension_simple}/".so.ptest"/' ${D}${PTEST_PATH}/test/recipes/90-test_shlibload.t
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-engines"
|
||||
PACKAGES =+ "libcrypto libssl ${PN}-misc ${PN}-engines openssl-conf"
|
||||
|
||||
FILES_libcrypto = "${libdir}/libcrypto${SOLIBS}"
|
||||
FILES_libssl = "${libdir}/libssl${SOLIBS}"
|
||||
FILES_${PN} =+ "${libdir}/ssl-1.1/*"
|
||||
FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
|
||||
FILES_${PN}-engines = "${libdir}/engines-1.1"
|
||||
|
||||
FILES_${PN}-misc = "${libdir}/ssl-1.1/misc"
|
||||
RDEPENDS_${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}"
|
||||
|
||||
FILES_openssl-conf = "${libdir}/ssl-1.1/openssl.cnf"
|
||||
CONFFILES_openssl-conf = "${libdir}/ssl-1.1/openssl.cnf"
|
||||
RRECOMMENDS_libcrypto += "openssl-conf"
|
||||
|
||||
RDEPENDS_${PN}-bin = "perl"
|
||||
RDEPENDS_${PN}-ptest += "perl-module-file-spec-functions bash python"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user