summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libarchive
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-06-28 11:06:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-10 14:12:16 +0100
commitc04d4a0697e4703339a79ef3d18700f2e5520d3d (patch)
tree1367b2fb707d96a9829a9b4403f56b8d1d0022c3 /meta/recipes-extended/libarchive
parent4d8a81616d44d792ef563d352018893a11107147 (diff)
downloadpoky-c04d4a0697e4703339a79ef3d18700f2e5520d3d.tar.gz
libarchive: update to 3.2.1
Drop merged 0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch (From OE-Core rev: 4d65a93d3e705cfb9b4cfe102e9d0cabaffe7a52) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> 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')
-rw-r--r--meta/recipes-extended/libarchive/libarchive/0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch66
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.2.1.bb (renamed from meta/recipes-extended/libarchive/libarchive_3.2.0.bb)5
2 files changed, 2 insertions, 69 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive/0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch b/meta/recipes-extended/libarchive/libarchive/0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch
deleted file mode 100644
index 4b41d62a99..0000000000
--- a/meta/recipes-extended/libarchive/libarchive/0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch
+++ /dev/null
@@ -1,66 +0,0 @@
1From b30c530aaf5068a652a479f3e46c74eb1716861a Mon Sep 17 00:00:00 2001
2From: "Maxin B. John" <maxin.john@intel.com>
3Date: Thu, 2 Jun 2016 16:08:02 +0300
4Subject: [PATCH] configure.ac: check acl/libacl.h and sys/acl.h based on
5 requirement
6
7acl/libacl.h and sys/acl.h check should not happen when we explicitly
8disable it with --disable-acl.
9
10Similarly, update attr/xattr.h for --disable-xattr option.
11
12Update the help texts to reflect what it really does.
13
14Upstream-Status: Accepted
15
16Signed-off-by: Maxin B. John <maxin.john@intel.com>
17---
18 configure.ac | 9 +++++----
19 1 file changed, 5 insertions(+), 4 deletions(-)
20
21diff --git a/configure.ac b/configure.ac
22index cb6943f..0638182 100644
23--- a/configure.ac
24+++ b/configure.ac
25@@ -252,7 +252,7 @@ esac
26 # Checks for header files.
27 AC_HEADER_DIRENT
28 AC_HEADER_SYS_WAIT
29-AC_CHECK_HEADERS([acl/libacl.h attr/xattr.h copyfile.h ctype.h])
30+AC_CHECK_HEADERS([copyfile.h ctype.h])
31 AC_CHECK_HEADERS([errno.h ext2fs/ext2_fs.h fcntl.h grp.h])
32
33 AC_CACHE_CHECK([whether EXT2_IOC_GETFLAGS is usable],
34@@ -272,7 +272,7 @@ AC_CHECK_HEADERS([linux/fiemap.h linux/fs.h linux/magic.h linux/types.h])
35 AC_CHECK_HEADERS([locale.h paths.h poll.h pthread.h pwd.h])
36 AC_CHECK_HEADERS([readpassphrase.h signal.h spawn.h])
37 AC_CHECK_HEADERS([stdarg.h stdint.h stdlib.h string.h])
38-AC_CHECK_HEADERS([sys/acl.h sys/cdefs.h sys/extattr.h])
39+AC_CHECK_HEADERS([sys/cdefs.h sys/extattr.h])
40 AC_CHECK_HEADERS([sys/ioctl.h sys/mkdev.h sys/mount.h])
41 AC_CHECK_HEADERS([sys/param.h sys/poll.h sys/select.h sys/statfs.h sys/statvfs.h])
42 AC_CHECK_HEADERS([sys/time.h sys/utime.h sys/utsname.h sys/vfs.h])
43@@ -644,7 +644,7 @@ AC_CHECK_MEMBER(struct dirent.d_namlen,,,
44 # Check for Extended Attributes support
45 AC_ARG_ENABLE([xattr],
46 AS_HELP_STRING([--disable-xattr],
47- [Enable Extended Attributes support (default: check)]))
48+ [Disable Extended Attributes support (default: check)]))
49
50 if test "x$enable_xattr" != "xno"; then
51 AC_CHECK_HEADERS([attr/xattr.h])
52@@ -670,9 +670,10 @@ fi
53 #
54 AC_ARG_ENABLE([acl],
55 AS_HELP_STRING([--disable-acl],
56- [Enable ACL support (default: check)]))
57+ [Disable ACL support (default: check)]))
58
59 if test "x$enable_acl" != "xno"; then
60+ AC_CHECK_HEADERS([acl/libacl.h])
61 AC_CHECK_HEADERS([sys/acl.h])
62 AC_CHECK_LIB([acl],[acl_get_file])
63 AC_CHECK_FUNCS([acl_create_entry acl_init acl_set_fd acl_set_fd_np acl_set_file])
64--
652.4.0
66
diff --git a/meta/recipes-extended/libarchive/libarchive_3.2.0.bb b/meta/recipes-extended/libarchive/libarchive_3.2.1.bb
index f183b74e29..b65b5df01c 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.2.0.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.2.1.bb
@@ -32,11 +32,10 @@ PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle,"
32PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," 32PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
33 33
34SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \ 34SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \
35 file://0001-configure.ac-check-acl-libacl.h-and-sys-acl.h-based-.patch \
36 " 35 "
37 36
38SRC_URI[md5sum] = "596210b5a9c2ff74a0f7ca34838d655f" 37SRC_URI[md5sum] = "afa257047d1941a565216edbf0171e72"
39SRC_URI[sha256sum] = "7bce45fd71ff01dc20d19edd78322d4965583d81b8bed8e26cacb65d6f5baa87" 38SRC_URI[sha256sum] = "72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2"
40 39
41inherit autotools update-alternatives pkgconfig 40inherit autotools update-alternatives pkgconfig
42 41