Commit Graph

780 Commits

Author SHA1 Message Date
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
b0dc3833bf adapt i18n patch for the new release 2020-03-05 16:51:18 +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
Kamil Dudka
3dbfd57eac Resolves: #1800597 - make upstream test-suite work with root privileges 2020-02-11 10:36:16 +01:00
Kamil Dudka
3957dee9a4 use upstream fix the cp/proc-short-read test 2020-02-05 09:58:24 +01:00
Kamil Dudka
788bd804ff skip a test that relies on /proc/kallsyms having immutable content 2020-01-30 15:02:20 +01:00
Fedora Release Engineering
4f1cea8bda - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:49:55 +00:00
Kamil Dudka
664c64dec9 Revert "Resolves: #1760300 - use statx instead of stat when available"
This reverts commit 5cd3289cea because it
does not work well in containers hosted on RHEL-7, as reported in RHBZ:

    https://bugzilla.redhat.com/1760300#c5
2019-10-17 09:19:30 +02:00
Kamil Dudka
5cd3289cea Resolves: #1760300 - use statx instead of stat when available 2019-10-11 13:20:40 +02:00
Fedora Release Engineering
16fe71f18e - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:02:06 +00:00
Kamil Dudka
07291932a7 Resolves: #1728986 - disable flashing in ls colors for broken symbolic links 2019-07-16 13:04:35 +02:00
Kamil Dudka
2bc851a491 Resolves: #1688740 - fix formatting of sha512sum(1) man page 2019-03-18 13:49:13 +01:00
Kamil Dudka
5637e2b274 new upstream release 8.31 2019-03-11 12:25:47 +01:00
Fedora Release Engineering
30ec1629e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:17:52 +00:00
Igor Gnatenko
df169bbdad Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:58 +01:00
Kamil Dudka
990cf47f04 sync: fix open() fallback bug
Detected by Coverity Analysis:

Error: RESOURCE_LEAK (CWE-772):
coreutils-8.30/src/sync.c:112: open_fn: Returning handle opened by "open". [Note: The source code implementation of the function has been overridden by a user model.]
coreutils-8.30/src/sync.c:112: var_assign: Assigning: "fd" = handle returned from "open(file, 2049)".
coreutils-8.30/src/sync.c:115: leaked_handle: Handle variable "fd" going out of scope leaks the handle.
113|         if (fd < 0)
114|           error (0, rd_errno, _("error opening %s"), quoteaf (file));
115|->       return false;
116|       }
117|

Bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33287
2018-11-07 16:04:59 +01:00
Kamil Dudka
d3d47dee12 fix implicit declaration warning in coreutils-getgrouplist.patch
Error: COMPILER_WARNING:
coreutils-8.30/lib/mgetgroups.c: scope_hint: In function 'mgetgroups'
coreutils-8.30/lib/mgetgroups.c:167:11: warning: implicit declaration of function 'xrealloc'; did you mean 'realloc'? [-Wimplicit-function-declaration]
     g = xrealloc (g, max_n_groups * sizeof (GETGROUPS_T));
         ^~~~~~~~
165|       {
166|         max_n_groups = ng;
167|->       g = xrealloc (g, max_n_groups * sizeof (GETGROUPS_T));
168|       }
169|       if (e == -1)
2018-11-07 15:54:23 +01:00
Kevin Fenzi
5decf6eab4 Also remove Requires pre/post used by info scriptlets. 2018-11-03 14:12:43 -07:00
Kevin Fenzi
9cc8a839e2 Remove no longer needed info scriptlets 2018-11-03 12:41:59 -07:00
Kamil Dudka
71b79ae180 Resolves: CVE-2018-17942 - fix heap-based buffer overflow in vasnprintf() 2018-10-11 14:39:54 +02:00
Kamil Dudka
7c7259b187 changelog: fix the last entry (version-release was missing) 2018-10-11 14:37:42 +02:00
Fedora Release Engineering
abb9bb783a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 22:15:30 +00:00
Kamil Dudka
333a307888 Resolves: #1598518 - rename gnulib's renameat2 to renameatu to avoid clash with glibc 2018-07-10 15:04:21 +02:00
Bernhard Voelker
822c7685b5 sync i18n patches with Suse
- coreutils-i18n-suse-merge.patch:
  * src/exand.c,src/unexpand.c: Avoid -Wcomment warning.
  * src/cut.c (cut_characters_or_cut_bytes_no_split): Change idx from size_t
    to uintmax_t type to avoid a regression on i586, armv7l and ppc.
    Compare upstream, non-MB commit:
      https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=d1a754c8272
    (cut_fields_mb): Likewise for field_idx.
  * tests/misc/cut.pl: Remove downstream tweaks as upstream MB tests are
     working since a while.
