diff options
Diffstat (limited to 'meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb')
-rw-r--r-- | meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb index c92a5f80a8..4e009d2625 100644 --- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb +++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | |||
@@ -5,20 +5,16 @@ HOMEPAGE = "https://github.com/plougher/squashfs-tools" | |||
5 | DESCRIPTION = "Tools to create and extract Squashfs filesystems." | 5 | DESCRIPTION = "Tools to create and extract Squashfs filesystems." |
6 | SECTION = "base" | 6 | SECTION = "base" |
7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
8 | LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
9 | 9 | ||
10 | PV = "4.5" | 10 | PV = "4.5.1" |
11 | SRCREV = "0496d7c3de3e09da37ba492081c86159806ebb07" | 11 | SRCREV = "afdd63fc386919b4aa40d573b0a6069414d14317" |
12 | SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master \ | 12 | SRC_URI = "git://github.com/plougher/squashfs-tools.git;protocol=https;branch=master \ |
13 | file://0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch \ | 13 | file://0001-install-manpages.sh-do-not-write-original-timestamps.patch \ |
14 | file://CVE-2021-41072-requisite-1.patch;striplevel=2 \ | ||
15 | file://CVE-2021-41072-requisite-2.patch;striplevel=2 \ | ||
16 | file://CVE-2021-41072-requisite-3.patch;striplevel=2 \ | ||
17 | file://CVE-2021-41072.patch;striplevel=2 \ | ||
18 | " | 14 | " |
19 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" |
20 | 16 | ||
21 | S = "${WORKDIR}/git/squashfs-tools" | 17 | S = "${WORKDIR}/git" |
22 | 18 | ||
23 | EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}" | 19 | EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS}" |
24 | 20 | ||
@@ -33,13 +29,15 @@ PACKAGECONFIG[zstd] = "ZSTD_SUPPORT=1,ZSTD_SUPPORT=0,zstd" | |||
33 | PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0," | 29 | PACKAGECONFIG[reproducible] = "REPRODUCIBLE_DEFAULT=1,REPRODUCIBLE_DEFAULT=0," |
34 | 30 | ||
35 | do_compile() { | 31 | do_compile() { |
32 | cd ${S}/squashfs-tools | ||
36 | oe_runmake all | 33 | oe_runmake all |
37 | } | 34 | } |
38 | 35 | ||
39 | do_install() { | 36 | do_install() { |
37 | cd ${S}/squashfs-tools | ||
40 | install -d "${D}${includedir}" | 38 | install -d "${D}${includedir}" |
41 | oe_runmake install INSTALL_DIR=${D}${sbindir} | 39 | oe_runmake install INSTALL_PREFIX=${D}${prefix} INSTALL_MANPAGES_DIR=${D}${datadir}/man/man1 |
42 | install -m 0644 "${S}"/squashfs_fs.h "${D}${includedir}" | 40 | install -m 0644 "${S}"/squashfs-tools/squashfs_fs.h "${D}${includedir}" |
43 | } | 41 | } |
44 | 42 | ||
45 | ARM_INSTRUCTION_SET:armv4 = "arm" | 43 | ARM_INSTRUCTION_SET:armv4 = "arm" |