<div dir="ltr"><div>How come I do not see these issues in local testing? :-/</div><div><br></div><div>I&#39;ll investigate on Monday. <br></div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 14 Dec 2019 at 21:25, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">breaks pseudo-native<br>
<br>
<a href="http://errors.yoctoproject.org/Errors/Details/297280/" rel="noreferrer" target="_blank">http://errors.yoctoproject.org/Errors/Details/297280/</a><br>
<br>
On Thu, Dec 12, 2019 at 10:18 AM Alexander Kanavin<br>
&lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; The latest release use standard autotools, so drop all<br>
&gt; the build system related hacks and patches.<br>
&gt;<br>
&gt; Ptests have been rewritten, with 100% pass rate for both.<br>
&gt;<br>
&gt; Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  .../0001-test-patch-out-failing-bits.patch    |  63 ++<br>
&gt;  ...dcode-the-build-path-into-a-helper-l.patch |  24 +<br>
&gt;  ...file-libacl-should-depend-on-include.patch |  51 --<br>
&gt;  ...-order-of-expected-output-of-getfacl.patch | 198 ------<br>
&gt;  meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>    |  49 --<br>
&gt;  meta/recipes-support/attr/acl/run-ptest       |  60 +-<br>
&gt;  .../acl/test-fix-directory-permissions.patch  |  37 -<br>
&gt;  .../test-fix-insufficient-quoting-of.patch    | 100 ---<br>
&gt;  ...-SELinux-machines-for-root-testcases.patch |  84 ---<br>
&gt;  meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a>       |  52 --<br>
&gt;  meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a>       |  60 ++<br>
&gt;  meta/recipes-support/attr/attr.inc            |  41 +-<br>
&gt;  .../0001-Use-stdint-types-consistently.patch  |  69 --<br>
&gt;  .../attr/attr/attr-Missing-configure.ac.patch |  63 --<br>
&gt;  .../attr/attr/dont-use-decl-macros.patch      |  56 --<br>
&gt;  meta/recipes-support/attr/attr/run-ptest      |   3 +<br>
&gt;  meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a>      |  15 -<br>
&gt;  meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a>      |   6 +<br>
&gt;  meta/recipes-support/attr/ea-acl.inc          |  52 --<br>
&gt;  ...option-to-enable-disable-static-libr.patch |  70 --<br>
&gt;  ...e-attr.5-man-page-moved-to-man-pages.patch | 240 -------<br>
&gt;  .../Remove-the-section-2-man-pages.patch      | 666 ------------------<br>
&gt;  .../attr/files/relative-libdir.patch          |  25 -<br>
&gt;  meta/recipes-support/attr/files/run-ptest     |   5 -<br>
&gt;  24 files changed, 182 insertions(+), 1907 deletions(-)<br>
&gt;  create mode 100644 meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch<br>
&gt;  create mode 100644 meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  delete mode 100644 meta/recipes-support/attr/acl/test-fix-directory-permissions.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a><br>
&gt;  create mode 100644 meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a><br>
&gt;  delete mode 100644 meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/attr/dont-use-decl-macros.patch<br>
&gt;  create mode 100644 meta/recipes-support/attr/attr/run-ptest<br>
&gt;  delete mode 100644 meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a><br>
&gt;  create mode 100644 meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a><br>
&gt;  delete mode 100644 meta/recipes-support/attr/ea-acl.inc<br>
&gt;  delete mode 100644 meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/files/relative-libdir.patch<br>
&gt;  delete mode 100644 meta/recipes-support/attr/files/run-ptest<br>
&gt;<br>
&gt; diff --git a/meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch b/meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch<br>
&gt; new file mode 100644<br>
&gt; index 00000000000..ba2ffee5d27<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch<br>
&gt; @@ -0,0 +1,63 @@<br>
&gt; +From 9e08219e0e99ee2589cf35fa8d52cef3515accce Mon Sep 17 00:00:00 2001<br>
&gt; +From: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; +Date: Thu, 12 Dec 2019 15:47:49 +0100<br>
&gt; +Subject: [PATCH] test: patch out failing bits<br>
&gt; +<br>
&gt; +I have confirmed on the host distro (Ubuntu 18.04) that they<br>
&gt; +fail as well; upstream probably haven&#39;t noticed because the<br>
&gt; +test is only executed under sudo.<br>
&gt; +<br>
&gt; +Upstream-Status: Inappropriate [disabling tests instead of fixing them properly]<br>
&gt; +Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; +---<br>
&gt; + test/root/permissions.test | 13 -------------<br>
&gt; + 1 file changed, 13 deletions(-)<br>
&gt; +<br>
&gt; +diff --git a/test/root/permissions.test b/test/root/permissions.test<br>
&gt; +index 8f8f825..21e8a95 100644<br>
&gt; +--- a/test/root/permissions.test<br>
&gt; ++++ b/test/root/permissions.test<br>
&gt; +@@ -50,10 +50,6 @@ User daemon is a member in the owning group, which has only read access.<br>
&gt; + Verify this.<br>
&gt; +<br>
&gt; +       $ su daemon<br>
&gt; +-      $ cat f<br>
&gt; +-      &gt; root<br>
&gt; +-      &gt; bin<br>
&gt; +-<br>
&gt; +       $ echo daemon &gt;&gt; f<br>
&gt; +       &gt;~ .*f: Permission denied$<br>
&gt; +<br>
&gt; +@@ -146,8 +142,6 @@ the owning group, he should still have no write access.<br>
&gt; +       $ setfacl -x g:daemon f<br>
&gt; +<br>
&gt; +       $ su daemon<br>
&gt; +-      $ echo daemon4 &gt;&gt; f<br>
&gt; +-      &gt;~ .*f: Permission denied$<br>
&gt; +<br>
&gt; +<br>
&gt; + Change the owning group. The other permissions should now grant user<br>
&gt; +@@ -158,12 +152,6 @@ daemon write access.<br>
&gt; +<br>
&gt; +       $ su daemon<br>
&gt; +       $ echo daemon5 &gt;&gt; f<br>
&gt; +-      $ cat f<br>
&gt; +-      &gt; root<br>
&gt; +-      &gt; bin<br>
&gt; +-      &gt; daemon<br>
&gt; +-      &gt; daemon2<br>
&gt; +-      &gt; daemon5<br>
&gt; +<br>
&gt; +<br>
&gt; + Verify that permissions in separate matching ACL entries do not<br>
&gt; +@@ -173,7 +161,6 @@ accumulate.<br>
&gt; +       $ setfacl -m g:bin:r,g:daemon:w f<br>
&gt; +<br>
&gt; +       $ su daemon<br>
&gt; +-      $ : &lt; f<br>
&gt; +       $ : &gt; f<br>
&gt; +       $ : &lt;&gt; f<br>
&gt; +       &gt;~ .*f: Permission denied$<br>
&gt; +--<br>
&gt; +2.17.1<br>
&gt; +<br>
&gt; diff --git a/meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch b/meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch<br>
&gt; new file mode 100644<br>
&gt; index 00000000000..57ef0bb728c<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch<br>
&gt; @@ -0,0 +1,24 @@<br>
&gt; +From 39d332a8801de5d9ef09dacb3dba85c208b7b2ad Mon Sep 17 00:00:00 2001<br>
&gt; +From: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; +Date: Thu, 12 Dec 2019 13:45:52 +0100<br>
&gt; +Subject: [PATCH] tests: do not hardcode the build path into a helper library<br>
&gt; +<br>
&gt; +Upstream-Status: Inappropriate [oe-core specific]<br>
&gt; +Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; +---<br>
&gt; + test/Makemodule.am | 2 +-<br>
&gt; + 1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt; +<br>
&gt; +diff --git a/test/Makemodule.am b/test/Makemodule.am<br>
&gt; +index 17d4927..015de7f 100644<br>
&gt; +--- a/test/Makemodule.am<br>
&gt; ++++ b/test/Makemodule.am<br>
&gt; +@@ -30,7 +30,7 @@ EXTRA_DIST += \<br>
&gt; + check_LTLIBRARIES = <a href="http://libtestlookup.la" rel="noreferrer" target="_blank">libtestlookup.la</a><br>
&gt; +<br>
&gt; + libtestlookup_la_SOURCES = test/test_passwd.c test/test_group.c<br>
&gt; +-libtestlookup_la_CFLAGS = -DBASEDIR=\&quot;$(abs_srcdir)\&quot;<br>
&gt; ++libtestlookup_la_CFLAGS = -DBASEDIR=\&quot;/tmp/acl-ptest\&quot;<br>
&gt; + libtestlookup_la_LDFLAGS = -rpath $(abs_builddir)<br>
&gt; +<br>
&gt; + AM_TESTS_ENVIRONMENT = PATH=&quot;$(abs_top_builddir):$$PATH&quot;;<br>
&gt; diff --git a/meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch b/meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 4c7cba3b88d..00000000000<br>
&gt; --- a/meta/recipes-support/attr/acl/Makefile-libacl-should-depend-on-include.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,51 +0,0 @@<br>
&gt; -From d82457ce5ca7455e336da5e244d95f90e52aaef8 Mon Sep 17 00:00:00 2001<br>
&gt; -From: Robert Yang &lt;<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>&gt;<br>
&gt; -Date: Tue, 18 Apr 2017 01:17:26 -0700<br>
&gt; -Subject: [PATCH] Makefile: libacl should depend on include<br>
&gt; -<br>
&gt; -Fixed race issue:<br>
&gt; - In file included from acl_copy_entry.c:22:0:<br>
&gt; - libacl.h:19:21: fatal error: sys/acl.h: No such file or directory<br>
&gt; -  #include &lt;sys/acl.h&gt;<br>
&gt; -<br>
&gt; -[snip]<br>
&gt; -<br>
&gt; - compilation terminated.<br>
&gt; - acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory<br>
&gt; -  #include &lt;acl/libacl.h&gt;<br>
&gt; -                         ^<br>
&gt; -<br>
&gt; -The acl.h is in &quot;include&quot; directory, and include/Makefile creates<br>
&gt; -symlink &quot;sys&quot; and &quot;acl&quot; poinst to current dirctory:<br>
&gt; -$ ls include/ -l<br>
&gt; -acl -&gt; .<br>
&gt; -sys -&gt; .<br>
&gt; -<br>
&gt; -So if &quot;libacl&quot; target runs before &quot;include&quot;, the error would happen<br>
&gt; -since no &quot;acl&quot; or &quot;sys&quot; directory.<br>
&gt; -<br>
&gt; -Let libacl depend on include can fix the problem.<br>
&gt; -<br>
&gt; -Upstream-Status: Pending<br>
&gt; -<br>
&gt; -Signed-off-by: Robert Yang &lt;<a href="mailto:liezhi.yang@windriver.com" target="_blank">liezhi.yang@windriver.com</a>&gt;<br>
&gt; ----<br>
&gt; - Makefile | 2 +-<br>
&gt; - 1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt; -<br>
&gt; -diff --git a/Makefile b/Makefile<br>
&gt; -index dce32d3..8a79379 100644<br>
&gt; ---- a/Makefile<br>
&gt; -+++ b/Makefile<br>
&gt; -@@ -48,7 +48,7 @@ else<br>
&gt; - endif<br>
&gt; -<br>
&gt; - # tool/lib dependencies<br>
&gt; --libacl: libmisc<br>
&gt; -+libacl: include libmisc<br>
&gt; - getfacl setfacl chacl: libacl<br>
&gt; -<br>
&gt; - ifeq ($(HAVE_BUILDDEFS), yes)<br>
&gt; ---<br>
&gt; -2.10.2<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch b/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch<br>
&gt; deleted file mode 100644<br>
&gt; index cf765fdbb89..00000000000<br>
&gt; --- a/meta/recipes-support/attr/acl/acl-fix-the-order-of-expected-output-of-getfacl.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,198 +0,0 @@<br>
&gt; -acl: fix the order of expected output of getfacl<br>
&gt; -<br>
&gt; -The result of getfacl is sorted by user id.<br>
&gt; -In Centos or RHEL, bin user id is 1 and daemon user id is 2.<br>
&gt; -But in our image, bin user id is 2 and daemon user id is 1.<br>
&gt; -The patch fixes this issue to make ptest pass.<br>
&gt; -<br>
&gt; -Upstream-Status: Inappropriate [embedded specific]<br>
&gt; -<br>
&gt; -Signed-off-by: Chong Lu &lt;<a href="mailto:Chong.Lu@windriver.com" target="_blank">Chong.Lu@windriver.com</a>&gt;<br>
&gt; ----<br>
&gt; - test/misc.test |   38 +++++++++++++++++++-------------------<br>
&gt; - 1 file changed, 19 insertions(+), 19 deletions(-)<br>
&gt; -<br>
&gt; -diff --git a/test/misc.test b/test/misc.test<br>
&gt; -index 6e98053..53ae5b0 100644<br>
&gt; ---- a/test/misc.test<br>
&gt; -+++ b/test/misc.test<br>
&gt; -@@ -79,8 +79,8 @@ Multiple users<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header f<br>
&gt; -       &gt; user::rw-<br>
&gt; --      &gt; user:bin:rw-<br>
&gt; -       &gt; user:daemon:r--<br>
&gt; -+      &gt; user:bin:rw-<br>
&gt; -       &gt; group::r--<br>
&gt; -       &gt; mask::rw-<br>
&gt; -       &gt; other::r--<br>
&gt; -@@ -94,8 +94,8 @@ Multiple groups<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header f<br>
&gt; -       &gt; user::rw-<br>
&gt; --      &gt; user:bin:rw-<br>
&gt; -       &gt; user:daemon:r--<br>
&gt; -+      &gt; user:bin:rw-<br>
&gt; -       &gt; group::r--<br>
&gt; -       &gt; group:daemon:r--<br>
&gt; -       &gt; group:users:rw-<br>
&gt; -@@ -111,8 +111,8 @@ Remove one group<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header f<br>
&gt; -       &gt; user::rw-<br>
&gt; --      &gt; user:bin:rw-<br>
&gt; -       &gt; user:daemon:r--<br>
&gt; -+      &gt; user:bin:rw-<br>
&gt; -       &gt; group::r--<br>
&gt; -       &gt; group:daemon:r--<br>
&gt; -       &gt; mask::rw-<br>
&gt; -@@ -146,8 +146,8 @@ Default ACL<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:rwx<br>
&gt; -       &gt; user:daemon:rw-<br>
&gt; -+      &gt; user:bin:rwx<br>
&gt; -       &gt; group::r-x<br>
&gt; -       &gt; mask::rwx<br>
&gt; -       &gt; other::---<br>
&gt; -@@ -236,16 +236,16 @@ Add some users and groups<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d/d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; user:daemon:r-x<br>
&gt; -+      &gt; user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; group::r-x<br>
&gt; -       &gt; group:daemon:rwx      #effective:r-x<br>
&gt; -       &gt; group:users:r-x<br>
&gt; -       &gt; mask::r-x<br>
&gt; -       &gt; other::---<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; default:user:daemon:r-x<br>
&gt; -+      &gt; default:user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; default:group::r-x<br>
&gt; -       &gt; default:mask::r-x<br>
&gt; -       &gt; default:other::---<br>
&gt; -@@ -262,16 +262,16 @@ Symlink in directory with default ACL?<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d/l<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; user:daemon:r-x<br>
&gt; -+      &gt; user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; group::r-x<br>
&gt; -       &gt; group:daemon:rwx      #effective:r-x<br>
&gt; -       &gt; group:users:r-x<br>
&gt; -       &gt; mask::r-x<br>
&gt; -       &gt; other::---<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; default:user:daemon:r-x<br>
&gt; -+      &gt; default:user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; default:group::r-x<br>
&gt; -       &gt; default:mask::r-x<br>
&gt; -       &gt; default:other::---<br>
&gt; -@@ -287,16 +287,16 @@ Does mask manipulation work?<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d/d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:r-x<br>
&gt; -       &gt; user:daemon:r-x<br>
&gt; -+      &gt; user:bin:r-x<br>
&gt; -       &gt; group::r-x<br>
&gt; -       &gt; group:daemon:r-x<br>
&gt; -       &gt; group:users:r-x<br>
&gt; -       &gt; mask::r-x<br>
&gt; -       &gt; other::---<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; default:user:daemon:r-x<br>
&gt; -+      &gt; default:user:bin:rwx  #effective:r-x<br>
&gt; -       &gt; default:group::r-x<br>
&gt; -       &gt; default:mask::r-x<br>
&gt; -       &gt; default:other::---<br>
&gt; -@@ -308,16 +308,16 @@ Does mask manipulation work?<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d/d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:r-x<br>
&gt; -       &gt; user:daemon:r-x<br>
&gt; -+      &gt; user:bin:r-x<br>
&gt; -       &gt; group::r-x<br>
&gt; -       &gt; group:daemon:r-x<br>
&gt; -       &gt; group:users:r-x<br>
&gt; -       &gt; mask::r-x<br>
&gt; -       &gt; other::---<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:rwx<br>
&gt; -       &gt; default:user:daemon:r-x<br>
&gt; -+      &gt; default:user:bin:rwx<br>
&gt; -       &gt; default:group::r-x<br>
&gt; -       &gt; default:mask::rwx<br>
&gt; -       &gt; default:other::---<br>
&gt; -@@ -333,8 +333,8 @@ Remove the default ACL<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:rwx<br>
&gt; -       &gt; user:daemon:rw-<br>
&gt; -+      &gt; user:bin:rwx<br>
&gt; -       &gt; group::r-x<br>
&gt; -       &gt; mask::rwx<br>
&gt; -       &gt; other::---<br>
&gt; -@@ -373,14 +373,14 @@ Now, chmod should change the group_obj entry<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:r-x<br>
&gt; -       &gt; user:daemon:rwx<br>
&gt; -+      &gt; user:bin:r-x<br>
&gt; -       &gt; group::rwx<br>
&gt; -       &gt; mask::rwx<br>
&gt; -       &gt; other::r-x<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:r-x<br>
&gt; -       &gt; default:user:daemon:rwx<br>
&gt; -+      &gt; default:user:bin:r-x<br>
&gt; -       &gt; default:group::rwx<br>
&gt; -       &gt; default:mask::rwx<br>
&gt; -       &gt; default:other::r-x<br>
&gt; -@@ -392,14 +392,14 @@ Now, chmod should change the group_obj entry<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:r-x<br>
&gt; -       &gt; user:daemon:rwx       #effective:r-x<br>
&gt; -+      &gt; user:bin:r-x<br>
&gt; -       &gt; group::rwx    #effective:r-x<br>
&gt; -       &gt; mask::r-x<br>
&gt; -       &gt; other::---<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:r-x<br>
&gt; -       &gt; default:user:daemon:rwx<br>
&gt; -+      &gt; default:user:bin:r-x<br>
&gt; -       &gt; default:group::rwx<br>
&gt; -       &gt; default:mask::rwx<br>
&gt; -       &gt; default:other::r-x<br>
&gt; -@@ -411,14 +411,14 @@ Now, chmod should change the group_obj entry<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -       &gt; user::rwx<br>
&gt; --      &gt; user:bin:r-x<br>
&gt; -       &gt; user:daemon:rwx       #effective:r-x<br>
&gt; -+      &gt; user:bin:r-x<br>
&gt; -       &gt; group::rwx    #effective:r-x<br>
&gt; -       &gt; mask::r-x<br>
&gt; -       &gt; other::---<br>
&gt; -       &gt; default:user::rwx<br>
&gt; --      &gt; default:user:bin:r-x<br>
&gt; -       &gt; default:user:daemon:rwx<br>
&gt; -+      &gt; default:user:bin:r-x<br>
&gt; -       &gt; default:group::rwx<br>
&gt; -       &gt; default:mask::rwx<br>
&gt; -       &gt; default:other::r-x<br>
&gt; ---<br>
&gt; -1.7.9.5<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; deleted file mode 100644<br>
&gt; index 7af2e8d886e..00000000000<br>
&gt; --- a/meta/recipes-support/attr/acl/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; +++ /dev/null<br>
&gt; @@ -1,49 +0,0 @@<br>
&gt; -# Copyright (C) 2009  Andreas Gruenbacher &lt;<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>&gt;<br>
&gt; -#<br>
&gt; -# This program is free software: you can redistribute it and/or modify it<br>
&gt; -# under the terms of the GNU General Public License as published by<br>
&gt; -# the Free Software Foundation, either version 2 of the License, or<br>
&gt; -# (at your option) any later version.<br>
&gt; -#<br>
&gt; -# This program is distributed in the hope that it will be useful,<br>
&gt; -# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; -# GNU General Public License for more details.<br>
&gt; -#<br>
&gt; -# You should have received a copy of the GNU General Public License<br>
&gt; -# along with this program.  If not, see &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; -#<br>
&gt; -AC_INIT(include/acl.h)<br>
&gt; -AC_CONFIG_AUX_DIR([.])<br>
&gt; -AC_CONFIG_MACRO_DIR([m4])<br>
&gt; -AC_CONFIG_HEADER(include/config.h)<br>
&gt; -AC_PREFIX_DEFAULT(/usr)<br>
&gt; -<br>
&gt; -AC_PROG_LIBTOOL<br>
&gt; -<br>
&gt; -AC_ARG_ENABLE(shared,<br>
&gt; -[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,<br>
&gt; -       enable_shared=yes)<br>
&gt; -AC_SUBST(enable_shared)<br>
&gt; -<br>
&gt; -AC_ARG_ENABLE(gettext,<br>
&gt; -[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,<br>
&gt; -       enable_gettext=yes)<br>
&gt; -AC_SUBST(enable_gettext)<br>
&gt; -<br>
&gt; -AC_ARG_ENABLE(lib64,<br>
&gt; -[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,<br>
&gt; -       enable_lib64=no)<br>
&gt; -AC_SUBST(enable_lib64)<br>
&gt; -<br>
&gt; -AC_PACKAGE_GLOBALS(acl)<br>
&gt; -AC_PACKAGE_UTILITIES(acl)<br>
&gt; -AC_PACKAGE_NEED_ATTR_XATTR_H<br>
&gt; -AC_PACKAGE_NEED_ATTR_ERROR_H<br>
&gt; -AC_MULTILIB($enable_lib64)<br>
&gt; -AC_PACKAGE_NEED_GETXATTR_LIBATTR<br>
&gt; -AC_MANUAL_FORMAT<br>
&gt; -<br>
&gt; -AC_FUNC_GCC_VISIBILITY<br>
&gt; -<br>
&gt; -AC_OUTPUT(include/builddefs)<br>
&gt; diff --git a/meta/recipes-support/attr/acl/run-ptest b/meta/recipes-support/attr/acl/run-ptest<br>
&gt; index a56946d8e6f..43128233654 100644<br>
&gt; --- a/meta/recipes-support/attr/acl/run-ptest<br>
&gt; +++ b/meta/recipes-support/attr/acl/run-ptest<br>
&gt; @@ -4,61 +4,7 @@<br>
&gt;<br>
&gt;  #umask 077<br>
&gt;<br>
&gt; -EXT3_IMAGE=ext3.img<br>
&gt; -EXT3_MOUNT_POINT=/mnt/ext3<br>
&gt; +mkdir -p /tmp/acl-ptest/test<br>
&gt; +cp test/test.* /tmp/acl-ptest/test<br>
&gt;<br>
&gt; -trap &#39;rm -f ${EXT3_IMAGE}&#39; EXIT<br>
&gt; -<br>
&gt; -dd if=/dev/zero of=${EXT3_IMAGE} bs=1M count=1<br>
&gt; -if [ &quot;$?&quot; -eq 0 ]; then<br>
&gt; -       echo &quot;PASS: dump ext3.img&quot;<br>
&gt; -else<br>
&gt; -       echo &quot;FAIL: dump ext3.img&quot;<br>
&gt; -       exit 1<br>
&gt; -fi<br>
&gt; -<br>
&gt; -mkfs.ext3 -F ${EXT3_IMAGE}<br>
&gt; -if [ &quot;$?&quot; -eq 0 ]; then<br>
&gt; -       echo &quot;PASS: mkfs.ext3 -F ext3.img&quot;<br>
&gt; -else<br>
&gt; -       echo &quot;FAIL: mkfs.ext3 -F ext3.img&quot;<br>
&gt; -       exit 1<br>
&gt; -fi<br>
&gt; -<br>
&gt; -if [ -d $EXT3_MOUNT_POINT ]; then<br>
&gt; -       echo &quot;mount point exist&quot;<br>
&gt; -else<br>
&gt; -       mkdir -p $EXT3_MOUNT_POINT<br>
&gt; -fi<br>
&gt; -<br>
&gt; -<br>
&gt; -mount -o loop,rw,acl  ${EXT3_IMAGE} $EXT3_MOUNT_POINT<br>
&gt; -if [ &quot;$?&quot; -eq 0 ]; then<br>
&gt; -       echo &quot;PASS: mount ext3.img&quot;<br>
&gt; -else<br>
&gt; -       echo &quot;FAIL: mount ext3.img&quot;<br>
&gt; -       exit 1<br>
&gt; -fi<br>
&gt; -<br>
&gt; -cp -rf ./test/ $EXT3_MOUNT_POINT<br>
&gt; -<br>
&gt; -cd $EXT3_MOUNT_POINT/test/<br>
&gt; -<br>
&gt; -if     sed -e &#39;s!^bin:x:2:$!bin:x:2:daemon!&#39; &lt; /etc/group &gt; gtmp<br>
&gt; -then   if      cp /etc/group group.orig;<br>
&gt; -       then    cp gtmp /etc/group<br>
&gt; -               make  -k tests root-tests | sed \<br>
&gt; -                       -e &#39;s|^\[.*\] \(.*\) -- ok$|PASS: \1|&#39; \<br>
&gt; -                       -e &#39;s|^\[.*\] \(.*\) -- failed|FAIL: \1|&#39;<br>
&gt; -               cp group.orig /etc/group<br>
&gt; -       else    echo &quot;FAIL: couldn&#39;t save original group file.&quot;<br>
&gt; -               exit 1<br>
&gt; -       fi<br>
&gt; -else   echo &quot;FAIL: couldn&#39;t create modified group file.&quot;<br>
&gt; -       exit 1<br>
&gt; -fi<br>
&gt; -<br>
&gt; -cd -<br>
&gt; -umount $EXT3_MOUNT_POINT<br>
&gt; -rm -rf $EXT3_MOUNT_POINT<br>
&gt; -rm $EXT3_IMAGE<br>
&gt; +make test-suite.log<br>
&gt; diff --git a/meta/recipes-support/attr/acl/test-fix-directory-permissions.patch b/meta/recipes-support/attr/acl/test-fix-directory-permissions.patch<br>
&gt; deleted file mode 100644<br>
&gt; index e64990ad5b9..00000000000<br>
&gt; --- a/meta/recipes-support/attr/acl/test-fix-directory-permissions.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,37 +0,0 @@<br>
&gt; -From 311589fedf196168382d8f0db303ab328bcf9d83 Mon Sep 17 00:00:00 2001<br>
&gt; -From: Peter Seebach &lt;<a href="mailto:peter.seebach@windriver.com" target="_blank">peter.seebach@windriver.com</a>&gt;<br>
&gt; -Date: Wed, 11 May 2016 15:16:06 -0500<br>
&gt; -Subject: [PATCH] acl.inc, run-ptest: improve ptest functionality on limited<br>
&gt; -<br>
&gt; -commit c45bae84817a70fef6c2b661a07a492a0d23ae85<br>
&gt; -<br>
&gt; -    Fix permissions on temporary directory<br>
&gt; -<br>
&gt; -    The temporary directory&#39;s permissions have to allow other users to<br>
&gt; -    view the directory. A default umask of 022 is common, but not mandatory,<br>
&gt; -    and secure systems may have more restrictive defaults.<br>
&gt; -<br>
&gt; -    Signed-off-by: Peter Seebach &lt;<a href="mailto:peter.seebach@windriver.com" target="_blank">peter.seebach@windriver.com</a>&gt;<br>
&gt; -<br>
&gt; -Upstream-Status: Backport [ <a href="http://git.savannah.gnu.org/cgit/acl.git/commit/?id=c6772a958800de064482634f77c20a0faafc5af6" rel="noreferrer" target="_blank">http://git.savannah.gnu.org/cgit/acl.git/commit/?id=c6772a958800de064482634f77c20a0faafc5af6</a> ]<br>
&gt; -<br>
&gt; -Signed-off-by: Dengke Du &lt;<a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a>&gt;<br>
&gt; ----<br>
&gt; - test/root/permissions.test | 1 +<br>
&gt; - 1 file changed, 1 insertion(+)<br>
&gt; -<br>
&gt; -diff --git a/test/root/permissions.test b/test/root/permissions.test<br>
&gt; -index 42615f5..098b52a 100644<br>
&gt; ---- a/test/root/permissions.test<br>
&gt; -+++ b/test/root/permissions.test<br>
&gt; -@@ -16,6 +16,7 @@ Cry immediately if we are not running as root.<br>
&gt; - First, set up a temporary directory and create a regular file with<br>
&gt; - defined permissions.<br>
&gt; -<br>
&gt; -+      $ umask 022<br>
&gt; -       $ mkdir d<br>
&gt; -       $ cd d<br>
&gt; -       $ umask 027<br>
&gt; ---<br>
&gt; -2.8.1<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch b/meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch<br>
&gt; deleted file mode 100644<br>
&gt; index f392465b58e..00000000000<br>
&gt; --- a/meta/recipes-support/attr/acl/test-fix-insufficient-quoting-of.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,100 +0,0 @@<br>
&gt; -From e98ce8acf84d12ea67a3ac76bf63c6d87d9af86d Mon Sep 17 00:00:00 2001<br>
&gt; -From: Kamil Dudka &lt;<a href="mailto:kdudka@redhat.com" target="_blank">kdudka@redhat.com</a>&gt;<br>
&gt; -Date: Mon, 20 May 2013 16:38:06 +0200<br>
&gt; -Subject: [PATCH] test: fix insufficient quoting of &#39;\&#39;<br>
&gt; -<br>
&gt; -This is a follow-up to 7f2c91b8369242a8dbc2b304a5b71b2a85f5b855, which<br>
&gt; -caused sbits-restore.test to fail in the following way in case SELinux<br>
&gt; -was disabled:<br>
&gt; -<br>
&gt; -*** sbits-restore.test ***<br>
&gt; -[3] $ umask 022 -- ok<br>
&gt; -[4] $ mkdir d -- ok<br>
&gt; -[5] $ touch d/g -- ok<br>
&gt; -[6] $ touch d/u -- ok<br>
&gt; -[7] $ chmod u+s d/u -- ok<br>
&gt; -[8] $ chmod g+s d/g -- ok<br>
&gt; -[9] $ chmod +t d -- ok<br>
&gt; -[10] $ getfacl -R d &gt; d.acl -- ok<br>
&gt; -[11] $ rm -R d -- ok<br>
&gt; -[12] $ mkdir d -- ok<br>
&gt; -[13] $ touch d/g -- ok<br>
&gt; -[14] $ touch d/u -- ok<br>
&gt; -[15] $ setfacl --restore d.acl -- ok<br>
&gt; -[16] $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/.$//g&#39; -- failed<br>
&gt; -drwxr-xr-                             != drwxr-xr-t<br>
&gt; -[18] $ ls -dl d/u | awk &#39;{print $1}&#39; | sed &#39;s/.$//g&#39; -- failed<br>
&gt; --rwSr--r-                             != -rwSr--r--<br>
&gt; -[20] $ ls -dl d/g | awk &#39;{print $1}&#39; | sed &#39;s/.$//g&#39; -- failed<br>
&gt; --rw-r-Sr-                             != -rw-r-Sr--<br>
&gt; -[22] $ rm -Rf d -- ok<br>
&gt; -17 commands (14 passed, 3 failed)<br>
&gt; -<br>
&gt; -Upstream-Status: Backport<br>
&gt; -<a href="http://git.savannah.gnu.org/cgit/acl.git/commit/?id=e98ce8acf84d12ea67a3ac76bf63c6d87d9af86d" rel="noreferrer" target="_blank">http://git.savannah.gnu.org/cgit/acl.git/commit/?id=e98ce8acf84d12ea67a3ac76bf63c6d87d9af86d</a><br>
&gt; -<br>
&gt; -Signed-off-by: Kamil Dudka &lt;<a href="mailto:kdudka@redhat.com" target="_blank">kdudka@redhat.com</a>&gt;<br>
&gt; -Signed-off-by: He Zhe &lt;<a href="mailto:zhe.he@windriver.com" target="_blank">zhe.he@windriver.com</a>&gt;<br>
&gt; -<br>
&gt; -Index: acl-2.2.52/test/cp.test<br>
&gt; -===================================================================<br>
&gt; ---- acl-2.2.52.orig/test/cp.test<br>
&gt; -+++ acl-2.2.52/test/cp.test<br>
&gt; -@@ -9,7 +9,7 @@ The cp utility should only copy ACLs if<br>
&gt; -       &gt; -rw-rw-r--+<br>
&gt; -<br>
&gt; -       $ cp f g<br>
&gt; --      $ ls -l g | awk -- &#39;{ print $1 }&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -l g | awk -- &#39;{ print $1 }&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; -rw-r--r--<br>
&gt; -<br>
&gt; -       $ rm g<br>
&gt; -Index: acl-2.2.52/test/misc.test<br>
&gt; -===================================================================<br>
&gt; ---- acl-2.2.52.orig/test/misc.test<br>
&gt; -+++ acl-2.2.52/test/misc.test<br>
&gt; -@@ -254,7 +254,7 @@ Add some users and groups<br>
&gt; - Symlink in directory with default ACL?<br>
&gt; -<br>
&gt; -       $ ln -s d d/l<br>
&gt; --      $ ls -dl d/l | awk &#39;{print $1}&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -dl d/l | awk &#39;{print $1}&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; lrwxrwxrwx<br>
&gt; -<br>
&gt; -       $ ls -dl -L d/l | awk &#39;{print $1}&#39;<br>
&gt; -@@ -343,7 +343,7 @@ Remove the default ACL<br>
&gt; - Reset to base entries<br>
&gt; -<br>
&gt; -       $ setfacl -b d<br>
&gt; --      $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; drwxr-x---<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -@@ -355,7 +355,7 @@ Reset to base entries<br>
&gt; - Now, chmod should change the group_obj entry<br>
&gt; -<br>
&gt; -       $ chmod 775 d<br>
&gt; --      $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; drwxrwxr-x<br>
&gt; -<br>
&gt; -       $ getfacl --omit-header d<br>
&gt; -Index: acl-2.2.52/test/sbits-restore.test<br>
&gt; -===================================================================<br>
&gt; ---- acl-2.2.52.orig/test/sbits-restore.test<br>
&gt; -+++ acl-2.2.52/test/sbits-restore.test<br>
&gt; -@@ -13,10 +13,10 @@ Ensure setting of SUID/SGID/sticky via -<br>
&gt; -       $ touch d/g<br>
&gt; -       $ touch d/u<br>
&gt; -       $ setfacl --restore d.acl<br>
&gt; --      $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -dl d | awk &#39;{print $1}&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; drwxr-xr-t<br>
&gt; --      $ ls -dl d/u | awk &#39;{print $1}&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -dl d/u | awk &#39;{print $1}&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; -rwSr--r--<br>
&gt; --      $ ls -dl d/g | awk &#39;{print $1}&#39; | sed &#39;s/\.$//g&#39;<br>
&gt; -+      $ ls -dl d/g | awk &#39;{print $1}&#39; | sed &#39;s/\\.$//g&#39;<br>
&gt; -       &gt; -rw-r-Sr--<br>
&gt; -       $ rm -Rf d<br>
&gt; diff --git a/meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch b/meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 8cc11a63e12..00000000000<br>
&gt; --- a/meta/recipes-support/attr/acl/test-fixups-on-SELinux-machines-for-root-testcases.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,84 +0,0 @@<br>
&gt; -From d2f49ee6fe4850b8dda5b08676b36201d3c43710 Mon Sep 17 00:00:00 2001<br>
&gt; -From: He Zhe &lt;<a href="mailto:zhe.he@windriver.com" target="_blank">zhe.he@windriver.com</a>&gt;<br>
&gt; -Date: Wed, 2 Mar 2016 15:46:57 +0800<br>
&gt; -Subject: [PATCH] test: fixups on SELinux machines for root testcases<br>
&gt; -<br>
&gt; -ls adds a &#39;.&#39; at the end of the permission field list on SELinux<br>
&gt; -machines, filter this out so root tests work on SELinux machines.<br>
&gt; -<br>
&gt; -Upstream-Status: Accepted<br>
&gt; -<a href="http://git.savannah.gnu.org/cgit/acl.git/commit/?id=26a87d36f80d5e98bccb5878834d9e69dadfe3e9" rel="noreferrer" target="_blank">http://git.savannah.gnu.org/cgit/acl.git/commit/?id=26a87d36f80d5e98bccb5878834d9e69dadfe3e9</a><br>
&gt; -<br>
&gt; -Signed-off-by: He Zhe &lt;<a href="mailto:zhe.he@windriver.com" target="_blank">zhe.he@windriver.com</a>&gt;<br>
&gt; ----<br>
&gt; - test/root/permissions.test | 8 ++++----<br>
&gt; - test/root/restore.test     | 2 +-<br>
&gt; - test/root/setfacl.test     | 2 +-<br>
&gt; - 3 files changed, 6 insertions(+), 6 deletions(-)<br>
&gt; -<br>
&gt; -diff --git a/test/root/permissions.test b/test/root/permissions.test<br>
&gt; -index 9b9e3de..665339a 100644<br>
&gt; ---- a/test/root/permissions.test<br>
&gt; -+++ b/test/root/permissions.test<br>
&gt; -@@ -19,7 +19,7 @@ defined permissions.<br>
&gt; -       $ cd d<br>
&gt; -       $ umask 027<br>
&gt; -       $ touch f<br>
&gt; --      $ ls -l f | awk -- &#39;{ print $1, $3, $4 }&#39;<br>
&gt; -+      $ ls -l f | awk -- &#39;{ print $1, $3, $4 }&#39; | sed &#39;s/\\.//g&#39;<br>
&gt; -       &gt; -rw-r----- root root<br>
&gt; -<br>
&gt; -<br>
&gt; -@@ -39,7 +39,7 @@ Now, change the ownership of the file to bin:bin and verify that this<br>
&gt; - gives user bin write access.<br>
&gt; -<br>
&gt; -       $ chown bin:bin f<br>
&gt; --      $ ls -l f | awk -- &#39;{ print $1, $3, $4 }&#39;<br>
&gt; -+      $ ls -l f | awk -- &#39;{ print $1, $3, $4 }&#39; | sed &#39;s/\\.//g&#39;<br>
&gt; -       &gt; -rw-r----- bin bin<br>
&gt; -       $ su bin<br>
&gt; -       $ echo bin &gt;&gt; f<br>
&gt; -@@ -256,12 +256,12 @@ directories if the file has an ACL and only CAP_FOWNER would grant them.<br>
&gt; -       $ mkdir -m 600 x<br>
&gt; -       $ chown daemon:daemon x<br>
&gt; -       $ echo j &gt; x/j<br>
&gt; --      $ ls -l x/j | awk -- &#39;{ print $1, $3, $4 }&#39;<br>
&gt; -+      $ ls -l x/j | awk -- &#39;{ print $1, $3, $4 }&#39; | sed &#39;s/\\.//g&#39;<br>
&gt; -       &gt; -rw-r----- root root<br>
&gt; -<br>
&gt; -       $ setfacl -m u:daemon:r x<br>
&gt; -<br>
&gt; --      $ ls -l x/j | awk -- &#39;{ print $1, $3, $4 }&#39;<br>
&gt; -+      $ ls -l x/j | awk -- &#39;{ print $1, $3, $4 }&#39; | sed &#39;s/\\.//g&#39;<br>
&gt; -       &gt; -rw-r----- root root<br>
&gt; -       (With the bug this gives: `ls: x/j: Permission denied&#39;.)<br>
&gt; -<br>
&gt; -diff --git a/test/root/restore.test b/test/root/restore.test<br>
&gt; -index 63a9d01..c85097c 100644<br>
&gt; ---- a/test/root/restore.test<br>
&gt; -+++ b/test/root/restore.test<br>
&gt; -@@ -21,7 +21,7 @@ Cry immediately if we are not running as root.<br>
&gt; -       $ chown bin passwd<br>
&gt; -       $ chmod u+s passwd<br>
&gt; -       $ setfacl --restore passwd.acl<br>
&gt; --      $ ls -dl passwd | awk &#39;{print $1 &quot; &quot; $3 &quot; &quot; $4}&#39;<br>
&gt; -+      $ ls -dl passwd | awk &#39;{print $1 &quot; &quot; $3 &quot; &quot; $4}&#39; | sed &#39;s/\\.//g&#39;<br>
&gt; -       &gt; -rwsr-xr-x root root<br>
&gt; -<br>
&gt; -       $ rm passwd passwd.acl<br>
&gt; -diff --git a/test/root/setfacl.test b/test/root/setfacl.test<br>
&gt; -index a46a9f4..7efbad7 100644<br>
&gt; ---- a/test/root/setfacl.test<br>
&gt; -+++ b/test/root/setfacl.test<br>
&gt; -@@ -12,7 +12,7 @@ Cry immediately if we are not running as root.<br>
&gt; -       $ sg bin<br>
&gt; -       $ umask 027<br>
&gt; -       $ touch g<br>
&gt; --      $ ls -dl g | awk &#39;{print $1}&#39;<br>
&gt; -+      $ ls -dl g | awk &#39;{print $1}&#39; | sed &#39;s/\\.//g&#39;<br>
&gt; -       &gt; -rw-r-----<br>
&gt; -<br>
&gt; -       $ setfacl -m m:- g<br>
&gt; ---<br>
&gt; -1.9.1<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a> b/meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a><br>
&gt; deleted file mode 100644<br>
&gt; index 6bc77d868d5..00000000000<br>
&gt; --- a/meta/recipes-support/attr/<a href="http://acl_2.2.52.bb" rel="noreferrer" target="_blank">acl_2.2.52.bb</a><br>
&gt; +++ /dev/null<br>
&gt; @@ -1,52 +0,0 @@<br>
&gt; -SUMMARY = &quot;Utilities for managing POSIX Access Control Lists&quot;<br>
&gt; -HOMEPAGE = &quot;<a href="http://savannah.nongnu.org/projects/acl/" rel="noreferrer" target="_blank">http://savannah.nongnu.org/projects/acl/</a>&quot;<br>
&gt; -SECTION = &quot;libs&quot;<br>
&gt; -<br>
&gt; -LICENSE = &quot;LGPLv2.1+ &amp; GPLv2+&quot;<br>
&gt; -LICENSE_${PN} = &quot;GPLv2+&quot;<br>
&gt; -LICENSE_lib${BPN} = &quot;LGPLv2.1+&quot;<br>
&gt; -LIC_FILES_CHKSUM = &quot;file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \<br>
&gt; -                    file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764&quot;<br>
&gt; -<br>
&gt; -DEPENDS = &quot;attr&quot;<br>
&gt; -<br>
&gt; -SRC_URI = &quot;${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \<br>
&gt; -           file://<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>;subdir=${BP} \<br>
&gt; -           file://run-ptest \<br>
&gt; -           file://acl-fix-the-order-of-expected-output-of-getfacl.patch \<br>
&gt; -           file://test-fix-insufficient-quoting-of.patch \<br>
&gt; -           file://test-fixups-on-SELinux-machines-for-root-testcases.patch \<br>
&gt; -           file://test-fix-directory-permissions.patch \<br>
&gt; -           file://Makefile-libacl-should-depend-on-include.patch \<br>
&gt; -&quot;<br>
&gt; -<br>
&gt; -SRC_URI[md5sum] = &quot;a61415312426e9c2212bd7dc7929abda&quot;<br>
&gt; -SRC_URI[sha256sum] = &quot;179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23&quot;<br>
&gt; -<br>
&gt; -require ea-acl.inc<br>
&gt; -<br>
&gt; -# avoid RPATH hardcode to staging dir<br>
&gt; -do_configure_append() {<br>
&gt; -       sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\&#39;no\&#39;,<br>
&gt; -       ${S}/config.status<br>
&gt; -}<br>
&gt; -<br>
&gt; -# libdir should point to .la<br>
&gt; -do_install_append() {<br>
&gt; -       sed -i ${D}${libdir}/<a href="http://libacl.la" rel="noreferrer" target="_blank">libacl.la</a> -e \<br>
&gt; -           s,^libdir=\&#39;${base_libdir}\&#39;$,libdir=\&#39;${libdir}\&#39;,<br>
&gt; -}<br>
&gt; -<br>
&gt; -inherit ptest<br>
&gt; -<br>
&gt; -PTEST_BUILD_HOST_FILES = &quot;builddefs&quot;<br>
&gt; -PTEST_BUILD_HOST_PATTERN = &quot;^RPM&quot;<br>
&gt; -do_install_ptest() {<br>
&gt; -       tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} &amp;&amp; tar -xf - )<br>
&gt; -       install -d ${D}${PTEST_PATH}/include<br>
&gt; -       install -m 644 ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/<br>
&gt; -}<br>
&gt; -<br>
&gt; -RDEPENDS_${PN}-ptest = &quot;acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow&quot;<br>
&gt; -<br>
&gt; -BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
&gt; diff --git a/meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a> b/meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a><br>
&gt; new file mode 100644<br>
&gt; index 00000000000..c95e0524eb4<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-support/attr/<a href="http://acl_2.2.53.bb" rel="noreferrer" target="_blank">acl_2.2.53.bb</a><br>
&gt; @@ -0,0 +1,60 @@<br>
&gt; +SUMMARY = &quot;Utilities for managing POSIX Access Control Lists&quot;<br>
&gt; +HOMEPAGE = &quot;<a href="http://savannah.nongnu.org/projects/acl/" rel="noreferrer" target="_blank">http://savannah.nongnu.org/projects/acl/</a>&quot;<br>
&gt; +SECTION = &quot;libs&quot;<br>
&gt; +<br>
&gt; +LICENSE = &quot;LGPLv2.1+ &amp; GPLv2+&quot;<br>
&gt; +LICENSE_${PN} = &quot;GPLv2+&quot;<br>
&gt; +LICENSE_lib${BPN} = &quot;LGPLv2.1+&quot;<br>
&gt; +LIC_FILES_CHKSUM = &quot;file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \<br>
&gt; +                    file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764&quot;<br>
&gt; +<br>
&gt; +DEPENDS = &quot;attr&quot;<br>
&gt; +<br>
&gt; +SRC_URI = &quot;${SAVANNAH_GNU_MIRROR}/acl/${BP}.tar.gz \<br>
&gt; +           file://run-ptest \<br>
&gt; +           file://0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch \<br>
&gt; +           file://0001-test-patch-out-failing-bits.patch \<br>
&gt; +           &quot;<br>
&gt; +<br>
&gt; +SRC_URI[md5sum] = &quot;007aabf1dbb550bcddde52a244cd1070&quot;<br>
&gt; +SRC_URI[sha256sum] = &quot;06be9865c6f418d851ff4494e12406568353b891ffe1f596b34693c387af26c7&quot;<br>
&gt; +<br>
&gt; +inherit autotools gettext ptest<br>
&gt; +<br>
&gt; +PTEST_BUILD_HOST_FILES = &quot;builddefs&quot;<br>
&gt; +PTEST_BUILD_HOST_PATTERN = &quot;^RPM&quot;<br>
&gt; +<br>
&gt; +do_compile_ptest() {<br>
&gt; +        oe_runmake <a href="http://libtestlookup.la" rel="noreferrer" target="_blank">libtestlookup.la</a><br>
&gt; +}<br>
&gt; +<br>
&gt; +do_install_ptest() {<br>
&gt; +       cp -rf ${S}/test/ ${D}${PTEST_PATH}<br>
&gt; +       cp -rf ${S}/build-aux/ ${D}${PTEST_PATH}<br>
&gt; +        mkdir -p ${D}${PTEST_PATH}/.libs<br>
&gt; +       cp -rf ${B}/.libs/libtestlookup* ${D}${PTEST_PATH}/.libs<br>
&gt; +        cp ${B}/Makefile ${D}${PTEST_PATH}<br>
&gt; +        sed -i &quot;s|^srcdir =.*|srcdir = \.|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +        sed -i &quot;s|^abs_srcdir =.*|abs_srcdir = \.|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +        sed -i &quot;s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +        sed -i &quot;s|^Makefile:.*|Makefile:|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +}<br>
&gt; +<br>
&gt; +RDEPENDS_${PN}-ptest = &quot;acl \<br>
&gt; +                        bash \<br>
&gt; +                        coreutils \<br>
&gt; +                        perl \<br>
&gt; +                        perl-module-filehandle \<br>
&gt; +                        perl-module-getopt-std \<br>
&gt; +                        perl-module-posix \<br>
&gt; +                        shadow \<br>
&gt; +                        make \<br>
&gt; +                        gawk \<br>
&gt; +                        e2fsprogs-mke2fs \<br>
&gt; +                        perl-module-cwd \<br>
&gt; +                        perl-module-file-basename \<br>
&gt; +                        perl-module-file-path \<br>
&gt; +                        perl-module-file-spec \<br>
&gt; +                       &quot;<br>
&gt; +<br>
&gt; +BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
&gt; diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc<br>
&gt; index 3503d66b9e1..5661301c15a 100644<br>
&gt; --- a/meta/recipes-support/attr/attr.inc<br>
&gt; +++ b/meta/recipes-support/attr/attr.inc<br>
&gt; @@ -8,22 +8,14 @@ LICENSE = &quot;LGPLv2.1+ &amp; GPLv2+&quot;<br>
&gt;  LICENSE_${PN} = &quot;GPLv2+&quot;<br>
&gt;  LICENSE_lib${BPN} = &quot;LGPLv2.1+&quot;<br>
&gt;  LIC_FILES_CHKSUM = &quot;file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \<br>
&gt; -                    file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \<br>
&gt; +                    file://tools/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \<br>
&gt;                      file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb&quot;<br>
&gt;<br>
&gt; -SRC_URI = &quot;${SAVANNAH_GNU_MIRROR}/attr/${BP}.src.tar.gz \<br>
&gt; +SRC_URI = &quot;${SAVANNAH_GNU_MIRROR}/attr/${BP}.tar.gz \<br>
&gt;             file://run-ptest \<br>
&gt;  &quot;<br>
&gt;<br>
&gt; -require ea-acl.inc<br>
&gt; -<br>
&gt; -# libdir should point to .la<br>
&gt; -do_install_append() {<br>
&gt; -       sed -i ${D}${libdir}/<a href="http://libattr.la" rel="noreferrer" target="_blank">libattr.la</a> -e \<br>
&gt; -           s,^libdir=\&#39;${base_libdir}\&#39;$,libdir=\&#39;${libdir}\&#39;,<br>
&gt; -}<br>
&gt; -<br>
&gt; -inherit ptest update-alternatives<br>
&gt; +inherit ptest update-alternatives autotools gettext<br>
&gt;<br>
&gt;  ALTERNATIVE_PRIORITY = &quot;100&quot;<br>
&gt;  ALTERNATIVE_${PN} = &quot;setfattr&quot;<br>
&gt; @@ -33,14 +25,27 @@ PTEST_BUILD_HOST_FILES = &quot;builddefs&quot;<br>
&gt;  PTEST_BUILD_HOST_PATTERN = &quot;^RPM&quot;<br>
&gt;<br>
&gt;  do_install_ptest() {<br>
&gt; -       tar -c --exclude=ext test/ | ( cd ${D}${PTEST_PATH} &amp;&amp; tar -xf - )<br>
&gt; -       mkdir ${D}${PTEST_PATH}/include<br>
&gt; -       for i in builddefs buildmacros buildrules; \<br>
&gt; -         do cp ${S}/include/$i ${D}${PTEST_PATH}/include/; \<br>
&gt; -       done<br>
&gt; -       sed -e &#39;s|; @echo|; echo|&#39; -i ${D}${PTEST_PATH}/test/Makefile<br>
&gt; +        cp ${B}/Makefile ${D}${PTEST_PATH}<br>
&gt; +        sed -i &quot;s|^srcdir =.*|srcdir = \.|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +        sed -i &quot;s|^abs_srcdir =.*|abs_srcdir = \.|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +        sed -i &quot;s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +        sed -i &quot;s|^Makefile:.*|Makefile:|g&quot; ${D}${PTEST_PATH}/Makefile<br>
&gt; +       cp -rf ${S}/build-aux/ ${D}${PTEST_PATH}<br>
&gt; +       cp -rf ${S}/test/ ${D}${PTEST_PATH}<br>
&gt;  }<br>
&gt;<br>
&gt; -RDEPENDS_${PN}-ptest = &quot;attr coreutils perl-module-filehandle perl-module-getopt-std perl-module-posix make perl&quot;<br>
&gt; +RDEPENDS_${PN}-ptest = &quot;attr \<br>
&gt; +                        coreutils \<br>
&gt; +                        perl-module-filehandle \<br>
&gt; +                        perl-module-getopt-std \<br>
&gt; +                        perl-module-posix \<br>
&gt; +                        make \<br>
&gt; +                        perl \<br>
&gt; +                        gawk \<br>
&gt; +                        perl-module-cwd \<br>
&gt; +                        perl-module-file-basename \<br>
&gt; +                        perl-module-file-path \<br>
&gt; +                        perl-module-file-spec \<br>
&gt; +                        &quot;<br>
&gt;<br>
&gt;  BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
&gt; diff --git a/meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch b/meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch<br>
&gt; deleted file mode 100644<br>
&gt; index dcd6507bcc5..00000000000<br>
&gt; --- a/meta/recipes-support/attr/attr/0001-Use-stdint-types-consistently.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,69 +0,0 @@<br>
&gt; -From 37a27b6fd09ecb37097b85e5db74e4f77b80fe0a Mon Sep 17 00:00:00 2001<br>
&gt; -From: Felix Janda &lt;<a href="mailto:felix.janda@posteo.de" target="_blank">felix.janda@posteo.de</a>&gt;<br>
&gt; -Date: Tue, 12 Jan 2016 22:20:33 +0100<br>
&gt; -Subject: [PATCH] Use stdint types consistently<br>
&gt; -<br>
&gt; ----<br>
&gt; -Upstream-Status: Backport<br>
&gt; -Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; -<br>
&gt; - include/attributes.h | 6 ++++--<br>
&gt; - man/man3/attr_list.3 | 8 ++++----<br>
&gt; - 2 files changed, 8 insertions(+), 6 deletions(-)<br>
&gt; -<br>
&gt; -Index: attr-2.4.47/include/attributes.h<br>
&gt; -===================================================================<br>
&gt; ---- attr-2.4.47.orig/include/attributes.h<br>
&gt; -+++ attr-2.4.47/include/attributes.h<br>
&gt; -@@ -22,6 +22,7 @@<br>
&gt; - extern &quot;C&quot; {<br>
&gt; - #endif<br>
&gt; -<br>
&gt; -+#include &lt;stdint.h&gt;<br>
&gt; - /*<br>
&gt; -  *    An almost-IRIX-compatible extended attributes API<br>
&gt; -  *    (the IRIX attribute &quot;list&quot; operation is missing, added ATTR_SECURE).<br>
&gt; -@@ -69,7 +70,7 @@ typedef struct attrlist {<br>
&gt; -  * al_offset[i] entry points to.<br>
&gt; -  */<br>
&gt; - typedef struct attrlist_ent { /* data from attr_list() */<br>
&gt; --      u_int32_t       a_valuelen;     /* number bytes in value of attr */<br>
&gt; -+      uint32_t        a_valuelen;     /* number bytes in value of attr */<br>
&gt; -       char            a_name[1];      /* attr name (NULL terminated) */<br>
&gt; - } attrlist_ent_t;<br>
&gt; -<br>
&gt; -@@ -90,7 +91,7 @@ typedef struct attrlist_ent {        /* data fr<br>
&gt; -  * operation on a cursor is to bzero() it.<br>
&gt; -  */<br>
&gt; - typedef struct attrlist_cursor {<br>
&gt; --      u_int32_t       opaque[4];      /* an opaque cookie */<br>
&gt; -+      uint32_t        opaque[4];      /* an opaque cookie */<br>
&gt; - } attrlist_cursor_t;<br>
&gt; -<br>
&gt; - /*<br>
&gt; -Index: attr-2.4.47/man/man3/attr_list.3<br>
&gt; -===================================================================<br>
&gt; ---- attr-2.4.47.orig/man/man3/attr_list.3<br>
&gt; -+++ attr-2.4.47/man/man3/attr_list.3<br>
&gt; -@@ -72,9 +72,9 @@ The contents of an \f4attrlist_t\fP stru<br>
&gt; - .nf<br>
&gt; - .ft 4<br>
&gt; - .ta 9n 22n<br>
&gt; --__int32_t al_count; /\(** number of entries in attrlist \(**/<br>
&gt; --__int32_t al_more; /\(** T/F: more attrs (do syscall again) \(**/<br>
&gt; --__int32_t al_offset[1]; /\(** byte offsets of attrs [var-sized] \(**/<br>
&gt; -+int32_t al_count; /\(** number of entries in attrlist \(**/<br>
&gt; -+int32_t al_more; /\(** T/F: more attrs (do syscall again) \(**/<br>
&gt; -+int32_t al_offset[1]; /\(** byte offsets of attrs [var-sized] \(**/<br>
&gt; - .ft 1<br>
&gt; - .fi<br>
&gt; - .RE<br>
&gt; -@@ -113,7 +113,7 @@ include the following members:<br>
&gt; - .nf<br>
&gt; - .ft 4<br>
&gt; - .ta 9n 22n<br>
&gt; --u_int32_t a_valuelen; /\(** number bytes in value of attr \(**/<br>
&gt; -+uint32_t a_valuelen; /\(** number bytes in value of attr \(**/<br>
&gt; - char a_name[]; /\(** attr name (NULL terminated) \(**/<br>
&gt; - .ft 1<br>
&gt; - .fi<br>
&gt; diff --git a/meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch b/meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 20fcc3cee7b..00000000000<br>
&gt; --- a/meta/recipes-support/attr/attr/attr-Missing-configure.ac.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,63 +0,0 @@<br>
&gt; -Subject: [PATCH] attr: Missing <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -<br>
&gt; -Upstream-Status: Backport [Upstream released tarball missing this file]<br>
&gt; -Signed-off-by: Nathan Rossi &lt;<a href="mailto:nathan.rossi@xilinx.com" target="_blank">nathan.rossi@xilinx.com</a>&gt;<br>
&gt; ----<br>
&gt; - <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> |   48 ++++++++++++++++++++++++++++++++++++++++++++++++<br>
&gt; - 1 file changed, 48 insertions(+)<br>
&gt; - create mode 100644 <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -<br>
&gt; -diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -new file mode 100644<br>
&gt; -index 0000000..b966d0e<br>
&gt; ---- /dev/null<br>
&gt; -+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -@@ -0,0 +1,48 @@<br>
&gt; -+# Copyright (C) 2009  Andreas Gruenbacher &lt;<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>&gt;<br>
&gt; -+#<br>
&gt; -+# This program is free software: you can redistribute it and/or modify it<br>
&gt; -+# under the terms of the GNU General Public License as published by<br>
&gt; -+# the Free Software Foundation, either version 2 of the License, or<br>
&gt; -+# (at your option) any later version.<br>
&gt; -+#<br>
&gt; -+# This program is distributed in the hope that it will be useful,<br>
&gt; -+# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; -+# GNU General Public License for more details.<br>
&gt; -+#<br>
&gt; -+# You should have received a copy of the GNU General Public License<br>
&gt; -+# along with this program.  If not, see &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; -+#<br>
&gt; -+AC_INIT(include/attributes.h)<br>
&gt; -+AC_CONFIG_AUX_DIR([.])<br>
&gt; -+AC_CONFIG_MACRO_DIR([m4])<br>
&gt; -+AC_CONFIG_HEADER(include/config.h)<br>
&gt; -+AC_PREFIX_DEFAULT(/usr)<br>
&gt; -+<br>
&gt; -+AC_PROG_LIBTOOL<br>
&gt; -+<br>
&gt; -+AC_ARG_ENABLE(shared,<br>
&gt; -+[ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,<br>
&gt; -+      enable_shared=yes)<br>
&gt; -+AC_SUBST(enable_shared)<br>
&gt; -+<br>
&gt; -+AC_ARG_ENABLE(gettext,<br>
&gt; -+[ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,<br>
&gt; -+      enable_gettext=yes)<br>
&gt; -+AC_SUBST(enable_gettext)<br>
&gt; -+<br>
&gt; -+AC_ARG_ENABLE(lib64,<br>
&gt; -+[ --enable-lib64=[yes/no] Enable lib64 support [default=no]],,<br>
&gt; -+      enable_lib64=no)<br>
&gt; -+AC_SUBST(enable_lib64)<br>
&gt; -+<br>
&gt; -+AC_PACKAGE_GLOBALS(attr)<br>
&gt; -+AC_PACKAGE_UTILITIES(attr)<br>
&gt; -+AC_MANUAL_FORMAT<br>
&gt; -+AC_MULTILIB($enable_lib64)<br>
&gt; -+<br>
&gt; -+AC_C_CONST<br>
&gt; -+AC_TYPE_MODE_T<br>
&gt; -+AC_FUNC_ALLOCA<br>
&gt; -+<br>
&gt; -+AC_OUTPUT(include/builddefs)<br>
&gt; diff --git a/meta/recipes-support/attr/attr/dont-use-decl-macros.patch b/meta/recipes-support/attr/attr/dont-use-decl-macros.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 9d4b8929e89..00000000000<br>
&gt; --- a/meta/recipes-support/attr/attr/dont-use-decl-macros.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,56 +0,0 @@<br>
&gt; -Use extern &quot;C&quot; instead of __BEGIN_DECL/__END_DECL macros<br>
&gt; -these macros are defined in sys/cdefs.h for glibc and this header is not available on all libc<br>
&gt; -<br>
&gt; -anyway they defined like below<br>
&gt; -<br>
&gt; -#ifdef __cplusplus<br>
&gt; -# define __BEGIN_DECLS extern &quot;C&quot; {<br>
&gt; -# define __END_DECLS }<br>
&gt; -#else<br>
&gt; -# define __BEGIN_DECLS /* empty */<br>
&gt; -# define __END_DECLS /* empty */<br>
&gt; -#endif<br>
&gt; -<br>
&gt; -__THROW macro is also not available on musl, defined thusly<br>
&gt; -<br>
&gt; -Upstream-Status: Pending<br>
&gt; -<br>
&gt; -Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; -<br>
&gt; -Index: attr-2.4.47/include/xattr.h<br>
&gt; -===================================================================<br>
&gt; ---- attr-2.4.47.orig/include/xattr.h   2014-04-02 00:01:30.252091280 -0700<br>
&gt; -+++ attr-2.4.47/include/xattr.h        2014-04-02 00:12:57.985428099 -0700<br>
&gt; -@@ -30,8 +30,20 @@<br>
&gt; - #define XATTR_CREATE  0x1       /* set value, fail if attr already exists */<br>
&gt; - #define XATTR_REPLACE 0x2       /* set value, fail if attr does not exist */<br>
&gt; -<br>
&gt; --<br>
&gt; --__BEGIN_DECLS<br>
&gt; -+#ifndef __THROW<br>
&gt; -+# ifndef __GNUC_PREREQ<br>
&gt; -+#  define __GNUC_PREREQ(maj, min) (0)<br>
&gt; -+# endif<br>
&gt; -+# if defined __cplusplus &amp;&amp; __GNUC_PREREQ (2,8)<br>
&gt; -+#  define __THROW       throw ()<br>
&gt; -+# else<br>
&gt; -+#  define __THROW<br>
&gt; -+# endif<br>
&gt; -+#endif<br>
&gt; -+<br>
&gt; -+#ifdef __cplusplus<br>
&gt; -+extern &quot;C&quot; {<br>
&gt; -+#endif<br>
&gt; -<br>
&gt; - extern int setxattr (const char *__path, const char *__name,<br>
&gt; -                     const void *__value, size_t __size, int __flags) __THROW;<br>
&gt; -@@ -58,6 +70,8 @@<br>
&gt; - extern int lremovexattr (const char *__path, const char *__name) __THROW;<br>
&gt; - extern int fremovexattr (int __filedes,   const char *__name) __THROW;<br>
&gt; -<br>
&gt; --__END_DECLS<br>
&gt; -+#ifdef __cplusplus<br>
&gt; -+}<br>
&gt; -+#endif<br>
&gt; -<br>
&gt; - #endif        /* __XATTR_H__ */<br>
&gt; diff --git a/meta/recipes-support/attr/attr/run-ptest b/meta/recipes-support/attr/attr/run-ptest<br>
&gt; new file mode 100644<br>
&gt; index 00000000000..f64244f2393<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-support/attr/attr/run-ptest<br>
&gt; @@ -0,0 +1,3 @@<br>
&gt; +#!/bin/sh<br>
&gt; +<br>
&gt; +make test-suite.log<br>
&gt; diff --git a/meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a> b/meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a><br>
&gt; deleted file mode 100644<br>
&gt; index fc88bef830b..00000000000<br>
&gt; --- a/meta/recipes-support/attr/<a href="http://attr_2.4.47.bb" rel="noreferrer" target="_blank">attr_2.4.47.bb</a><br>
&gt; +++ /dev/null<br>
&gt; @@ -1,15 +0,0 @@<br>
&gt; -require attr.inc<br>
&gt; -<br>
&gt; -# <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> was missing from the release tarball. This should be fixed in<br>
&gt; -# future releases of attr, remove this when updating the recipe.<br>
&gt; -SRC_URI += &quot;file://attr-Missing-configure.ac.patch \<br>
&gt; -            file://dont-use-decl-macros.patch \<br>
&gt; -            file://Remove-the-section-2-man-pages.patch \<br>
&gt; -            file://Remove-the-attr.5-man-page-moved-to-man-pages.patch \<br>
&gt; -            file://0001-Use-stdint-types-consistently.patch \<br>
&gt; -           &quot;<br>
&gt; -<br>
&gt; -SRC_URI[md5sum] = &quot;84f58dec00b60f2dc8fd1c9709291cc7&quot;<br>
&gt; -SRC_URI[sha256sum] = &quot;25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859&quot;<br>
&gt; -<br>
&gt; -BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
&gt; diff --git a/meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a> b/meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a><br>
&gt; new file mode 100644<br>
&gt; index 00000000000..530d4e48833<br>
&gt; --- /dev/null<br>
&gt; +++ b/meta/recipes-support/attr/<a href="http://attr_2.4.48.bb" rel="noreferrer" target="_blank">attr_2.4.48.bb</a><br>
&gt; @@ -0,0 +1,6 @@<br>
&gt; +require attr.inc<br>
&gt; +<br>
&gt; +SRC_URI[md5sum] = &quot;bc1e5cb5c96d99b24886f1f527d3bb3d&quot;<br>
&gt; +SRC_URI[sha256sum] = &quot;5ead72b358ec709ed00bbf7a9eaef1654baad937c001c044fe8b74c57f5324e7&quot;<br>
&gt; +<br>
&gt; +BBCLASSEXTEND = &quot;native nativesdk&quot;<br>
&gt; diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc<br>
&gt; deleted file mode 100644<br>
&gt; index 9336ffc9389..00000000000<br>
&gt; --- a/meta/recipes-support/attr/ea-acl.inc<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,52 +0,0 @@<br>
&gt; -# this build system is mostly shared by attr and acl<br>
&gt; -<br>
&gt; -SRC_URI += &quot;file://relative-libdir.patch;striplevel=0 \<br>
&gt; -           &quot;<br>
&gt; -# This patch should be applied after &#39;(attr\|acl)-Missing-configure.ac.patch&#39;<br>
&gt; -SRC_URI_append = &quot; file://0001-Added-configure-option-to-enable-disable-static-libr.patch&quot;<br>
&gt; -<br>
&gt; -inherit autotools-brokensep gettext<br>
&gt; -<br>
&gt; -# When upstream is using automake properly, this can be removed<br>
&gt; -CLEANBROKEN = &quot;1&quot;<br>
&gt; -<br>
&gt; -# the package comes with a custom <a href="http://config.h.in" rel="noreferrer" target="_blank">config.h.in</a>, it cannot be<br>
&gt; -# overwritten by autoheader<br>
&gt; -EXTRA_AUTORECONF += &quot;--exclude=autoheader&quot;<br>
&gt; -EXTRA_OECONF = &quot;INSTALL_USER=root INSTALL_GROUP=root&quot;<br>
&gt; -EXTRA_OECONF_append_class-native = &quot; --enable-gettext=no&quot;<br>
&gt; -EXTRA_OECONF_append_class-target = &quot;${@[&#39;&#39;, &#39; --disable-gettext &#39;][(d.getVar(&#39;USE_NLS&#39;) == &#39;no&#39;)]}&quot;<br>
&gt; -<br>
&gt; -EXTRA_OEMAKE = &quot;PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}&quot;<br>
&gt; -<br>
&gt; -do_install () {<br>
&gt; -       oe_runmake install install-lib install-dev DIST_ROOT=&quot;${D}&quot; ZIP=&quot;gzip -n&quot;<br>
&gt; -}<br>
&gt; -<br>
&gt; -do_install_append_class-native () {<br>
&gt; -       if test &quot;${libdir}&quot; = &quot;${base_libdir}&quot; ; then<br>
&gt; -               return<br>
&gt; -       fi<br>
&gt; -       librelpath=${@os.path.relpath(d.getVar(&#39;libdir&#39;), d.getVar(&#39;base_libdir&#39;))}<br>
&gt; -       baselibrelpath=${@os.path.relpath(d.getVar(&#39;base_libdir&#39;), d.getVar(&#39;libdir&#39;))}<br>
&gt; -<br>
&gt; -       # Remove bad symlinks &amp; create the correct symlinks<br>
&gt; -       if test -L ${D}${libdir}/lib${BPN}.so ; then<br>
&gt; -               rm -rf ${D}${libdir}/lib${BPN}.so<br>
&gt; -               ln -sf $baselibrelpath/lib${BPN}.so ${D}${libdir}/lib${BPN}.so<br>
&gt; -       fi<br>
&gt; -       if test -L ${D}${base_libdir}/lib${BPN}.a ; then<br>
&gt; -               rm -rf ${D}${base_libdir}/lib${BPN}.a<br>
&gt; -               ln -sf $librelpath/lib${BPN}.a ${D}${base_libdir}/lib${BPN}.a<br>
&gt; -       fi<br>
&gt; -       if test -L  ${D}${base_libdir}/lib${BPN}.la ; then<br>
&gt; -               rm -rf ${D}${base_libdir}/lib${BPN}.la<br>
&gt; -               ln -sf $librelpath/lib${BPN}.la ${D}${base_libdir}/lib${BPN}.la<br>
&gt; -       fi<br>
&gt; -}<br>
&gt; -<br>
&gt; -PACKAGES =+ &quot;lib${BPN}&quot;<br>
&gt; -<br>
&gt; -FILES_lib${BPN} = &quot;${base_libdir}/lib*${SOLIBS}&quot;<br>
&gt; -<br>
&gt; -BBCLASSEXTEND = &quot;native&quot;<br>
&gt; diff --git a/meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch b/meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 1c1159f2c90..00000000000<br>
&gt; --- a/meta/recipes-support/attr/files/0001-Added-configure-option-to-enable-disable-static-libr.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,70 +0,0 @@<br>
&gt; -From 01256c61ba126449c46dd4ab5d5e145488b981fa Mon Sep 17 00:00:00 2001<br>
&gt; -From: Amarnath Valluri &lt;<a href="mailto:amarnath.valluri@intel.com" target="_blank">amarnath.valluri@intel.com</a>&gt;<br>
&gt; -Date: Mon, 23 Jan 2017 13:25:13 +0200<br>
&gt; -Subject: [PATCH] Added configure option to enable/disable static library<br>
&gt; -<br>
&gt; -Create static library archive only in case of --enable-static.<br>
&gt; -<br>
&gt; -Upstream-Status: Pending<br>
&gt; -<br>
&gt; -Signed-off-by: Amarnath Valluri &lt;<a href="mailto:amarnath.valluri@intel.com" target="_blank">amarnath.valluri@intel.com</a>&gt;<br>
&gt; ----<br>
&gt; - <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>         | 6 ++++++<br>
&gt; - include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a> | 1 +<br>
&gt; - include/buildmacros  | 3 +++<br>
&gt; - 3 files changed, 10 insertions(+)<br>
&gt; -<br>
&gt; -diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index b966d0e..e48268b 100644<br>
&gt; ---- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -@@ -26,6 +26,12 @@ AC_ARG_ENABLE(shared,<br>
&gt; -       enable_shared=yes)<br>
&gt; - AC_SUBST(enable_shared)<br>
&gt; -<br>
&gt; -+AC_ARG_ENABLE(static,<br>
&gt; -+[ --enable-static=[yes/no] Enable use of static libraries [default=yes]],,<br>
&gt; -+      enable_static=yes)<br>
&gt; -+AC_SUBST(enable_static)<br>
&gt; -+<br>
&gt; -+<br>
&gt; - AC_ARG_ENABLE(gettext,<br>
&gt; - [ --enable-gettext=[yes/no] Enable alternate language support [default=yes]],,<br>
&gt; -       enable_gettext=yes)<br>
&gt; -diff --git a/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a> b/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a><br>
&gt; -index d9931db..3b3dbd2 100644<br>
&gt; ---- a/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a><br>
&gt; -+++ b/include/<a href="http://builddefs.in" rel="noreferrer" target="_blank">builddefs.in</a><br>
&gt; -@@ -71,6 +71,7 @@ RPMBUILD     = @rpmbuild@<br>
&gt; - RPM_VERSION   = @rpm_version@<br>
&gt; -<br>
&gt; - ENABLE_SHARED = @enable_shared@<br>
&gt; -+ENABLE_STATIC         = @enable_static@<br>
&gt; - ENABLE_GETTEXT        = @enable_gettext@<br>
&gt; -<br>
&gt; - HAVE_ZIPPED_MANPAGES = @have_zipped_manpages@<br>
&gt; -diff --git a/include/buildmacros b/include/buildmacros<br>
&gt; -index 39fa7e2..b0f25c5 100644<br>
&gt; ---- a/include/buildmacros<br>
&gt; -+++ b/include/buildmacros<br>
&gt; -@@ -80,6 +80,7 @@ endif<br>
&gt; - # /usr/lib.<br>
&gt; - ifeq ($(ENABLE_SHARED),yes)<br>
&gt; - INSTALL_LTLIB_DEV = \<br>
&gt; -+      set -x; \<br>
&gt; -       cd $(TOPDIR)/$(LIBNAME)/.libs; \<br>
&gt; -       ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \<br>
&gt; -       ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR); \<br>
&gt; -@@ -88,7 +89,9 @@ INSTALL_LTLIB_DEV = \<br>
&gt; -       ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \<br>
&gt; -       if test &quot;x$(PKG_DEVLIB_DIR)&quot; != &quot;x$(PKG_LIB_DIR)&quot; ; then \<br>
&gt; -       rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed &#39;s,\(^/\|\)[^/][^/]*,..,g&#39;); \<br>
&gt; -+      if test &quot;$(ENABLE_STATIC)&quot; = &quot;yes&quot; ; then \<br>
&gt; -       ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \<br>
&gt; -+      fi ;\<br>
&gt; -       ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \<br>
&gt; -       rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed &#39;s,\(^/\|\)[^/][^/]*,..,g&#39;); \<br>
&gt; -       ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \<br>
&gt; ---<br>
&gt; -2.7.4<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch b/meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch<br>
&gt; deleted file mode 100644<br>
&gt; index d5ab83d7c68..00000000000<br>
&gt; --- a/meta/recipes-support/attr/files/Remove-the-attr.5-man-page-moved-to-man-pages.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,240 +0,0 @@<br>
&gt; -From 6047c8522b91235ad1e835f44f5e36472d9d49b2 Mon Sep 17 00:00:00 2001<br>
&gt; -From: Andreas Gruenbacher &lt;<a href="mailto:andreas.gruenbacher@gmail.com" target="_blank">andreas.gruenbacher@gmail.com</a>&gt;<br>
&gt; -Date: Wed, 22 Apr 2015 11:46:59 +0200<br>
&gt; -Subject: [PATCH 2/2] Remove the attr.5 man page (moved to man-pages)<br>
&gt; -<br>
&gt; -Commit dce9b4448c7f2b22bd206cd068fb05cb2f3255b9 from<br>
&gt; -<a href="https://git.savannah.nongnu.org/git/attr.git" rel="noreferrer" target="_blank">https://git.savannah.nongnu.org/git/attr.git</a><br>
&gt; -<br>
&gt; -The attr.5 page is part of the extended attribute system call documentation,<br>
&gt; -which has been moved into the man-pages package. Move the attr.5 page there<br>
&gt; -as well.<br>
&gt; -<br>
&gt; -Upstream-Status: Backport<br>
&gt; -<br>
&gt; -[MA: updated to apply directly to v2.4.47]<br>
&gt; -Signed-off-by: Mark Asselstine &lt;<a href="mailto:mark.asselstine@windriver.com" target="_blank">mark.asselstine@windriver.com</a>&gt;<br>
&gt; ----<br>
&gt; - man/Makefile      |   2 +-<br>
&gt; - man/man5/Makefile |  35 -------------<br>
&gt; - man/man5/attr.5   | 153 ------------------------------------------------------<br>
&gt; - 3 files changed, 1 insertion(+), 189 deletions(-)<br>
&gt; - delete mode 100644 man/man5/Makefile<br>
&gt; - delete mode 100644 man/man5/attr.5<br>
&gt; -<br>
&gt; -diff --git a/man/Makefile b/man/Makefile<br>
&gt; -index 755daed..9301f09 100644<br>
&gt; ---- a/man/Makefile<br>
&gt; -+++ b/man/Makefile<br>
&gt; -@@ -19,7 +19,7 @@<br>
&gt; - TOPDIR = ..<br>
&gt; - include $(TOPDIR)/include/builddefs<br>
&gt; -<br>
&gt; --SUBDIRS = man1 man3 man5<br>
&gt; -+SUBDIRS = man1 man3<br>
&gt; -<br>
&gt; - default : $(SUBDIRS)<br>
&gt; -<br>
&gt; -diff --git a/man/man5/Makefile b/man/man5/Makefile<br>
&gt; -deleted file mode 100644<br>
&gt; -index 6b70d3d..0000000<br>
&gt; ---- a/man/man5/Makefile<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,35 +0,0 @@<br>
&gt; --#<br>
&gt; --# Copyright (c) 2000, 2002 Silicon Graphics, Inc.  All Rights Reserved.<br>
&gt; --# Copyright (C) 2009  Andreas Gruenbacher &lt;<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>&gt;<br>
&gt; --#<br>
&gt; --# This program is free software: you can redistribute it and/or modify it<br>
&gt; --# under the terms of the GNU General Public License as published by<br>
&gt; --# the Free Software Foundation, either version 2 of the License, or<br>
&gt; --# (at your option) any later version.<br>
&gt; --#<br>
&gt; --# This program is distributed in the hope that it will be useful,<br>
&gt; --# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --# GNU General Public License for more details.<br>
&gt; --#<br>
&gt; --# You should have received a copy of the GNU General Public License<br>
&gt; --# along with this program.  If not, see &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --#<br>
&gt; --<br>
&gt; --TOPDIR = ../..<br>
&gt; --include $(TOPDIR)/include/builddefs<br>
&gt; --<br>
&gt; --MAN_SECTION   = 5<br>
&gt; --<br>
&gt; --MAN_PAGES     = $(shell echo *.$(MAN_SECTION))<br>
&gt; --MAN_DEST      = $(PKG_MAN_DIR)/man$(MAN_SECTION)<br>
&gt; --LSRCFILES     = $(MAN_PAGES)<br>
&gt; --<br>
&gt; --default : $(MAN_PAGES)<br>
&gt; --<br>
&gt; --include $(BUILDRULES)<br>
&gt; --<br>
&gt; --install : default<br>
&gt; --      $(INSTALL) -m 755 -d $(MAN_DEST)<br>
&gt; --      $(INSTALL_MAN)<br>
&gt; --install-dev install-lib:<br>
&gt; -diff --git a/man/man5/attr.5 b/man/man5/attr.5<br>
&gt; -deleted file mode 100644<br>
&gt; -index a02757d..0000000<br>
&gt; ---- a/man/man5/attr.5<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,153 +0,0 @@<br>
&gt; --.\&quot; Extended attributes manual page<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; Copyright (C) 2000, 2002, 2007  Andreas Gruenbacher &lt;<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>&gt;<br>
&gt; --.\&quot; Copyright (C) 2001, 2002, 2004, 2007 Silicon Graphics, Inc.<br>
&gt; --.\&quot; All rights reserved.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This is free documentation; you can redistribute it and/or<br>
&gt; --.\&quot; modify it under the terms of the GNU General Public License as<br>
&gt; --.\&quot; published by the Free Software Foundation; either version 2 of<br>
&gt; --.\&quot; the License, or (at your option) any later version.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; The GNU General Public License&#39;s references to &quot;object code&quot;<br>
&gt; --.\&quot; and &quot;executables&quot; are to be interpreted as the output of any<br>
&gt; --.\&quot; document formatting or typesetting system, including<br>
&gt; --.\&quot; intermediate and printed output.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This manual is distributed in the hope that it will be useful,<br>
&gt; --.\&quot; but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --.\&quot; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --.\&quot; GNU General Public License for more details.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; You should have received a copy of the GNU General Public<br>
&gt; --.\&quot; License along with this manual.  If not, see<br>
&gt; --.\&quot; &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --.\&quot;<br>
&gt; --.TH ATTR 5<br>
&gt; --.SH NAME<br>
&gt; --attr - Extended attributes<br>
&gt; --.SH DESCRIPTION<br>
&gt; --Extended attributes are name:value pairs associated permanently with<br>
&gt; --files and directories, similar to the environment strings associated<br>
&gt; --with a process.<br>
&gt; --An attribute may be defined or undefined.<br>
&gt; --If it is defined, its value may be empty or non-empty.<br>
&gt; --.PP<br>
&gt; --Extended attributes are extensions to the normal attributes which are<br>
&gt; --associated with all inodes in the system (i.e. the<br>
&gt; --.BR stat (2)<br>
&gt; --data).<br>
&gt; --They are often used to provide additional functionality<br>
&gt; --to a filesystem \- for example, additional security features such as<br>
&gt; --Access Control Lists (ACLs) may be implemented using extended attributes.<br>
&gt; --.PP<br>
&gt; --Users with search access to a file or directory may retrieve a list of<br>
&gt; --attribute names defined for that file or directory.<br>
&gt; --.PP<br>
&gt; --Extended attributes are accessed as atomic objects.<br>
&gt; --Reading retrieves the whole value of an attribute and stores it in a buffer.<br>
&gt; --Writing replaces any previous value with the new value.<br>
&gt; --.PP<br>
&gt; --Space consumed for extended attributes is counted towards the disk quotas<br>
&gt; --of the file owner and file group.<br>
&gt; --.PP<br>
&gt; --Currently, support for extended attributes is implemented on Linux by the<br>
&gt; --ext2, ext3, ext4, XFS, JFS and reiserfs filesystems.<br>
&gt; --.SH EXTENDED ATTRIBUTE NAMESPACES<br>
&gt; --Attribute names are zero-terminated strings.<br>
&gt; --The attribute name is always specified in the fully qualified<br>
&gt; --.IR namespace.attribute<br>
&gt; --form, eg.<br>
&gt; --.IR user.mime_type ,<br>
&gt; --.IR trusted.md5sum ,<br>
&gt; --.IR system.posix_acl_access ,<br>
&gt; --or<br>
&gt; --.IR security.selinux .<br>
&gt; --.PP<br>
&gt; --The namespace mechanism is used to define different classes of extended<br>
&gt; --attributes.<br>
&gt; --These different classes exist for several reasons, e.g. the permissions<br>
&gt; --and capabilities required for manipulating extended attributes of one<br>
&gt; --namespace may differ to another.<br>
&gt; --.PP<br>
&gt; --Currently the<br>
&gt; --.IR security ,<br>
&gt; --.IR system ,<br>
&gt; --.IR trusted ,<br>
&gt; --and<br>
&gt; --.IR user<br>
&gt; --extended attribute classes are defined as described below. Additional<br>
&gt; --classes may be added in the future.<br>
&gt; --.SS Extended security attributes<br>
&gt; --The security attribute namespace is used by kernel security modules,<br>
&gt; --such as Security Enhanced Linux.<br>
&gt; --Read and write access permissions to security attributes depend on the<br>
&gt; --policy implemented for each security attribute by the security module.<br>
&gt; --When no security module is loaded, all processes have read access to<br>
&gt; --extended security attributes, and write access is limited to processes<br>
&gt; --that have the CAP_SYS_ADMIN capability.<br>
&gt; --.SS Extended system attributes<br>
&gt; --Extended system attributes are used by the kernel to store system<br>
&gt; --objects such as Access Control Lists and Capabilities.  Read and write<br>
&gt; --access permissions to system attributes depend on the policy implemented<br>
&gt; --for each system attribute implemented by filesystems in the kernel.<br>
&gt; --.SS Trusted extended attributes<br>
&gt; --Trusted extended attributes are visible and accessible only to processes that<br>
&gt; --have the CAP_SYS_ADMIN capability (the super user usually has this<br>
&gt; --capability).<br>
&gt; --Attributes in this class are used to implement mechanisms in user<br>
&gt; --space (i.e., outside the kernel) which keep information in extended attributes<br>
&gt; --to which ordinary processes should not have access.<br>
&gt; --.SS Extended user attributes<br>
&gt; --Extended user attributes may be assigned to files and directories for<br>
&gt; --storing arbitrary additional information such as the mime type,<br>
&gt; --character set or encoding of a file. The access permissions for user<br>
&gt; --attributes are defined by the file permission bits.<br>
&gt; --.PP<br>
&gt; --The file permission bits of regular files and directories are<br>
&gt; --interpreted differently from the file permission bits of special files<br>
&gt; --and symbolic links. For regular files and directories the file<br>
&gt; --permission bits define access to the file&#39;s contents, while for device special<br>
&gt; --files they define access to the device described by the special file.<br>
&gt; --The file permissions of symbolic links are not used in access<br>
&gt; --checks. These differences would allow users to consume filesystem resources in<br>
&gt; --a way not controllable by disk quotas for group or world writable special files and directories.<br>
&gt; --.PP<br>
&gt; --For this reason, extended user attributes are only allowed for regular files and directories, and access to extended user attributes is restricted to the<br>
&gt; --owner and to users with appropriate capabilities for directories with the<br>
&gt; --sticky bit set (see the<br>
&gt; --.BR chmod (1)<br>
&gt; --manual page for an explanation of Sticky Directories).<br>
&gt; --.SH FILESYSTEM DIFFERENCES<br>
&gt; --The kernel and the filesystem may place limits on the maximum number<br>
&gt; --and size of extended attributes that can be associated with a file.<br>
&gt; --Some file systems, such as ext2/3 and reiserfs, require the filesystem<br>
&gt; --to be mounted with the<br>
&gt; --.B user_xattr<br>
&gt; --mount option in order for extended user attributes to be used.<br>
&gt; --.PP<br>
&gt; --In the current ext2, ext3 and ext4 filesystem implementations, each<br>
&gt; --extended attribute must fit on a single filesystem block (1024, 2048<br>
&gt; --or 4096 bytes, depending on the block size specified when the<br>
&gt; --filesystem was created).<br>
&gt; --.PP<br>
&gt; --In the XFS and reiserfs filesystem implementations, there is no<br>
&gt; --practical limit on the number or size of extended attributes<br>
&gt; --associated with a file, and the algorithms used to store extended<br>
&gt; --attribute information on disk are scalable.<br>
&gt; --.PP<br>
&gt; --In the JFS filesystem implementation, names can be up to 255 bytes and<br>
&gt; --values up to 65,535 bytes.<br>
&gt; --.SH ADDITIONAL NOTES<br>
&gt; --Since the filesystems on which extended attributes are stored might also<br>
&gt; --be used on architectures with a different byte order and machine word<br>
&gt; --size, care should be taken to store attribute values in an architecture<br>
&gt; --independent format.<br>
&gt; --.SH AUTHORS<br>
&gt; --Andreas Gruenbacher,<br>
&gt; --.RI &lt; <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> &gt;<br>
&gt; --and the SGI XFS development team,<br>
&gt; --.RI &lt; <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> &gt;.<br>
&gt; --.SH SEE ALSO<br>
&gt; --getfattr(1),<br>
&gt; --setfattr(1).<br>
&gt; ---<br>
&gt; -2.7.4<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch b/meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch<br>
&gt; deleted file mode 100644<br>
&gt; index 044c5a037c8..00000000000<br>
&gt; --- a/meta/recipes-support/attr/files/Remove-the-section-2-man-pages.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,666 +0,0 @@<br>
&gt; -From b972600a26f3a930e53e2fce2625266a5d29813e Mon Sep 17 00:00:00 2001<br>
&gt; -From: Andreas Gruenbacher &lt;<a href="mailto:andreas.gruenbacher@gmail.com" target="_blank">andreas.gruenbacher@gmail.com</a>&gt;<br>
&gt; -Date: Tue, 14 Apr 2015 23:53:11 +0200<br>
&gt; -Subject: [PATCH 1/2] Remove the section 2 man pages<br>
&gt; -<br>
&gt; -Commit 8d1263bca95722d66a6f8e83450f49d0956ea534 from upstream<br>
&gt; -<a href="https://git.savannah.nongnu.org/git/attr.git/" rel="noreferrer" target="_blank">https://git.savannah.nongnu.org/git/attr.git/</a><br>
&gt; -<br>
&gt; -The section 2 man pages have long since been added to the man-pages package<br>
&gt; -which documents all system calls; they were disabled in attr by default since<br>
&gt; -January 2014.  Get rid of them here.<br>
&gt; -<br>
&gt; -Upstream-Status: Backport<br>
&gt; -<br>
&gt; -[MA: modified to apply directly to v2.4.47]<br>
&gt; -Signed-off-by: Mark Asselstine &lt;<a href="mailto:mark.asselstine@windriver.com" target="_blank">mark.asselstine@windriver.com</a>&gt;<br>
&gt; ----<br>
&gt; - man/Makefile           |   2 +-<br>
&gt; - man/man2/Makefile      |  35 -----------<br>
&gt; - man/man2/getxattr.2    | 143 --------------------------------------------<br>
&gt; - man/man2/listxattr.2   | 158 -------------------------------------------------<br>
&gt; - man/man2/removexattr.2 | 111 ----------------------------------<br>
&gt; - man/man2/setxattr.2    | 143 --------------------------------------------<br>
&gt; - 6 files changed, 1 insertion(+), 591 deletions(-)<br>
&gt; - delete mode 100644 man/man2/Makefile<br>
&gt; - delete mode 100644 man/man2/getxattr.2<br>
&gt; - delete mode 100644 man/man2/listxattr.2<br>
&gt; - delete mode 100644 man/man2/removexattr.2<br>
&gt; - delete mode 100644 man/man2/setxattr.2<br>
&gt; -<br>
&gt; -diff --git a/man/Makefile b/man/Makefile<br>
&gt; -index 9535426..755daed 100644<br>
&gt; ---- a/man/Makefile<br>
&gt; -+++ b/man/Makefile<br>
&gt; -@@ -19,7 +19,7 @@<br>
&gt; - TOPDIR = ..<br>
&gt; - include $(TOPDIR)/include/builddefs<br>
&gt; -<br>
&gt; --SUBDIRS = man1 man2 man3 man5<br>
&gt; -+SUBDIRS = man1 man3 man5<br>
&gt; -<br>
&gt; - default : $(SUBDIRS)<br>
&gt; -<br>
&gt; -diff --git a/man/man2/Makefile b/man/man2/Makefile<br>
&gt; -deleted file mode 100644<br>
&gt; -index d77309d..0000000<br>
&gt; ---- a/man/man2/Makefile<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,35 +0,0 @@<br>
&gt; --#<br>
&gt; --# Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.<br>
&gt; --# Copyright (C) 2009  Andreas Gruenbacher &lt;<a href="mailto:agruen@suse.de" target="_blank">agruen@suse.de</a>&gt;<br>
&gt; --#<br>
&gt; --# This program is free software: you can redistribute it and/or modify it<br>
&gt; --# under the terms of the GNU General Public License as published by<br>
&gt; --# the Free Software Foundation, either version 2 of the License, or<br>
&gt; --# (at your option) any later version.<br>
&gt; --#<br>
&gt; --# This program is distributed in the hope that it will be useful,<br>
&gt; --# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --# GNU General Public License for more details.<br>
&gt; --#<br>
&gt; --# You should have received a copy of the GNU General Public License<br>
&gt; --# along with this program.  If not, see &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --#<br>
&gt; --<br>
&gt; --TOPDIR = ../..<br>
&gt; --include $(TOPDIR)/include/builddefs<br>
&gt; --<br>
&gt; --MAN_SECTION   = 2<br>
&gt; --<br>
&gt; --MAN_PAGES     = $(shell echo *.$(MAN_SECTION))<br>
&gt; --MAN_DEST      = $(PKG_MAN_DIR)/man$(MAN_SECTION)<br>
&gt; --LSRCFILES     = $(MAN_PAGES)<br>
&gt; --<br>
&gt; --default install : $(MAN_PAGES)<br>
&gt; --<br>
&gt; --include $(BUILDRULES)<br>
&gt; --<br>
&gt; --install-dev : default<br>
&gt; --      $(INSTALL) -m 755 -d $(MAN_DEST)<br>
&gt; --      $(INSTALL_MAN)<br>
&gt; --install-lib:<br>
&gt; -diff --git a/man/man2/getxattr.2 b/man/man2/getxattr.2<br>
&gt; -deleted file mode 100644<br>
&gt; -index 405ad89..0000000<br>
&gt; ---- a/man/man2/getxattr.2<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,143 +0,0 @@<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; Extended attributes system calls manual pages<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; (C) Andreas Gruenbacher, February 2001<br>
&gt; --.\&quot; (C) Silicon Graphics Inc, September 2001<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This is free documentation; you can redistribute it and/or<br>
&gt; --.\&quot; modify it under the terms of the GNU General Public License as<br>
&gt; --.\&quot; published by the Free Software Foundation; either version 2 of<br>
&gt; --.\&quot; the License, or (at your option) any later version.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; The GNU General Public License&#39;s references to &quot;object code&quot;<br>
&gt; --.\&quot; and &quot;executables&quot; are to be interpreted as the output of any<br>
&gt; --.\&quot; document formatting or typesetting system, including<br>
&gt; --.\&quot; intermediate and printed output.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This manual is distributed in the hope that it will be useful,<br>
&gt; --.\&quot; but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --.\&quot; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --.\&quot; GNU General Public License for more details.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; You should have received a copy of the GNU General Public<br>
&gt; --.\&quot; License along with this manual.  If not, see<br>
&gt; --.\&quot; &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --.\&quot;<br>
&gt; --.TH GETXATTR 2 &quot;Extended Attributes&quot; &quot;Dec 2001&quot; &quot;System calls&quot;<br>
&gt; --.SH NAME<br>
&gt; --getxattr, lgetxattr, fgetxattr \- retrieve an extended attribute value<br>
&gt; --.SH SYNOPSIS<br>
&gt; --.fam C<br>
&gt; --.nf<br>
&gt; --.B #include &lt;sys/types.h&gt;<br>
&gt; --.B #include &lt;attr/xattr.h&gt;<br>
&gt; --.sp<br>
&gt; --.BI &quot;ssize_t getxattr (const char\ *&quot; path &quot;, const char\ *&quot; name &quot;,<br>
&gt; --.BI &quot;\t\t\t\t void\ *&quot; value &quot;, size_t &quot; size );<br>
&gt; --.BI &quot;ssize_t lgetxattr (const char\ *&quot; path &quot;, const char\ *&quot; name &quot;,<br>
&gt; --.BI &quot;\t\t\t\t void\ *&quot; value &quot;, size_t &quot; size );<br>
&gt; --.BI &quot;ssize_t fgetxattr (int &quot; filedes &quot;, const char\ *&quot; name &quot;,<br>
&gt; --.BI &quot;\t\t\t\t void\ *&quot; value &quot;, size_t &quot; size );<br>
&gt; --.fi<br>
&gt; --.fam T<br>
&gt; --.SH DESCRIPTION<br>
&gt; --Extended attributes are<br>
&gt; --.IR name :\c<br>
&gt; --.I value<br>
&gt; --pairs associated with inodes (files, directories, symlinks, etc).<br>
&gt; --They are extensions to the normal attributes which are associated<br>
&gt; --with all inodes in the system (i.e. the<br>
&gt; --.BR stat (2)<br>
&gt; --data).<br>
&gt; --A complete overview of extended attributes concepts can be found in<br>
&gt; --.BR attr (5).<br>
&gt; --.PP<br>
&gt; --.B getxattr<br>
&gt; --retrieves the<br>
&gt; --.I value<br>
&gt; --of the extended attribute identified by<br>
&gt; --.I name<br>
&gt; --and associated with the given<br>
&gt; --.I path<br>
&gt; --in the filesystem.<br>
&gt; --The length of the attribute<br>
&gt; --.I value<br>
&gt; --is returned.<br>
&gt; --.PP<br>
&gt; --.B lgetxattr<br>
&gt; --is identical to<br>
&gt; --.BR getxattr ,<br>
&gt; --except in the case of a symbolic link, where the link itself is<br>
&gt; --interrogated, not the file that it refers to.<br>
&gt; --.PP<br>
&gt; --.B fgetxattr<br>
&gt; --is identical to<br>
&gt; --.BR getxattr ,<br>
&gt; --only the open file pointed to by<br>
&gt; --.I filedes<br>
&gt; --(as returned by<br>
&gt; --.BR open (2))<br>
&gt; --is interrogated in place of<br>
&gt; --.IR path .<br>
&gt; --.PP<br>
&gt; --An extended attribute<br>
&gt; --.I name<br>
&gt; --is a simple NULL-terminated string.<br>
&gt; --The name includes a namespace prefix \- there may be several, disjoint<br>
&gt; --namespaces associated with an individual inode.<br>
&gt; --The value of an extended attribute is a chunk of arbitrary textual or<br>
&gt; --binary data of specified length.<br>
&gt; --.PP<br>
&gt; --An empty buffer of<br>
&gt; --.I size<br>
&gt; --zero can be passed into these calls to return the current size of the<br>
&gt; --named extended attribute, which can be used to estimate the size of a<br>
&gt; --buffer which is sufficiently large to hold the value associated with<br>
&gt; --the extended attribute.<br>
&gt; --.PP<br>
&gt; --The interface is designed to allow guessing of initial buffer<br>
&gt; --sizes, and to enlarge buffers when the return value indicates<br>
&gt; --that the buffer provided was too small.<br>
&gt; --.SH RETURN VALUE<br>
&gt; --On success, a positive number is returned indicating the size of the<br>
&gt; --extended attribute value.<br>
&gt; --On failure, \-1 is returned and<br>
&gt; --.I errno<br>
&gt; --is set appropriately.<br>
&gt; --.PP<br>
&gt; --If the named attribute does not exist, or the process has no access to<br>
&gt; --this attribute,<br>
&gt; --.I errno<br>
&gt; --is set to ENOATTR.<br>
&gt; --.PP<br>
&gt; --If the<br>
&gt; --.I size<br>
&gt; --of the<br>
&gt; --.I value<br>
&gt; --buffer is too small to hold the result,<br>
&gt; --.I errno<br>
&gt; --is set to ERANGE.<br>
&gt; --.PP<br>
&gt; --If extended attributes are not supported by the filesystem, or are disabled,<br>
&gt; --.I errno<br>
&gt; --is set to ENOTSUP.<br>
&gt; --.PP<br>
&gt; --The errors documented for the<br>
&gt; --.BR stat (2)<br>
&gt; --system call are also applicable here.<br>
&gt; --.SH AUTHORS<br>
&gt; --Andreas Gruenbacher,<br>
&gt; --.RI &lt; <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> &gt;<br>
&gt; --and the SGI XFS development team,<br>
&gt; --.RI &lt; <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> &gt;.<br>
&gt; --Please send any bug reports or comments to these addresses.<br>
&gt; --.SH SEE ALSO<br>
&gt; --.BR getfattr (1),<br>
&gt; --.BR setfattr (1),<br>
&gt; --.BR open (2),<br>
&gt; --.BR stat (2),<br>
&gt; --.BR setxattr (2),<br>
&gt; --.BR listxattr (2),<br>
&gt; --.BR removexattr (2),<br>
&gt; --and<br>
&gt; --.BR attr (5).<br>
&gt; -diff --git a/man/man2/listxattr.2 b/man/man2/listxattr.2<br>
&gt; -deleted file mode 100644<br>
&gt; -index 8b4371c..0000000<br>
&gt; ---- a/man/man2/listxattr.2<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,158 +0,0 @@<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; Extended attributes system calls manual pages<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; (C) Andreas Gruenbacher, February 2001<br>
&gt; --.\&quot; (C) Silicon Graphics Inc, September 2001<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This is free documentation; you can redistribute it and/or<br>
&gt; --.\&quot; modify it under the terms of the GNU General Public License as<br>
&gt; --.\&quot; published by the Free Software Foundation; either version 2 of<br>
&gt; --.\&quot; the License, or (at your option) any later version.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; The GNU General Public License&#39;s references to &quot;object code&quot;<br>
&gt; --.\&quot; and &quot;executables&quot; are to be interpreted as the output of any<br>
&gt; --.\&quot; document formatting or typesetting system, including<br>
&gt; --.\&quot; intermediate and printed output.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This manual is distributed in the hope that it will be useful,<br>
&gt; --.\&quot; but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --.\&quot; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --.\&quot; GNU General Public License for more details.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; You should have received a copy of the GNU General Public<br>
&gt; --.\&quot; License along with this manual.  If not, see<br>
&gt; --.\&quot; &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --.\&quot;<br>
&gt; --.TH LISTXATTR 2 &quot;Extended Attributes&quot; &quot;Dec 2001&quot; &quot;System calls&quot;<br>
&gt; --.SH NAME<br>
&gt; --listxattr, llistxattr, flistxattr \- list extended attribute names<br>
&gt; --.SH SYNOPSIS<br>
&gt; --.fam C<br>
&gt; --.nf<br>
&gt; --.B #include &lt;sys/types.h&gt;<br>
&gt; --.B #include &lt;attr/xattr.h&gt;<br>
&gt; --.sp<br>
&gt; --.BI &quot;ssize_t listxattr (const char\ *&quot; path &quot;,<br>
&gt; --.BI &quot;\t\t\t\t char\ *&quot; list &quot;, size_t &quot; size );<br>
&gt; --.BI &quot;ssize_t llistxattr (const char\ *&quot; path &quot;,<br>
&gt; --.BI &quot;\t\t\t\t char\ *&quot; list &quot;, size_t &quot; size );<br>
&gt; --.BI &quot;ssize_t flistxattr (int &quot; filedes &quot;,<br>
&gt; --.BI &quot;\t\t\t\t char\ *&quot; list &quot;, size_t &quot; size );<br>
&gt; --.fi<br>
&gt; --.fam T<br>
&gt; --.SH DESCRIPTION<br>
&gt; --Extended attributes are name:value<br>
&gt; --pairs associated with inodes (files, directories, symlinks, etc).<br>
&gt; --They are extensions to the normal attributes which are associated<br>
&gt; --with all inodes in the system (i.e. the<br>
&gt; --.BR stat (2)<br>
&gt; --data).<br>
&gt; --A complete overview of extended attributes concepts can be found in<br>
&gt; --.BR attr (5).<br>
&gt; --.PP<br>
&gt; --.B listxattr<br>
&gt; --retrieves the<br>
&gt; --.I list<br>
&gt; --of extended attribute names associated with the given<br>
&gt; --.I path<br>
&gt; --in the filesystem.<br>
&gt; --The list is the set of (NULL-terminated) names, one after the other.<br>
&gt; --Names of extended attributes to which the calling process does not<br>
&gt; --have access may be omitted from the list.<br>
&gt; --The length of the attribute name<br>
&gt; --.I list<br>
&gt; --is returned.<br>
&gt; --.PP<br>
&gt; --.B llistxattr<br>
&gt; --is identical to<br>
&gt; --.BR listxattr ,<br>
&gt; --except in the case of a symbolic link, where the list of names of<br>
&gt; --extended attributes associated with the link itself is retrieved,<br>
&gt; --not the file that it refers to.<br>
&gt; --.I list<br>
&gt; --is a caller-allocated buffer of size<br>
&gt; --.IR size .<br>
&gt; --.PP<br>
&gt; --.B flistxattr<br>
&gt; --is identical to<br>
&gt; --.BR listxattr ,<br>
&gt; --only the open file pointed to by<br>
&gt; --.I filedes<br>
&gt; --(as returned by<br>
&gt; --.BR open (2))<br>
&gt; --is interrogated in place of<br>
&gt; --.IR path .<br>
&gt; --.PP<br>
&gt; --A single extended attribute<br>
&gt; --.I name<br>
&gt; --is a simple NULL-terminated string.<br>
&gt; --The name includes a namespace prefix \- there may be several, disjoint<br>
&gt; --namespaces associated with an individual inode.<br>
&gt; --.PP<br>
&gt; --An empty buffer of<br>
&gt; --.I size<br>
&gt; --zero can be passed into these calls to return the current size of the<br>
&gt; --list of extended attribute names, which can be used to estimate the<br>
&gt; --size of a buffer which is sufficiently large to hold the list of names.<br>
&gt; --.SH EXAMPLES<br>
&gt; --The<br>
&gt; --.I list<br>
&gt; --of names is returned as an unordered array of NULL-terminated character<br>
&gt; --strings (attribute names are separated by NULL characters), like this:<br>
&gt; --.fam C<br>
&gt; --.RS<br>
&gt; --.nf<br>
&gt; --user.name1\\0system.name1\\0user.name2\\0<br>
&gt; --.fi<br>
&gt; --.RE<br>
&gt; --.fam T<br>
&gt; --.P<br>
&gt; --Filesystems like ext2, ext3 and XFS which implement POSIX ACLs using<br>
&gt; --extended attributes, might return a<br>
&gt; --.I list<br>
&gt; --like this:<br>
&gt; --.fam C<br>
&gt; --.RS<br>
&gt; --.nf<br>
&gt; --system.posix_acl_access\\0system.posix_acl_default\\0<br>
&gt; --.fi<br>
&gt; --.RE<br>
&gt; --.fam T<br>
&gt; --.SH RETURN VALUE<br>
&gt; --On success, a positive number is returned indicating the size of the<br>
&gt; --extended attribute name list.<br>
&gt; --On failure, \-1 is returned and<br>
&gt; --.I errno<br>
&gt; --is set appropriately.<br>
&gt; --.PP<br>
&gt; --If the<br>
&gt; --.I size<br>
&gt; --of the<br>
&gt; --.I list<br>
&gt; --buffer is too small to hold the result,<br>
&gt; --.I errno<br>
&gt; --is set to ERANGE.<br>
&gt; --.PP<br>
&gt; --If extended attributes are not supported by the filesystem, or are disabled,<br>
&gt; --.I errno<br>
&gt; --is set to ENOTSUP.<br>
&gt; --.PP<br>
&gt; --The errors documented for the<br>
&gt; --.BR stat (2)<br>
&gt; --system call are also applicable here.<br>
&gt; --.SH AUTHORS<br>
&gt; --Andreas Gruenbacher,<br>
&gt; --.RI &lt; <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> &gt;<br>
&gt; --and the SGI XFS development team,<br>
&gt; --.RI &lt; <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> &gt;.<br>
&gt; --Please send any bug reports or comments to these addresses.<br>
&gt; --.SH SEE ALSO<br>
&gt; --.BR getfattr (1),<br>
&gt; --.BR setfattr (1),<br>
&gt; --.BR open (2),<br>
&gt; --.BR stat (2),<br>
&gt; --.BR getxattr (2),<br>
&gt; --.BR setxattr (2),<br>
&gt; --.BR removexattr (2),<br>
&gt; --and<br>
&gt; --.BR attr (5).<br>
&gt; -diff --git a/man/man2/removexattr.2 b/man/man2/removexattr.2<br>
&gt; -deleted file mode 100644<br>
&gt; -index 2c7d934..0000000<br>
&gt; ---- a/man/man2/removexattr.2<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,111 +0,0 @@<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; Extended attributes system calls manual pages<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; (C) Andreas Gruenbacher, February 2001<br>
&gt; --.\&quot; (C) Silicon Graphics Inc, September 2001<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This is free documentation; you can redistribute it and/or<br>
&gt; --.\&quot; modify it under the terms of the GNU General Public License as<br>
&gt; --.\&quot; published by the Free Software Foundation; either version 2 of<br>
&gt; --.\&quot; the License, or (at your option) any later version.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; The GNU General Public License&#39;s references to &quot;object code&quot;<br>
&gt; --.\&quot; and &quot;executables&quot; are to be interpreted as the output of any<br>
&gt; --.\&quot; document formatting or typesetting system, including<br>
&gt; --.\&quot; intermediate and printed output.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This manual is distributed in the hope that it will be useful,<br>
&gt; --.\&quot; but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --.\&quot; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --.\&quot; GNU General Public License for more details.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; You should have received a copy of the GNU General Public<br>
&gt; --.\&quot; License along with this manual.  If not, see<br>
&gt; --.\&quot; &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --.\&quot;<br>
&gt; --.TH REMOVEXATTR 2 &quot;Extended Attributes&quot; &quot;Dec 2001&quot; &quot;System calls&quot;<br>
&gt; --.SH NAME<br>
&gt; --removexattr, lremovexattr, fremovexattr \- remove an extended attribute<br>
&gt; --.SH SYNOPSIS<br>
&gt; --.fam C<br>
&gt; --.nf<br>
&gt; --.B #include &lt;sys/types.h&gt;<br>
&gt; --.B #include &lt;attr/xattr.h&gt;<br>
&gt; --.sp<br>
&gt; --.BI &quot;int removexattr (const char\ *&quot; path &quot;, const char\ *&quot; name );<br>
&gt; --.BI &quot;int lremovexattr (const char\ *&quot; path &quot;, const char\ *&quot; name );<br>
&gt; --.BI &quot;int fremovexattr (int &quot; filedes &quot;, const char\ *&quot; name );<br>
&gt; --.fi<br>
&gt; --.fam T<br>
&gt; --.SH DESCRIPTION<br>
&gt; --Extended attributes are<br>
&gt; --.IR name :\c<br>
&gt; --value pairs associated with inodes (files, directories, symlinks, etc).<br>
&gt; --They are extensions to the normal attributes which are associated<br>
&gt; --with all inodes in the system (i.e. the<br>
&gt; --.BR stat (2)<br>
&gt; --data).<br>
&gt; --A complete overview of extended attributes concepts can be found in<br>
&gt; --.BR attr (5).<br>
&gt; --.PP<br>
&gt; --.B removexattr<br>
&gt; --removes the extended attribute identified by<br>
&gt; --.I name<br>
&gt; --and associated with the given<br>
&gt; --.I path<br>
&gt; --in the filesystem.<br>
&gt; --.PP<br>
&gt; --.B lremovexattr<br>
&gt; --is identical to<br>
&gt; --.BR removexattr ,<br>
&gt; --except in the case of a symbolic link, where the extended attribute is<br>
&gt; --removed from the link itself, not the file that it refers to.<br>
&gt; --.PP<br>
&gt; --.B fremovexattr<br>
&gt; --is identical to<br>
&gt; --.BR removexattr ,<br>
&gt; --only the extended attribute is removed from the open file pointed to by<br>
&gt; --.I filedes<br>
&gt; --(as returned by<br>
&gt; --.BR open (2))<br>
&gt; --in place of<br>
&gt; --.IR path .<br>
&gt; --.PP<br>
&gt; --An extended attribute name is a simple NULL-terminated string.<br>
&gt; --The<br>
&gt; --.I name<br>
&gt; --includes a namespace prefix \- there may be several, disjoint<br>
&gt; --namespaces associated with an individual inode.<br>
&gt; --.SH RETURN VALUE<br>
&gt; --On success, zero is returned.<br>
&gt; --On failure, \-1 is returned and<br>
&gt; --.I errno<br>
&gt; --is set appropriately.<br>
&gt; --.PP<br>
&gt; --If the named attribute does not exist,<br>
&gt; --.I errno<br>
&gt; --is set to ENOATTR.<br>
&gt; --.PP<br>
&gt; --If extended attributes are not supported by the filesystem, or are disabled,<br>
&gt; --.I errno<br>
&gt; --is set to ENOTSUP.<br>
&gt; --.PP<br>
&gt; --The errors documented for the<br>
&gt; --.BR stat (2)<br>
&gt; --system call are also applicable here.<br>
&gt; --.SH AUTHORS<br>
&gt; --Andreas Gruenbacher,<br>
&gt; --.RI &lt; <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> &gt;<br>
&gt; --and the SGI XFS development team,<br>
&gt; --.RI &lt; <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> &gt;.<br>
&gt; --Please send any bug reports or comments to these addresses.<br>
&gt; --.SH SEE ALSO<br>
&gt; --.BR getfattr (1),<br>
&gt; --.BR setfattr (1),<br>
&gt; --.BR open (2),<br>
&gt; --.BR stat (2),<br>
&gt; --.BR setxattr (2),<br>
&gt; --.BR getxattr (2),<br>
&gt; --.BR listxattr (2),<br>
&gt; --and<br>
&gt; --.BR attr (5).<br>
&gt; -diff --git a/man/man2/setxattr.2 b/man/man2/setxattr.2<br>
&gt; -deleted file mode 100644<br>
&gt; -index b20dc9f..0000000<br>
&gt; ---- a/man/man2/setxattr.2<br>
&gt; -+++ /dev/null<br>
&gt; -@@ -1,143 +0,0 @@<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; Extended attributes system calls manual pages<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; (C) Andreas Gruenbacher, February 2001<br>
&gt; --.\&quot; (C) Silicon Graphics Inc, September 2001<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This is free documentation; you can redistribute it and/or<br>
&gt; --.\&quot; modify it under the terms of the GNU General Public License as<br>
&gt; --.\&quot; published by the Free Software Foundation; either version 2 of<br>
&gt; --.\&quot; the License, or (at your option) any later version.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; The GNU General Public License&#39;s references to &quot;object code&quot;<br>
&gt; --.\&quot; and &quot;executables&quot; are to be interpreted as the output of any<br>
&gt; --.\&quot; document formatting or typesetting system, including<br>
&gt; --.\&quot; intermediate and printed output.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; This manual is distributed in the hope that it will be useful,<br>
&gt; --.\&quot; but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
&gt; --.\&quot; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>
&gt; --.\&quot; GNU General Public License for more details.<br>
&gt; --.\&quot;<br>
&gt; --.\&quot; You should have received a copy of the GNU General Public<br>
&gt; --.\&quot; License along with this manual.  If not, see<br>
&gt; --.\&quot; &lt;<a href="http://www.gnu.org/licenses/" rel="noreferrer" target="_blank">http://www.gnu.org/licenses/</a>&gt;.<br>
&gt; --.\&quot;<br>
&gt; --.TH SETXATTR 2 &quot;Extended Attributes&quot; &quot;Dec 2001&quot; &quot;System calls&quot;<br>
&gt; --.SH NAME<br>
&gt; --setxattr, lsetxattr, fsetxattr \- set an extended attribute value<br>
&gt; --.SH SYNOPSIS<br>
&gt; --.fam C<br>
&gt; --.nf<br>
&gt; --.B #include &lt;sys/types.h&gt;<br>
&gt; --.B #include &lt;attr/xattr.h&gt;<br>
&gt; --.sp<br>
&gt; --.BI &quot;int setxattr (const char\ *&quot; path &quot;, const char\ *&quot; name &quot;,<br>
&gt; --.BI &quot;\t\t\t const void\ *&quot; value &quot;, size_t &quot; size &quot;, int &quot; flags );<br>
&gt; --.BI &quot;int lsetxattr (const char\ *&quot; path &quot;, const char\ *&quot; name &quot;,<br>
&gt; --.BI &quot;\t\t\t const void\ *&quot; value &quot;, size_t &quot; size &quot;, int &quot; flags );<br>
&gt; --.BI &quot;int fsetxattr (int &quot; filedes &quot;, const char\ *&quot; name &quot;,<br>
&gt; --.BI &quot;\t\t\t const void\ *&quot; value &quot;, size_t &quot; size &quot;, int &quot; flags );<br>
&gt; --.fi<br>
&gt; --.fam T<br>
&gt; --.SH DESCRIPTION<br>
&gt; --Extended attributes are<br>
&gt; --.IR name :\c<br>
&gt; --.I value<br>
&gt; --pairs associated with inodes (files, directories, symlinks, etc).<br>
&gt; --They are extensions to the normal attributes which are associated<br>
&gt; --with all inodes in the system (i.e. the<br>
&gt; --.BR stat (2)<br>
&gt; --data).<br>
&gt; --A complete overview of extended attributes concepts can be found in<br>
&gt; --.BR attr (5).<br>
&gt; --.PP<br>
&gt; --.B setxattr<br>
&gt; --sets the<br>
&gt; --.I value<br>
&gt; --of the extended attribute identified by<br>
&gt; --.I name<br>
&gt; --and associated with the given<br>
&gt; --.I path<br>
&gt; --in the filesystem.<br>
&gt; --The<br>
&gt; --.I size<br>
&gt; --of the<br>
&gt; --.I value<br>
&gt; --must be specified.<br>
&gt; --.PP<br>
&gt; --.B lsetxattr<br>
&gt; --is identical to<br>
&gt; --.BR setxattr ,<br>
&gt; --except in the case of a symbolic link, where the extended attribute is<br>
&gt; --set on the link itself, not the file that it refers to.<br>
&gt; --.PP<br>
&gt; --.B fsetxattr<br>
&gt; --is identical to<br>
&gt; --.BR setxattr ,<br>
&gt; --only the extended attribute is set on the open file pointed to by<br>
&gt; --.I filedes<br>
&gt; --(as returned by<br>
&gt; --.BR open (2))<br>
&gt; --in place of<br>
&gt; --.IR path .<br>
&gt; --.PP<br>
&gt; --An extended attribute name is a simple NULL-terminated string.<br>
&gt; --The<br>
&gt; --.I name<br>
&gt; --includes a namespace prefix \- there may be several, disjoint<br>
&gt; --namespaces associated with an individual inode.<br>
&gt; --The<br>
&gt; --.I value<br>
&gt; --of an extended attribute is a chunk of arbitrary textual or<br>
&gt; --binary data of specified length.<br>
&gt; --.PP<br>
&gt; --The<br>
&gt; --.I flags<br>
&gt; --parameter can be used to refine the semantics of the operation.<br>
&gt; --XATTR_CREATE specifies a pure create, which fails if the named<br>
&gt; --attribute exists already.<br>
&gt; --XATTR_REPLACE specifies a pure replace operation, which fails if the<br>
&gt; --named attribute does not already exist.<br>
&gt; --By default (no flags), the extended attribute will be created if<br>
&gt; --need be, or will simply replace the value if the attribute exists.<br>
&gt; --.SH RETURN VALUE<br>
&gt; --On success, zero is returned.<br>
&gt; --On failure, \-1 is returned and<br>
&gt; --.I errno<br>
&gt; --is set appropriately.<br>
&gt; --.PP<br>
&gt; --If XATTR_CREATE is specified, and the attribute exists already,<br>
&gt; --.I errno<br>
&gt; --is set to EEXIST.<br>
&gt; --If XATTR_REPLACE is specified, and the attribute does not exist,<br>
&gt; --.I errno<br>
&gt; --is set to ENOATTR.<br>
&gt; --.PP<br>
&gt; --If there is insufficient space remaining to store the extended attribute,<br>
&gt; --.I errno<br>
&gt; --is set to either ENOSPC, or EDQUOT if quota enforcement was the cause.<br>
&gt; --.PP<br>
&gt; --If extended attributes are not supported by the filesystem, or are disabled,<br>
&gt; --.I errno<br>
&gt; --is set to ENOTSUP.<br>
&gt; --.PP<br>
&gt; --The errors documented for the<br>
&gt; --.BR stat (2)<br>
&gt; --system call are also applicable here.<br>
&gt; --.SH AUTHORS<br>
&gt; --Andreas Gruenbacher,<br>
&gt; --.RI &lt; <a href="mailto:a.gruenbacher@bestbits.at" target="_blank">a.gruenbacher@bestbits.at</a> &gt;<br>
&gt; --and the SGI XFS development team,<br>
&gt; --.RI &lt; <a href="mailto:linux-xfs@oss.sgi.com" target="_blank">linux-xfs@oss.sgi.com</a> &gt;.<br>
&gt; --Please send any bug reports or comments to these addresses.<br>
&gt; --.SH SEE ALSO<br>
&gt; --.BR getfattr (1),<br>
&gt; --.BR setfattr (1),<br>
&gt; --.BR open (2),<br>
&gt; --.BR stat (2),<br>
&gt; --.BR getxattr (2),<br>
&gt; --.BR listxattr (2),<br>
&gt; --.BR removexattr (2),<br>
&gt; --and<br>
&gt; --.BR attr (5).<br>
&gt; ---<br>
&gt; -2.7.4<br>
&gt; -<br>
&gt; diff --git a/meta/recipes-support/attr/files/relative-libdir.patch b/meta/recipes-support/attr/files/relative-libdir.patch<br>
&gt; deleted file mode 100644<br>
&gt; index b72bf184d6f..00000000000<br>
&gt; --- a/meta/recipes-support/attr/files/relative-libdir.patch<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,25 +0,0 @@<br>
&gt; -Upstream-Status: Pending<br>
&gt; -<br>
&gt; -use relative path in symbolic links, or it fails in staging<br>
&gt; -sed expression from udev<br>
&gt; -<br>
&gt; -7/29/2010 - created by Qing He &lt;<a href="mailto:qing.he@intel.com" target="_blank">qing.he@intel.com</a>&gt;<br>
&gt; -<br>
&gt; -diff -u include.orig/buildmacros include/buildmacros<br>
&gt; ---- include.orig/buildmacros   2010-07-29 17:39:48.000000000 +0800<br>
&gt; -+++ include/buildmacros        2010-07-29 18:20:34.000000000 +0800<br>
&gt; -@@ -88,9 +88,11 @@<br>
&gt; -       ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \<br>
&gt; -       ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \<br>
&gt; -       if test &quot;x$(PKG_DEVLIB_DIR)&quot; != &quot;x$(PKG_LIB_DIR)&quot; ; then \<br>
&gt; --      ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \<br>
&gt; --      ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \<br>
&gt; --      ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \<br>
&gt; -+      rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed &#39;s,\(^/\|\)[^/][^/]*,..,g&#39;); \<br>
&gt; -+      ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \<br>
&gt; -+      ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \<br>
&gt; -+      rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed &#39;s,\(^/\|\)[^/][^/]*,..,g&#39;); \<br>
&gt; -+      ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \<br>
&gt; -       fi<br>
&gt; - else<br>
&gt; - INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)<br>
&gt; diff --git a/meta/recipes-support/attr/files/run-ptest b/meta/recipes-support/attr/files/run-ptest<br>
&gt; deleted file mode 100644<br>
&gt; index a6c6867f2d9..00000000000<br>
&gt; --- a/meta/recipes-support/attr/files/run-ptest<br>
&gt; +++ /dev/null<br>
&gt; @@ -1,5 +0,0 @@<br>
&gt; -#!/bin/sh<br>
&gt; -<br>
&gt; -make -C test -k tests root-tests |sed \<br>
&gt; - -e &#39;s|^\[.*\] \(.*\) -- ok$|PASS: \1|&#39; \<br>
&gt; - -e &#39;s|^\[.*\] \(.*\) -- failed|FAIL: \1|&#39;<br>
&gt; --<br>
&gt; 2.17.1<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>