SHA256
1
0
forked from pool/coreutils
Commit Graph

188 Commits

Author SHA256 Message Date
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
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
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
Bernhard Voelker
029e3f835a Accepting request 517127 from home:ganghe:branches:Base:System
Drop coreutils-ocfs2_reflinks.patch,OCFS2 file system has supported file clone ioctls like btrfs,
then, coreutils doesn't need this patch from the kernel v4.10-rc1.

OBS-URL: https://build.opensuse.org/request/show/517127
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=284
2017-08-16 08:13:00 +00:00
Bernhard Voelker
e5b0115662 Accepting request 492540 from home:berny:branches:Base:System
- coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch:
  Add upstream patch to fix an heap overflow security issue
  in date(1) and touch(1) with a large TZ variable
  (CVE-2017-7476, rh#1444774, boo#1037124).

OBS-URL: https://build.opensuse.org/request/show/492540
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=282
2017-05-03 13:51:28 +00:00
Bernhard Voelker
c010aa20bb Accepting request 478455 from home:berny:branches:Base:System
- Update to 8.27
  (for details see included NEWS file)
- Refresh patches:
  * coreutils-build-timeout-as-pie.patch
  * coreutils-disable_tests.patch
  * coreutils-getaddrinfo.patch
  * coreutils-i18n.patch
  * coreutils-ocfs2_reflinks.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-testsuite.spec
- coreutils.keyring: Update (now ascii-armored) by
    'osc service localrun download_files'.
- coreutils-tests-port-to-timezone-2017a.patch: Add patch to
  workaround a FP test failure with newer timezone-2017a.

OBS-URL: https://build.opensuse.org/request/show/478455
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=280
2017-03-10 11:52:01 +00:00
Bernhard Voelker
681ee7d49f Accepting request 443228 from home:berny:branches:Base:System
- Update to 8.26
  (for details see included NEWS file)
- coreutils.spec (%description): Add b2sum, a new utility.
(BuildRequires): Add timezone to enable new 'date-debug.sh' test.
- coreutils-i18n.patch: Sync I18N patch from Fedora, as the diff
  for the old i18n implementation of expand/unexpand has become
  unmaintainable:
  git://pkgs.fedoraproject.org/coreutils.git
- Remove now-upstream patches:
  * coreutils-df-hash-in-filter.patch
  * coreutils-diagnose-fts-readdir-failure.patch
  * coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch
  * coreutils-maint-fix-dependency-of-man-arch.1.patch
- Refresh/merge all other patches:
  * coreutils-invalid-ids.patch
  * coreutils-ocfs2_reflinks.patch
  * coreutils-remove_hostname_documentation.patch
  * coreutils-remove_kill_documentation.patch
  * coreutils-skip-gnulib-test-tls.patch
  * coreutils-sysinfo.patch
  * coreutils-tests-shorten-extreme-factor-tests.patch

OBS-URL: https://build.opensuse.org/request/show/443228
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=278
2016-12-02 23:04:18 +00:00
Bernhard Voelker
ee38374c18 - coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch:
Add upstream patch to fix "md5sum --check --ignore-missing" which
  treated files with checksums starting with "00" as missing.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=277
2016-11-01 10:14:04 +00:00
Bernhard Voelker
7790f3a24f - coreutils-maint-fix-dependency-of-man-arch.1.patch: Add Upstream
patch to fix the build dependency between src/arch -> man/arch.1
  which lead to spurious build failures.
- coreutils-df-hash-in-filter.patch: Refresh with -p0.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=275
2016-07-28 17:11:07 +00:00
Philipp Thomas
4488160d56 - Add coreutils-df-hash-in-filter.patch that speeds up df.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=274
2016-07-22 08:59:55 +00:00
Bernhard Voelker
2f40bbb851 Accepting request 407206 from home:berny:branches:Base:System
- coreutils-diagnose-fts-readdir-failure.patch: Add upstream patch
  to diagnose readdir() failures in fts-based utilities: rm, chmod,
  du, etc. (boo#984910)

OBS-URL: https://build.opensuse.org/request/show/407206
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=272
2016-07-08 06:40:03 +00:00
Bernhard Voelker
7a83ba63d6 Accepting request 356783 from home:berny:branches:Base:System
- Update to 8.25
  (for details see included NEWS file)
- coreutils.spec (%description): Add base32, a new utility.
- Remove now-upstream patch:
  * coreutils-tests-avoid-FP-of-ls-stat-free-color.patch
- Refresh/merge all other patches:
  * coreutils-build-timeout-as-pie.patch
  * coreutils-disable_tests.patch
  * coreutils-i18n.patch
  * coreutils-invalid-ids.patch
  * coreutils-misc.patch
  * coreutils-ocfs2_reflinks.patch
  * coreutils-remove_hostname_documentation.patch
  * coreutils-remove_kill_documentation.patch
  * coreutils-skip-gnulib-test-tls.patch
  * coreutils-test_without_valgrind.patch
  * coreutils-tests-shorten-extreme-factor-tests.patch

OBS-URL: https://build.opensuse.org/request/show/356783
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=270
2016-01-30 07:32:56 +00:00
Bernhard Voelker
378fb2110c Accepting request 332474 from home:berny:branches:Base:System
- coreutils-i18n.patch: Sync I18N patch from semi-official repository
  (shared among distributions, maintained by Padraig Brady):
    https://github.com/pixelb/coreutils/tree/i18n
  This fixes the following issues in multi-byte locales:
  * sort: fix large mem leak with --month-sort (boo#945361, rh#1259942):
    https://github.com/pixelb/coreutils/commit/b429f5d8c7
  * sort: fix assertion with some inputs to --month-sort
    https://github.com/pixelb/coreutils/commit/31e8211aca

OBS-URL: https://build.opensuse.org/request/show/332474
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=268
2015-09-20 23:51:54 +00:00
Bernhard Voelker
f928838445 Accepting request 330437 from home:berny:branches:Base:System
- coreutils-i18n.patch: Fix a glaring mem leak in the i18n patch
  for sort -M (boo#945361):

OBS-URL: https://build.opensuse.org/request/show/330437
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=267
2015-09-11 00:16:04 +00:00
Bernhard Voelker
d1e520db96 Accepting request 328052 from home:berny:branches:Base:System
- coreutils-tests-avoid-FP-of-ls-stat-free-color.patch: Add upstream
patch on top of v8.24 to avoid a FP test failure with glibc>=2.22.

OBS-URL: https://build.opensuse.org/request/show/328052
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=265
2015-08-30 22:45:45 +00:00
Bernhard Voelker
409b66fa00 - Sync I18N patch from semi-official repository (shared among
distributions, maintained by Padraig Brady):
    https://github.com/pixelb/coreutils/tree/i18n
  * coreutils-i18n.patch: Improve cut(1) performance in field-mode
    in UTF8 locales.  Squash in sort-keycompare-mb.patch.
  * sort-keycompare-mb.patch: Remove.
- coreutils-build-timeout-as-pie.patch: Refresh.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=263
2015-07-16 01:29:46 +00:00
Philipp Thomas
0954d8e70f - Update to 8.24:
** Bug fixes
  * dd supports more robust SIGINFO/SIGUSR1 handling for outputting statistics.
    Previously those signals may have inadvertently terminated the process.
  * df --local no longer hangs with inaccessible remote mounts.
    [bug introduced in coreutils-8.21]
  * du now silently ignores all directory cycles due to bind mounts.
    Previously it would issue a warning and exit with a failure status.
    [bug introduced in coreutils-8.1 and partially fixed in coreutils-8.23]
  * chroot again calls chroot(DIR) and chdir("/"), even if DIR is "/".
    This handles separate bind mounted "/" trees, and environments
    depending on the implicit chdir("/").
    [bugs introduced in coreutils-8.23]
  * cp no longer issues an incorrect warning about directory hardlinks when a
    source directory is specified multiple times.  Now, consistent with other
    file types, a warning is issued for source directories with duplicate names,
    or with -H the directory is copied again using the symlink name.
  * factor avoids writing partial lines, thus supporting parallel operation.
    [the bug dates back to the initial implementation]
  * head, od, split, tac, tail, and wc no longer mishandle input from files in
    /proc and /sys file systems that report somewhat-incorrect file sizes.
  * mkdir --parents -Z now correctly sets the context for the last component,
    even if the parent directory exists and has a different default context.
    [bug introduced with the -Z restorecon functionality in coreutils-8.22]
  * numfmt no longer outputs incorrect overflowed values seen with certain
    large numbers, or with numbers with increased precision.
    [bug introduced when numfmt was added in coreutils-8.21]
  * numfmt now handles leading zeros correctly, not counting them when
    settings processing limits, and making them optional with floating point.
    [bug introduced when numfmt was added in coreutils-8.21]
  * paste no longer truncates output for large input files.  This would happen
    for example with files larger than 4GiB on 32 bit systems with a '\n'
    character at the 4GiB position.
    [the bug dates back to the initial implementation]
  * rm indicates the correct number of arguments in its confirmation prompt,
    on all platforms.  [bug introduced in coreutils-8.22]
  * shuf -i with a single redundant operand, would crash instead of issuing
    a diagnostic.  [bug introduced in coreutils-8.22]
  * tail releases inotify resources when unused.  Previously it could exhaust
    resources with many files, or with -F if files were replaced many times.
    [bug introduced in coreutils-7.5]
  * tail -f again follows changes to a file after it's renamed.
    [bug introduced in coreutils-7.5]
  * tail --follow no longer misses changes to files if those files were
    replaced before inotify watches were created.
    [bug introduced in coreutils-7.5]
  * tail --follow consistently outputs all data for a truncated file.
    [bug introduced in the beginning]
  * tail --follow=name correctly outputs headers for multiple files
    when those files are being created or renamed.
    [bug introduced in coreutils-7.5]
  ** New features
  * chroot accepts the new --skip-chdir option to not change the working directory
    to "/" after changing into the chroot(2) jail, thus retaining the current wor-
    king directory.  The new option is only permitted if the new root directory is
    the old "/", and therefore is useful with the --group and --userspec options.
  * dd accepts a new status=progress level to print data transfer statistics
    on stderr approximately every second.
  * numfmt can now process multiple fields with field range specifications similar
    to cut, and supports setting the output precision with the --format option.
  * split accepts a new --separator option to select a record separator character
    other than the default newline character.
  * stty allows setting the "extproc" option where supported, which is
    a useful setting with high latency links.
  * sync no longer ignores arguments, and syncs each specified file, or with the
    --file-system option, the file systems associated with each specified file.
  * tee accepts a new --output-error option to control operation with pipes
    and output errors in general.
  ** Changes in behavior
  * df no longer suppresses separate exports of the same remote device, as
    these are generally explicitly mounted.  The --total option does still
    suppress duplicate remote file systems.
    [suppression was introduced in coreutils-8.21]
  * mv no longer supports moving a file to a hardlink, instead issuing an error.
    The implementation was susceptible to races in the presence of multiple mv
    instances, which could result in both hardlinks being deleted.  Also on case
    insensitive file systems like HFS, mv would just remove a hardlinked 'file'
    if called like `mv file File`.  The feature was added in coreutils-5.0.1.
  * numfmt --from-unit and --to-unit options now interpret suffixes as SI units,
    and IEC (power of 2) units are now specified by appending 'i'.
  * tee will exit early if there are no more writable outputs.
  * tee does not treat the file operand '-' as meaning standard output any longer,
    for better conformance to POSIX.  This feature was added in coreutils-5.3.0.
  * timeout --foreground no longer sends SIGCONT to the monitored process,
    which was seen to cause intermittent issues with GDB for example.
  ** Improvements
  * cp,install,mv will convert smaller runs of NULs in the input to holes,
    and cp --sparse=always avoids speculative preallocation on XFS for example.
  * cp will read sparse files more efficiently when the destination is a
    non regular file.  For example when copying a disk image to a device node.
  * mv will try a reflink before falling back to a standard copy, which is
    more efficient when moving files across BTRFS subvolume boundaries.
  * stat and tail now know about IBRIX.  stat -f --format=%T now reports the file
    system type, and tail -f uses polling for files on IBRIX file systems.
  * wc -l processes short lines much more efficiently.
  * References from --help and the man pages of utilities have been corrected
    in various cases, and more direct links to the corresponding online
    documentation are provided.
- Patches adapted because of changed sources:
  coreutils-disable_tests.patch
  coreutils-i18n.patch
  coreutils-misc.patch
  coreutils-ocfs2_reflinks.patch
  coreutils-remove_hostname_documentation.patch
  coreutils-remove_kill_documentation.patch
  coreutils-skip-gnulib-test-tls.patch
  coreutils-tests-shorten-extreme-factor-tests.patch
  sort-keycompare-mb.patch
- Patches removed because they're included in 8.24:  
  coreutils-chroot-perform-chdir-unless-skip-chdir.patch
  coreutils-df-doc-df-a-includes-duplicate-file-systems.patch
  coreutils-df-improve-mount-point-selection.patch
  coreutils-df-show-all-remote-file-systems.patch
  coreutils-df-total-suppress-separate-remotes.patch
  coreutils-doc-adjust-reference-to-info-nodes-in-man-pages.patch
  coreutils-fix_false_du_failure_on_newer_xfs.patch
  coreutils-fix-man-deps.patch
  coreutils-tests-aarch64-env.patch
  coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch
  coreutils-tests-rm-ext3-perf-increase-timeout.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=262
2015-07-09 15:40:19 +00:00
Bernhard Voelker
188d3e2e8b Accepting request 310289 from home:bernhard-voelker
- coreutils-doc-adjust-reference-to-info-nodes-in-man-pages.patch:
  add upstream patch:
  doc: adjust reference to info nodes in man pages (boo#933396)
- coreutils-i18n.patch: Use a later version of the previous patch
  to fix the sort I18N issue (boo#928749, CVE-2015-4041) to also
  avoid CVE-2015-4042.
  https://github.com/pixelb/coreutils/commit/bea5e36cc876

OBS-URL: https://build.opensuse.org/request/show/310289
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=260
2015-06-04 11:27:32 +00:00
Bernhard Voelker
ec1de2b338 fix changes wrt/ the previous s/MB_LEN_MAX/MB_CUR_MAX/.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=259
2015-05-13 09:44:48 +00:00
Bernhard Voelker
2a760ea199 s/MB_CUR_MAX/MB_LEN_MAX/, and add a test case
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=257
2015-05-12 15:42:22 +00:00
Bernhard Voelker
feef8ae1a8 - Download keyring file from Savannah; prefer HTTPS over FTP
for remote sources.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=256
2015-05-12 09:56:39 +00:00
Bernhard Voelker
d20c1f8965 - Fix memory handling error with case insensitive sort using UTF-8
(boo#928749):
  * coreutils-i18n.patch: Allocate more memory as the upper form of
    some multi-byte characters may be 1 byte wider.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=255
2015-05-12 09:12:54 +00:00
Philipp Thomas
060558900d Accepting request 294832 from home:elvigia:branches:Base:System
- If coreutils changes, for consistency, we must regenerate
  the initrd.

- If coreutils changes, for consistency, we must regenerate
  the initrd.

OBS-URL: https://build.opensuse.org/request/show/294832
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=253
2015-04-08 10:01:26 +00:00
Bernhard Voelker
fb26fed49d Accepting request 294212 from home:pluskalm:branches:Base:System
- Add gpg signature

- Add gpg signature

OBS-URL: https://build.opensuse.org/request/show/294212
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=252
2015-04-02 20:02:49 +00:00
Philipp Thomas
48dc4d694e Accepting request 293266 from home:rguenther:branches:Base:System
- For openSUSE > 13.2 drop coreutils-build-timeout-as-pie.patch and
  instead add a BuildRequire for gcc-PIE.

OBS-URL: https://build.opensuse.org/request/show/293266
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=250
2015-03-26 13:30:45 +00:00