diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-09-16 18:16:23 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-21 18:45:46 -0700 |
commit | 4622cc08bfd1f195c17b153cc5ff40e939850434 (patch) | |
tree | f8f8cd014c6bca52c70927aad11eb3e370a4e5a4 /meta/recipes-extended/libarchive/libarchive_3.3.3.bb | |
parent | 611e090acc76761fbb6c6629f350bacd34705e51 (diff) | |
download | poky-4622cc08bfd1f195c17b153cc5ff40e939850434.tar.gz |
libarchive: Update 3.3.2 -> 3.3.3
This upgrades to 3.3.3 release and drop the backported patches when
doing the recipe update.
(From OE-Core rev: 60d99a4e64fdddbbe5863fa5879c813fa004600b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive_3.3.3.bb')
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive_3.3.3.bb | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.3.3.bb b/meta/recipes-extended/libarchive/libarchive_3.3.3.bb new file mode 100644 index 0000000000..eabab16770 --- /dev/null +++ b/meta/recipes-extended/libarchive/libarchive_3.3.3.bb | |||
@@ -0,0 +1,68 @@ | |||
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" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ed99aca006bc346974bb745a35336425" | ||
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 | |||
32 | EXTRA_OECONF += "--enable-largefile" | ||
33 | |||
34 | SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \ | ||
35 | file://non-recursive-extract-and-list.patch \ | ||
36 | " | ||
37 | |||
38 | SRC_URI[md5sum] = "4038e366ca5b659dae3efcc744e72120" | ||
39 | SRC_URI[sha256sum] = "ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e" | ||
40 | |||
41 | inherit autotools update-alternatives pkgconfig | ||
42 | |||
43 | CPPFLAGS += "-I${WORKDIR}/extra-includes" | ||
44 | |||
45 | do_configure[cleandirs] += "${WORKDIR}/extra-includes" | ||
46 | do_configure_prepend() { | ||
47 | # We just need the headers for some type constants, so no need to | ||
48 | # build all of e2fsprogs for the target | ||
49 | cp -R ${STAGING_INCDIR_NATIVE}/ext2fs ${WORKDIR}/extra-includes/ | ||
50 | } | ||
51 | |||
52 | ALTERNATIVE_PRIORITY = "80" | ||
53 | |||
54 | PACKAGES =+ "bsdtar" | ||
55 | FILES_bsdtar = "${bindir}/bsdtar" | ||
56 | |||
57 | ALTERNATIVE_bsdtar = "tar" | ||
58 | ALTERNATIVE_LINK_NAME[tar] = "${base_bindir}/tar" | ||
59 | ALTERNATIVE_TARGET[tar] = "${bindir}/bsdtar" | ||
60 | |||
61 | PACKAGES =+ "bsdcpio" | ||
62 | FILES_bsdcpio = "${bindir}/bsdcpio" | ||
63 | |||
64 | ALTERNATIVE_bsdcpio = "cpio" | ||
65 | ALTERNATIVE_LINK_NAME[cpio] = "${base_bindir}/cpio" | ||
66 | ALTERNATIVE_TARGET[cpio] = "${bindir}/bsdcpio" | ||
67 | |||
68 | BBCLASSEXTEND = "native nativesdk" | ||