summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-03-06 07:42:02 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-07 17:25:02 +0000
commitd92454308b0dc8d404b025b4421cea4f8f3366a6 (patch)
tree0791183f9f52689c488e458ad4ae6c35d74a2284 /meta/recipes-support
parente65840bdd53b8ec97ab1f8cdc041d55e4ee49e10 (diff)
downloadpoky-d92454308b0dc8d404b025b4421cea4f8f3366a6.tar.gz
acl: upgrade 2.3.1 -> 2.3.2
(From OE-Core rev: 2daf3cebd0786ffe6b661d0e62296c3c5b864f63) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/attr/acl/0001-chacl-Use-portable-version-of-dirent-and-readdir.patch39
-rw-r--r--meta/recipes-support/attr/acl/0001-test-patch-out-failing-bits.patch5
-rw-r--r--meta/recipes-support/attr/acl/0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch6
-rw-r--r--meta/recipes-support/attr/acl_2.3.2.bb (renamed from meta/recipes-support/attr/acl_2.3.1.bb)3
4 files changed, 5 insertions, 48 deletions
diff --git a/meta/recipes-support/attr/acl/0001-chacl-Use-portable-version-of-dirent-and-readdir.patch b/meta/recipes-support/attr/acl/0001-chacl-Use-portable-version-of-dirent-and-readdir.patch
deleted file mode 100644
index 775675e1f2..0000000000
--- a/meta/recipes-support/attr/acl/0001-chacl-Use-portable-version-of-dirent-and-readdir.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 1a5671a4eb13b81b98c3e71f00370781563f66d8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 10 Nov 2022 17:57:24 -0800
4Subject: [PATCH] chacl: Use portable version of dirent and readdir
5
6Using 64bit versions on 32bit architectures should be enabled with
7--enable-largefile, this makes it portable across musl and glibc
8
9Upstream-Status: Backport [https://git.savannah.nongnu.org/cgit/acl.git/commit/?id=2b42f64737adf6a2ddd491213580d6e9cdd2f5af]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tools/chacl.c | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/tools/chacl.c b/tools/chacl.c
16index 525a7ff..8fff875 100644
17--- a/tools/chacl.c
18+++ b/tools/chacl.c
19@@ -320,7 +320,7 @@ walk_dir(acl_t acl, acl_t dacl, const char *fname)
20 {
21 int failed = 0;
22 DIR *dir;
23- struct dirent64 *d;
24+ struct dirent *d;
25 char *name;
26
27 if ((dir = opendir(fname)) == NULL) {
28@@ -332,7 +332,7 @@ walk_dir(acl_t acl, acl_t dacl, const char *fname)
29 return(0); /* got a file, not an error */
30 }
31
32- while ((d = readdir64(dir)) != NULL) {
33+ while ((d = readdir(dir)) != NULL) {
34 /* skip "." and ".." entries */
35 if (strcmp(d->d_name, ".") == 0 || strcmp(d->d_name, "..") == 0)
36 continue;
37--
382.38.1
39
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
index ba2ffee5d2..219feaccd0 100644
--- 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
@@ -1,4 +1,4 @@
1From 9e08219e0e99ee2589cf35fa8d52cef3515accce Mon Sep 17 00:00:00 2001 1From 7dec6fa3b3494a55120402ff1ea3eb96b67138e8 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 12 Dec 2019 15:47:49 +0100 3Date: Thu, 12 Dec 2019 15:47:49 +0100
4Subject: [PATCH] test: patch out failing bits 4Subject: [PATCH] test: patch out failing bits
@@ -58,6 +58,3 @@ index 8f8f825..21e8a95 100644
58 $ : > f 58 $ : > f
59 $ : <> f 59 $ : <> f
60 >~ .*f: Permission denied$ 60 >~ .*f: Permission denied$
61--
622.17.1
63
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
index 57ef0bb728..748f37f3e7 100644
--- 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
@@ -1,4 +1,4 @@
1From 39d332a8801de5d9ef09dacb3dba85c208b7b2ad Mon Sep 17 00:00:00 2001 1From 42ae3f8a5e32ba0681ccd1552a203ddad8748a6e Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 12 Dec 2019 13:45:52 +0100 3Date: Thu, 12 Dec 2019 13:45:52 +0100
4Subject: [PATCH] tests: do not hardcode the build path into a helper library 4Subject: [PATCH] tests: do not hardcode the build path into a helper library
@@ -10,7 +10,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/test/Makemodule.am b/test/Makemodule.am 12diff --git a/test/Makemodule.am b/test/Makemodule.am
13index 17d4927..015de7f 100644 13index e1d715d..cffe732 100644
14--- a/test/Makemodule.am 14--- a/test/Makemodule.am
15+++ b/test/Makemodule.am 15+++ b/test/Makemodule.am
16@@ -30,7 +30,7 @@ EXTRA_DIST += \ 16@@ -30,7 +30,7 @@ EXTRA_DIST += \
@@ -21,4 +21,4 @@ index 17d4927..015de7f 100644
21+libtestlookup_la_CFLAGS = -DBASEDIR=\"/tmp/acl-ptest\" 21+libtestlookup_la_CFLAGS = -DBASEDIR=\"/tmp/acl-ptest\"
22 libtestlookup_la_LDFLAGS = -rpath $(abs_builddir) 22 libtestlookup_la_LDFLAGS = -rpath $(abs_builddir)
23 23
24 AM_TESTS_ENVIRONMENT = PATH="$(abs_top_builddir):$$PATH"; 24 # Make sure translations don't break tests when matching output.
diff --git a/meta/recipes-support/attr/acl_2.3.1.bb b/meta/recipes-support/attr/acl_2.3.2.bb
index 9badd33254..6178473873 100644
--- a/meta/recipes-support/attr/acl_2.3.1.bb
+++ b/meta/recipes-support/attr/acl_2.3.2.bb
@@ -19,10 +19,9 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.tar.gz \
19 file://run-ptest \ 19 file://run-ptest \
20 file://0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch \ 20 file://0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch \
21 file://0001-test-patch-out-failing-bits.patch \ 21 file://0001-test-patch-out-failing-bits.patch \
22 file://0001-chacl-Use-portable-version-of-dirent-and-readdir.patch \
23 " 22 "
24 23
25SRC_URI[sha256sum] = "760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af" 24SRC_URI[sha256sum] = "5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c"
26 25
27inherit autotools gettext ptest 26inherit autotools gettext ptest
28 27