2018-07-04 13:02:12 +02:00
Kamil Dudka
cf6dd7194c new upstream release 8.30 2018-07-02 11:42:58 +02:00
Kamil Dudka
868a615b18 coreutils-provides.inc: sort the list alphabetically 2018-05-30 09:46:27 +02:00
Kamil Dudka
a38fffab2a add provides to coreutils-single to make it a drop-in replacement 2018-05-30 09:37:32 +02:00
Kamil Dudka
d01deda0a2 coreutils-8.29-ls-abmon-width.patch: use upstream fix for the test 2018-05-30 09:22:08 +02:00
Kamil Dudka
d83775a947 coreutils-8.29-ls-abmon-width.patch: temporarily disable the check
... because it does not work today (May 29th) as reported upstream:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31644
2018-05-29 18:17:34 +02:00
Kamil Dudka
44ebc66935 Resolves: #1577872 - ls: increase the allowed abmon width from 5 to 12 2018-05-29 17:02:58 +02:00
Kamil Dudka
79b09b54df Resolves: #1577872 - date, ls: pick strftime fixes from glibc to improve locale support 2018-05-28 17:48:34 +02:00
Kamil Dudka
dd90a0a24b Resolves: #1558249 - fix crash caused by mistakenly enabled leaf optimization 2018-04-20 17:19:41 +02:00
Kamil Dudka
36ef66d59d make it possible to install the latest available Adobe Reader RPM for Linux
This was recently broken by e9599c8226.
2018-03-23 17:39:38 +01:00
Kamil Dudka
359784bfb0 Related: #1555079 - drop BR for bison
... which is not used during the build
2018-03-19 19:21:48 +01:00
Kamil Dudka
d507a7b94c Resolves: #1555079 - make sure that parse-datetime.{c,y} ends up in debuginfo 2018-03-16 18:29:04 +01:00
Kamil Dudka
7995abc6ec fix build failure with glibc-2.28
Reported at:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html

../lib/freadahead.c: In function 'freadahead':
../lib/freadahead.c:97:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   ^~~~~
../lib/freadahead.c:99:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [Makefile:9144: lib/freadahead.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../lib/freadptr.c: In function 'freadptr':
../lib/freadptr.c:119:3: error: #error "Please port gnulib freadptr.c to your platform! Look at the definition of fflush, fread, getc, getc_unlocked on your system, then report this to bug-gnulib."
  #error "Please port gnulib freadptr.c to your platform! Look at the definition of fflush, fread, getc, getc_unlocked on your system, then report this to bug-gnulib."
   ^~~~~
../lib/freadptr.c:29:10: warning: unused variable 'size' [-Wunused-variable]
   size_t size;
          ^~~~
../lib/freadptr.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
2018-03-06 12:44:50 +01:00
Igor Gnatenko
e9599c8226
Remove /bin/* Provides
UsrMove happened more than 10 Fedora releases ago.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-26 11:21:05 +01:00
Kamil Dudka
4a8582e246 add explicit BR for the gcc compiler
... as instructed at:

https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B
2018-02-19 16:23:12 +01:00
Fedora Release Engineering
5d3dc8fdbd - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 05:45:49 +00:00
Kamil Dudka
fd470b54bc Resolves: CVE-2017-18018 - doc: warn about following symlinks recursively in chown/chgrp 2018-01-23 16:55:04 +01:00
Kamil Dudka
79fe59c7fc mv -n: do not overwrite the destination 2018-01-23 16:42:41 +01:00
Kamil Dudka
d51b521e30 avoid test-suite failure if SELinux is disabled 2018-01-02 15:27:54 +01:00
Kamil Dudka
7effe141a5 add BR for hostname
... to avoid the following build-time message:

./configure: line 7463: hostname: command not found
2018-01-02 15:27:41 +01:00
Kamil Dudka
0cb3deb32b new upstream release 8.29 2018-01-02 15:25:24 +01:00