Fix build issue on openssl 1.0.2d on Fido branch. OpenSSL's URIs of old releases have changed to /source/old/<x.y.z> instead of /source.
PATCH v2 1/1 Fix build issue on openssl 1.0.2d on Fido branch. OpenSSL's URIs of old releases have changed to /source/old/<x.y.z> instead of /source.
--- .../recipes-connectivity/openssl/openssl_1.0.2d.bb | 51 +++++++++++----------- 1 file changed, 26 insertions(+), 25 deletions(-)
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +26 -25
@@ -11,31 +11,32 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" export DIRS = "crypto ssl apps engines" export OE_LDFLAGS="${LDFLAGS}" -SRC_URI += "file://configure-targets.patch \ - file://shared-libs.patch \ - file://oe-ldflags.patch \ - file://engines-install-in-libdir-ssl.patch \ - file://debian1.0.2/block_diginotar.patch \ - file://debian1.0.2/block_digicert_malaysia.patch \ - file://debian/ca.patch \ - file://debian/c_rehash-compat.patch \ - file://debian/debian-targets.patch \ - file://debian/man-dir.patch \ - file://debian/man-section.patch \ - file://debian/no-rpath.patch \ - file://debian/no-symbolic.patch \ - file://debian/pic.patch \ - file://debian/version-script.patch \ - file://openssl_fix_for_x32.patch \ - file://fix-cipher-des-ede3-cfb1.patch \ - file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ - file://find.pl \ - file://openssl-fix-des.pod-error.patch \ - file://Makefiles-ptest.patch \ - file://ptest-deps.patch \ - file://run-ptest \ - file://crypto_use_bigint_in_x86-64_perl.patch \ - " +SRC_URI = "http://www.openssl.org/source/old/1.0.2/openssl-${PV}.tar.gz \ + file://configure-targets.patch \ + file://shared-libs.patch \ + file://oe-ldflags.patch \ + file://engines-install-in-libdir-ssl.patch \ + file://debian1.0.2/block_diginotar.patch \ + file://debian1.0.2/block_digicert_malaysia.patch \ + file://debian/ca.patch \ + file://debian/c_rehash-compat.patch \ + file://debian/debian-targets.patch \ + file://debian/man-dir.patch \ + file://debian/man-section.patch \ + file://debian/no-rpath.patch \ + file://debian/no-symbolic.patch \ + file://debian/pic.patch \ + file://debian/version-script.patch \ + file://openssl_fix_for_x32.patch \ + file://fix-cipher-des-ede3-cfb1.patch \ + file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ + file://find.pl \ + file://openssl-fix-des.pod-error.patch \ + file://Makefiles-ptest.patch \ + file://ptest-deps.patch \ + file://run-ptest \ + file://crypto_use_bigint_in_x86-64_perl.patch \ + " SRC_URI[md5sum] = "38dd619b2e77cbac69b99f52a053d25a" SRC_URI[sha256sum] = "671c36487785628a703374c652ad2cebea45fa920ae5681515df25d9f2c9a8c8"
Signature · 1 line
2.1.4
Quoted 44 lines · Thomas Perrot
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +0
-18-SRC_URI += "file://configure-targets.patch \ - file://shared-libs.patch \ - file://oe-ldflags.patch \ - file://engines-install-in-libdir-ssl.patch \ - file://debian1.0.2/block_diginotar.patch \ - file://debian1.0.2/block_digicert_malaysia.patch \ - file://debian/ca.patch \ - file://debian/c_rehash-compat.patch \ - file://debian/debian-targets.patch \ - file://debian/man-dir.patch \ - file://debian/man-section.patch \ - file://debian/no-rpath.patch \ - file://debian/no-symbolic.patch \ - file://debian/pic.patch \ - file://debian/version-script.patch \ - file://openssl_fix_for_x32.patch \ - file://fix-cipher-des-ede3-cfb1.patch \ -file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +17
-7- file://find.pl \ - file://openssl-fix-des.pod-error.patch \ - file://Makefiles-ptest.patch \ - file://ptest-deps.patch \ - file://run-ptest \ - file://crypto_use_bigint_in_x86-64_perl.patch \ - " +SRC_URI = "http://www.openssl.org/source/old/1.0.2/openssl-${PV}.tar.gz \ + file://configure-targets.patch \ + file://shared-libs.patch \ + file://oe-ldflags.patch \ + file://engines-install-in-libdir-ssl.patch \ + file://debian1.0.2/block_diginotar.patch \ + file://debian1.0.2/block_digicert_malaysia.patch \ + file://debian/ca.patch \ + file://debian/c_rehash-compat.patch \ + file://debian/debian-targets.patch \ + file://debian/man-dir.patch \ + file://debian/man-section.patch \ + file://debian/no-rpath.patch \ + file://debian/no-symbolic.patch \ + file://debian/pic.patch \ + file://debian/version-script.patch \ + file://openssl_fix_for_x32.patch \
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" · line 39
Quoted 10 lines
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +9
-0+ file://fix-cipher-des-ede3-cfb1.patch \ + file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ + file://find.pl \ + file://openssl-fix-des.pod-error.patch \ + file://Makefiles-ptest.patch \ + file://ptest-deps.patch \ + file://run-ptest \ + file://crypto_use_bigint_in_x86-64_perl.patch \ + "
This was sent to the wrong mailing list (openembedded-core@, please), the commit log is incorrectly formatted (we use standard git style with a recipe prefix), and it's probably best just to edit the SRC_URI entry in openssl.inc instead of overwriting it from the .bb.
(insert standard moan about pointless bb/inc splits here)
Ross
Hi Ross,
I have changed the URI into the bb files instead the inc, because the path has only changed for old openssl revision and because this change can affect people using this their own openssl's recipe or a recipe of latest openssl revision.
I will submit the patch to openembedded-core mailing list instead this list.
Best regards,
Thomas P.
Quoted 74 lines · Ross
Quoted 18 lines · Thomas Perrot
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +0
-18-SRC_URI += "file://configure-targets.patch \ - file://shared-libs.patch \ - file://oe-ldflags.patch \ - file://engines-install-in-libdir-ssl.patch \ - file://debian1.0.2/block_diginotar.patch \ - file://debian1.0.2/block_digicert_malaysia.patch \ - file://debian/ca.patch \ - file://debian/c_rehash-compat.patch \ - file://debian/debian-targets.patch \ - file://debian/man-dir.patch \ - file://debian/man-section.patch \ - file://debian/no-rpath.patch \ - file://debian/no-symbolic.patch \ - file://debian/pic.patch \ - file://debian/version-script.patch \ - file://openssl_fix_for_x32.patch \ - file://fix-cipher-des-ede3-cfb1.patch \ -Quoted 1 line
file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch
\
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
Quoted 8 lines
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +1
-7- file://find.pl \ - file://openssl-fix-des.pod-error.patch \ - file://Makefiles-ptest.patch \ - file://ptest-deps.patch \ - file://run-ptest \ - file://crypto_use_bigint_in_x86-64_perl.patch \ - " +SRC_URI = "http://www.openssl.org/source/old/1.0.2/openssl-${PV}.tar.gz\
Quoted 9 lines
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +8
-0+ file://configure-targets.patch \ + file://shared-libs.patch \ + file://oe-ldflags.patch \ + file://engines-install-in-libdir-ssl.patch \ + file://debian1.0.2/block_diginotar.patch \ + file://debian1.0.2/block_digicert_malaysia.patch \ + file://debian/ca.patch \ + file://debian/c_rehash-compat.patch \meta/recipes-connectivity/openssl/openssl_1.0.2d.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"
Quoted 10 lines
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +10
-0+ file://debian/debian-targets.patch \ + file://debian/man-dir.patch \ + file://debian/man-section.patch \ + file://debian/no-rpath.patch \ + file://debian/no-symbolic.patch \ + file://debian/pic.patch \ + file://debian/version-script.patch \ + file://openssl_fix_for_x32.patch \ + file://fix-cipher-des-ede3-cfb1.patch \ +file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" · line 39
Quoted 8 lines
meta/recipes-connectivity/openssl/openssl_1.0.2d.bb +7
-0+ file://find.pl \ + file://openssl-fix-des.pod-error.patch \ + file://Makefiles-ptest.patch \ + file://ptest-deps.patch \ + file://run-ptest \ + file://crypto_use_bigint_in_x86-64_perl.patch \ + "This was sent to the wrong mailing list (openembedded-core@, please), the commit log is incorrectly formatted (we use standard git style with a recipe prefix), and it's probably best just to edit the
SRC_URIentry in openssl.inc instead of overwriting it from the .bb.(insert standard moan about pointless bb/inc splits here)
Ross
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel