diff --git a/dist b/dist new file mode 100644 index 0000000000000000000000000000000000000000..5aa45c5bf3f5e5b781981aec176b4910ac39baaf --- /dev/null +++ b/dist @@ -0,0 +1 @@ +an8_8 diff --git a/download b/download new file mode 100644 index 0000000000000000000000000000000000000000..a38edfb5aec767ed0bee44d0e353a9832c1fb0f6 --- /dev/null +++ b/download @@ -0,0 +1 @@ +9936aa8009438ce185bea2694a997fc1 findutils-4.6.0.tar.gz diff --git a/findutils-4.6.0-ignore_readdir_race-symlink_loop.patch b/findutils-4.6.0-ignore_readdir_race-symlink_loop.patch new file mode 100644 index 0000000000000000000000000000000000000000..f6ac52d030603b0e2d9dd4a2bce1fdd64ba346b9 --- /dev/null +++ b/findutils-4.6.0-ignore_readdir_race-symlink_loop.patch @@ -0,0 +1,17 @@ +# cherry picked from https://savannah.gnu.org/bugs/?45930 +diff --git a/find/ftsfind.c b/find/ftsfind.c +index 0d96c4ca..6aeac28c 100644 +--- a/find/ftsfind.c ++++ b/find/ftsfind.c +@@ -401,6 +401,10 @@ consider_visiting (FTS *p, FTSENT *ent) + } + else + { ++ /* Ignore unlink() error for vanished files. */ ++ if (ENOENT == ent->fts_errno && options.ignore_readdir_race) ++ return; ++ + nonfatal_target_file_error (ent->fts_errno, ent->fts_path); + /* Continue despite the error, as file name without stat info + * might be better than not even processing the file name. This + diff --git a/findutils-4.6.0.tar.gz b/findutils-4.6.0.tar.gz deleted file mode 100644 index 5d4e185cda1ebd758b407da45ca73a690fcad744..0000000000000000000000000000000000000000 Binary files a/findutils-4.6.0.tar.gz and /dev/null differ diff --git a/findutils.spec b/findutils.spec index 6300e8aa393a63b7ea540e750fce9a0889aea99a..8b41b5fd14779017fd2ea27687120751dba2a250 100644 --- a/findutils.spec +++ b/findutils.spec @@ -2,7 +2,7 @@ Summary: The GNU versions of find utilities (find and xargs) Name: findutils Version: 4.6.0 -Release: 20%{anolis_release}%{?dist} +Release: 20%{anolis_release}%{?dist}.1 Epoch: 1 License: GPLv3+ Group: Applications/File @@ -50,6 +50,9 @@ Patch12: findutils-4.6.0-leaf-opt.patch # fix programming mistakes detected by static analysis (#1606953) Patch13: findutils-4.6.0-covscan.patch +# fix find not obeying option -ignore_readdir_race in symlink_loop (#2232514) +Patch14: findutils-4.6.0-ignore_readdir_race-symlink_loop.patch + Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Conflicts: filesystem < 3 @@ -164,11 +167,12 @@ fi %doc AUTHORS NEWS README THANKS TODO %changelog -* Thu Nov 03 2022 Chang Gao - 4.6.0-20.0.2 +* Mon Sep 25 2023 Chang Gao - 4.6.0-20.0.2.1 +- Add doc sub package - Fix the doc package requirement -* Fri Jul 15 2022 Chang Gao - 4.6.0-20.0.1 -- Add doc sub package +* Thu Aug 17 2023 Lukáš Zaoral - 1:4.6.0-20.1 +- fix find not obeying option -ignore_readdir_race in symlink_loop (#2232514) * Mon Nov 05 2018 Kamil Dudka - 1:4.6.0-20 - fix programming mistakes detected by static analysis (#1606953)