Commit Graph

295 Commits

Author SHA256 Message Date
Bernhard Voelker
e62f2bf92f Accepting request 1163997 from home:berny:branches:Base:System
- Update to 9.5:
  Bug fixes:
  * chmod -R now avoids a race where an attacker may replace a traversed file
    with a symlink, causing chmod to operate on an unintended file.
    [This bug was present in "the beginning".]
  * cp, mv, and install no longer issue spurious diagnostics like "failed
    to preserve ownership" when copying to GNU/Linux CIFS file systems.
    They do this by working around some Linux CIFS bugs.
  * cp --no-preserve=mode will correctly maintain set-group-ID bits
    for created directories.  Previously on systems that didn't support ACLs,
    cp would have reset the set-group-ID bit on created directories.
    [bug introduced in coreutils-8.20]
  * join and uniq now support multi-byte characters better.
    For example, 'join -tX' now works even if X is a multi-byte character,
    and both programs now treat multi-byte characters like U+3000
    IDEOGRAPHIC SPACE as blanks if the current locale treats them so.
  * numfmt options like --suffix no longer have an arbitrary 127-byte limit.
    [bug introduced with numfmt in coreutils-8.21]
  * mktemp with --suffix now better diagnoses templates with too few X's.
    Previously it conflated the insignificant --suffix in the error.
    [bug introduced in coreutils-8.1]
  * sort again handles thousands grouping characters in single-byte locales
    where the grouping character is greater than CHAR_MAX.  For e.g. signed
    character platforms with a 0xA0 (aka &nbsp) grouping character.
    [bug introduced in coreutils-9.1]
  * split --line-bytes with a mixture of very long and short lines
    no longer overwrites the heap (CVE-2024-0684).
    [bug introduced in coreutils-9.2]
  * tail no longer mishandles input from files in /proc and /sys file systems,
    on systems with a page size larger than the stdio BUFSIZ.
    [This bug was present in "the beginning".]
  * timeout avoids a narrow race condition, where it might kill arbitrary
    processes after a failed process fork.
    [bug introduced with timeout in coreutils-7.0]
  * timeout avoids a narrow race condition, where it might fail to
    kill monitored processes immediately after forking them.
    [bug introduced with timeout in coreutils-7.0]
  * wc no longer fails to count unprintable characters as parts of words.
    [bug introduced in textutils-2.1]
  Changes in behavior:
  * base32 and base64 no longer require padding when decoding.
    Previously an error was given for non padded encoded data.
  * base32 and base64 have improved detection of corrupted encodings.
    Previously encodings with non zero padding bits were accepted.
  * basenc --base16 -d now supports lower case hexadecimal characters.
    Previously an error was given for lower case hex digits.
  * cp --no-clobber, and mv -n no longer exit with failure status if
    existing files are encountered in the destination.  Instead they revert
    to the behavior from before v9.2, silently skipping existing files.
  * ls --dired now implies long format output without hyperlinks enabled,
    and will take precedence over previously specified formats or hyperlink
    mode.
  * numfmt will accept lowercase 'k' to indicate Kilo or Kibi units on input,
    and uses lowercase 'k' when outputting such units in '--to=si' mode.
  * pinky no longer tries to canonicalize the user's login location by default,
    rather requiring the new --lookup option to enable this often slow feature.
  * wc no longer ignores encoding errors when counting words.
    Instead, it treats them as non white space.
  New features:
  * chgrp now accepts the --from=OWNER:GROUP option to restrict changes to files
    with matching current OWNER and/or GROUP, as already supported by chown(1).
  * chmod adds support for -h, -H,-L,-P, and --dereference options, providing
    more control over symlink handling.  This supports more secure handling of
    CLI arguments, and is more consistent with chown, and chmod on other
    systems.
  * cp now accepts the --keep-directory-symlink option (like tar), to preserve
    and follow existing symlinks to directories in the destination.
  * cp and mv now accept the --update=none-fail option, which is similar
    to the --no-clobber option, except that existing files are diagnosed,
    and the command exits with failure status if existing files.
    The -n,--no-clobber option is best avoided due to platform differences.
  * env now accepts the -a,--argv0 option to override the zeroth argument
    of the command being executed.
  * mv now accepts an --exchange option, which causes the source and
    destination to be exchanged.  It should be combined with
    --no-target-directory (-T) if the destination is a directory.
    The exchange is atomic if source and destination are on a single
    file system that supports atomic exchange; --exchange is not yet
    supported in other situations.
  * od now supports printing IEEE half precision floating point with -t fH,
    or brain 16 bit floating point with -t fB, where supported by the compiler.
  * tail now supports following multiple processes, with repeated --pid options.
  Improvements:
  * cp,mv,install,cat,split now read and write a minimum of 256KiB at a time.
    This was previously 128KiB and increasing to 256KiB was seen to increase
    throughput by 10-20% when reading cached files on modern systems.
  * env,kill,timeout now support unnamed signals. kill(1) for example now
    supports sending such signals, and env(1) will list them appropriately.
  * SELinux operations in file copy operations are now more efficient,
    avoiding unneeded MCS/MLS label translation.
  * sort no longer dynamically links to libcrypto unless -R is used.
    This decreases startup overhead in the typical case.
  * wc is now much faster in single-byte locales and somewhat faster in
    multi-byte locales.
