- Add upstream patch (coreutils-copy-fix-selinux-existing-dirs.patch):
cp -a: set the correct SELinux context on already existing
destination directories (rh#1045122).
- Merge I18n fixes from Fedora (coreutils-i18n.patch):
* sort: fix sorting by non-first field (rh#1003544)
* cut: avoid using slower multi-byte code in non-UTF-8 locales
(rh#1021403, rh#499220).
- Testsuite: skip some tests:
* coreutils-skip-some-sort-tests-on-ppc.patch: Add patch to
skip 2 valgrind'ed sort tests on ppc/ppc64.
* coreutils-skip-gnulib-test-tls.patch: Add patch to skip
the gnulib test 'test-tls' on i586, x86_64, ppc and ppc64.
* coreutils-tests-avoid-FP-cp-cpuinfo.patch: Add patch to skip a
test when cp fails for /proc/cpuinfo which happens on aarch64.
* coreutils-tests-shorten-extreme-factor-tests.patch: Add patch
to skip most of the extreme-expensive factor tests.
OBS-URL: https://build.opensuse.org/request/show/213254
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=221
The "gnulib" package contains a number of floating-point test cases
that do not work correctly with the PowerPC long double ("double double")
format. These tests "accidentally" succeeded anyway in the big-endian
variant, but are now actually failing in little-endian mode.
As is usual for gnulib, those tests end up copied into the source code
of various packages that use gnulib, including coreutils, findutils,
grep, and libunistring.
A patch to fix the tests for ppc64le has been submitted to upstream
to the bug-gnulib mailing list. We'll work with upstream of the
other affected packages to make sure the copies are refreshed.
- coreutils-gnulib-tests-ppc64le.patch: Fix imported gnulib long double
math tests for little-endian PowerPC.
OBS-URL: https://build.opensuse.org/request/show/211829
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=217
- Update I18N patch from Fedora:
(coreutils-i18n.patch)
* sort: fix multibyte incompabilities (rh#821264)
* pr -e, with a mix of backspaces and TABs, could corrupt the
heap in multibyte locales (analyzed by J.Koncicky)
* path in the testsuite to cover i18n regressions
* Enable cut and sort-merge perl tests for multibyte as well
- Refresh longlong-aarch64.patch.
OBS-URL: https://build.opensuse.org/request/show/209118
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=209
- Undo the previous change.
Remove configure options gl_cv_func_printf_directive_n and
gl_cv_func_printf_infinite_long_double again because of constant
factory build failures on x86_64 and i586. The argument for
adding them was that the fortify checks would be bypassed
by the gnulib "reimplementation of printf", but that is not
the case: instead, gnulib just adds some wrapping code to ensure
a consistent behaviour on all supported platforms.
OBS-URL: https://build.opensuse.org/request/show/184097
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=201
- Add systemd to build and use requires
- Make pam configuration for command su using the systemd login
manager for ordinary users as this allows to use all services
provided by systemd login manager
- change the buildrequire system to pkgconfig(systemd) to fix bootstrap
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=192
* src/join.c: Instead of usig unreliable alloca() stack allocation,
use heap allocation via xmalloc()+free().
(coreutils-i18n.patch, from Philipp Thomas <pth@suse.de>)
- Avoid segmentation fault in "sort -d" and "sort -M" with long line input
(bnc#798538, VUL-1)
* src/sort.c: Instead of usig unreliable alloca() stack allocation,
use heap allocation via xmalloc()+free().
(coreutils-i18n.patch, from Philipp Thomas <pth@suse.de>)
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=173
* src/cut.c: Instead of usig unreliable alloca() stack allocation,
use heap allocation via xmalloc()+free().
(coreutils-i18n.patch)
- Fix test-suite errors (bnc#798261).
* tests/cp/fiemap-FMR: Fix path to src directory and declare
require_valgrind_ function.
(coreutils-cp-corrupt-fragmented-sparse.patch)
* tests/misc/cut:
Fix src/cut.c to properly pass output-delimiter tests.
Synchronize cut.c related part of the i18n patch with Fedora's.
Merge coreutils-i18n-infloop.patch into coreutils-i18n.patch.
Merge coreutils-i18n-uninit.patch into coreutils-i18n.patch.
In tests/misc/cut, do not replace the non-i18n error messages.
(coreutils-i18n.patch)
* tests/rm/ext3-perf:
This test failed due to heavy parallel CPU and/or disk load because it
is based on timeouts. Do not run the test-suite with 'make -jN.
(coreutils.spec, coreutils-testsuite.spec)
* Further spec changes:
Run more tests: also run "very expensive" tests; add acl, python-pyinotify,
strace and valgrind to the build requirements.
Remove patch5 and patch6 as they are now merged into coreutils-i18n.patch
(see above).
(coreutils.spec, coreutils-testsuite.spec)
- Maintenance changes:
(coreutils.spec, coreutils-testsuite.spec)
* Add perl and texinfo to the build requirements as they are needed to
re-generate the man pages and the texinfo documentation.
* Remove already-active "-Wall" compiler option from CFLAGS variable.
* Install the compressed test-suite.log into the documentation directory
of the coreutils-testsuite package (section %check and %files).
* Properly guard the spec sections for the coreutils and the
coreutils-testsuite package.
* Update patches to reflect new line numbers.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=172
coreutils-testsuite too.
- Don't call autoreconf on distributions older then 12.0
because their autoconf is too old.
- Update default posix version to 200112 (bnc#783352).
- Add coreutils-df-always-hide-rootfs.patch:
Hide rootfs in df (df not using yet /proc/self/mountinfo).
- Statically link to gmp otherwise expr depends on gmp and gmp
configure script depends on expr which creates a build cycle.
- Add the missing parts in coreutil.spec so that the testsuite is
only run when coreutils-testsuite is built. Also add additional
BuildRequires for the testsuite.
- Hardcode the name passed to find_lang so that it works for
coreutils-testsuite too.
- Don't call autoreconf on distributions older then 12.0
because their autoconf is too old.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=171
coreutils-testsuite from their coreutils counterparts.
A coreutils-testsuite.changes
A coreutils-testsuite.spec
M coreutils.changes
M coreutils.spec
A pre_checkin.sh
Diff for working copy: .
Index: coreutils.changes
===================================================================
--- coreutils.changes (revision 73894b9fdb176dd50b0dc070b1aaa6c6)
+++ coreutils.changes (working copy)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Nov 6 13:23:45 CET 2012 - pth@suse.de
+
+- Add script pre_checkin.sh that creates spec and changes for
+ coreutils-testsuite from their coreutils counterparts.
+
-------------------------------------------------------------------
Sun Oct 28 20:31:28 UTC 2012 - mail@bernhard-voelker.de
Index: coreutils.spec
===================================================================
--- coreutils.spec (revision 73894b9fdb176dd50b0dc070b1aaa6c6)
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=162
* cp could read from freed memory and could even make corrupt copies.
This could happen with a very fragmented and sparse input file,
on GNU/Linux file systems supporting fiemap extent scanning.
This bug also affects mv when it resorts to copying, and install.
[bug introduced in coreutils-8.11]
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=160
** Bug fixes
* stat no longer reports a negative file size as a huge positive
number. [bug present since 'stat' was introduced in
fileutils-4.1.9]
** New features
* split and truncate now allow any seekable files in situations
where the file size is needed, instead of insisting on regular
files.
* fmt now accepts the --goal=WIDTH (-g) option.
* stat -f recognizes new file system types: bdevfs, inodefs, qnx6
** Changes in behavior
* cp,mv,install,cat,split: now read and write a minimum of 64KiB at
a time. This was previously 32KiB and increasing to 64KiB was
seen to increase throughput by about 10% when reading cached
files on 64 bit GNU/Linux.
* cp --attributes-only no longer truncates any existing destination
file, allowing for more general copying of attributes from one
file to another.
- Bring german message catalog up-to-date
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=156
* id and groups, when invoked with no user name argument, would
print the default group ID listed in the password database, and
sometimes that ID would be neither real nor effective. For
example, when run set-GID, or in a session for which the default
group has just been changed, the new group ID would be listed,
even though it is not yet effective.
* 'cp S D' is no longer subject to a race: if an existing D were
removed between the initial stat and subsequent
open-without-O_CREAT, cp would fail with a confusing diagnostic
saying that the destination, D, was not found. Now, in this
unusual case, it retries the open (but with O_CREAT), and hence
usually succeeds. With NFS attribute caching, the condition was
particularly easy to trigger, since there, the removal of D could
precede the initial stat. [This bug was present in "the
beginning".] (bnc#760926).
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=152