3
0
forked from pool/coreutils
Commit Graph

13 Commits

Author SHA256 Message Date
Bernhard Voelker
26558dd009 - Avoid segmentation fault in "uniq" with long line input (bnc#796243, VUL-1)
* 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
2013-01-16 19:09:57 +00:00
Philipp Thomas
1e206d4651 - 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.

- 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
2013-01-10 20:37:13 +00:00
Philipp Thomas
fed157bf6e [bug introduced in coreutils-8.11] (bnc#788459 gnu#12656)
- 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.
    [bug introduced in coreutils-8.11] (bnc#788459 gnu#12656)

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=165
2012-11-08 12:16:12 +00:00
Philipp Thomas
9114a675a5 - Add script pre_checkin.sh that creates spec and changes for
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
2012-11-06 12:27:41 +00:00
Ruediger Oertel
845dc54b02 update again
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=117
2011-05-03 10:13:52 +00:00
OBS User buildservice-autocommit
4cc036ed64 Updating link to change in openSUSE:Factory/coreutils revision 60.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=76dbe5fd9db2745350a89ae7191b396b
2011-05-02 10:41:01 +00:00
Philipp Thomas
45521529b4 - Update to 8.12:
* Bug fixes
    tail's --follow=name option no longer implies --retry on systems
    with inotify support.  [bug introduced in coreutils-7.5]

  * Changes in behavior
    cp's extent-based (FIEMAP) copying code is more reliable in the face
    of varying and undocumented file system semantics:
    - it no longer treats unwritten extents specially
    - a FIEMAP-based extent copy always uses the FIEMAP_FLAG_SYNC flag.
        Before, it would incur the performance penalty of that sync only
        for 2.6.38 and older kernels.  We thought all problems would be
        resolved for 2.6.39.
    - it now attempts a FIEMAP copy only on a file that appears sparse.
        Sparse files are relatively unusual, and the copying code incurs
        the performance penalty of the now-mandatory sync only for them.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=112
2011-04-28 16:07:08 +00:00
OBS User buildservice-autocommit
7cb32ebe33 Updating link to change in openSUSE:Factory/coreutils revision 58.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=e30e53b49e81d53e81c6b9d981501f14
2011-04-15 18:12:27 +00:00
Philipp Thomas
9d1d687974 - Update to 8.11:
* Bug fixes

    cp -a --link would not create a hardlink to a symlink, instead
    copying the symlink and then not preserving its timestamp.
    [bug introduced in coreutils-8.0]

    cp now avoids FIEMAP issues with BTRFS before Linux 2.6.38,
    which could result in corrupt copies of sparse files.
    [bug introduced in coreutils-8.10]

    cut could segfault when invoked with a user-specified output
    delimiter and an unbounded range like "-f1234567890-".
    [bug introduced in coreutils-5.3.0]

    du would infloop when given --files0-from=DIR
    [bug introduced in coreutils-7.1]

    sort no longer spawns 7 worker threads to sort 16 lines
    [bug introduced in coreutils-8.6]

    touch built on Solaris 9 would segfault when run on Solaris 10
    [bug introduced in coreutils-8.8]

    wc would dereference a NULL pointer upon an early out-of-memory error
    [bug introduced in coreutils-7.1]

    ** New features

    dd now accepts the 'nocache' flag to the iflag and oflag options,
    which will discard any cache associated with the files, or
    processed portion thereof.

    dd now warns that 'iflag=fullblock' should be used,
    in various cases where partial reads can cause issues.

    ** Changes in behavior

    cp now avoids syncing files when possible, when doing a FIEMAP copy.
    The sync is only needed on Linux kernels before 2.6.39.
    [The sync was introduced in coreutils-8.10]

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=109
2011-04-15 14:49:23 +00:00
Philipp Thomas
c0a3b320ba - Adapt coreutils-testsuite.spec to changes in patches.
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=103
2011-04-05 13:15:05 +00:00
Philipp Thomas
d51035ad4f - Remove the last patch as it isn't needed. It was an old patch
that removed the documentation for both hostname and hostid.
  I've modified that to only remove the hostname documentation.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=99
2011-04-04 14:16:21 +00:00
OBS User buildservice-autocommit
a30c0ec113 Updating link to change in openSUSE:Factory/coreutils revision 56.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=0c27cd9b981ad72f9de8af222fc3a747
2011-04-01 14:48:50 +00:00
Philipp Thomas
387bb85a8e - Readd documentation of hostname and hostid to texinfo
documentation.

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=94
2011-04-01 12:49:59 +00:00