Commit Graph

626 Commits

Author SHA1 Message Date
Fedora Release Engineering
b55ae3bd16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 20:02:21 +00:00
Stewart Smith
9482c160b7 gpgverify source tarball
The old upstream-key.gpg was probably correct some time in the past,
but it's not true anymore. Luckily Savannah has a nice team gpg keyring
that we can use.

Signed-off-by: Stewart Smith <trawets@amazon.com>
2021-07-09 18:16:38 +00:00
Kamil Dudka
1250da8dfb Resolves: #1979814 - df: fix duplicated remote entries due to bind mounts 2021-07-07 17:59:02 +02:00
Kamil Dudka
c05b5f83e5 Resolves: #1976935 - tail: fix stack out-of-bounds write with --follow 2021-07-01 14:42:14 +02:00
Kamil Dudka
a0cb772e6f Resolves: #1913358 - mountlist: recognize fuse.portal as dummy file system 2021-06-08 09:18:54 +02:00
Kamil Dudka
d21fd8df0d Related: #1953669 - fix false positives in the upstrem test-suite 2021-05-17 18:52:49 +02:00
Kamil Dudka
9666248b72 Resolves: #1953669 - cp: pick additional copy_file_range()-related fixes
... from upstream
2021-05-17 18:52:48 +02:00
Kamil Dudka
18d8c0abc1 Related: #1953669 - embed coreutils-8.32-copy-swap.patch
... into coreutils-8.32-cp-file-range.patch

It is confusing when 1 patch out of 8 from the same patchset is kept
separately.
2021-05-17 16:35:15 +02:00
Kamil Dudka
ce3b866d19 changelog: forgot to mention public bug #1956080 2021-05-03 14:03:56 +02:00
Kamil Dudka
3a336cf37e Related: #1953669 - copy: ensure we enforce --reflink=never 2021-05-03 12:31:07 +02:00
Kamil Dudka
56555a47f2 Resolves: #1953669 - copy: do not refuse to copy a swap file 2021-04-27 10:35:48 +02:00
Kamil Dudka
e4decc2688 Resolves: #1947850 - weaken the dependency on glibc-doc
... to reduce minimal installations
2021-04-10 18:33:31 +02:00
Kamil Dudka
e680748e28 Related: #1830318 - drop the last use of ncurses no longer needed
We do not install or maintain /etc/DIR_COLORS.256color any more.
2021-04-10 18:33:31 +02:00
Kamil Dudka
32fb61705f Related: #1938695 - utimens: fix confusing arg type in internal func 2021-04-10 18:33:12 +02:00
Kamil Dudka
e3402b5fd4 Resolves: #1938695 - hostname,ln: fix memory leaks detected by Coverity 2021-03-26 14:01:53 +01:00
Kamil Dudka
1737e5c81f Resolves: #1730048 - cp: use copy_file_range if available 2021-03-24 16:09:51 +01:00
Kamil Dudka
6b50cb9fc4 Resolves: #1921427 - stat: add support for the exfat file system 2021-02-18 15:38:36 +01:00
Kamil Dudka
c822f6b1c0 Resolves: #959597 - make coreutils-common recommend glibc-doc
... for info doc refs
2021-02-03 17:05:57 +01:00
Kamil Dudka
4bd3080a00 Resolves: #1921249 - ls: fix crash printing SELinux context for unstatable files 2021-02-02 15:28:59 +01:00
Kamil Dudka
7afd521be2 Resolves: #1921246 - split: fix --number=K/N to output correct part of file 2021-02-02 15:28:19 +01:00
Kamil Dudka
d5245cc71c Resolves: #1919775 - expr: fix invalid read with unmatched \(...\) 2021-02-02 15:25:51 +01:00
Fedora Release Engineering
581c05ccb4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:34:09 +00:00
Kamil Dudka
44351906c7 coreutils.spec: keep BR list alphabetically sorted 2021-01-07 09:00:22 +01:00
Tom Stellard
f0b46ff947 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 05:23:46 +00:00
Kamil Dudka
1a18f20c40 Resolves: #1905481 - rm: do not skip files upon failure
... to remove an empty dir
2020-12-08 14:36:26 +01:00
Kamil Dudka
4af0c9fc89 df,stat,tail: recognize more file system types 2020-11-03 20:45:20 +01:00
Kamil Dudka
3a62768287 use upstream patch to eliminate unportable gnulib tests 2020-11-03 20:44:21 +01:00
Kamil Dudka
f4b85e63ba make the %build section idempotent
... so that we can run `fedpkg compile --short` repeatedly
2020-10-14 18:13:09 +02:00
Kamil Dudka
441f1d7519 Resolves: #1830318 - do not install /etc/DIR_COLORS.256color 2020-08-17 12:46:51 +02:00
Kamil Dudka
5d08d14bbc Resolves: #1861108 - cp: default to --reflink=auto 2020-07-30 17:36:08 +02:00
Fedora Release Engineering
fe6d386d13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:35:30 +00:00
Kamil Dudka
27d47106a2 replace weirdo constant in gnulib tests
... causing test failures on armv7hl
2020-07-24 19:17:09 +02:00
Kamil Dudka
6d3ccf4f6f Related: #1789115 - disable -flto on ppc64le to make test-float pass 2020-07-24 19:16:16 +02:00
Kamil Dudka
fac4ffd39e fix the last change log entry 2020-07-24 19:15:28 +02:00
Tom Stellard
3426965b81 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-13 18:53:32 +00:00
James Cassell
5d12163012 make ncurses optional 2020-06-26 03:19:47 -04:00
James Cassell
d72df4e29b ncurses is required by colorls.sh in coreutils-common
- colorls.sh uses tput from ncurses https://bugzilla.redhat.com/show_bug.cgi?id=469277
- colorls.sh was moved to -common package but the ncurses requirement
was not (in commit 5fb9bc4700 )
2020-06-26 02:45:57 -04:00
Kamil Dudka
1f6e0df263 compile with -Dlint to enable optional initialization and cleanup code
Upstream suggests to build with -Dlint for static analyzers:

    https://lists.gnu.org/archive/html/coreutils/2018-06/msg00110.html

... and even for production binary RPMs:

    https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00130.html

There is currently no measurable performance drop or other known downside.
2020-05-15 19:19:05 +02:00
Kamil Dudka
bce50ab523 increase verbosity of the build
... so that compiler flags used for each compilation unit are visible
directly in the build log.
2020-05-15 19:19:05 +02:00
Kamil Dudka
2f7b3e0a8c Resolves: #1823247 - du: simplify leaf optimization for XFS 2020-04-23 15:07:37 +02:00
Tom Stellard
f4a53e34d0 Fix missing inline function definition
The coreutils-i18n-expand-unexpand.patch adds 3 definitions of the
mbfile_multi_getc function.  2 of the definitions are marked with
the inline keyword, which means that there must also be an externally
visible definition.  The 3rd definition is marked extern inline, which statisfies
this requirement.  However, the 3rd definition is defined in mbfile.c
which is not compiled or linked in to any executable.  This causes build
failures if the compiler decides not to inline the function (which it is
allowed to do) e.g.

src/expand.c:153: undefined reference to `mbfile_multi_getc'

clang does not inline this function, but gcc does which is why
you will not see this failure when compiling with gcc.  However,
gcc could choose not to inline this, so even though the build succeeds,
it is depending on an implementation detail of gcc rather than the
C specification.

In order to fix this problem, mbfile.c was added to the list of sources for
any executable that uses mbfile_multi_getc.
2020-04-17 04:12:54 +00:00
Kamil Dudka
d27f8523e2 uniq: remove collation handling as required by newer POSIX
Related upstream commit:
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8e81d44b5

Related Austin Group ticket:
https://www.austingroupbugs.net/view.php?id=963

Patch provided by Bernhard Voelker.
2020-03-11 14:20:22 +01:00
Kamil Dudka
9ed5d5b0f9 add missing BR for perl* needed for test-suite 2020-03-11 12:50:58 +01:00
Kamil Dudka
acfa9e81ec Resolves: #1811038 - make mknod work again in chroot
... without /proc being mounted
2020-03-11 10:42:02 +01:00
Kamil Dudka
44b7afa142 ls: restore 8.31 behavior on removed directories 2020-03-09 14:19:35 +01:00
Kamil Dudka
4a6bfcaa46 do not use IF_LINT for initialization of scalar variables
It triggers false positives in compilers and static analyzers
for no real benefit.
2020-03-05 18:02:07 +01:00
Kamil Dudka
b7eb17e7ee run tests/ls/removed-directory on x86_64 only for now 2020-03-05 17:51:56 +01:00
Kamil Dudka
eadc061798 ls: fix compilation failure on aarch64
Bug: https://debbugs.gnu.org/39929
2020-03-05 17:29:48 +01:00
Kamil Dudka
46d49783fe adapt DIR_COLORS patch for the new release
... and make it easier to maintain (by using sed for substitutions).
2020-03-05 16:51:13 +01:00
Kamil Dudka
00f87f4b88 new upstream release 8.32 2020-03-05 16:50:47 +01:00