diff options
| author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-06-01 18:40:25 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-09 13:13:59 +0100 |
| commit | 0a8251ccf62b83d0ad2762e5cc24d8dc91a7cccc (patch) | |
| tree | 0bf8968f480d9535b90acdda1b6a2b90617c753a /meta/recipes-extended/libarchive/libarchive_3.4.3.bb | |
| parent | 4fde8c8f479f5acd24fb6e0d0b9b4dc94d6f560b (diff) | |
| download | poky-0a8251ccf62b83d0ad2762e5cc24d8dc91a7cccc.tar.gz | |
libarchive: upgrade 3.4.2 -> 3.4.3
See full changelog https://github.com/libarchive/libarchive/releases/tag/v3.4.3
(From OE-Core rev: 9fe7cda75d5e3ba2c1c99ae49ea15b9b486a92e6)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive_3.4.3.bb')
| -rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.4.3.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.4.3.bb b/meta/recipes-extended/libarchive/libarchive_3.4.3.bb new file mode 100644 index 0000000000..dbfc067b93 --- /dev/null +++ b/meta/recipes-extended/libarchive/libarchive_3.4.3.bb | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | SUMMARY = "Support for reading various archive formats" | ||
| 2 | DESCRIPTION = "C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats" | ||
| 3 | HOMEPAGE = "http://www.libarchive.org/" | ||
| 4 | SECTION = "devel" | ||
| 5 | LICENSE = "BSD-2-Clause" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=fe01f5e02b1f0cc934d593a7b0ddceb6" | ||
| 7 | |||
| 8 | DEPENDS = "e2fsprogs-native" | ||
| 9 | |||
| 10 | PACKAGECONFIG ?= "zlib bz2 xz lzo" | ||
| 11 | |||
| 12 | PACKAGECONFIG_append_class-target = "\ | ||
| 13 | libxml2 \ | ||
| 14 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \ | ||
| 15 | " | ||
| 16 | |||
| 17 | DEPENDS_BZIP2 = "bzip2-replacement-native" | ||
| 18 | DEPENDS_BZIP2_class-target = "bzip2" | ||
| 19 | |||
| 20 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," | ||
| 21 | PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr," | ||
| 22 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib," | ||
| 23 | PACKAGECONFIG[bz2] = "--with-bz2lib,--without-bz2lib,${DEPENDS_BZIP2}," | ||
| 24 | PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz," | ||
| 25 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," | ||
| 26 | PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2," | ||
| 27 | PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat," | ||
| 28 | PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo," | ||
| 29 | PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle," | ||
| 30 | PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," | ||
| 31 | PACKAGECONFIG[mbedtls] = "--with-mbedtls,--without-mbedtls,mbedtls," | ||
| 32 | |||
| 33 | EXTRA_OECONF += "--enable-largefile" | ||
| 34 | |||
| 35 | SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz" | ||
| 36 | |||
| 37 | SRC_URI[sha256sum] = "ee1e749213c108cb60d53147f18c31a73d6717d7e3d2481c157e1b34c881ea39" | ||
| 38 | |||
| 39 | inherit autotools update-alternatives pkgconfig | ||
| 40 | |||
| 41 | CPPFLAGS += "-I${WORKDIR}/extra-includes" | ||
| 42 | |||
| 43 | do_configure[cleandirs] += "${WORKDIR}/extra-includes" | ||
| 44 | do_configure_prepend() { | ||
| 45 | # We just need the headers for some type constants, so no need to | ||
| 46 | # build all of e2fsprogs for the target | ||
| 47 | cp -R ${STAGING_INCDIR_NATIVE}/ext2fs ${WORKDIR}/extra-includes/ | ||
| 48 | } | ||
| 49 | |||
| 50 | ALTERNATIVE_PRIORITY = "80" | ||
| 51 | |||
| 52 | PACKAGES =+ "bsdtar" | ||
| 53 | FILES_bsdtar = "${bindir}/bsdtar" | ||
| 54 | |||
| 55 | ALTERNATIVE_bsdtar = "tar" | ||
| 56 | ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar" | ||
| 57 | ALTERNATIVE_TARGET[tar] = "${bindir}/bsdtar" | ||
| 58 | |||
| 59 | PACKAGES =+ "bsdcpio" | ||
| 60 | FILES_bsdcpio = "${bindir}/bsdcpio" | ||
| 61 | |||
| 62 | ALTERNATIVE_bsdcpio = "cpio" | ||
| 63 | ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" | ||
| 64 | ALTERNATIVE_TARGET[cpio] = "${bindir}/bsdcpio" | ||
| 65 | |||
| 66 | BBCLASSEXTEND = "native nativesdk" | ||
