blob: b1001087662d6c2dfdcdbae18a2d64754f7d4a7d [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Audio format Conversion library"
2HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
3AUTHOR = "Erik de Castro Lopo"
Brad Bishop96ff1982019-08-19 13:50:42 -04004DEPENDS = "flac libogg libvorbis"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005SECTION = "libs/multimedia"
6LICENSE = "LGPLv2.1"
7
8SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz \
9 file://CVE-2017-6892.patch \
10 file://CVE-2017-8361-8365.patch \
11 file://CVE-2017-8362.patch \
12 file://CVE-2017-8363.patch \
Brad Bishop220d5532018-08-14 00:59:39 +010013 file://CVE-2017-14634.patch \
Brad Bishop004d4992018-10-02 23:54:45 +020014 file://CVE-2018-13139.patch \
Brad Bishop977dc1a2019-02-06 16:01:43 -050015 file://0001-a-ulaw-fix-multiple-buffer-overflows-432.patch \
Brad Bishopf8caae32019-03-25 13:13:56 -040016 file://CVE-2018-19432.patch \
Brad Bishop19323692019-04-05 15:28:33 -040017 file://CVE-2017-12562.patch \
18 file://CVE-2018-19758.patch \
19 file://CVE-2019-3832.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050020 "
21
22SRC_URI[md5sum] = "646b5f98ce89ac60cdb060fcd398247c"
23SRC_URI[sha256sum] = "1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9"
24
25LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
26
27CVE_PRODUCT = "libsndfile"
28
29S = "${WORKDIR}/libsndfile-${PV}"
30
31PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
32PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
Brad Bishop96ff1982019-08-19 13:50:42 -040033PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050034
Andrew Geissler82c905d2020-04-13 13:39:40 -050035inherit autotools lib_package pkgconfig multilib_header
36
37do_install_append() {
38 oe_multilib_header sndfile.h
39}
Brad Bishop1d80a2e2019-11-15 16:35:03 -050040
41# This can't be replicated and is just a memory leak.
42# https://github.com/erikd/libsndfile/issues/398
43CVE_CHECK_WHITELIST += "CVE-2018-13419"