mirror of
git://git.yoctoproject.org/poky
synced 2026-09-26 12:53:56 +00:00
Backport needed fixes CVE: CVE-2022-37434 (From OE-Core rev: f7f089a89a9ba83aa62e4ca1fe9a6b8649b29259) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Paul Eggleton <bluelightning@bluelightning.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
45 lines
1.3 KiB
BlitzBasic
45 lines
1.3 KiB
BlitzBasic
SUMMARY = "Zlib Compression Library"
|
|
DESCRIPTION = "Zlib is a general-purpose, patent-free, lossless data compression \
|
|
library which is used by many different programs."
|
|
HOMEPAGE = "http://zlib.net/"
|
|
SECTION = "libs"
|
|
LICENSE = "Zlib"
|
|
LIC_FILES_CHKSUM = "file://zlib.h;beginline=6;endline=23;md5=5377232268e952e9ef63bc555f7aa6c0"
|
|
|
|
SRC_URI = "https://zlib.net/${BP}.tar.xz \
|
|
file://cc.patch \
|
|
file://ldflags-tests.patch \
|
|
file://0001-configure-Pass-LDFLAGS-to-link-tests.patch \
|
|
file://run-ptest \
|
|
file://0001-Correct-incorrect-inputs-provided-to-the-CRC-functio.patch \
|
|
file://0001-Fix-a-bug-when-getting-a-gzip-header-extra-field-wit.patch \
|
|
file://0001-Fix-extra-field-processing-bug-that-dereferences-NUL.patch \
|
|
"
|
|
UPSTREAM_CHECK_URI = "http://zlib.net/"
|
|
|
|
SRC_URI[sha256sum] = "7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18"
|
|
|
|
CFLAGS += "-D_REENTRANT"
|
|
|
|
RDEPENDS:${PN}-ptest += "make"
|
|
|
|
inherit ptest
|
|
|
|
do_configure() {
|
|
LDCONFIG=true ./configure --prefix=${prefix} --shared --libdir=${libdir} --uname=GNU
|
|
}
|
|
|
|
do_compile() {
|
|
oe_runmake shared
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake DESTDIR=${D} install
|
|
}
|
|
|
|
do_install_ptest() {
|
|
install ${B}/examplesh ${D}${PTEST_PATH}
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|