summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libarchive/libarchive_3.6.1.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-12-28 08:37:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-28 23:59:56 +0000
commitc4e7162d81c71ee033b370dfba1c1437a66cfe59 (patch)
tree7858a669273f5e1836396895d1f3f44dd6590e74 /meta/recipes-extended/libarchive/libarchive_3.6.1.bb
parent153ec41cdccb049416cabb358e047a088e27584a (diff)
downloadpoky-c4e7162d81c71ee033b370dfba1c1437a66cfe59.tar.gz
libarchive: upgrade 3.6.1 -> 3.6.2
Use --without-iconv as otherwise autotools write a bogus iconv dependency into .pc file. (From OE-Core rev: edce1bce81fe2f47fb2c5e2b94ebda73f95cbaea) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive_3.6.1.bb')
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.6.1.bb70
1 files changed, 0 insertions, 70 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.6.1.bb b/meta/recipes-extended/libarchive/libarchive_3.6.1.bb
deleted file mode 100644
index c812038352..0000000000
--- a/meta/recipes-extended/libarchive/libarchive_3.6.1.bb
+++ /dev/null
@@ -1,70 +0,0 @@
1SUMMARY = "Support for reading various archive formats"
2DESCRIPTION = "C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats"
3HOMEPAGE = "http://www.libarchive.org/"
4SECTION = "devel"
5LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d499814247adaee08d88080841cb5665"
7
8DEPENDS = "e2fsprogs-native"
9
10PACKAGECONFIG ?= "zlib bz2 xz zstd"
11
12PACKAGECONFIG:append:class-target = "\
13 ${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \
14"
15
16DEPENDS_BZIP2 = "bzip2-replacement-native"
17DEPENDS_BZIP2:class-target = "bzip2"
18
19PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
20PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
21PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib,"
22PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2},"
23PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz,"
24PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
25PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2,"
26PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat,"
27PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo,"
28PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle,"
29PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
30PACKAGECONFIG[mbedtls] = "--with-mbedtls,--without-mbedtls,mbedtls,"
31PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd,"
32
33EXTRA_OECONF += "--enable-largefile"
34
35SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \
36 file://0001-libarchive-Do-not-include-sys-mount.h-when-linux-fs..patch \
37 file://cve-2022-36227.patch \
38 "
39UPSTREAM_CHECK_URI = "http://libarchive.org/"
40
41SRC_URI[sha256sum] = "c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2"
42
43inherit autotools update-alternatives pkgconfig
44
45CPPFLAGS += "-I${WORKDIR}/extra-includes"
46
47do_configure[cleandirs] += "${WORKDIR}/extra-includes"
48do_configure:prepend() {
49 # We just need the headers for some type constants, so no need to
50 # build all of e2fsprogs for the target
51 cp -R ${STAGING_INCDIR_NATIVE}/ext2fs ${WORKDIR}/extra-includes/
52}
53
54ALTERNATIVE_PRIORITY = "80"
55
56PACKAGES =+ "bsdtar"
57FILES:bsdtar = "${bindir}/bsdtar"
58
59ALTERNATIVE:bsdtar = "tar"
60ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar"
61ALTERNATIVE_TARGET[tar] = "${bindir}/bsdtar"
62
63PACKAGES =+ "bsdcpio"
64FILES:bsdcpio = "${bindir}/bsdcpio"
65
66ALTERNATIVE:bsdcpio = "cpio"
67ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio"
68ALTERNATIVE_TARGET[cpio] = "${bindir}/bsdcpio"
69
70BBCLASSEXTEND = "native nativesdk"