anchor.diff:  
   DEPENDS = "hostperl-runtime-native"
   
  -FILESPATH_append = ":${COREBASE}/meta/recipes-connectivity/openssl/openssl:${COREBASE}/meta/recipes-connectivity/openssl/files"
  +FILESPATH_append = ":${COREBASE}/meta/recipes-connectivity/openssl/openssl:${COREBASE}/meta/recipes-connectivity/openssl/files:"
   SRC_URI += " \
  -    file://run-ptest \
  -    file://openssl-c_rehash.sh \
  -    file://0001-skip-test_symbol_presence.patch \
  -"
  +           file://run-ptest \
  +           file://0001-skip-test_symbol_presence.patch \
  +           file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
  +           file://afalg.patch \
  +           "
   
   SRC_URI_append_class-nativesdk = " \
  -    file://environment.d-openssl.sh \
  -"
  +           file://environment.d-openssl.sh \
  +           "
   
   inherit lib_package multilib_header ptest
  +
  +PACKAGECONFIG ?= ""
  +PACKAGECONFIG_class-native = ""
  +PACKAGECONFIG_class-nativesdk = ""
  +
  +PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux"
   
   B = "${WORKDIR}/build"
   do_configure[cleandirs] = "${B}"
  
positive.code: 	    SSL_CERT_DIR=${libdir}/ssl-1.1/certs \
  	    SSL_CERT_FILE=${libdir}/ssl-1.1/cert.pem \
  	    OPENSSL_ENGINES=${libdir}/ssl-1.1/engines
  
  	# Install a custom version of c_rehash that can handle sysroots properly.
  	# This version is used for example when installing ca-certificates during
  	# image creation.
  	install -Dm 0755 ${WORKDIR}/openssl-c_rehash.sh ${D}${bindir}/c_rehash
  	sed -i -e 's,/etc/openssl,${sysconfdir}/ssl,g' ${D}${bindir}/c_rehash
  }
  
  do_install_append_class-nativesdk () {
  
negative.code: CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf"
  
  RRECOMMENDS_libcrypto += "openssl-conf"
  RDEPENDS_${PN}-ptest += "openssl-bin perl perl-modules bash"
  
  RPROVIDES_openssl-conf = "openssl10-conf"
  RREPLACES_openssl-conf = "openssl10-conf"
  