diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-08-28 12:23:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-04 11:03:56 +0100 |
commit | df15a4c914177024f1825aacb4701fd232e1dd58 (patch) | |
tree | 82e7f832e4fa30f388883afd553453217397e7f3 /meta/recipes-connectivity/openssl | |
parent | 352d1a4bfdb687bc0d14c74d76e538eeac88ab5d (diff) | |
download | poky-df15a4c914177024f1825aacb4701fd232e1dd58.tar.gz |
openssl: rename openssl 1.0.x to openssl10 and make openssl 1.1.x the default version
I believe the time has come to do this: openssl 1.0 upstream support stops at the end
of 2019, and we do not want a situation where a supported YP release contains an
unsupported version of a critical security component.
Openssl 1.0 can still be utilized by depending on 'openssl10' recipe.
(From OE-Core rev: 876466145f2da93757ba3f92177d0f959f5fe975)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r-- | meta/recipes-connectivity/openssl/files/environment.d-openssl.sh (renamed from meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/0001-Fix-build-with-clang-using-external-assembler.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-Fix-build-with-clang-using-external-assembler.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/0001-allow-manpages-to-be-disabled.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-allow-manpages-to-be-disabled.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/0001-openssl-force-soft-link-to-avoid-rare-race.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-openssl-force-soft-link-to-avoid-rare-race.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/Makefiles-ptest.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/Makefiles-ptest.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/Use-SHA256-not-MD5-as-default-digest.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/Use-SHA256-not-MD5-as-default-digest.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/configure-musl-target.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/configure-musl-target.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/configure-targets.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/configure-targets.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/c_rehash-compat.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/c_rehash-compat.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/debian-targets.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/debian-targets.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/man-dir.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/man-dir.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/man-section.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/man-section.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/no-rpath.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/no-rpath.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/no-symbolic.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/no-symbolic.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian/pic.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/pic.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian1.0.2/block_digicert_malaysia.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/block_digicert_malaysia.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian1.0.2/block_diginotar.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/block_diginotar.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian1.0.2/soname.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/soname.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/debian1.0.2/version-script.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/version-script.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/engines-install-in-libdir-ssl.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/engines-install-in-libdir-ssl.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/oe-ldflags.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/oe-ldflags.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/openssl-c_rehash.sh (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl-c_rehash.sh) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/openssl-fix-des.pod-error.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl-fix-des.pod-error.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/openssl_fix_for_x32.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl_fix_for_x32.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/parallel.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/parallel.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/ptest-deps.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/ptest-deps.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/ptest_makefile_deps.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/ptest_makefile_deps.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/reproducible-cflags.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/reproducible-cflags.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/reproducible-mkbuildinf.patch) | 0 | ||||
-rwxr-xr-x | meta/recipes-connectivity/openssl/openssl10/run-ptest (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/run-ptest) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10/shared-libs.patch (renamed from meta/recipes-connectivity/openssl/openssl-1.0.2p/shared-libs.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb (renamed from meta/recipes-connectivity/openssl/openssl_1.0.2p.bb) | 31 |
32 files changed, 23 insertions, 8 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh b/meta/recipes-connectivity/openssl/files/environment.d-openssl.sh index b9cc24a7ac..b9cc24a7ac 100644 --- a/meta/recipes-connectivity/openssl/openssl/environment.d-openssl.sh +++ b/meta/recipes-connectivity/openssl/files/environment.d-openssl.sh | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-Fix-build-with-clang-using-external-assembler.patch b/meta/recipes-connectivity/openssl/openssl10/0001-Fix-build-with-clang-using-external-assembler.patch index 2270962a6f..2270962a6f 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-Fix-build-with-clang-using-external-assembler.patch +++ b/meta/recipes-connectivity/openssl/openssl10/0001-Fix-build-with-clang-using-external-assembler.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-allow-manpages-to-be-disabled.patch b/meta/recipes-connectivity/openssl/openssl10/0001-allow-manpages-to-be-disabled.patch index 3f7d649955..3f7d649955 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-allow-manpages-to-be-disabled.patch +++ b/meta/recipes-connectivity/openssl/openssl10/0001-allow-manpages-to-be-disabled.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-openssl-force-soft-link-to-avoid-rare-race.patch b/meta/recipes-connectivity/openssl/openssl10/0001-openssl-force-soft-link-to-avoid-rare-race.patch index dd1a9b1dd2..dd1a9b1dd2 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/0001-openssl-force-soft-link-to-avoid-rare-race.patch +++ b/meta/recipes-connectivity/openssl/openssl10/0001-openssl-force-soft-link-to-avoid-rare-race.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/Makefiles-ptest.patch b/meta/recipes-connectivity/openssl/openssl10/Makefiles-ptest.patch index 1b8402af97..1b8402af97 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/Makefiles-ptest.patch +++ b/meta/recipes-connectivity/openssl/openssl10/Makefiles-ptest.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/Use-SHA256-not-MD5-as-default-digest.patch b/meta/recipes-connectivity/openssl/openssl10/Use-SHA256-not-MD5-as-default-digest.patch index 58c9ee7844..58c9ee7844 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/Use-SHA256-not-MD5-as-default-digest.patch +++ b/meta/recipes-connectivity/openssl/openssl10/Use-SHA256-not-MD5-as-default-digest.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/configure-musl-target.patch b/meta/recipes-connectivity/openssl/openssl10/configure-musl-target.patch index f357b3f59f..f357b3f59f 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/configure-musl-target.patch +++ b/meta/recipes-connectivity/openssl/openssl10/configure-musl-target.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/configure-targets.patch b/meta/recipes-connectivity/openssl/openssl10/configure-targets.patch index 1e01589722..1e01589722 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/configure-targets.patch +++ b/meta/recipes-connectivity/openssl/openssl10/configure-targets.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/c_rehash-compat.patch b/meta/recipes-connectivity/openssl/openssl10/debian/c_rehash-compat.patch index 3820e3e306..3820e3e306 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/c_rehash-compat.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/c_rehash-compat.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/debian-targets.patch b/meta/recipes-connectivity/openssl/openssl10/debian/debian-targets.patch index 35d92bedb7..35d92bedb7 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/debian-targets.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/debian-targets.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/man-dir.patch b/meta/recipes-connectivity/openssl/openssl10/debian/man-dir.patch index 4085e3b1d7..4085e3b1d7 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/man-dir.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/man-dir.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/man-section.patch b/meta/recipes-connectivity/openssl/openssl10/debian/man-section.patch index 21c1d1a4eb..21c1d1a4eb 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/man-section.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/man-section.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/no-rpath.patch b/meta/recipes-connectivity/openssl/openssl10/debian/no-rpath.patch index 1ccb3b86ee..1ccb3b86ee 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/no-rpath.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/no-rpath.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/no-symbolic.patch b/meta/recipes-connectivity/openssl/openssl10/debian/no-symbolic.patch index cc4408ab7d..cc4408ab7d 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/no-symbolic.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/no-symbolic.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/pic.patch b/meta/recipes-connectivity/openssl/openssl10/debian/pic.patch index bfda3888bf..bfda3888bf 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian/pic.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian/pic.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/block_digicert_malaysia.patch b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/block_digicert_malaysia.patch index c43bcd1c77..c43bcd1c77 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/block_digicert_malaysia.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/block_digicert_malaysia.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/block_diginotar.patch b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/block_diginotar.patch index d81e22cd8d..d81e22cd8d 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/block_diginotar.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/block_diginotar.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/soname.patch b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/soname.patch index 09dd9eaf86..09dd9eaf86 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/soname.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/soname.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/version-script.patch b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/version-script.patch index e404ee3312..e404ee3312 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/debian1.0.2/version-script.patch +++ b/meta/recipes-connectivity/openssl/openssl10/debian1.0.2/version-script.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/engines-install-in-libdir-ssl.patch b/meta/recipes-connectivity/openssl/openssl10/engines-install-in-libdir-ssl.patch index a5746483e6..a5746483e6 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/engines-install-in-libdir-ssl.patch +++ b/meta/recipes-connectivity/openssl/openssl10/engines-install-in-libdir-ssl.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/oe-ldflags.patch b/meta/recipes-connectivity/openssl/openssl10/oe-ldflags.patch index 292e13dc5f..292e13dc5f 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/oe-ldflags.patch +++ b/meta/recipes-connectivity/openssl/openssl10/oe-ldflags.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl-c_rehash.sh b/meta/recipes-connectivity/openssl/openssl10/openssl-c_rehash.sh index 6620fdcb53..6620fdcb53 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl-c_rehash.sh +++ b/meta/recipes-connectivity/openssl/openssl10/openssl-c_rehash.sh | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl-fix-des.pod-error.patch b/meta/recipes-connectivity/openssl/openssl10/openssl-fix-des.pod-error.patch index de49729e5e..de49729e5e 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl-fix-des.pod-error.patch +++ b/meta/recipes-connectivity/openssl/openssl10/openssl-fix-des.pod-error.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl_fix_for_x32.patch b/meta/recipes-connectivity/openssl/openssl10/openssl_fix_for_x32.patch index 0f08a642f6..0f08a642f6 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/openssl_fix_for_x32.patch +++ b/meta/recipes-connectivity/openssl/openssl10/openssl_fix_for_x32.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/parallel.patch b/meta/recipes-connectivity/openssl/openssl10/parallel.patch index 41abf3d6bd..41abf3d6bd 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/parallel.patch +++ b/meta/recipes-connectivity/openssl/openssl10/parallel.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/ptest-deps.patch b/meta/recipes-connectivity/openssl/openssl10/ptest-deps.patch index ef6d17934d..ef6d17934d 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/ptest-deps.patch +++ b/meta/recipes-connectivity/openssl/openssl10/ptest-deps.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/ptest_makefile_deps.patch b/meta/recipes-connectivity/openssl/openssl10/ptest_makefile_deps.patch index 4202e61d1e..4202e61d1e 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/ptest_makefile_deps.patch +++ b/meta/recipes-connectivity/openssl/openssl10/ptest_makefile_deps.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/reproducible-cflags.patch b/meta/recipes-connectivity/openssl/openssl10/reproducible-cflags.patch index 2803cb0393..2803cb0393 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/reproducible-cflags.patch +++ b/meta/recipes-connectivity/openssl/openssl10/reproducible-cflags.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/reproducible-mkbuildinf.patch b/meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch index b556731219..b556731219 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/reproducible-mkbuildinf.patch +++ b/meta/recipes-connectivity/openssl/openssl10/reproducible-mkbuildinf.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/run-ptest b/meta/recipes-connectivity/openssl/openssl10/run-ptest index 3b20fce1ee..3b20fce1ee 100755 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/run-ptest +++ b/meta/recipes-connectivity/openssl/openssl10/run-ptest | |||
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2p/shared-libs.patch b/meta/recipes-connectivity/openssl/openssl10/shared-libs.patch index a7ca0a3078..a7ca0a3078 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.2p/shared-libs.patch +++ b/meta/recipes-connectivity/openssl/openssl10/shared-libs.patch | |||
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2p.bb b/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb index dbcb000a26..b7297fce02 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.2p.bb +++ b/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb | |||
@@ -11,8 +11,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f475368924827d06d4b416111c8bdb77" | |||
11 | DEPENDS = "hostperl-runtime-native" | 11 | DEPENDS = "hostperl-runtime-native" |
12 | DEPENDS_append_class-target = " openssl-native" | 12 | DEPENDS_append_class-target = " openssl-native" |
13 | 13 | ||
14 | PROVIDES += "openssl10" | ||
15 | |||
16 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ | 14 | SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ |
17 | file://run-ptest \ | 15 | file://run-ptest \ |
18 | file://openssl-c_rehash.sh \ | 16 | file://openssl-c_rehash.sh \ |
@@ -56,6 +54,8 @@ SRC_URI_append_class-nativesdk = " \ | |||
56 | SRC_URI[md5sum] = "ac5eb30bf5798aa14b1ae6d0e7da58df" | 54 | SRC_URI[md5sum] = "ac5eb30bf5798aa14b1ae6d0e7da58df" |
57 | SRC_URI[sha256sum] = "50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00" | 55 | SRC_URI[sha256sum] = "50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00" |
58 | 56 | ||
57 | S = "${WORKDIR}/openssl-${PV}" | ||
58 | |||
59 | UPSTREAM_CHECK_REGEX = "openssl-(?P<pver>1\.0.+)\.tar" | 59 | UPSTREAM_CHECK_REGEX = "openssl-(?P<pver>1\.0.+)\.tar" |
60 | 60 | ||
61 | inherit pkgconfig siteinfo multilib_header ptest manpages | 61 | inherit pkgconfig siteinfo multilib_header ptest manpages |
@@ -326,20 +326,35 @@ do_install_ptest () { | |||
326 | # file to be installed for both the base openssl package and the libcrypto | 326 | # file to be installed for both the base openssl package and the libcrypto |
327 | # package since the base openssl package depends on the libcrypto package. | 327 | # package since the base openssl package depends on the libcrypto package. |
328 | 328 | ||
329 | PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc" | 329 | PACKAGES =+ "libcrypto10 libssl10 openssl10-conf ${PN}-engines ${PN}-misc" |
330 | 330 | ||
331 | FILES_libcrypto = "${libdir}/libcrypto${SOLIBS}" | 331 | FILES_libcrypto10 = "${libdir}/libcrypto${SOLIBS}" |
332 | FILES_libssl = "${libdir}/libssl${SOLIBS}" | 332 | FILES_libssl10 = "${libdir}/libssl${SOLIBS}" |
333 | FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf" | 333 | FILES_openssl10-conf = "${sysconfdir}/ssl/openssl.cnf" |
334 | FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" | 334 | FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" |
335 | FILES_${PN}-misc = "${libdir}/ssl/misc" | 335 | FILES_${PN}-misc = "${libdir}/ssl/misc" |
336 | FILES_${PN} =+ "${libdir}/ssl/*" | 336 | FILES_${PN} =+ "${libdir}/ssl/*" |
337 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" | 337 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" |
338 | 338 | ||
339 | CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf" | 339 | CONFFILES_openssl10-conf = "${sysconfdir}/ssl/openssl.cnf" |
340 | 340 | ||
341 | RRECOMMENDS_libcrypto += "openssl-conf" | 341 | RRECOMMENDS_libcrypto10 += "openssl10-conf" |
342 | RDEPENDS_${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}" | 342 | RDEPENDS_${PN}-misc = "${@bb.utils.filter('PACKAGECONFIG', 'perl', d)}" |
343 | RDEPENDS_${PN}-ptest += "${PN}-misc make perl perl-module-filehandle bc" | 343 | RDEPENDS_${PN}-ptest += "${PN}-misc make perl perl-module-filehandle bc" |
344 | 344 | ||
345 | BBCLASSEXTEND = "native nativesdk" | 345 | BBCLASSEXTEND = "native nativesdk" |
346 | PACKAGE_PREPROCESS_FUNCS += "openssl_package_preprocess" | ||
347 | |||
348 | # openssl 1.0 development files and executable binaries clash with openssl 1.1 | ||
349 | # files when installed into target rootfs. So we don't put them into | ||
350 | # packages, but they continue to be provided via target sysroot for | ||
351 | # cross-compilation on the host, if some software still depends on openssl 1.0. | ||
352 | openssl_package_preprocess () { | ||
353 | for file in `find ${PKGD} -name *.h -o -name *.pc -o -name *.so`; do | ||
354 | rm $file | ||
355 | done | ||
356 | rm ${PKGD}/usr/bin/openssl | ||
357 | rm ${PKGD}/usr/bin/c_rehash | ||
358 | rmdir ${PKGD}/usr/bin | ||
359 | |||
360 | } | ||