- coreutils-9.4.split-CVE-2024-0684.patch: Remove now-upstream patch.
- gnulib-readutmp-under-gdm.patch: Likewise.
- gnulib-readutmp.patch: Likewise.
- coreutils-i18n.patch: Remove multi-byte patches for join and uniq, as the
  upstream version now handles those tests.
  Pull in gnulib module mbchar manually, as it is a dependency of mbfile,
  but dropped out of the upstream dependency chain.
- coreutils-misc.patch: Remove change for gnulib-tests/test-isnanl.h.
- coreutils-fix-gnulib-time_r-tests.patch: Add upstream gnulib patch to skip
  French test if TZ='Europe/Paris' does not work.

OBS-URL: https://build.opensuse.org/request/show/1163997
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=362
2024-04-02 15:30:19 +00:00
80607f8597 Accepting request 1151097 from home:dimstar:rpm4.20:c
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151097
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=360
2024-03-01 12:32:08 +00:00
Raymund Will
1a0947fb61 Complement CVE with bsc# in changes.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=358
2024-02-12 11:20:54 +00:00
Bernhard Voelker
051cc75b06 Accepting request 1140326 from home:berny:branches:Base:System
- coreutils-9.4.split-CVE-2024-0684.patch: Add upstream patch:
  split: do not shrink hold buffer.  (CVE-2024-0684)
- coreutils-i18n.patch: Update from Fedora to fix build on i686 on GCC14.

