Skip to content

Commit

Permalink
libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; enable ptest
Browse files Browse the repository at this point in the history
* Add EXTRA_CPANFLAGS to fix "undefined symbol: RAND_seed"
* Add DEPENDS on libcrypt-openssl-guess-perl-native
* Add runtime and ptest dependencies

Upstream release notes:
0.15  2018-04-22 rurban
        - fix mingw hints for pkg-config support (akiym, PR openembedded#7)

0.14  2018-04-17 rurban
        - add library paths to LIBS from Crypt::OpenSSL::Guess (akiym, PR openembedded#6)

0.13  2018-04-14 rurban
        - move Crypt::OpenSSL::Guess to configure dependency. (grinnz, PR openembedded#4)

0.12  2018-04-13 rurban
        - use Crypt::OpenSSL::Guess to resolve OpenSSL include path,
          fixes MacOS's homebrew OpenSSL installation problem. (akiym, PR openembedded#3)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
Tim Orling authored and kraj committed Jun 14, 2019
1 parent e83d819 commit f2239a2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 15 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number generator access"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"

LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b"

SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
SRC_URI[md5sum] = "bcde8d5a822c91376deda3c4f0c75fbe"
SRC_URI[sha256sum] = "f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4"

S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"

DEPENDS += " \
openssl \
libcrypt-openssl-guess-perl-native \
"

EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -L${STAGING_BASELIBDIR} -lcrypto'"

inherit cpan ptest-perl

RDEPENDS_${PN} += "\
perl-module-exporter \
perl-module-strict \
perl-module-vars \
perl-module-xsloader \
"

RDEPENDS_${PN}-ptest += "\
perl-module-file-copy \
perl-module-test-more \
"

BBCLASSEXTEND = "native"

0 comments on commit f2239a2

Please sign in to comment.