mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
fc78d37ff0
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.5 KiB
BlitzBasic
41 lines
1.5 KiB
BlitzBasic
SUMMARY = "LibTomCrypt is a public domain open source cryptographic toolkit"
|
|
HOMEPAGE = "https://www.libtom.net/LibTomCrypt"
|
|
SECTION = "libs"
|
|
# Unlicense isn't very accurate for this revision, it was WTFPL in 0.18.0-rc1:
|
|
# https://github.com/libtom/libtomcrypt/commit/77e31fb6a980212e90b9a50f116dc5a7bd91e527
|
|
# then updated to dual license PD and WTFPL also in 0.18.0-rc1:
|
|
# https://github.com/libtom/libtomcrypt/commit/412b2ee1fccc3a0df58f93f372c90d6d0f93bfc9
|
|
# and then updated again to Unlicense after the 0.18.2 tag (it's only in develop branch):
|
|
# https://github.com/libtom/libtomcrypt/commit/3630bee6fc0f73dd9c7923fd43f8ae15a2c0fb70
|
|
# but keep using Unlicense to avoid triggering people with WTFPL license:
|
|
# https://groups.google.com/g/libtom/c/17Z7xkECULM
|
|
# and this comment can be removed next time libtomcrypt is updated
|
|
LICENSE = "Unlicense"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=71baacc459522324ef3e2b9e052e8180"
|
|
|
|
DEPENDS = "libtool-cross"
|
|
|
|
SRC_URI = "git://github.com/libtom/libtomcrypt.git;protocol=https;branch=master \
|
|
file://CVE-2019-17362.patch \
|
|
"
|
|
|
|
SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853"
|
|
|
|
|
|
inherit pkgconfig
|
|
|
|
PACKAGECONFIG ??= "ltm"
|
|
PACKAGECONFIG[ltm] = ",,libtommath"
|
|
|
|
CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'ltm', '-DUSE_LTM -DLTM_DESC', '', d)}"
|
|
|
|
EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' 'CFLAGS=${CFLAGS}'"
|
|
|
|
do_compile() {
|
|
oe_runmake -f makefile.shared
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake -f makefile.shared install
|
|
}
|