OBS-URL: https://build.opensuse.org/request/show/1140326
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=356
2024-01-23 09:45:29 +00:00
Bernhard Voelker
b027767dc6 Accepting request 1111796 from home:berny:branches:Base:System
- gnulib-readutmp-under-gdm.patch: Add upstream gnulib patch to fix crash
  of who/uptime when gdm is in use. [bsc#1215361]
- gnulib-readutmp.patch: Update with upstream patch.

OBS-URL: https://build.opensuse.org/request/show/1111796
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=354
2023-09-20 07:05:48 +00:00
ca11210de3 Accepting request 1108292 from home:kukuk:no-utmp
All problems solved, all tests passed

OBS-URL: https://build.opensuse.org/request/show/1108292
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=352
2023-09-04 07:48:00 +00:00
Bernhard Voelker
e7f4664e8f Accepting request 1080971 from home:berny:branches:Base:System
- update to 9.3:
  Bug fixes:
  * cp --reflink=auto (the default), mv, and install
    will again fall back to a standard copy in more cases.
    Previously copies could fail with permission errors on
    more restricted systems like android or containers etc.
    [bug introduced in coreutils-9.2]
  * cp --recursive --backup will again operate correctly.
    Previousy it may have issued "File exists" errors when
    it failed to appropriately rename files being replaced.
    [bug introduced in coreutils-9.2]
  * date --file and dircolors will now diagnose a failure to read a file.
    Previously they would have silently ignored the failure.
    [This bug was present in "the beginning".]
  * md5sum --check again correctly prints the status of each file checked.
    Previously the status for files was printed as 'OK' once any file had passed.
    This also applies to cksum, sha*sum, and b2sum.
    [bug introduced in coreutils-9.2]
  * wc will now diagnose if any total counts have overflowed.
    [This bug was present in "the beginning".]
  * `wc -c` will again correctly update the read offset of inputs.
    Previously it deduced the size of inputs while leaving the offset unchanged.
    [bug introduced in coreutils-8.27]
  * Coreutils programs no longer fail for timestamps past the year 2038
    on obsolete configurations with 32-bit signed time_t, because the
    build procedure now rejects these configurations.
    [This bug was present in "the beginning".]
  Changes in behavior:
  * 'cp -n' and 'mv -n' now issue an error diagnostic if skipping a file,
    to correspond with -n inducing a nonzero exit status as of coreutils 9.2.
    Similarly 'cp -v' and 'mv -v' will output a message for each file skipped
    due to -n, -i, or -u.
  New features:
  * cp and mv now support --update=none to always skip existing files
    in the destination, while not affecting the exit status.
    This is equivalent to the --no-clobber behavior from before v9.2.
- drop fix-reflink-fallback.patch (upstream).
- add coreutils-tests-skip-cpuinfo-replaced.patch: avoid FP test failure.

OBS-URL: https://build.opensuse.org/request/show/1080971
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=350
2023-04-20 21:06:24 +00:00
9d85849885 - add fix-reflink-fallback.patch (bsc#1210033)
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=348
2023-04-06 16:13:00 +00:00
dd11ef31af OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=346 2023-03-28 13:21:09 +00:00
949c2f42cf * cksum now accepts the --base64 (-b) option to print
base64-encoded checksums.  It also accepts/checks such
    checksums.
  * cksum now accepts the --raw option to output a raw binary
    checksum.  No file name or other information is output in
    this mode.
  * cp, mv, and install now accept the --debug option to
    print details on how a file is being copied.
  * factor now accepts the --exponents (-h) option to print
    factors in the form p^e, rather than repeating the prime p, e
    times.
  * ls now supports the --time=modification option, to explicitly
    select the default mtime timestamp for display and sorting.
  * mv now supports the --no-copy option, which causes it to fail
    when asked to move a file to a different file system.
  * split now accepts options like '-n SIZE' that exceed machine
    integer range, when they can be implemented as if they were
    infinity.
  * split -n now accepts piped input even when not in round-robin
    mode, by first copying input to a temporary file to determine its
    size.
  * wc now accepts the --total={auto,never,always,only} option
    to give explicit control over when the total is output.
  * 'cp --reflink=always A B' no longer leaves behind a newly
    created empty file B merely because copy-on-write clones are not
    supported.
  * 'cp -n' and 'mv -n' now exit with nonzero status if they skip
    their action because the destination exists, and likewise for 'cp
    -i', 'ln -i', and 'mv -i' when the user declines.  (POSIX
    specifies this for 'cp -i' and 'mv -i'.)

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=345
2023-03-21 21:33:58 +00:00
073dfd0e93 - update to 9.2:
* 'comm --output-delimiter="" --total' now delimits columns
    in the total line with the NUL character, consistent with
    NUL column delimiters in the rest of the output.
    Previously no delimiters were used for the total line in
    this case.
  * 'cp -p' no longer has a security hole when cloning into a
    dangling symbolic link on macOS 10.12 and later.
- drop gnulib-simple-backup-fix.patch (upstream)
- drop coreutils-tests-workaround-make-fdleak.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=344
2023-03-21 21:00:25 +00:00
2b6b7ce591 Accepting request 1030521 from home:berny:branches:Base:System
- coreutils-tests-workaround-make-fdleak.patch: Add patch to work around
  a GNU make bug which leaks file descriptors when using the jobserver;
  this makes some tests fail on OBS.
- coreutils.spec: Reference the patch.

OBS-URL: https://build.opensuse.org/request/show/1030521
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=342
2022-10-27 07:56:22 +00:00
f8108f3a9d - refresh coreutils-i18n.patch from Fedora to make expand and unexpand
more similar

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=340
2022-08-09 12:14:58 +00:00
e8adaa6c2c Accepting request 993916 from home:coolo:branches:openSUSE:Factory
- Remove python2 from buildrequires - appears to be a left over

OBS-URL: https://build.opensuse.org/request/show/993916
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=339
2022-08-09 08:12:35 +00:00
baaa911630 - add missing hostname buildrequires
characters (brc#2112870)  (bsc#1202029)

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=337
2022-08-02 11:36:28 +00:00
16c285303a characters (brc#2112870) (bsc#1202029)
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=336
2022-08-02 10:55:51 +00:00
03bb9aece5 characters (brc#2112870)
- extend psuffix handling to be quilt(1) compatible

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=335
2022-08-02 09:18:33 +00:00
ec54266548 - refresh coreutils-i18n.patch to prevent unexpand from failing on control
characters
- extend psuffix handling to be quilt(1) compatible

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=334
2022-08-01 21:17:24 +00:00
9131b694ed OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=332 2022-04-26 08:43:06 +00:00
fe65d2e342 - remove builddisabled conditions for rings - will be done now as
BuildFlags: excludebuilds

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=331
2022-04-26 08:24:40 +00:00
f3e42f5ec3 OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=330 2022-04-26 08:23:23 +00:00
c3361a7aea - restore build-disable only for the non-default multibuilds
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=329
2022-04-26 08:22:52 +00:00
1b8ed2233a - gnulib-simple-backup-fix.patch: Add patch to make simple backups in correct
directory; broken in 9.1.  See https://bugs.gnu.org/55029

- update to 9.1:
  * chmod -R no longer exits with error status when encountering symlinks.
    All files would be processed correctly, but the exit status was incorrect.
  * If 'cp -Z A B' checks B's status and some other process then removes B,
    cp no longer creates B with a too-generous SELinux security context
    before adjusting it to the correct value.
  * 'cp --preserve=ownership A B' no longer ignores the umask when creating B.
    Also, 'cp --preserve-xattr A B' is less likely to temporarily chmod u+w B.
  * 'id xyz' now uses the name 'xyz' to determine groups, instead of xyz's uid.
  * 'ls -v' and 'sort -V' no longer mishandle corner cases like "a..a" vs "a.+"
    or lines containing NULs.  Their behavior now matches the documentation
    for file names like ".m4" that consist entirely of an extension,
    and the documentation has been clarified for unusual cases.
  * 'mv -T --backup=numbered A B/' no longer miscalculates the backup number
    for B when A is a directory, possibly inflooping.
  * cat now uses the copy_file_range syscall if available, when doing
    simple copies between regular files.  This may be more efficient, by avoiding
    user space copies, and possibly employing copy offloading or reflinking.
  * chown and chroot now warn about usages like "chown root.root f",
    which have the nonstandard and long-obsolete "." separator that
    causes problems on platforms where user names contain ".".
    Applications should use ":" instead of ".".
  * cksum no longer allows abbreviated algorithm names,
    so that forward compatibility and robustness is improved.
  * date +'%-N' now suppresses excess trailing digits, instead of always
    padding them with zeros to 9 digits.  It uses clock_getres and
    clock_gettime to infer the clock resolution.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=328
2022-04-26 08:21:31 +00:00
OBS User buildservice-autocommit
c36399f4f2 Updating link to change in openSUSE:Factory/coreutils revision 144.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=1cc3d53406f6501119f9330171f54da7
2022-04-25 22:03:20 +00:00
e526ac1db9 Accepting request 972387 from home:berny:branches:Base:System
- gnulib-simple-backup-fix.patch: Add patch to make simple backups in correct
  directory; broken in 9.1.  See https://bugs.gnu.org/55029

OBS-URL: https://build.opensuse.org/request/show/972387
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=326
2022-04-25 08:23:28 +00:00
39d32b358a - update to 9.1:
* chmod -R no longer exits with error status when encountering symlinks.
    All files would be processed correctly, but the exit status was incorrect.
  * If 'cp -Z A B' checks B's status and some other process then removes B,
    cp no longer creates B with a too-generous SELinux security context
    before adjusting it to the correct value.
  * 'cp --preserve=ownership A B' no longer ignores the umask when creating B.
    Also, 'cp --preserve-xattr A B' is less likely to temporarily chmod u+w B.
  * 'id xyz' now uses the name 'xyz' to determine groups, instead of xyz's uid.
  * 'ls -v' and 'sort -V' no longer mishandle corner cases like "a..a" vs "a.+"
    or lines containing NULs.  Their behavior now matches the documentation
    for file names like ".m4" that consist entirely of an extension,
    and the documentation has been clarified for unusual cases.
  * 'mv -T --backup=numbered A B/' no longer miscalculates the backup number
    for B when A is a directory, possibly inflooping.
  * cat now uses the copy_file_range syscall if available, when doing
    simple copies between regular files.  This may be more efficient, by avoiding
    user space copies, and possibly employing copy offloading or reflinking.
  * chown and chroot now warn about usages like "chown root.root f",
    which have the nonstandard and long-obsolete "." separator that
    causes problems on platforms where user names contain ".".
    Applications should use ":" instead of ".".
  * cksum no longer allows abbreviated algorithm names,
    so that forward compatibility and robustness is improved.
  * date +'%-N' now suppresses excess trailing digits, instead of always
    padding them with zeros to 9 digits.  It uses clock_getres and
    clock_gettime to infer the clock resolution.
  * dd conv=fsync now synchronizes output even after a write error,
    and similarly for dd conv=fdatasync.
  * dd now counts bytes instead of blocks if a block count ends in "B".

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=325
2022-04-21 21:12:05 +00:00
Bernhard Voelker
17ccfe132d - coreutils-i18n.patch: Re-sync the patch with Fedora.
Refresh the patch, adding a hunk to link the expand+unexpand tools
  against lib/mbfile.c, thus fixing build problems with clang
  (see https://src.fedoraproject.org/rpms/coreutils/c/f4a53e34).

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=324
2021-10-04 22:48:12 +00:00
8536a784b5 - spec file cleanups (spec-cleaner run)
- Update to 9.0:

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=323
2021-10-01 20:16:39 +00:00
4f67da60bc Accepting request 922533 from home:berny:branches:Base:System
- Update to 8.32 (see NEWS).
- Remove patches which are included in the new upstream version now:
  * coreutils-gnulib-disable-test-float.patch
  * coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch
  * coreutils-tests-fix-FP-in-ls-stat-free-color.patch
  * gnulib-test-avoid-FP-perror-strerror.patch
- coreutils-i18n.patch: Refresh patch.  Also patch 'tests/Coreutils.pm' used
  by perl-based tests to allow longer test names ... which the i18n tests with
  their "-mb" suffix have.
- coreutils-chmod-fix-exit-status-ign-symlinks.patch: Add upstream patch to
  fix a regression with the exit code of chmod introduced in 9.0.
- coreutils-skip-tests-rm-ext3-perf.patch: Add patch to skip the test
  'tests/rm/ext3-perf.sh' temporarily as it hangs on OBS.
- coreutils.spec:
  * Version: bump version.
  * Remove the above removed patches.
  * Reference the above new patches.

OBS-URL: https://build.opensuse.org/request/show/922533
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=322
2021-10-01 19:34:37 +00:00
Bernhard Voelker
5e7e50c755 Accepting request 889388 from home:gmbr3:Active
- Use new packageand format

OBS-URL: https://build.opensuse.org/request/show/889388
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=320
2021-05-01 06:41:37 +00:00
35b3fc005b Accepting request 888651 from home:berny:branches:Base:System2
- coreutils-tests-fix-FP-in-ls-stat-free-color.patch: Add upstream patch
  to avoid FP in testsuite.
- coreutils.spec:
  - Reference the above patch.
  - Change keyring URL to new GNU coreutils Group Release Keyring.
- coreutils.keyring: Update with the Group Release Keyring.

OBS-URL: https://build.opensuse.org/request/show/888651
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=319
2021-04-29 07:01:08 +00:00
Raymund Will
54f4b2355e Amend .changes with references to newly discovered issue
to justify SLE15-SP3 submission.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=317
2021-02-24 11:32:51 +00:00
Bernhard Voelker
5ce61cdfc7 Accepting request 849579 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849579
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=315
2020-11-22 15:50:42 +00:00
Raymund Will
686c454656 Accepting request 830731 from home:berny:branches:Base:System
- gnulib-test-avoid-FP-perror-strerror.patch: Add patch to
avoid false-positive error in gnulib tests 'test-perror2' and
'test-strerror_r', visible on armv7l.
- coreutils.spec: Reference the patch.

OBS-URL: https://build.opensuse.org/request/show/830731
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=313
2020-08-31 10:45:26 +00:00
Bernhard Voelker
2dfb769a0a Accepting request 821500 from home:dimstar:Factory
- Drop suse-module-tools BuildRequires: this was used for the macro
  regenerate_initrd_post/posttrans, which have been moved to
  rpm-config-SUSE in Jan 2019.

OBS-URL: https://build.opensuse.org/request/show/821500
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=311
2020-07-17 17:05:16 +00:00
Bernhard Voelker
e6ffc0fe66 Accepting request 814778 from home:berny:branches:Base:System
- coreutils-gnulib-disable-test-float.patch: Add patch to temporarily
  disable the gnulib test 'test-float' failing on ppc and ppc64le.
- coreutils.spec: Reference the patch.  While at it, avoid conditional
  Patch and Source entries as that break cross-platform builds from
  source RPMs.

OBS-URL: https://build.opensuse.org/request/show/814778
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=309
2020-06-19 17:20:25 +00:00
48adf1a612 - add coreutils-use-python3.patch to minimally port away from
python 2.x use of pyinotify in the testsuite

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=307
2020-05-04 08:05:56 +00:00
Bernhard Voelker
fc6c8bcc8c Accepting request 783998 from home:berny:branches:Base:System
- Update to 8.32:
  * Noteworthy changes in release 8.32 (2020-03-05) [stable]
  ** Bug fixes
  cp now copies /dev/fd/N correctly on platforms like Solaris where
  it is a character-special file whose minor device number is N.
  [bug introduced in fileutils-4.1.6]
  dd conv=fdatasync no longer reports a "Bad file descriptor" error
  when fdatasync is interrupted, and dd now retries interrupted calls
  to close, fdatasync, fstat and fsync instead of incorrectly
  reporting an "Interrupted system call" error.
  [bugs introduced in coreutils-6.0]
  df now correctly parses the /proc/self/mountinfo file for unusual entries
  like ones with '\r' in a field value ("mount -t tmpfs tmpfs /foo$'\r'bar"),
  when the source field is empty ('mount -t tmpfs "" /mnt'), and when the
  filesystem type contains characters like a blank which need escaping.
  [bugs introduced in coreutils-8.24 with the introduction of reading
   the /proc/self/mountinfo file]
  factor again outputs immediately when stdout is a tty but stdin is not.
  [bug introduced in coreutils-8.24]
  ln works again on old systems without O_DIRECTORY support (like Solaris 10),
  and on systems where symlink ("x", ".") fails with errno == EINVAL
  (like Solaris 10 and Solaris 11).
  [bug introduced in coreutils-8.31]
  rmdir --ignore-fail-on-non-empty now works correctly for directories
  that fail to be removed due to permission issues.  Previously the exit status
  was reversed, failing for non empty and succeeding for empty directories.
  [bug introduced in coreutils-6.11]
  'shuf -r -n 0 file' no longer mistakenly reads from standard input.
  [bug introduced with the --repeat feature in coreutils-8.22]
  split no longer reports a "output file suffixes exhausted" error
  when the specified number of files is evenly divisible by 10, 16, 26,
  for --numeric, --hex, or default alphabetic suffixes respectively.
  [bug introduced in coreutils-8.24]
  seq no longer prints an extra line under certain circumstances (such as
  'seq -f "%g " 1000000 1000000').
  [bug introduced in coreutils-6.10]
  ** Changes in behavior
  Several programs now check that numbers end properly.  For example,
  'du -d 1x' now reports an error instead of silently ignoring the 'x'.
  Affected programs and options include du -d, expr's numeric operands
  on non-GMP builds, install -g and -o, ls's TABSIZE environment
  variable, mknod b and c, ptx -g and -w, shuf -n, and sort --batch-size
  and --parallel.
  date now parses military time zones in accordance with common usage:
    "A" to "M"  are equivalent to UTC+1 to UTC+12
    "N" to "Y"  are equivalent to UTC-1 to UTC-12
    "Z" is "zulu" time (UTC).
  For example, 'date -d "09:00B" is now equivalent to 9am in UTC+2 time zone.
  Previously, military time zones were parsed according to the obsolete
  rfc822, with their value negated (e.g., "B" was equivalent to UTC-2).
  [The old behavior was introduced in sh-utils 2.0.15 ca. 1999, predating
  coreutils package.]
  ls issues an error message on a removed directory, on GNU/Linux systems.
  Previously no error and no entries were output, and so indistinguishable
  from an empty directory, with default ls options.
  uniq no longer uses strcoll() to determine string equivalence,
  and so will operate more efficiently and consistently.
  ** New Features
  ls now supports the --time=birth option to display and sort by
  file creation time, where available.
  od --skip-bytes now can use lseek even if the input is not a regular
  file, greatly improving performance in some cases.
  stat(1) supports a new --cached= option, used on systems with statx(2)
  to control cache coherency of file system attributes,
  useful on network file systems.
  ** Improvements
  stat and ls now use the statx() system call where available, which can
  operate more efficiently by only retrieving requested attributes.
  stat and tail now know about the "binderfs", "dma-buf-fs", "erofs",
  "ppc-cmm-fs", and "z3fold" file systems.
  stat -f -c%T now reports the file system type, and tail -f uses inotify.
  ** Build-related
  gzip-compressed tarballs are distributed once again
- Refresh patches:
  * coreutils-disable_tests.patch
  * coreutils-getaddrinfo.patch
  * coreutils-i18n.patch
  * coreutils-invalid-ids.patch
  * coreutils-remove_hostname_documentation.patch
  * coreutils-remove_kill_documentation.patch
  * coreutils-skip-gnulib-test-tls.patch
  * coreutils-tests-shorten-extreme-factor-tests.patch
- coreutils-i18n.patch:
  * uniq: remove collation handling as required by newer POSIX; see
    - https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=8e81d44b5
    - https://www.austingroupbugs.net/view.php?id=963
- coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch:
  * Add patch for 'ls' to restore 8.31 behavior on removed directories.
- coreutils.spec:
  * Version: bump version.
  * %check: re-enable regular 'make check' for non-multibuild package.
  * reference the above new patch.
- coreutils.keyring:
  * Update from upstream (Savannah).

OBS-URL: https://build.opensuse.org/request/show/783998
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=305
2020-03-18 11:50:56 +00:00
Ludwig Nussel
37768ae869 Accepting request 769872 from home:lnussel:branches:Base:System
another try

OBS-URL: https://build.opensuse.org/request/show/769872
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=303
2020-02-04 08:33:10 +00:00
Ludwig Nussel
5c1dfeba7a Accepting request 769669 from home:lnussel:branches:Base:System
another attempt to get past factory-auto

OBS-URL: https://build.opensuse.org/request/show/769669
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=302
2020-02-03 15:23:39 +00:00
Bernhard Voelker
8134b7b868 Accepting request 768253 from home:lnussel:branches:Base:System
- disable single and testsuite builds in rings/staging
- remove duplicate "coreutils" in flavor to make it look nicer in OBS

OBS-URL: https://build.opensuse.org/request/show/768253
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=301
2020-01-29 14:45:22 +00:00
Bernhard Voelker
d723365aa0 - minor: remove obsolete comment in spec file.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=300
2020-01-20 15:04:23 +00:00
Bernhard Voelker
c71e740ae5 Accepting request 764725 from home:lnussel:branches:Base:System
- switch to multibuild
- add coreutils-single subpackage that contains a single binary coreutils tool
  similar to busybox
- package LC_CTIME directories also in lang package
- split off doc package
- remove info macros, handled by file trigger nowadays

OBS-URL: https://build.opensuse.org/request/show/764725
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=299
2020-01-20 14:48:17 +00:00
Bernhard Voelker
f8cdd88063 Accepting request 731937 from home:lnussel:branches:Base:System
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731937
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=297
2019-09-19 17:18:08 +00:00
Bernhard Voelker
5dfb87adf4 Accepting request 683715 from home:berny:branches:Base:System
- Update to 8.31.

OBS-URL: https://build.opensuse.org/request/show/683715
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=295
2019-03-11 08:24:43 +00:00
Bernhard Voelker
de5acd7ab0 Accepting request 620563 from home:berny:branches:Base:System
- Update to 8.30
- Refresh patches (line number changes only)
- coreutils.spec:
  * (License): osc changed the value from "GPL-3.0+" to "GPL-3.0-or-later".
  * (build): Make sure that parse-datetime.{c,y} ends up in debuginfo (rh#1555079).
- coreutils-i18n.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.
- coreutils.keyring: Update Assaf Gordon's GPG public key.

OBS-URL: https://build.opensuse.org/request/show/620563
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=293
2018-07-04 06:11:55 +00:00
Bernhard Voelker
98cfbb2ca0 Accepting request 580080 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580080
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=291
2018-02-26 10:32:45 +00:00
Bernhard Voelker
ea1422e38c Accepting request 560436 from home:berny:branches:Base:System
Update to 8.29.

OBS-URL: https://build.opensuse.org/request/show/560436
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=289
2017-12-28 19:28:40 +00:00
Bernhard Voelker
6d4bf9c66b - Fix typo in the previous changelog entry: s/Remote/Remove/.
- coreutils.spec: Add "BuildRequires: user(bin)" for the tests.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=287
2017-09-06 12:24:32 +00:00
Bernhard Voelker
2e7688367b Accepting request 521138 from home:berny:branches:Base:System
- Update to 8.28
  (for details see included NEWS file)
- Refresh patches:
  * coreutils-disable_tests.patch
  * coreutils-i18n.patch
  * coreutils-remove_hostname_documentation.patch
  * coreutils-remove_kill_documentation.patch
  * coreutils-skip-gnulib-test-tls.patch
  * coreutils-tests-shorten-extreme-factor-tests.patch
- coreutils.keyring: Update from upstream (Savannah).
- Remote now-upstream patches:
  * coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
  * coreutils-tests-port-to-timezone-2017a.patch

OBS-URL: https://build.opensuse.org/request/show/521138
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=286
2017-09-05 12:56:29 +00:00