diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r-- | meta/recipes-devtools/apt/apt.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc index 13f5969f86..251795eeca 100644 --- a/meta/recipes-devtools/apt/apt.inc +++ b/meta/recipes-devtools/apt/apt.inc | |||
@@ -2,6 +2,7 @@ SUMMARY = "Advanced front-end for dpkg" | |||
2 | DESCRIPTION = "Provides command-line tools for searching and managing as well \ | 2 | DESCRIPTION = "Provides command-line tools for searching and managing as well \ |
3 | as querying information about packages as a low-level access to all features \ | 3 | as querying information about packages as a low-level access to all features \ |
4 | of the libapt-pkg library." | 4 | of the libapt-pkg library." |
5 | HOMEPAGE = "https://packages.debian.org/jessie/apt" | ||
5 | LICENSE = "GPLv2.0+" | 6 | LICENSE = "GPLv2.0+" |
6 | SECTION = "base" | 7 | SECTION = "base" |
7 | 8 | ||
@@ -17,6 +18,7 @@ SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/${BPN}/${P | |||
17 | file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \ | 18 | file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \ |
18 | file://0001-apt-1.2.12-Fix-musl-build.patch \ | 19 | file://0001-apt-1.2.12-Fix-musl-build.patch \ |
19 | file://0001-Include-array.h-for-std-array.patch \ | 20 | file://0001-Include-array.h-for-std-array.patch \ |
21 | file://CVE-2020-3810.patch \ | ||
20 | " | 22 | " |
21 | SRC_URI[md5sum] = "d30eed9304e82ea8238c854b5c5a34d9" | 23 | SRC_URI[md5sum] = "d30eed9304e82ea8238c854b5c5a34d9" |
22 | SRC_URI[sha256sum] = "03ded4f5e9b8d43ecec083704b2dcabf20c182ed382db9ac7251da0b0b038059" | 24 | SRC_URI[sha256sum] = "03ded4f5e9b8d43ecec083704b2dcabf20c182ed382db9ac7251da0b0b038059" |
@@ -35,5 +37,9 @@ do_configure_prepend() { | |||
35 | rm -rf ${S}/buildlib/config.guess | 37 | rm -rf ${S}/buildlib/config.guess |
36 | } | 38 | } |
37 | 39 | ||
40 | # there are code generation issues with some compilers in the SHA256 implementation | ||
41 | # turn off strict-aliasing to avoid these issues | ||
42 | CXXFLAGS:append = " -fno-strict-aliasing" | ||
43 | |||
38 | USERADD_PACKAGES = "${PN}" | 44 | USERADD_PACKAGES = "${PN}" |
39 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /nonexistent --shell /bin/false --user-group _apt" | 45 | USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /nonexistent --shell /bin/false --user-group _apt" |