commit coreutils for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-09-04 10:51:53

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.3399 (New)


Package is "coreutils"

Fri Sep  4 10:51:53 2020 rev:136 rq:830741 version:8.32

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2020-08-02 
12:27:34.451808798 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new.3399/coreutils.changes
2020-09-04 10:52:11.886401115 +0200
@@ -1,0 +2,8 @@
+Mon Aug 31 07:14:12 UTC 2020 - Bernhard Voelker 
+
+- 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.
+
+---

New:

  gnulib-test-avoid-FP-perror-strerror.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.O3JSPx/_old  2020-09-04 10:52:14.334402427 +0200
+++ /var/tmp/diff_new_pack.O3JSPx/_new  2020-09-04 10:52:14.338402429 +0200
@@ -137,6 +137,9 @@
 
 Patch820:   coreutils-gnulib-disable-test-float.patch
 
+# Avoid FP error in gnulib tests 'test-perror2' and 'test-strerror_r'.
+Patch840:   gnulib-test-avoid-FP-perror-strerror.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -197,6 +200,8 @@
 %patch820
 %endif
 
+%patch840
+
 # 
 %build
 %if 0%{suse_version} >= 1200


++ gnulib-test-avoid-FP-perror-strerror.patch ++
Avoid false-positive error in gnulib tests 'test-perror2' and 'test-strerror_r'.

On openSUSE OBS, the above gnulib tests fail on armv7l.

Corresponding report on the gnulib mailing list:

https://lists.gnu.org/r/bug-gnulib/2020-08/msg00220.html

From:   Florian Weimer
Date:   Thu, 27 Aug 2020 09:41:34 +0200
Subject:Use-after-free in test-perror2, test-strerror_r

The problem is visible with glibc 2.32 under valgrind:

==20== Invalid read of size 1
==20==at 0x483DAB4: strcmp (vg_replace_strmem.c:847)
==20==by 0x109414: main (test-perror2.c:84)
==20==  Address 0x4a1a3d0 is 0 bytes inside a block of size 17 free'd
==20==at 0x483A9F5: free (vg_replace_malloc.c:538)
==20==by 0x48E2134: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x109328: main (test-perror2.c:72)
==20==  Block was alloc'd at
==20==at 0x4839809: malloc (vg_replace_malloc.c:307)
==20==by 0x48CA03F: __vasprintf_internal (in /usr/lib64/libc-2.32.so)
==20==by 0x48A46F9: asprintf (in /usr/lib64/libc-2.32.so)
==20==by 0x48E2184: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x1092E2: main (test-perror2.c:67)
==20==
==20== Invalid read of size 1
==20==at 0x483DAC8: strcmp (vg_replace_strmem.c:847)
==20==by 0x109414: main (test-perror2.c:84)
==20==  Address 0x4a1a3d1 is 1 bytes inside a block of size 17 free'd
==20==at 0x483A9F5: free (vg_replace_malloc.c:538)
==20==by 0x48E2134: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x109328: main (test-perror2.c:72)
==20==  Block was alloc'd at
==20==at 0x4839809: malloc (vg_replace_malloc.c:307)
==20==by 0x48CA03F: __vasprintf_internal (in /usr/lib64/libc-2.32.so)
==20==by 0x48A46F9: asprintf (in /usr/lib64/libc-2.32.so)
==20==by 0x48E2184: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x1092E2: main (test-perror2.c:67)

I think it's the test that's invalid.

This was reported as an actual grep test failure (without valgrind) on
32-bit Arm, where glibc malloc happens to return a different buffer
address for the internal allocation (so that msg3 != msg4).

test-strerror_r has the same issue.

Thanks,
Florian

Upstream patch:

https://git.sv.gnu.org/cgit/gnulib.git/commit/?id=175e0bc72808

From 175e0bc72808d564074c4adcc72aeadb74adfcc6 Mon Sep 17 00:00:00 2001
From: Paul Eggert 
Date: Thu, 27 Aug 2020 17:52:58 -0700
Subject: [PATCH] perror, strerror_r: remove unportable tests

Problem reported by Florian Weimer in:
https://lists.gnu.org/r/bug-gnulib/2020-08/msg00220.html
* tests/test-perror2.c (main):
* tests/test-strerror_r.c (main): Omit unportable tests.

This downstream patch is identical to upstream one modulo the ChangeLog entry.
---
 gnulib-tests/test-perror2.c|3 ---
 gnulib-tests/test-strerror_r.c |3 ---
 2 files changed, 6 deletions(-)

Index: gnulib-tests/test-perror2.c

commit coreutils for openSUSE:Factory

2020-08-02 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-08-02 12:27:29

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.3592 (New)


Package is "coreutils"

Sun Aug  2 12:27:29 2020 rev:135 rq:821545 version:8.32

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2020-06-27 
23:20:22.213386316 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new.3592/coreutils.changes
2020-08-02 12:27:34.451808798 +0200
@@ -1,0 +2,7 @@
+Thu Jul 16 11:23:47 UTC 2020 - Dominique Leuenberger 
+
+- 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.
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.4jFl4d/_old  2020-08-02 12:27:35.291809661 +0200
+++ /var/tmp/diff_new_pack.4jFl4d/_new  2020-08-02 12:27:35.295809665 +0200
@@ -45,7 +45,6 @@
 BuildRequires:  libselinux-devel
 BuildRequires:  makeinfo
 BuildRequires:  perl
-BuildRequires:  suse-module-tools
 BuildRequires:  xz
 %if %{suse_version} > 1320
 BuildRequires:  gcc-PIE





commit coreutils for openSUSE:Factory

2020-06-27 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-06-27 23:20:19

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.3060 (New)


Package is "coreutils"

Sat Jun 27 23:20:19 2020 rev:134 rq:816056 version:8.32

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2020-05-11 
13:25:45.091155205 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new.3060/coreutils.changes
2020-06-27 23:20:22.213386316 +0200
@@ -1,0 +2,9 @@
+Sat Jun 13 08:48:03 UTC 2020 - Bernhard Voelker 
+
+- 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.
+
+---

New:

  coreutils-gnulib-disable-test-float.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.olAAsz/_old  2020-06-27 23:20:23.157389420 +0200
+++ /var/tmp/diff_new_pack.olAAsz/_new  2020-06-27 23:20:23.157389420 +0200
@@ -86,7 +86,6 @@
 
 #cgit-URL: https://git.savannah.gnu.org/cgit/coreutils.git/
 #Git-Clone:git://git.sv.gnu.org/coreutils
-%if "%{name}" == "coreutils"
 # For upgrading the upstream version, increase the version number (above),
 # then remove the old tarball and signature files and let OSC download
 # those files of the new version:
@@ -97,18 +96,10 @@
 # Finally, add a changelog entry and commit:
 #osc vc
 #osc ci
-Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
-Source1:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
-Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1&file=./%{name}.keyring
-%else
-# In "coreutils-testsuite", we use the version controlled file from 
"coreutils".
-# otherwise that file would be downloaded twice during the above mentioned
-# upgrade procedure.
-Source0:coreutils-%{version}.tar.xz
-Source1:coreutils-%{version}.tar.xz.sig
-Source2:coreutils.keyring
-%endif
 
+Source0:https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz
+Source1:
https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz.sig
+Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=coreutils&download=1&file=./coreutils.keyring
 Source3:baselibs.conf
 
 Patch1: coreutils-remove_hostname_documentation.patch
@@ -130,9 +121,7 @@
 # a glibc issue in mkstemp.
 Patch300:   coreutils-skip-some-sort-tests-on-ppc.patch
 
-%ifarch %ix86 x86_64 ppc ppc64
 Patch301:   coreutils-skip-gnulib-test-tls.patch
-%endif
 
 # tests: shorten extreme-expensive factor tests
 Patch303:   coreutils-tests-shorten-extreme-factor-tests.patch
@@ -147,6 +136,8 @@
 # Remove this patch with the next coreutils release.
 Patch800:   coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch
 
+Patch820:   coreutils-gnulib-disable-test-float.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -202,6 +193,11 @@
 
 %patch800
 
+%ifarch ppc ppc64le
+# Disable gnulib test 'test-float' temporarily as it fails on ppc and ppc64le.
+%patch820
+%endif
+
 # 
 %build
 %if 0%{suse_version} >= 1200


++ coreutils-gnulib-disable-test-float.patch ++
Disable gnulib test 'test-float' temporarily as it fails on ppc and ppc64le.

* gnulib-tests/gnulib.mk: Comment lines related to 'test-float'.
---
 gnulib-tests/gnulib.mk |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Index: gnulib-tests/gnulib.mk
===
--- gnulib-tests/gnulib.mk.orig
+++ gnulib-tests/gnulib.mk
@@ -635,9 +635,10 @@ EXTRA_DIST += test-filevercmp.c macros.h
 
 ## begin gnulib module float-tests
 
-TESTS += test-float
-check_PROGRAMS += test-float
-EXTRA_DIST += test-float.c macros.h
+# Test fails with GCC-10 on ppc and ppc64le.
+#TESTS += test-float
+#check_PROGRAMS += test-float
+#EXTRA_DIST += test-float.c macros.h
 
 ## end   gnulib module float-tests
 



commit coreutils for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-05-11 13:25:42

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.2738 (New)


Package is "coreutils"

Mon May 11 13:25:42 2020 rev:133 rq:799984 version:8.32

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2020-03-25 
23:41:48.415964369 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new.2738/coreutils.changes
2020-05-11 13:25:45.091155205 +0200
@@ -1,0 +2,6 @@
+Mon May  4 08:05:15 UTC 2020 - Dirk Mueller 
+
+- add coreutils-use-python3.patch to minimally port away from
+  python 2.x use of pyinotify in the testsuite
+
+---

New:

  coreutils-use-python3.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.jtbjEw/_old  2020-05-11 13:25:46.515158190 +0200
+++ /var/tmp/diff_new_pack.jtbjEw/_new  2020-05-11 13:25:46.519158198 +0200
@@ -54,7 +54,9 @@
 BuildRequires:  acl
 BuildRequires:  gdb
 BuildRequires:  perl-Expect
-BuildRequires:  python-pyinotify
+BuildRequires:  python
+BuildRequires:  python3
+BuildRequires:  python3-pyinotify
 BuildRequires:  strace
 BuildRequires:  timezone
 # Some tests need the 'bin' user.
@@ -134,7 +136,8 @@
 
 # tests: shorten extreme-expensive factor tests
 Patch303:   coreutils-tests-shorten-extreme-factor-tests.patch
-
+# Stop using Python 2.x
+Patch304:   coreutils-use-python3.patch
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
@@ -193,6 +196,7 @@
 %endif
 
 %patch303
+%patch304
 %patch500
 %patch501
 


++ coreutils-use-python3.patch ++
--- tests/du/move-dir-while-traversing.sh
+++ tests/du/move-dir-while-traversing.sh
@@ -20,9 +20,9 @@
 print_ver_ du
 require_trap_signame_
 
-# We use a python-inotify script, so...
-python -m pyinotify -h > /dev/null \
-  || skip_ 'python inotify package not installed'
+# We use a python3-inotify script, so...
+python3 -m pyinotify -h > /dev/null \
+  || skip_ 'python3 inotify package not installed'
 
 # Move a directory "up" while du is processing its sub-directories.
 # While du is processing a hierarchy .../B/C/D/... this script
@@ -33,7 +33,7 @@
 # rename syscall before du finishes processing the subtree under D/.
 
 cat <<'EOF' > inotify-watch-for-dir-access.py
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import pyinotify as pn
 import os,sys
 



commit coreutils for openSUSE:Factory

2020-03-25 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-03-25 23:41:44

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.3160 (New)


Package is "coreutils"

Wed Mar 25 23:41:44 2020 rev:132 rq:786157 version:8.32

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2020-02-13 
10:10:48.500315366 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new.3160/coreutils.changes
2020-03-25 23:41:48.415964369 +0100
@@ -1,0 +2,127 @@
+Mon Mar  9 07:17:46 UTC 2020 - Bernhard Voelker 
+
+- 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 " 100 100').
+  [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 tarba

commit coreutils for openSUSE:Factory

2020-02-13 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-02-13 10:10:47

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.26092 (New)


Package is "coreutils"

Thu Feb 13 10:10:47 2020 rev:131 rq:769873 version:8.31

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2019-09-26 
20:35:57.159389180 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new.26092/coreutils.changes   
2020-02-13 10:10:48.500315366 +0100
@@ -1,0 +2,21 @@
+Tue Jan 28 08:13:51 UTC 2020 - Ludwig Nussel 
+
+- disable single and testsuite builds in rings/staging
+- remove duplicate "coreutils" in flavor to make it look nicer in OBS
+
+---
+Mon Jan 20 15:00:06 UTC 2020 - Bernhard Voelker 
+
+- minor: remove obsolete comment in spec file.
+
+---
+Thu Jan  9 16:23:59 UTC 2020 - Ludwig Nussel 
+
+- 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
+
+---

Old:

  coreutils-testsuite.changes
  coreutils-testsuite.spec
  pre_checkin.sh

New:

  _multibuild



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.bTutAq/_old  2020-02-13 10:10:51.296316988 +0100
+++ /var/tmp/diff_new_pack.bTutAq/_new  2020-02-13 10:10:51.316316999 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,27 @@
 #
 
 
-Name:   coreutils
+%bcond_with ringdisabled
+
+# there are more fancy ways to define a package name using magic
+# macros but OBS and the bots that rely on parser information from
+# OBS can't deal with all of them
+%define flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" != ""
+%define name_suffix -%{flavor}
+%if %{with ringdisabled}
+ExclusiveArch:  do_not_build
+%endif
+%endif
+
+Name:   coreutils%{?name_suffix} 
 Summary:GNU Core Utilities
 License:GPL-3.0-or-later
 Group:  System/Base
-Url:https://www.gnu.org/software/coreutils/
+URL:https://www.gnu.org/software/coreutils/
 Version:8.31
 Release:0
 
-#
-#
-###! ! ! R E M I N D E R ! ! !###
-#
-###Please call "./pre_checkin.sh" prior to submitting.###
-###(This will regenerate coreutils-testsuite.spec)###
-#
-#
-
 BuildRequires:  automake
 BuildRequires:  gmp-devel
 BuildRequires:  libacl-devel
@@ -60,18 +64,21 @@
 %endif
 %endif
 
-%if "%{name}" == "coreutils"
+%if "%{name}" == "coreutils" || "%{name}" == "coreutils-single"
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
 Provides:   sh-utils = %{version}
 Provides:   stat = %{version}
 Provides:   textutils = %{version}
+%if "%{name}" == "coreutils-single"
+Conflicts:  coreutils
+Provides:   coreutils = %{version}-%{release}
+%endif
 %endif
 
 # this will create a cycle, broken up randomly - coreutils is just
 # too core to have other prerequisites.
 #PreReq: permissions
-PreReq: %{install_info_prereq}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -146,6 +153,17 @@
   timeout touch tr true truncate tsort tty uname unexpand uniq unlink
   uptime users vdir wc who whoami yes
 
+%package doc
+Summary:Documentation for the GNU Core Utilities
+Group:  Documentation/Man
+Provides:   coreutils:%{_infodir}/coreutils.info.gz
+Supplements:packageand(coreutils:patterns-base-documentation)
+Supplements:packageand(coreutils-single:patterns-base-documentation)
+BuildArch:  noarch
+
+%description doc
+This package contains the documentation for the GNU Core Utilities.
+
 # 
 %lang_package
 %prep
@@ -183,6 +201,12 @@
 export CFLAGS="%optflags"
 %configure --libexecdir=%{_libdir} \
--enable-install-program

commit coreutils for openSUSE:Factory

2019-09-26 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2019-09-26 20:35:54

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.2352 (New)


Package is "coreutils"

Thu Sep 26 20:35:54 2019 rev:130 rq:732000 version:8.31

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2019-03-14 22:42:11.698644140 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new.2352/coreutils-testsuite.changes  
2019-09-26 20:35:56.371391285 +0200
@@ -1,0 +2,6 @@
+Thu Sep 19 11:53:13 UTC 2019 - Ludwig Nussel 
+
+- Do not recommend lang package. The lang package already has a
+  supplements.
+
+---
coreutils.changes: same change



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.jYsdyT/_old  2019-09-26 20:35:58.123386604 +0200
+++ /var/tmp/diff_new_pack.jYsdyT/_new  2019-09-26 20:35:58.139386561 +0200
@@ -68,10 +68,6 @@
 Provides:   textutils = %{version}
 %endif
 
-%if "%{name}" == "coreutils"
-Recommends: %{name}-lang = %version
-%endif
-
 # this will create a cycle, broken up randomly - coreutils is just
 # too core to have other prerequisites.
 #PreReq: permissions

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.jYsdyT/_old  2019-09-26 20:35:58.167386486 +0200
+++ /var/tmp/diff_new_pack.jYsdyT/_new  2019-09-26 20:35:58.171386476 +0200
@@ -68,10 +68,6 @@
 Provides:   textutils = %{version}
 %endif
 
-%if "%{name}" == "coreutils"
-Recommends: %{name}-lang = %version
-%endif
-
 # this will create a cycle, broken up randomly - coreutils is just
 # too core to have other prerequisites.
 #PreReq: permissions





commit coreutils for openSUSE:Factory

2019-03-14 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2019-03-14 22:42:09

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new.28833 (New)


Package is "coreutils"

Thu Mar 14 22:42:09 2019 rev:129 rq:683716 version:8.31

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2018-07-07 21:53:06.583720756 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new.28833/coreutils-testsuite.changes 
2019-03-14 22:42:11.698644140 +0100
@@ -1,0 +2,130 @@
+Mon Mar 11 07:13:38 UTC 2019 - Bernhard Voelker 
+
+- Update to 8.31:
+  * Noteworthy changes in release 8.31 (2019-03-10) [stable]
+
+  ** Bug fixes
+
+  'base64 a b' now correctly diagnoses 'b' as the extra operand, not 'a'.
+  [bug introduced in coreutils-5.3.0]
+
+  When B already exists, 'cp -il A B' no longer immediately fails
+  after asking the user whether to proceed.
+  [This bug was present in "the beginning".]
+
+  df no longer corrupts displayed multibyte characters on macOS.
+  [bug introduced with coreutils-8.18]
+
+  seq no longer outputs inconsistent decimal point characters
+  for the last number, when locales are misconfigured.
+  [bug introduced in coreutils-7.0]
+
+  shred, sort, and split no longer falsely report ftruncate errors
+  when outputting to less-common file types.  For example, the shell
+  command 'sort /dev/null -o /dev/stdout | cat' no longer fails with
+  an "error truncating" diagnostic.
+  [bug was introduced with coreutils-8.18 for sort and split, and
+   (for shared memory objects only) with fileutils-4.1 for shred]
+
+  sync no longer fails for write-only file arguments.
+  [bug introduced with argument support to sync in coreutils-8.24]
+
+  'tail -f file | filter' no longer exits immediately on AIX.
+  [bug introduced in coreutils-8.28]
+
+  'tail -f file | filter' no longer goes into an infinite loop
+  if filter exits and SIGPIPE is ignored.
+  [bug introduced in coreutils-8.28]
+
+  ** Changes in behavior
+
+  cksum, dd, hostid, hostname, link, logname, sleep, tsort, unlink,
+  uptime, users, whoami, yes: now always process --help and --version options,
+  regardless of any other arguments present before any optional '--'
+  end-of-options marker.
+
+  nohup now processes --help and --version as first options even if other
+  parameters follow.
+
+  'yes a -- b' now outputs 'a b' instead of including the end-of-options
+  marker as before: 'a -- b'.
+
+  echo now always processes backslash escapes when the POSIXLY_CORRECT
+  environment variable is set.
+
+  When possible 'ln A B' now merely links A to B and reports an error
+  if this fails, instead of statting A and B before linking.  This
+  uses fewer system calls and avoids some races.  The old statting
+  approach is still used in situations where hard links to directories
+  are allowed (e.g., NetBSD when superuser).
+
+  ls --group-directories-first will also group symlinks to directories.
+
+  'test -a FILE' is not supported anymore.  Long ago, there were concerns about
+  the high probability of humans confusing the -a primary with the -a binary
+  operator, so POSIX changed this to 'test -e FILE'.  Scripts using it were
+  already broken and non-portable; the -a unary operator was never documented.
+
+  wc now treats non breaking space characters as word delimiters
+  unless the POSIXLY_CORRECT environment variable is set.
+
+  ** New features
+
+  id now supports specifying multiple users.
+
+  'date' now supports the '+' conversion specification flag,
+  introduced in POSIX.1-2017.
+
+  printf, seq, sleep, tail, and timeout now accept floating point
+  numbers in either the current or the C locale.  For example, if the
+  current locale's decimal point is ',', 'sleep 0,1' and 'sleep 0.1'
+  now mean the same thing.  Previously, these commands accepted only
+  C-locale syntax with '.' as the decimal point.  The new behavior is
+  more compatible with other implementations in non-C locales.
+
+  test now supports the '-N FILE' unary operator (like e.g. bash) to check
+  whether FILE exists and has been modified since it was last read.
+
+  env now supports '--default-signal[=SIG]', '--ignore-signal[=SIG]', and
+  '--block-signal[=SIG], to setup signal handling before executing a program.
+
+  env now supports '--list-signal-handling' to indicate non-default
+  signal handling before executing a program.
+
+  ** New commands
+
+  basenc is added to complement existing base64,base32 commands,
+  and encodes and decodes printable text using various common encodings:
+  base64,base64url,base32,base32hex,base16,base2,z85.
+
+  ** Improvements
+
+  ls -l now better aligns abbreviated months containing digits,
+  which is common in Asian locales.
+
+  stat and tail now know about the "

commit coreutils for openSUSE:Factory

2018-07-07 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2018-07-07 21:52:58

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Sat Jul  7 21:52:58 2018 rev:128 rq:620564 version:8.30

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2018-01-17 21:45:21.143597512 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2018-07-07 21:53:06.583720756 +0200
@@ -1,0 +2,111 @@
+Tue Jul  3 23:20:18 UTC 2018 - m...@bernhard-voelker.de
+
+- Update to 8.30:
+  * Noteworthy changes in release 8.30 (2018-07-01) [stable]
+
+  ** Bug fixes
+
+  'cp --symlink SRC DST' will again correctly validate DST.
+  If DST is a regular file and SRC is a symlink to DST,
+  then cp will no longer allow that operation to clobber DST.
+  Also with -d, if DST is a symlink, then it can always be replaced,
+  even if it points to SRC on a separate device.
+  [bugs introduced with coreutils-8.27]
+
+  'cp -n -u' and 'mv -n -u' now consistently ignore the -u option.
+  Previously, this option combination suffered from race conditions
+  that caused -u to sometimes override -n.
+  [bug introduced with coreutils-7.1]
+
+  'cp -a --no-preserve=mode' now sets appropriate default permissions
+  for non regular files like fifos and character device nodes etc.,
+  and leaves mode bits of existing files unchanged.
+  Previously it would have set executable bits on created special files,
+  and set mode bits for existing files as if they had been created.
+  [bug introduced with coreutils-8.20]
+
+  'cp --remove-destination file symlink' now removes the symlink
+  even if it can't be traversed.
+  [bug introduced with --remove-destination in fileutils-4.1.1]
+
+  ls no longer truncates the abbreviated month names that have a
+  display width between 6 and 12 inclusive.  Previously this would have
+  output ambiguous months for Arabic or Catalan locales.
+
+  'ls -aA' is now equivalent to 'ls -A', since -A now overrides -a.
+  [bug introduced in coreutils-5.3.0]
+
+  'mv -n A B' no longer suffers from a race condition that can
+  overwrite a simultaneously-created B.  This bug fix requires
+  platform support for the renameat2 or renameatx_np syscalls, found
+  in recent Linux and macOS kernels.  As a side effect, ‘mv -n A A’
+  now silently does nothing if A exists.
+  [bug introduced with coreutils-7.1]
+
+  ** Changes in behavior
+
+  'cp --force file symlink' now removes the symlink even if
+  it is self referential.
+
+  ls --color now matches file extensions case insensitively.
+
+  ** New features
+
+  cp --reflink now supports --reflink=never to enforce a standard copy.
+
+  env supports a new -v/--debug option to show verbose information about
+  each processing step.
+
+  env supports a new -S/--split-string=S option to split a single argument
+  string into multiple arguments. Used to pass multiple arguments in scripts
+  (shebang lines).
+
+  md5sum accepts a new option: --zero (-z) to delimit the output lines with a
+  NUL instead of a newline character.  This also disables file name escaping.
+  This also applies to sha*sum and b2sum.
+
+  rm --preserve-root now supports the --preserve-root=all option to
+  reject any command line argument that is mounted to a separate file system.
+
+  ** Improvements
+
+  cut supports line lengths up to the max file size on 32 bit systems.
+  Previously only offsets up to SIZE_MAX-1 were supported.
+
+  stat and tail now know about the "exfs" file system, which is a
+  version of XFS.  stat -f --format=%T now reports the file system type,
+  and tail -f uses inotify.
+
+  wc avoids redundant processing of ASCII text in multibyte locales,
+  which is especially significant on macOS.
+
+- Refresh patches (line number changes only):
+  * coreutils-build-timeout-as-pie.patch
+  * coreutils-disable_tests.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.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 

commit coreutils for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2018-02-28 19:55:50

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Wed Feb 28 19:55:50 2018 rev:127 rq:580175 version:8.29

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2018-01-17 
21:45:21.191595265 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2018-02-28 
19:55:52.438852680 +0100
@@ -1,0 +2,5 @@
+Thu Feb 22 15:12:57 UTC 2018 - fv...@suse.com
+
+- Use %license (boo#1082318)
+
+---



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.URxiFg/_old  2018-02-28 19:55:54.598774519 +0100
+++ /var/tmp/diff_new_pack.URxiFg/_new  2018-02-28 19:55:54.602774375 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils-testsuite
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -256,7 +256,8 @@
 %if "%{name}" == "coreutils"
 
 %defattr(-,root,root)
-%doc COPYING NEWS README THANKS
+%license COPYING
+%doc NEWS README THANKS
 %{_bindir}/*
 #UsrMerge
 /bin/*

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.URxiFg/_old  2018-02-28 19:55:54.686771336 +0100
+++ /var/tmp/diff_new_pack.URxiFg/_new  2018-02-28 19:55:54.690771190 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -256,7 +256,8 @@
 %if "%{name}" == "coreutils"
 
 %defattr(-,root,root)
-%doc COPYING NEWS README THANKS
+%license COPYING
+%doc NEWS README THANKS
 %{_bindir}/*
 #UsrMerge
 /bin/*






commit coreutils for openSUSE:Factory

2018-01-17 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2018-01-17 21:45:16

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Wed Jan 17 21:45:16 2018 rev:126 rq:560437 version:8.29

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2017-09-13 21:33:36.146611373 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2018-01-17 21:45:21.143597512 +0100
@@ -1,0 +2,65 @@
+Thu Dec 28 18:18:20 UTC 2017 - m...@bernhard-voelker.de
+
+- Update to 8.29:
+  * Noteworthy changes in release 8.29 (2017-12-27) [stable]
+
+  ** Bug fixes
+
+  b2sum no longer crashes when processing certain truncated check files.
+  [bug introduced with b2sum coreutils-8.26]
+
+  dd now ensures the correct cache ranges are specified for the "nocache"
+  and "direct" flags.  Previously some pages in the page cache were not
+  invalidated.  [bug introduced for "direct" in coreutils-7.5,
+  and with the "nocache" implementation in coreutils-8.11]
+
+  df no longer hangs when given a fifo argument.
+  [bug introduced in coreutils-7.3]
+
+  ptx -S no longer infloops for a pattern which returns zero-length matches.
+  [the bug dates back to the initial implementation]
+
+  shred --remove will again repeatedly rename files with shortening names
+  to attempt to hide the original length of the file name.
+  [bug introduced in coreutils-8.28]
+
+  stty no longer crashes when processing settings with -F also specified.
+  [bug introduced in fileutils-4.0]
+
+  tail --bytes again supports non seekable inputs on all systems.
+  On systems like android it always tried to process as seekable inputs.
+  [bug introduced in coreutils-8.24]
+
+  timeout will again notice its managed command exiting, even when
+  invoked with blocked CHLD signal, or in a narrow window where
+  this CHLD signal from the exiting child was missed.  In each case
+  timeout would have then waited for the time limit to expire.
+  [bug introduced in coreutils-8.27]
+
+  ** New features
+
+  timeout now supports the --verbose option to diagnose forced termination.
+
+  ** Improvements
+
+  dd now supports iflag=direct with arbitrary sized files on all file systems.
+
+  tail --bytes=NUM will efficiently seek to the end of block devices,
+  rather than reading from the start.
+
+  Utilities which do not support long options (other than the default --help
+  and --version), e.g. cksum and sleep, now use more consistent error 
diagnostic
+  for unknown long options.
+
+  ** Build-related
+
+  Default man pages are now distributed which are used if perl is
+  not available on the build system, or when cross compiling.
+
+- Refresh patches (line number changes only):
+  * coreutils-i18n.patch
+  * coreutils-remove_hostname_documentation.patch
+  * coreutils-remove_kill_documentation.patch
+  * coreutils-tests-shorten-extreme-factor-tests.patch
+
+---
coreutils.changes: same change

Old:

  coreutils-8.28.tar.xz
  coreutils-8.28.tar.xz.sig

New:

  coreutils-8.29.tar.xz
  coreutils-8.29.tar.xz.sig



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.XCi6Pq/_old  2018-01-17 21:45:22.599529362 +0100
+++ /var/tmp/diff_new_pack.XCi6Pq/_new  2018-01-17 21:45:22.603529175 +0100
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.28
+Version:8.29
 Release:0
 
 #
@@ -82,9 +82,16 @@
 #Git-Web:  http://git.savannah.gnu.org/gitweb/?p=coreutils.git
 #Git-Clone:git://git.sv.gnu.org/coreutils
 %if "%{name}" == "coreutils"
-# For upgrading you now just need to increase the version, remove the old
-# tarballs, then run osc service localrun download_files, osc addremove,
-# osc vc and osc ci and you are done.
+# For upgrading the upstream version, increase the version number (above),
+# then remove the old tarball and signature files and let OSC download
+# those files of the new version:
+#osc rm coreutils-*.tar.xz coreutils-*.tar.xz.sig
+#osc service localrun download_files
+#osc addremove
+# Then adjust the downstream patches (using quilt).
+# Finally, add a changelog entry and commit:
+#osc vc
+#osc ci
 Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source1:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1&file=.

commit coreutils for openSUSE:Factory

2017-09-13 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2017-09-13 21:33:27

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Wed Sep 13 21:33:27 2017 rev:125 rq:521679 version:8.28

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2017-08-21 11:31:33.736418785 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2017-09-13 21:33:36.146611373 +0200
@@ -1,0 +2,18 @@
+Mon Sep  4 18:00:24 UTC 2017 - m...@bernhard-voelker.de
+
+- 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).
+- Remove now-upstream patches:
+  * coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
+  * coreutils-tests-port-to-timezone-2017a.patch
+- coreutils.spec: Add "BuildRequires: user(bin)" for the tests.
+
+---
coreutils.changes: same change

Old:

  coreutils-8.27.tar.xz
  coreutils-8.27.tar.xz.sig
  coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
  coreutils-tests-port-to-timezone-2017a.patch

New:

  coreutils-8.28.tar.xz
  coreutils-8.28.tar.xz.sig



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.Rs1uCR/_old  2017-09-13 21:33:37.602406546 +0200
+++ /var/tmp/diff_new_pack.Rs1uCR/_new  2017-09-13 21:33:37.606405983 +0200
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.27
+Version:8.28
 Release:0
 
 #
@@ -53,6 +53,8 @@
 BuildRequires:  python-pyinotify
 BuildRequires:  strace
 BuildRequires:  timezone
+# Some tests need the 'bin' user.
+BuildRequires:  user(bin)
 %ifarch %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
 BuildRequires:  valgrind
 %endif
@@ -126,16 +128,6 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
-# Upstream patch on top of coreutils-8.27.
-# Avoid a FP of tests/misc/date-debug.sh with newer timezone-2017a.
-Patch700:   coreutils-tests-port-to-timezone-2017a.patch
-
-# Upstream fix on top of coreutils-v8.27:
-# 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).
-Patch710:   coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
-
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -177,9 +169,6 @@
 %patch500
 %patch501
 
-%patch700
-%patch710
-
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.Rs1uCR/_old  2017-09-13 21:33:37.642400919 +0200
+++ /var/tmp/diff_new_pack.Rs1uCR/_new  2017-09-13 21:33:37.646400356 +0200
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.27
+Version:8.28
 Release:0
 
 #
@@ -53,6 +53,8 @@
 BuildRequires:  python-pyinotify
 BuildRequires:  strace
 BuildRequires:  timezone
+# Some tests need the 'bin' user.
+BuildRequires:  user(bin)
 %ifarch %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
 BuildRequires:  valgrind
 %endif
@@ -126,16 +128,6 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
-# Upstream patch on top of coreutils-8.27.
-# Avoid a FP of tests/misc/date-debug.sh with newer timezone-2017a.
-Patch700:   coreutils-tests-port-to-timezone-2017a.patch
-
-# Upstream fix on top of coreutils-v8.27:
-# 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).
-Patch710:   coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
-
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -177,9 +169,6 @@
 %patch500
 %patch501
 
-%patch700
-%patch710
-
 #???## We need to statically link to gmp, otherwise we have a build lo

commit coreutils for openSUSE:Factory

2017-08-21 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2017-08-21 11:31:32

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Mon Aug 21 11:31:32 2017 rev:124 rq:517144 version:8.27

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2017-05-17 10:45:32.445217119 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2017-08-21 11:31:33.736418785 +0200
@@ -1,0 +2,7 @@
+Wed Aug 16 14:26:30 UTC 2017 - g...@suse.com
+
+- 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  
+
+---
coreutils.changes: same change

Old:

  coreutils-ocfs2_reflinks.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.gkwQoC/_old  2017-08-21 11:31:36.971963765 +0200
+++ /var/tmp/diff_new_pack.gkwQoC/_new  2017-08-21 11:31:37.003959265 +0200
@@ -106,9 +106,6 @@
 # OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
 Patch100:   coreutils-build-timeout-as-pie.patch
 
-# At least a bit of reflink support
-Patch111:   coreutils-ocfs2_reflinks.patch
-
 # There is no network in the build root so make the test succeed
 Patch112:   coreutils-getaddrinfo.patch
 
@@ -167,7 +164,6 @@
 %if %{suse_version} <= 1320
 %patch100
 %endif
-%patch111
 %patch112
 %patch113
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.gkwQoC/_old  2017-08-21 11:31:37.175935080 +0200
+++ /var/tmp/diff_new_pack.gkwQoC/_new  2017-08-21 11:31:37.187933393 +0200
@@ -106,9 +106,6 @@
 # OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
 Patch100:   coreutils-build-timeout-as-pie.patch
 
-# At least a bit of reflink support
-Patch111:   coreutils-ocfs2_reflinks.patch
-
 # There is no network in the build root so make the test succeed
 Patch112:   coreutils-getaddrinfo.patch
 
@@ -167,7 +164,6 @@
 %if %{suse_version} <= 1320
 %patch100
 %endif
-%patch111
 %patch112
 %patch113
 






commit coreutils for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2017-05-17 10:45:29

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Wed May 17 10:45:29 2017 rev:123 rq:492649 version:8.27

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2017-03-21 22:42:08.105661732 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2017-05-17 10:45:32.445217119 +0200
@@ -1,0 +2,8 @@
+Tue May  2 21:29:32 UTC 2017 - m...@bernhard-voelker.de
+
+- 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).
+
+---
coreutils.changes: same change

New:

  coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.WAqMZW/_old  2017-05-17 10:45:35.372805292 +0200
+++ /var/tmp/diff_new_pack.WAqMZW/_new  2017-05-17 10:45:35.376804730 +0200
@@ -133,6 +133,12 @@
 # Avoid a FP of tests/misc/date-debug.sh with newer timezone-2017a.
 Patch700:   coreutils-tests-port-to-timezone-2017a.patch
 
+# Upstream fix on top of coreutils-v8.27:
+# 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).
+Patch710:   coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -176,6 +182,7 @@
 %patch501
 
 %patch700
+%patch710
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.WAqMZW/_old  2017-05-17 10:45:35.412799666 +0200
+++ /var/tmp/diff_new_pack.WAqMZW/_new  2017-05-17 10:45:35.416799104 +0200
@@ -133,6 +133,12 @@
 # Avoid a FP of tests/misc/date-debug.sh with newer timezone-2017a.
 Patch700:   coreutils-tests-port-to-timezone-2017a.patch
 
+# Upstream fix on top of coreutils-v8.27:
+# 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).
+Patch710:   coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -176,6 +182,7 @@
 %patch501
 
 %patch700
+%patch710
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in


++ coreutils-cve-2017-7476-out-of-bounds-with-large-tz.patch ++
# Upstream fix on top of coreutils-v8.27:
# 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).

This issue is already fixed upstream, so here in openSUSE
we're just picking up the patches:

* [PATCH 1/2] Upstream gnulib fix:
  http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=94e015715078

  FWIW, this patch has been picked up by upstream coreutils by
  the following update to latest gnulib:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=5d4be52a982e

* [PATCH 2/2] Upstream coreutils test:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=9287ef2b1707

This downstream patch squashes both commits into one.
Here are the original commit messages.


>From 94e01571507835ff59dd8ce2a0b56a4b566965a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= 
Date: Mon, 24 Apr 2017 01:43:36 -0700
Subject: [PATCH 1/2] time_rz: fix heap buffer overflow vulnerability

This issue has been assigned CVE-2017-7476 and was
detected with American Fuzzy Lop 2.41b run on the
coreutils date(1) program with ASAN enabled.

  ERROR: AddressSanitizer: heap-buffer-overflow on address 0x...
  WRITE of size 8 at 0x60d0cff8 thread T0
  #1 0x443020 in extend_abbrs lib/time_rz.c:88
  #2 0x443356 in save_abbr lib/time_rz.c:155
  #3 0x44393f in localtime_rz lib/time_rz.c:290
  #4 0x41e4fe in parse_datetime2 lib/parse-datetime.y:1798

A minimized reproducer is the following 120 byte TZ value,
which goes beyond the value of ABBR_SIZE_MIN (119) on x86_64.
Extend the aa...b portion to overwrite more of the heap.

  date -d $(printf 'TZ="aaa%020daab%089d

commit coreutils for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2017-03-21 22:42:03

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Tue Mar 21 22:42:03 2017 rev:122 rq:478478 version:8.27

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2016-12-05 16:28:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2017-03-21 22:42:08.105661732 +0100
@@ -1,0 +2,21 @@
+Fri Mar 10 09:42:51 UTC 2017 - m...@bernhard-voelker.de
+
+- 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.
+
+---
coreutils.changes: same change

Old:

  coreutils-8.26.tar.xz
  coreutils-8.26.tar.xz.sig

New:

  coreutils-8.27.tar.xz
  coreutils-8.27.tar.xz.sig
  coreutils-tests-port-to-timezone-2017a.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.M3LqOr/_old  2017-03-21 22:42:09.593451537 +0100
+++ /var/tmp/diff_new_pack.M3LqOr/_new  2017-03-21 22:42:09.597450972 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils-testsuite
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.26
+Version:8.27
 Release:0
 
 #
@@ -129,6 +129,10 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+# Upstream patch on top of coreutils-8.27.
+# Avoid a FP of tests/misc/date-debug.sh with newer timezone-2017a.
+Patch700:   coreutils-tests-port-to-timezone-2017a.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -171,6 +175,8 @@
 %patch500
 %patch501
 
+%patch700
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.M3LqOr/_old  2017-03-21 22:42:09.621447581 +0100
+++ /var/tmp/diff_new_pack.M3LqOr/_new  2017-03-21 22:42:09.625447016 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.26
+Version:8.27
 Release:0
 
 #
@@ -129,6 +129,10 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+# Upstream patch on top of coreutils-8.27.
+# Avoid a FP of tests/misc/date-debug.sh with newer timezone-2017a.
+Patch700:   coreutils-tests-port-to-timezone-2017a.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -171,6 +175,8 @@
 %patch500
 %patch501
 
+%patch700
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils-8.26.tar.xz -> coreutils-8.27.tar.xz ++
 219171 lines of diff (skipped)

++ coreutils-build-timeout-as-pie.patch ++
--- /var/tmp/diff_new_pack.M3LqOr/_old  2017-03-21 22:42:12.465045837 +0100
+++ /var/tmp/diff_new_pack.M3LqOr/_new  2017-03-21 22:42:12.465045837 +0100
@@ -27,7 +2

commit coreutils for openSUSE:Factory

2016-12-05 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2016-12-05 16:28:40

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2016-11-04 20:49:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2016-12-05 16:28:42.0 +0100
@@ -1,0 +2,25 @@
+Fri Dec  2 17:17:40 UTC 2016 - m...@bernhard-voelker.de
+
+- 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
+
+---
coreutils.changes: same change

Old:

  coreutils-8.25.tar.xz
  coreutils-8.25.tar.xz.sig
  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

New:

  coreutils-8.26.tar.xz
  coreutils-8.26.tar.xz.sig



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.fexBKC/_old  2016-12-05 16:28:45.0 +0100
+++ /var/tmp/diff_new_pack.fexBKC/_new  2016-12-05 16:28:45.0 +0100
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.25
+Version:8.26
 Release:0
 
 #
@@ -52,6 +52,7 @@
 BuildRequires:  perl-Expect
 BuildRequires:  python-pyinotify
 BuildRequires:  strace
+BuildRequires:  timezone
 %ifarch %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
 BuildRequires:  valgrind
 %endif
@@ -128,30 +129,13 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
-# Upstream patch to diagnose readdir() failures in fts-based utilities;
-# to be removed with coreutils > v8.25.
-Patch700:   coreutils-diagnose-fts-readdir-failure.patch
-
-# Upstream patch to improve df performance with many mount points;
-# to be removed with coreutils > v8.25.
-Patch705:   coreutils-df-hash-in-filter.patch
-
-# Upstream patch to fix the build dependency between src/arch -> man/arch.1;
-# to be removed with coreutils > v8.25.
-Patch710:   coreutils-maint-fix-dependency-of-man-arch.1.patch
-
-# Upstream patch to fix "md5sum --check --ignore-missing" which treated
-# files with checksums starting with "00" as missing;
-# to be removed with coreutils > v8.25.
-Patch715:   
coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch
-
 # 
 %description
 These are the GNU core utilities.  This package is the union of
 the GNU fileutils, sh-utils, and textutils packages.
 
-  [ arch base32 base64 basename cat chcon chgrp chmod chown chroot cksum comm
-  cp csplit cut date dd df dir dircolors dirname du echo env expand expr
+  [ arch b2sum base32 base64 basename cat chcon chgrp chmod chown chroot cksum
+  comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr
   factor false fmt fold groups head hostid id install join
   link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
   nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink
@@ -187,11 +171,6 @@
 %patch500
 %patch501
 
-%patch700
-%patch705
-%patch710
-%patch715
-
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 
@@ -231,7 +210,7 @@
 %if "%{name}" == "coreutils"
 make install DESTDIR="%buildroot" pkglibexecdir=%{_libdir}/%{name}
 
-# remove kill
+# remove kill - we use that from util-linux.
 rm -v %{buildroot}%{_bindir}/kill
 rm -v %{buildroot}/%{_mandir}/

commit coreutils for openSUSE:Factory

2016-11-04 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2016-11-04 20:49:26

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2016-08-05 18:11:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2016-11-04 20:49:27.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov  1 09:41:12 UTC 2016 - m...@bernhard-voelker.de
+
+- 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.
+
+---
coreutils.changes: same change

New:

  coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.PKjavF/_old  2016-11-04 20:49:29.0 +0100
+++ /var/tmp/diff_new_pack.PKjavF/_new  2016-11-04 20:49:29.0 +0100
@@ -140,6 +140,11 @@
 # to be removed with coreutils > v8.25.
 Patch710:   coreutils-maint-fix-dependency-of-man-arch.1.patch
 
+# Upstream patch to fix "md5sum --check --ignore-missing" which treated
+# files with checksums starting with "00" as missing;
+# to be removed with coreutils > v8.25.
+Patch715:   
coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -185,6 +190,7 @@
 %patch700
 %patch705
 %patch710
+%patch715
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.PKjavF/_old  2016-11-04 20:49:29.0 +0100
+++ /var/tmp/diff_new_pack.PKjavF/_new  2016-11-04 20:49:29.0 +0100
@@ -140,6 +140,11 @@
 # to be removed with coreutils > v8.25.
 Patch710:   coreutils-maint-fix-dependency-of-man-arch.1.patch
 
+# Upstream patch to fix "md5sum --check --ignore-missing" which treated
+# files with checksums starting with "00" as missing;
+# to be removed with coreutils > v8.25.
+Patch715:   
coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -185,6 +190,7 @@
 %patch700
 %patch705
 %patch710
+%patch715
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in


++ coreutils-m5sum-sha-sum-fix-ignore-missing-with-00-checksums.patch ++
Upstream patch to fix "md5sum --check --ignore-missing" which treated
files with checksums starting with "00" as missing.
To be removed with coreutils > v8.25.

Test case illustrating the issue:

  $ echo 559 > file
  
  $ md5sum file | tee file.md5
  000b64c5d808b7ae98718d6a191325b7  file
  
With the file being intact, md5sum previously issued a misleading error
diagnostic, and returned with exit code 1.

  $ md5sum -c --ignore-missing file.md5; echo $?
  md5sum: file.md5: no file was verified
  1

With the file being changed, md5sum still detected the changed file ("FAILED"),
but still stated that the file was not checked; at least the exit code was okay.

  $ echo tampered >> file

  $ md5sum -c --ignore-missing file.md5; echo $?
  file: FAILED
  md5sum: WARNING: 1 computed checksum did NOT match
  md5sum: file.md5: no file was verified
  1

Original patch:
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=d0ddfadfb27de

>From d0ddfadfb27def2861f35b1a45190a4c1780b257 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= 
Date: Wed, 26 Oct 2016 15:45:01 +0100
Subject: [PATCH] md5sum,sha*sum: fix --ignore-missing with checksums starting
 with 00

* NEWS: Mention the fix.
* src/md5sum.c (digest_file): Add a new MISSING parameter to
return whether the file was missing, separately from the digest.
* tests/misc/md5sum.pl: Add a test case.
Fixes http://bugs.gnu.org/24795
---
 NEWS |4 
 src/md5sum.c |   20 
 tests/misc/md5sum.pl |7 +++
 3 files changed, 23 insertions(+), 8 deletions(-)

Index: NEWS
===
--- NEWS.orig
+++ NEWS
@@ -11,6 +11,10 @@ GNU coreutils NEWS
   df now filters the system mount list more efficiently, with 2
   mount entries now being processed in about 1.1s compared to 1.7s.
 
+  md5sum --c

commit coreutils for openSUSE:Factory

2016-08-05 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2016-08-05 18:11:47

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2016-07-18 21:17:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2016-08-05 18:11:48.0 +0200
@@ -1,0 +2,13 @@
+Thu Jul 28 17:02:53 UTC 2016 - m...@bernhard-voelker.de
+
+- 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.
+
+---
+Fri Jul 22 10:48:50 CEST 2016 - p...@suse.de
+
+- Add coreutils-df-hash-in-filter.patch that speeds up df.
+
+---
coreutils.changes: same change

New:

  coreutils-df-hash-in-filter.patch
  coreutils-maint-fix-dependency-of-man-arch.1.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.Tg8xN0/_old  2016-08-05 18:11:50.0 +0200
+++ /var/tmp/diff_new_pack.Tg8xN0/_new  2016-08-05 18:11:50.0 +0200
@@ -132,6 +132,14 @@
 # to be removed with coreutils > v8.25.
 Patch700:   coreutils-diagnose-fts-readdir-failure.patch
 
+# Upstream patch to improve df performance with many mount points;
+# to be removed with coreutils > v8.25.
+Patch705:   coreutils-df-hash-in-filter.patch
+
+# Upstream patch to fix the build dependency between src/arch -> man/arch.1;
+# to be removed with coreutils > v8.25.
+Patch710:   coreutils-maint-fix-dependency-of-man-arch.1.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -175,6 +183,8 @@
 %patch501
 
 %patch700
+%patch705
+%patch710
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.Tg8xN0/_old  2016-08-05 18:11:50.0 +0200
+++ /var/tmp/diff_new_pack.Tg8xN0/_new  2016-08-05 18:11:50.0 +0200
@@ -132,6 +132,14 @@
 # to be removed with coreutils > v8.25.
 Patch700:   coreutils-diagnose-fts-readdir-failure.patch
 
+# Upstream patch to improve df performance with many mount points;
+# to be removed with coreutils > v8.25.
+Patch705:   coreutils-df-hash-in-filter.patch
+
+# Upstream patch to fix the build dependency between src/arch -> man/arch.1;
+# to be removed with coreutils > v8.25.
+Patch710:   coreutils-maint-fix-dependency-of-man-arch.1.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -175,6 +183,8 @@
 %patch501
 
 %patch700
+%patch705
+%patch710
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in


++ coreutils-df-hash-in-filter.patch ++
# Upstream patch to improve df performance with many mount points;
# to be removed with coreutils > v8.25.

Upstream patch:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=1c17f61ef9

Downstream addition:
* THANKS: Propagate the addition of Josef Cejka from THANKS.in
to this file (usually done via "make dist").

__
>From 1c17f61ef993a5ee5fb0d3bc47b7b25782ae386c Mon Sep 17 00:00:00 2001
From: Philipp Thomas 
Date: Sun, 31 Jul 2016 21:24:18 +0200
Subject: [PATCH] df: improve performance with many mount points

Use hash table for seaching in filter_mount_list() and get_dev()

This improves performance for 20K mount entries from:
  real0m1.731s
  user0m0.532s
  sys 0m1.188s
to:
  real0m1.066s
  user0m0.028s
  sys 0m1.032s

* src/df.c (devlist_table): Define hash table.
(devlist_hash): Add hash function.
(devlist_compare): Add hash comparison function.
(devlist_for_dev): Add lookup function.
(devlist_free): Add cleanup function.
(filter_mount_list): Use the above hash table.
While at it, rename the variable 'devlist' to 'seen_dev' for
better readability.
(me_for_dev): Use the above lookup function.
NEWS: Mention the improvement.
THANKS.in: Remove the committer; add original submitter Josef Cejka.
---
 NEWS  |3 +
 THANKS|1 
 THANKS.in |2 -
 src/df.c  |  110 +++---
 4 files changed, 82 insertions(+), 34 d

commit coreutils for openSUSE:Factory

2016-07-18 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2016-07-18 21:17:10

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2016-02-11 12:31:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2016-07-18 21:17:11.0 +0200
@@ -1,0 +2,7 @@
+Wed Jul  6 06:54:54 UTC 2016 - m...@bernhard-voelker.de
+
+- coreutils-diagnose-fts-readdir-failure.patch: Add upstream patch
+  to diagnose readdir() failures in fts-based utilities: rm, chmod,
+  du, etc. (boo#984910)
+
+---
coreutils.changes: same change

New:

  coreutils-diagnose-fts-readdir-failure.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.xhhGIM/_old  2016-07-18 21:17:13.0 +0200
+++ /var/tmp/diff_new_pack.xhhGIM/_new  2016-07-18 21:17:13.0 +0200
@@ -128,6 +128,10 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+# Upstream patch to diagnose readdir() failures in fts-based utilities;
+# to be removed with coreutils > v8.25.
+Patch700:   coreutils-diagnose-fts-readdir-failure.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -170,6 +174,8 @@
 %patch500
 %patch501
 
+%patch700
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.xhhGIM/_old  2016-07-18 21:17:13.0 +0200
+++ /var/tmp/diff_new_pack.xhhGIM/_new  2016-07-18 21:17:13.0 +0200
@@ -128,6 +128,10 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+# Upstream patch to diagnose readdir() failures in fts-based utilities;
+# to be removed with coreutils > v8.25.
+Patch700:   coreutils-diagnose-fts-readdir-failure.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -170,6 +174,8 @@
 %patch500
 %patch501
 
+%patch700
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 


++ coreutils-diagnose-fts-readdir-failure.patch ++
Upstream patch
 - to diagnose readdir() failures in fts-based utilities,
 - fixes boo#984910,
 - to be removed with coreutils > v8.25,
 - consists of the following parts:
 1. the fix in thee gnulib submodule
 2. the NEWS entry
 3. the test added to verify the fix.
 4. Upstream coreutils commit to fix the test on 32-bit

--
1. Upstream gnulib submodule commit:
  http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=6835fc458f30

Taken without the ChangeLog change:

>From 6835fc458f30b94f15d69c35a79cbc2dfabe2d06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= 
Date: Wed, 22 Jun 2016 13:49:53 +0100
Subject: [PATCH] fts: handle readdir() errors

* lib/fts.c (fts_build): readdir(3) returns NULL when finished,
but also upon error when it will also set errno.  Therefore
flag the error case from readdir().  We treat the case where
no items are read the same as if the dir can't be accessed,
i.e. by setting fts_errno to FTS_DNR.

The bug was initially reported by Peter Benie
http://bugzilla.opensuse.org/show_bug.cgi?id=984910
where it was mentioned that readdir() may fail
when an NFS server has a poor readdir cookie implementation.
--
2. Upstream coreutils commit:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=ef9650170f79

Take the NEWS change only, as the fix in fts.c was already
pulled in with the above gnulib commit.

>From ef9650170f795be41223c8887258a1c596ecc162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= 
Date: Sun, 26 Jun 2016 20:58:41 +0100
Subject: [PATCH] all: update gnulib submodule and tests/init.sh to latest

* NEWS: Specifically mention the fts readdir() fix.
--
3. Upstream coreutils commit to add a test:
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=26616776c0c6

>From 26616776c0c620ce72b3b69aa5ed63f495552a9e Mon Sep 17 00:00:00 2001
From: Peter Benie 
Date: Sun, 26 Jun 2016 19:07:45 +0100
Subject: [PATCH] tests: verify that fts diagnoses r

commit coreutils for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2016-02-11 12:31:45

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-10-06 13:23:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2016-02-11 12:31:46.0 +0100
@@ -1,0 +2,21 @@
+Fri Jan 29 22:08:45 UTC 2016 - m...@bernhard-voelker.de
+
+- 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
+
+---
coreutils.changes: same change

Old:

  coreutils-8.24.tar.xz
  coreutils-8.24.tar.xz.sig
  coreutils-tests-avoid-FP-of-ls-stat-free-color.patch

New:

  coreutils-8.25.tar.xz
  coreutils-8.25.tar.xz.sig



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.u7NqRO/_old  2016-02-11 12:31:48.0 +0100
+++ /var/tmp/diff_new_pack.u7NqRO/_new  2016-02-11 12:31:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils-testsuite
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.24
+Version:8.25
 Release:0
 
 #
@@ -128,15 +128,13 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
-Patch600:   coreutils-tests-avoid-FP-of-ls-stat-free-color.patch
-
 # 
 %description
 These are the GNU core utilities.  This package is the union of
 the GNU fileutils, sh-utils, and textutils packages.
 
-  [ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
-  csplit cut date dd df dir dircolors dirname du echo env expand expr
+  [ arch base32 base64 basename cat chcon chgrp chmod chown chroot cksum comm
+  cp csplit cut date dd df dir dircolors dirname du echo env expand expr
   factor false fmt fold groups head hostid id install join
   link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
   nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink
@@ -172,9 +170,6 @@
 %patch500
 %patch501
 
-# Upstream patch on top of v8.24 to fix a FP test failure with glibc>=2.22.
-%patch600
-
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.u7NqRO/_old  2016-02-11 12:31:48.0 +0100
+++ /var/tmp/diff_new_pack.u7NqRO/_new  2016-02-11 12:31:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 Url:http://www.gnu.org/software/coreutils/
-Version:8.24
+Version:8.25
 Release:0
 
 #
@@ -128,15 +128,13 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
-Patch600:   coreutils-tests-avoid-FP-of-ls-stat-free-color.patch
-
 # 
 %description
 These are the GNU core utilities.  This package is the union of
 the GNU fileutils, sh-utils, and textutils packages.
 
-  [ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
-  csplit

commit coreutils for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-10-06 13:23:07

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-09-08 17:35:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-10-06 13:23:09.0 +0200
@@ -1,0 +2,12 @@
+Sun Sep 20 15:22:45 UTC 2015 - m...@bernhard-voelker.de
+
+- 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
+
+---
coreutils.changes: same change



Other differences:
--
coreutils.spec: same change

++ coreutils-i18n.patch ++
--- /var/tmp/diff_new_pack.QrkptB/_old  2015-10-06 13:23:11.0 +0200
+++ /var/tmp/diff_new_pack.QrkptB/_new  2015-10-06 13:23:11.0 +0200
@@ -7,8 +7,9 @@
  src/sort.c  |  763 
+---
  src/unexpand.c  |  228 +
  src/uniq.c  |  265 ++-
+ tests/i18n/sort-month.sh|   34 +
  tests/i18n/sort.sh  |   29 +
- tests/local.mk  |2 
+ tests/local.mk  |3 
  tests/misc/cut.pl   |7 
  tests/misc/expand.pl|   40 ++
  tests/misc/fold.pl  |   50 ++
@@ -19,7 +20,7 @@
  tests/misc/unexpand.pl  |   39 ++
  tests/misc/uniq.pl  |   55 +++
  tests/pr/pr-tests.pl|   49 ++
- 21 files changed, 3255 insertions(+), 180 deletions(-)
+ 22 files changed, 3290 insertions(+), 180 deletions(-)
 
 Index: lib/linebuffer.h
 ===
@@ -3076,8 +3077,8 @@
 +  register int lo = 0, hi = MONTHS_PER_YEAR, result;
 +  char *tmp;
 +  size_t wclength, mblength;
-+  const char **pp;
-+  const wchar_t **wpp;
++  const char *pp;
++  const wchar_t *wpp;
 +  wchar_t *month_wcs;
 +  mbstate_t state;
 +
@@ -3090,17 +3091,19 @@
 +  if (len == 0)
 +return 0;
 +
-+  month = (char *) xmalloc (len + 1);
++  if (SIZE_MAX - len < 1)
++xalloc_die ();
 +
-+  tmp = (char *) xmalloc (len + 1);
++  month = (char *) xnmalloc (len + 1, MB_CUR_MAX);
++
++  pp = tmp = (char *) xnmalloc (len + 1, MB_CUR_MAX);
 +  memcpy (tmp, s, len);
 +  tmp[len] = '\0';
-+  pp = (const char **)&tmp;
-+  month_wcs = (wchar_t *) xmalloc ((len + 1) * sizeof (wchar_t));
-+  memset (&state, '\0', sizeof(mbstate_t));
++  wpp = month_wcs = (wchar_t *) xnmalloc (len + 1, sizeof (wchar_t));
++  memset (&state, '\0', sizeof (mbstate_t));
 +
-+  wclength = mbsrtowcs (month_wcs, pp, len + 1, &state);
-+  if (wclength == (size_t)-1 || *pp != NULL)
++  wclength = mbsrtowcs (month_wcs, &pp, len + 1, &state);
++  if (wclength == (size_t)-1 || pp != NULL)
 +error (SORT_FAILURE, 0, _("Invalid multibyte input %s."), quote(s));
 +
 +  for (i = 0; i < wclength; i++)
@@ -3113,10 +3116,8 @@
 +}
 +}
 +
-+  wpp = (const wchar_t **)&month_wcs;
-+
-+  mblength = wcsrtombs (month, wpp, len + 1, &state);
-+  assert (mblength != (-1) && *wpp == NULL);
++  mblength = wcsrtombs (month, &wpp, (len + 1) * MB_CUR_MAX, &state);
++  assert (mblength != (-1) && wpp == NULL);
 +
 +  do
 +{
@@ -4167,12 +4168,13 @@
 ===
 --- tests/local.mk.orig
 +++ tests/local.mk
-@@ -341,6 +341,8 @@ all_tests =\
+@@ -341,6 +341,9 @@ all_tests =\
tests/misc/sort-discrim.sh  \
tests/misc/sort-files0-from.pl  \
tests/misc/sort-float.sh\
 +  tests/misc/sort-mb-tests.sh \
 +  tests/i18n/sort.sh  \
++  tests/i18n/sort-month.sh\
tests/misc/sort-merge.pl\
tests/misc/sort-merge-fdlimit.sh\
tests/misc/sort-month.sh\
@@ -4783,3 +4785,42 @@
  my $save_temps = $ENV{DEBUG};
  my $verbose = $ENV{VERBOSE};
  
+Index: tests/i18n/sort-month.sh
+===
+--- /dev/null
 tests/i18n/sort-month.sh
+@@ -0,0 +1,34 @@
++#

commit coreutils for openSUSE:Factory

2015-09-08 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-09-08 17:35:17

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-08-21 07:35:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-09-08 17:35:18.0 +0200
@@ -1,0 +2,6 @@
+Sun Aug 30 21:52:13 UTC 2015 - m...@bernhard-voelker.de
+
+- 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.
+
+---
coreutils.changes: same change

New:

  coreutils-tests-avoid-FP-of-ls-stat-free-color.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.tXwgCn/_old  2015-09-08 17:35:34.0 +0200
+++ /var/tmp/diff_new_pack.tXwgCn/_new  2015-09-08 17:35:34.0 +0200
@@ -128,6 +128,8 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+Patch600:   coreutils-tests-avoid-FP-of-ls-stat-free-color.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -170,6 +172,9 @@
 %patch500
 %patch501
 
+# Upstream patch on top of v8.24 to fix a FP test failure with glibc>=2.22.
+%patch600
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.tXwgCn/_old  2015-09-08 17:35:34.0 +0200
+++ /var/tmp/diff_new_pack.tXwgCn/_new  2015-09-08 17:35:34.0 +0200
@@ -128,6 +128,8 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+Patch600:   coreutils-tests-avoid-FP-of-ls-stat-free-color.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -170,6 +172,9 @@
 %patch500
 %patch501
 
+# Upstream patch on top of v8.24 to fix a FP test failure with glibc>=2.22.
+%patch600
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 


++ coreutils-tests-avoid-FP-of-ls-stat-free-color.patch ++
Upstream patch on top of v8.24 to avoid a FP test failure with glibc>=2.22:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=fd5f2b1569
Patch to be removed with v8.25.

>From fd5f2b1569e2e0b31be755e14e236a7a02478fc0 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker 
Date: Sun, 30 Aug 2015 22:49:35 +0200
Subject: [PATCH] tests: avoid FP of ls/stat-free-color.sh with newer glibc

Since glibc-2.22, specifically commit [0], the opendir() implementation
implicitly makes an additional stat call thus leading to a FP.
Seen on openSUSE:Tumbleweed since snapshot 20150821.

[0]
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=46f894d8c60a

* tests/ls/stat-free-color.sh: Change the test to verify that ls(1)
needs the same number of stat-like calls for a single, empty directory
argument as for one with a few directory entries (sub-directory,
regular file, symlink, etc.).
---
 tests/ls/stat-free-color.sh |   39 ---
 1 file changed, 24 insertions(+), 15 deletions(-)

Index: tests/ls/stat-free-color.sh
===
--- tests/ls/stat-free-color.sh.orig
+++ tests/ls/stat-free-color.sh
@@ -27,8 +27,6 @@ stats='stat,lstat,stat64,lstat64,newfsta
 require_strace_ $stats
 require_dirent_d_type_
 
-ln -s nowhere dangle || framework_failure_
-
 # Disable enough features via LS_COLORS so that ls --color
 # can do its job without calling stat (other than the obligatory
 # one-call-per-command-line argument).
@@ -54,22 +52,33 @@ EOF
 eval $(dircolors -b color-without-stat)
 
 # The system may perform additional stat-like calls before main.
-# To avoid counting those, first get a baseline count by running
-# ls with only the --help option.  Then, compare that with the
+# Furthermore, underlying library functions may also implicitly
+# add an extra stat call, e.g. opendir since glibc-2.21-360-g46f894d.
+# To avoid counting those, first get a baseline count for running
+# ls with one empty directory argument.  Then, compare that with the
 # invocation under test.
-strace -o log-help -e $stats ls --help >/dev/null || fail=1
-n_lines_help=$(wc -l < log-help)
+mkdir d || framework_failure_
 
-strace -o log 

commit coreutils for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-08-21 07:35:07

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-06-11 08:20:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-08-21 07:35:10.0 +0200
@@ -1,0 +2,178 @@
+Thu Jul 16 01:28:36 UTC 2015 - m...@bernhard-voelker.de
+
+- 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.
+
+---
+Thu Jul  9 15:12:10 CEST 2015 - p...@suse.de
+
+- 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.
+
+  * nu

commit coreutils for openSUSE:Factory

2015-05-15 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-05-16 07:12:08

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-04-16 14:10:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-05-16 07:12:09.0 +0200
@@ -1,0 +2,16 @@
+Tue May 12 09:32:53 UTC 2015 - m...@bernhard-voelker.de
+
+- Download keyring file from Savannah; prefer HTTPS over FTP
+  for remote sources.
+
+---
+Tue May 12 08:56:13 UTC 2015 - m...@bernhard-voelker.de
+
+- Fix memory handling error with case insensitive sort using UTF-8
+  (boo#928749): coreutils-i18n.patch
+  src/sort.c (keycompare_mb): Ensure the buffer is big enough
+  to handle anything output from wctomb().  Theoretically any
+  input char could be converted to multiple output chars,
+  and so we need to multiply the storage by MB_CUR_MAX.
+
+---
coreutils.changes: same change



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.hVJNxa/_old  2015-05-16 07:12:11.0 +0200
+++ /var/tmp/diff_new_pack.hVJNxa/_new  2015-05-16 07:12:11.0 +0200
@@ -82,9 +82,9 @@
 # For upgrading you now just need to increase the version, remove the old
 # tarballs, then run osc service localrun download_files, osc addremove,
 # osc vc and osc ci and you are done.
-Source0:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
-Source1:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
-Source2:%{name}.keyring
+Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1&file=./%{name}.keyring
 %else
 # In "coreutils-testsuite", we use the version controlled file from 
"coreutils".
 # otherwise that file would be downloaded twice during the above mentioned

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.hVJNxa/_old  2015-05-16 07:12:11.0 +0200
+++ /var/tmp/diff_new_pack.hVJNxa/_new  2015-05-16 07:12:11.0 +0200
@@ -82,9 +82,9 @@
 # For upgrading you now just need to increase the version, remove the old
 # tarballs, then run osc service localrun download_files, osc addremove,
 # osc vc and osc ci and you are done.
-Source0:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
-Source1:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
-Source2:%{name}.keyring
+Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1&file=./%{name}.keyring
 %else
 # In "coreutils-testsuite", we use the version controlled file from 
"coreutils".
 # otherwise that file would be downloaded twice during the above mentioned


++ coreutils-i18n.patch ++
--- /var/tmp/diff_new_pack.hVJNxa/_old  2015-05-16 07:12:11.0 +0200
+++ /var/tmp/diff_new_pack.hVJNxa/_new  2015-05-16 07:12:11.0 +0200
@@ -7,7 +7,8 @@
  src/sort.c  |  743 
+---
  src/unexpand.c  |  228 +
  src/uniq.c  |  265 +++
- tests/local.mk  |1 
+ tests/i18n/sort.sh  |   29 +
+ tests/local.mk  |2 
  tests/misc/cut.pl   |7 
  tests/misc/expand.pl|   40 ++
  tests/misc/fold.pl  |   50 ++
@@ -18,7 +19,7 @@
  tests/misc/unexpand.pl  |   39 ++
  tests/misc/uniq.pl  |   55 +++
  tests/pr/pr-tests.pl|   49 ++
- 20 files changed, 3194 insertions(+), 180 deletions(-)
+ 21 files changed, 3224 insertions(+), 180 deletions(-)
 
 Index: lib/linebuffer.h
 ===
@@ -3261,8 +3262,8 @@
 +
 +  if (ignore || translate)
 +{
-+  char *copy_a = (char *) xmalloc (lena + 1 + lenb + 1);
-+  char *copy_b = copy_a + lena + 1;
++  char *copy_a = (char *) xmalloc((lena + lenb) * MB_CUR_MAX + 2);
++  char *copy_b = copy_a + (lena * MB_CUR_MAX) + 1; 
 +  size_t new_len_a, new_len_b;
 +  size_t i, j;
 +
@@ -4112,6 +4113,14 @@
tests/misc/sort-merge.pl\
tests/misc/sort

commit coreutils for openSUSE:Factory

2015-04-16 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-04-16 14:10:52

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-03-29 20:14:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-04-16 14:10:53.0 +0200
@@ -1,0 +2,11 @@
+Tue Apr  7 18:18:31 UTC 2015 - crrodrig...@opensuse.org
+
+- If coreutils changes, for consistency, we must regenerate
+  the initrd.
+
+---
+Thu Apr  2 15:26:50 UTC 2015 - mplus...@suse.com
+
+- Add gpg signature
+
+---
coreutils.changes: same change

New:

  coreutils-8.23.tar.xz.sig
  coreutils.keyring



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.IMbCJF/_old  2015-04-16 14:10:54.0 +0200
+++ /var/tmp/diff_new_pack.IMbCJF/_new  2015-04-16 14:10:54.0 +0200
@@ -41,6 +41,7 @@
 BuildRequires:  libselinux-devel
 BuildRequires:  makeinfo
 BuildRequires:  perl
+BuildRequires:  suse-module-tools
 BuildRequires:  xz
 %if %{suse_version} > 1320
 BuildRequires:  gcc-PIE
@@ -81,15 +82,19 @@
 # For upgrading you now just need to increase the version, remove the old
 # tarballs, then run osc service localrun download_files, osc addremove,
 # osc vc and osc ci and you are done.
-Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source0:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source2:%{name}.keyring
 %else
 # In "coreutils-testsuite", we use the version controlled file from 
"coreutils".
 # otherwise that file would be downloaded twice during the above mentioned
 # upgrade procedure.
-Source: coreutils-%{version}.tar.xz
+Source0:coreutils-%{version}.tar.xz
+Source1:coreutils-%{version}.tar.xz.sig
+Source2:coreutils.keyring
 %endif
 
-Source1:baselibs.conf
+Source3:baselibs.conf
 
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch3: coreutils-remove_kill_documentation.patch
@@ -266,6 +271,13 @@
 %post
 %if "%{name}" == "coreutils"
 %install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
+%{?regenerate_initrd_post}
+%endif
+
+# 
+%posttrans
+%if "%{name}" == "coreutils"
+%{?regenerate_initrd_posttrans}
 %endif
 
 # 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.IMbCJF/_old  2015-04-16 14:10:54.0 +0200
+++ /var/tmp/diff_new_pack.IMbCJF/_new  2015-04-16 14:10:54.0 +0200
@@ -41,6 +41,7 @@
 BuildRequires:  libselinux-devel
 BuildRequires:  makeinfo
 BuildRequires:  perl
+BuildRequires:  suse-module-tools
 BuildRequires:  xz
 %if %{suse_version} > 1320
 BuildRequires:  gcc-PIE
@@ -81,15 +82,19 @@
 # For upgrading you now just need to increase the version, remove the old
 # tarballs, then run osc service localrun download_files, osc addremove,
 # osc vc and osc ci and you are done.
-Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source0:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source1:ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source2:%{name}.keyring
 %else
 # In "coreutils-testsuite", we use the version controlled file from 
"coreutils".
 # otherwise that file would be downloaded twice during the above mentioned
 # upgrade procedure.
-Source: coreutils-%{version}.tar.xz
+Source0:coreutils-%{version}.tar.xz
+Source1:coreutils-%{version}.tar.xz.sig
+Source2:coreutils.keyring
 %endif
 
-Source1:baselibs.conf
+Source3:baselibs.conf
 
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch3: coreutils-remove_kill_documentation.patch
@@ -266,6 +271,13 @@
 %post
 %if "%{name}" == "coreutils"
 %install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
+%{?regenerate_initrd_post}
+%endif
+
+# 
+%posttrans
+%if "%{name}" == "coreutils"
+%{?regenerate_initrd_posttrans}
 %endif
 
 # 




commit coreutils for openSUSE:Factory

2015-03-29 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-03-29 20:14:13

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-03-16 06:52:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-03-29 20:14:14.0 +0200
@@ -1,0 +2,6 @@
+Thu Mar 26 13:06:58 UTC 2015 - rguent...@suse.com
+
+- For openSUSE > 13.2 drop coreutils-build-timeout-as-pie.patch and
+  instead add a BuildRequire for gcc-PIE.
+
+---
coreutils.changes: same change



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.Rztfpz/_old  2015-03-29 20:14:16.0 +0200
+++ /var/tmp/diff_new_pack.Rztfpz/_new  2015-03-29 20:14:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils-testsuite
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,6 +42,9 @@
 BuildRequires:  makeinfo
 BuildRequires:  perl
 BuildRequires:  xz
+%if %{suse_version} > 1320
+BuildRequires:  gcc-PIE
+%endif
 %if "%{name}" == "coreutils-testsuite"
 BuildRequires:  acl
 BuildRequires:  gdb
@@ -174,7 +177,9 @@
 %patch8
 %patch16
 #
+%if %{suse_version} <= 1320
 %patch100
+%endif
 %patch111
 %patch112
 %patch113

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.Rztfpz/_old  2015-03-29 20:14:16.0 +0200
+++ /var/tmp/diff_new_pack.Rztfpz/_new  2015-03-29 20:14:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -42,6 +42,9 @@
 BuildRequires:  makeinfo
 BuildRequires:  perl
 BuildRequires:  xz
+%if %{suse_version} > 1320
+BuildRequires:  gcc-PIE
+%endif
 %if "%{name}" == "coreutils-testsuite"
 BuildRequires:  acl
 BuildRequires:  gdb
@@ -174,7 +177,9 @@
 %patch8
 %patch16
 #
+%if %{suse_version} <= 1320
 %patch100
+%endif
 %patch111
 %patch112
 %patch113

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2015-03-15 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-03-16 06:52:48

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2015-01-30 06:02:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-03-16 06:52:49.0 +0100
@@ -1,0 +2,7 @@
+Thu Feb  5 06:58:52 UTC 2015 - m...@bernhard-voelker.de
+
+- coreutils-tests-aarch64-env.patch: Add patch to avoid false
+  positive failures of the coreutils-testsuite on OBS/aarch64:
+  work around execve() reversing the order of "env" output.
+
+---
coreutils.changes: same change

New:

  coreutils-tests-aarch64-env.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.ahQ0y9/_old  2015-03-16 06:52:50.0 +0100
+++ /var/tmp/diff_new_pack.ahQ0y9/_new  2015-03-16 06:52:50.0 +0100
@@ -144,6 +144,10 @@
 # Avoid false positives on OBS due to high load; increase timeout.
 Patch503:   coreutils-tests-rm-ext3-perf-increase-timeout.patch
 
+# Upstream patch on top of v8.23 (to be removed in v8.24).
+# Work around false positives of the testsuite on OBS/aarch64.
+Patch504:   coreutils-tests-aarch64-env.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -195,6 +199,8 @@
 %patch502
 %patch503
 
+%patch504
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.ahQ0y9/_old  2015-03-16 06:52:50.0 +0100
+++ /var/tmp/diff_new_pack.ahQ0y9/_new  2015-03-16 06:52:50.0 +0100
@@ -144,6 +144,10 @@
 # Avoid false positives on OBS due to high load; increase timeout.
 Patch503:   coreutils-tests-rm-ext3-perf-increase-timeout.patch
 
+# Upstream patch on top of v8.23 (to be removed in v8.24).
+# Work around false positives of the testsuite on OBS/aarch64.
+Patch504:   coreutils-tests-aarch64-env.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -195,6 +199,8 @@
 %patch502
 %patch503
 
+%patch504
+
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in
 

++ coreutils-tests-aarch64-env.patch ++
Upstream patch on top of v8.23; to be removed in v8.24.
Avoid a false positive failure of the coreutils-testsuite.
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=bfb4f5c8b7

Related execve() bug report:
https://bugzilla.novell.com/show_bug.cgi?id=915889

>From bfb4f5c8b791fdcc3cdba87a5182fc684fa8cd24 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker 
Date: Tue, 3 Feb 2015 01:52:04 +0100
Subject: [PATCH] tests: avoid a FP on aarch64 when comparing env/printenv
 output

The following test fails on aarch64 on openSUSE's OpenBuildService
due to glibc's execvp reversing the pointers of 'environ', i.e.,
the output of "env|tac" equals "env env" on that platform.

* tests/misc/printenv.sh: Use 'env env' to work around the behavior
on that platform.
While at it, fix the grep pattern which suppressed all environment
variables starting with an underscore "_" instead of "$_" (and
"$LD_PRELOAD") only.
---
 tests/misc/printenv.sh |8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Index: tests/misc/printenv.sh
===
--- tests/misc/printenv.sh.orig
+++ tests/misc/printenv.sh
@@ -23,8 +23,12 @@ print_ver_ printenv
 # printenv as a builtin, so we must invoke it via "env".
 # But beware of $_, set by many shells to the last command run.
 # Also, filter out LD_PRELOAD, which is set when running under valgrind.
-env | grep -Ev '^(_|LD_PRELOAD=)' > exp || framework_failure_
-env -- printenv | grep -Ev '^(_|LD_PRELOAD=)' > out || fail=1
+# Note the apparently redundant "env env": this is to ensure to get
+# env's output the same way as that of printenv and works around a bug
+# on aarch64 at least where libc's execvp reverses the order of the
+# output.
+env -- env | grep -Ev '^(_|LD_PRELOAD)=' > exp || framework_failure_
+env -- printenv | grep -Ev '^(_|LD_PRELOAD)=' > out || fail=1
 compare exp out || fail=1
 
 # POSIX is clear that environ may, but need not be, sorted.
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensus

commit coreutils for openSUSE:Factory

2015-01-29 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2015-01-30 06:02:35

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-11-07 14:07:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2015-01-30 06:02:38.0 +0100
@@ -1,0 +2,17 @@
+Mon Jan 19 23:06:22 UTC 2015 - m...@bernhard-voelker.de
+
+- Add upstream patches for df(1) from upstream, thus aligning with SLES12:
+  * df: improve mount point selection with inaccurate mount list:
+- coreutils-df-improve-mount-point-selection.patch
+  * doc: mention that df -a includes duplicate file systems (deb#737399)
+- coreutils-df-doc-df-a-includes-duplicate-file-systems.patch
+  * df: ensure -a shows all remote file system entries (deb#737399)
+- coreutils-df-show-all-remote-file-systems.patch
+  * df: only suppress remote mounts of separate exports with --total
+(deb#737399, rh#920806, boo#866010, boo#901905)
+- coreutils-df-total-suppress-separate-remotes.patch
+- Refresh patches:
+  * coreutils-chroot-perform-chdir-unless-skip-chdir.patch
+  * coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch
+
+---
coreutils.changes: same change

New:

  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



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.aOg9s2/_old  2015-01-30 06:02:40.0 +0100
+++ /var/tmp/diff_new_pack.aOg9s2/_new  2015-01-30 06:02:40.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils-testsuite
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -107,6 +107,12 @@
 # Assorted fixes
 Patch113:   coreutils-misc.patch
 
+# Upstream patches for df(1) on top of v8.23, thus aligning with SLES12.
+Patch201:   coreutils-df-improve-mount-point-selection.patch
+Patch202:   coreutils-df-doc-df-a-includes-duplicate-file-systems.patch
+Patch203:   coreutils-df-show-all-remote-file-systems.patch
+Patch204:   coreutils-df-total-suppress-separate-remotes.patch
+
 # Skip 2 valgrind'ed sort tests on ppc/ppc64 which would fail due to
 # a glibc issue in mkstemp.
 Patch300:   coreutils-skip-some-sort-tests-on-ppc.patch
@@ -169,6 +175,11 @@
 %patch112
 %patch113
 
+%patch201
+%patch202
+%patch203
+%patch204
+
 %patch300
 
 %ifarch %ix86 x86_64 ppc ppc64

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.aOg9s2/_old  2015-01-30 06:02:40.0 +0100
+++ /var/tmp/diff_new_pack.aOg9s2/_new  2015-01-30 06:02:40.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -107,6 +107,12 @@
 # Assorted fixes
 Patch113:   coreutils-misc.patch
 
+# Upstream patches for df(1) on top of v8.23, thus aligning with SLES12.
+Patch201:   coreutils-df-improve-mount-point-selection.patch
+Patch202:   coreutils-df-doc-df-a-includes-duplicate-file-systems.patch
+Patch203:   coreutils-df-show-all-remote-file-systems.patch
+Patch204:   coreutils-df-total-suppress-separate-remotes.patch
+
 # Skip 2 valgrind'ed sort tests on ppc/ppc64 which would fail due to
 # a glibc issue in mkstemp.
 Patch300:   coreutils-skip-some-sort-tests-on-ppc.patch
@@ -169,6 +175,11 @@
 %patch112
 %patch113
 
+%patch201
+%patch202
+%patch203
+%patch204
+
 %patch300
 
 %ifarch %ix86 x86_64 ppc ppc64

++ coreutils-chroot-perform-chdir-unless-skip-chdir.patch ++
--- /var/tmp/diff_new_pack.aOg9s2/_old  2015-01-30 06:02:40.0 +0100
+++ /var/tmp/diff_new_pack.aOg9s2/_new  2015-01-30 06:02:40.0 +0100
@@ -76,7 +76,7 @@
 ===
 --- NEWS.orig
 +++ NEWS
-@@ -172,6 +172,19 @@ GNU coreutils NEWS
+@@ -180,6 +180,19 @@ GNU coreutils NEWS
--format=%T now reports the file system type, and tail -f now uses inotify,
r

commit coreutils for openSUSE:Factory

2014-11-07 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-11-07 14:07:09

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-10-15 16:19:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-11-07 14:07:12.0 +0100
@@ -1,0 +2,12 @@
+Sat Nov  1 00:20:55 UTC 2014 - m...@bernhard-voelker.de
+
+Avoid spurious false positive failures of the testsuite on OBS due
+to high load.
+
+- coreutils-tests-rm-ext3-perf-increase-timeout.patch:
+  Add patch to increase timeout.
+
+- coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch:
+  Add upstream patch.
+
+---
coreutils.changes: same change

New:

  coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch
  coreutils-tests-rm-ext3-perf-increase-timeout.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.IVi1QO/_old  2014-11-07 14:07:14.0 +0100
+++ /var/tmp/diff_new_pack.IVi1QO/_new  2014-11-07 14:07:14.0 +0100
@@ -131,6 +131,13 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+# Upstream patch on top of v8.23 (to be removed in v8.24).
+# Avoids a spurious false positive failure due to high load.
+Patch502:   
coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch
+
+# Avoid false positives on OBS due to high load; increase timeout.
+Patch503:   coreutils-tests-rm-ext3-perf-increase-timeout.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -174,6 +181,8 @@
 %patch416
 %patch500
 %patch501
+%patch502
+%patch503
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.IVi1QO/_old  2014-11-07 14:07:14.0 +0100
+++ /var/tmp/diff_new_pack.IVi1QO/_new  2014-11-07 14:07:14.0 +0100
@@ -131,6 +131,13 @@
 Patch500:   coreutils-disable_tests.patch
 Patch501:   coreutils-test_without_valgrind.patch
 
+# Upstream patch on top of v8.23 (to be removed in v8.24).
+# Avoids a spurious false positive failure due to high load.
+Patch502:   
coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch
+
+# Avoid false positives on OBS due to high load; increase timeout.
+Patch503:   coreutils-tests-rm-ext3-perf-increase-timeout.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -174,6 +181,8 @@
 %patch416
 %patch500
 %patch501
+%patch502
+%patch503
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch 
++
Upstream patch on top of v8.23 (to be removed with v8.24).
http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=111a2b91da

>From 111a2b91da142bf6fb9edb7836c1979ba698cf6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= 
Date: Wed, 29 Oct 2014 14:08:05 +
Subject: [PATCH] tests: make inotify-rotate more robust and efficient

* tests/tail-2/inotify-rotate.sh: Use retry_delay_
to employ an exponential backoff with a total delay of
up to 25.5s.  The 15s delay was seen to trigger a false
failure in http://hydra.nixos.org/build/16546517
Also remove the .1s sleep in each of the 50 iterations
to reduce the running time of the test and thus the
expensive_ tag on this test was removed.
Also ensure that we use the standard exit procedure
upon failure to avoid any erroneous diagnostics due
to persistent files on NFS.
---
 tests/tail-2/inotify-rotate.sh | 45 +++---
 1 file changed, 25 insertions(+), 20 deletions(-)

diff --git tests/tail-2/inotify-rotate.sh b/tests/tail-2/inotify-rotate.sh
index 1c942cc..6b539a6 100755
--- tests/tail-2/inotify-rotate.sh
+++ tests/tail-2/inotify-rotate.sh
@@ -22,48 +22,53 @@ if test "$VERBOSE" = yes; then
 fi
 
 . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
-expensive_
 
-# Wait several seconds for grep REGEXP FILE to succeed.
-# Usage: grep_timeout REGEXP FILE
-grep_timeout()
+check_tail_output()
 {
-local j
-for j in $(seq 150); do
-grep $1 $2 > /dev/null && return 0
-sleep 0.1
-done
-return 1
+  local delay="$1"
+  

commit coreutils for openSUSE:Factory

2014-10-15 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-10-15 16:19:32

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-09-28 19:53:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-10-15 16:19:41.0 +0200
@@ -1,0 +2,6 @@
+Sat Sep 27 17:46:01 UTC 2014 - sch...@linux-m68k.org
+
+- sort-keycompare-mb.patch: make sure to NUL-terminate the sort keys.
+  Fixes http://bugs.gnu.org/18540
+
+---
coreutils.changes: same change

New:

  sort-keycompare-mb.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.5Rjagz/_old  2014-10-15 16:19:43.0 +0200
+++ /var/tmp/diff_new_pack.5Rjagz/_new  2014-10-15 16:19:43.0 +0200
@@ -91,6 +91,7 @@
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch3: coreutils-remove_kill_documentation.patch
 Patch4: coreutils-i18n.patch
+Patch5: sort-keycompare-mb.patch
 Patch8: coreutils-sysinfo.patch
 Patch16:coreutils-invalid-ids.patch
 
@@ -150,6 +151,7 @@
 %prep
 %setup -q -n coreutils-%{version}
 %patch4
+%patch5
 %patch1
 %patch3
 %patch8
@@ -169,7 +171,7 @@
 %patch303
 %patch400
 %patch401
-%patch416 -p1
+%patch416
 %patch500
 %patch501
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.5Rjagz/_old  2014-10-15 16:19:43.0 +0200
+++ /var/tmp/diff_new_pack.5Rjagz/_new  2014-10-15 16:19:43.0 +0200
@@ -91,6 +91,7 @@
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch3: coreutils-remove_kill_documentation.patch
 Patch4: coreutils-i18n.patch
+Patch5: sort-keycompare-mb.patch
 Patch8: coreutils-sysinfo.patch
 Patch16:coreutils-invalid-ids.patch
 
@@ -150,6 +151,7 @@
 %prep
 %setup -q -n coreutils-%{version}
 %patch4
+%patch5
 %patch1
 %patch3
 %patch8
@@ -169,7 +171,7 @@
 %patch303
 %patch400
 %patch401
-%patch416 -p1
+%patch416
 %patch500
 %patch501
 

++ coreutils-disable_tests.patch ++
--- /var/tmp/diff_new_pack.5Rjagz/_old  2014-10-15 16:19:43.0 +0200
+++ /var/tmp/diff_new_pack.5Rjagz/_new  2014-10-15 16:19:43.0 +0200
@@ -4,9 +4,9 @@
 
 Index: gnulib-tests/gnulib.mk
 ===
 gnulib-tests/gnulib.mk.orig2014-09-18 18:39:37.692580154 +0200
-+++ gnulib-tests/gnulib.mk 2014-09-18 18:40:13.905127435 +0200
-@@ -877,11 +877,11 @@ EXTRA_DIST += test-getloadavg.c signatur
+--- gnulib-tests/gnulib.mk.orig
 gnulib-tests/gnulib.mk
+@@ -883,11 +883,11 @@ EXTRA_DIST += test-getloadavg.c signatur
  ## end   gnulib module getloadavg-tests
  
  ## begin gnulib module getlogin-tests

++ coreutils-fix_false_du_failure_on_newer_xfs.patch ++
--- /var/tmp/diff_new_pack.5Rjagz/_old  2014-10-15 16:19:43.0 +0200
+++ /var/tmp/diff_new_pack.5Rjagz/_new  2014-10-15 16:19:43.0 +0200
@@ -94,11 +94,11 @@
  tests/du/2g.sh |   17 -
  1 file changed, 8 insertions(+), 9 deletions(-)
 
-Index: coreutils-8.22/tests/du/2g.sh
+Index: tests/du/2g.sh
 ===
 coreutils-8.22.orig/tests/du/2g.sh 2013-12-04 15:48:30.0 +0100
-+++ coreutils-8.22/tests/du/2g.sh  2014-09-16 14:00:30.718944253 +0200
-@@ -46,15 +46,14 @@ test $min_kb -lt $free_kb ||
+--- tests/du/2g.sh.orig
 tests/du/2g.sh
+@@ -43,15 +43,14 @@ test $min_kb -lt $free_kb ||
  
  big=big
  rm -f $big

++ coreutils-test_without_valgrind.patch ++
--- /var/tmp/diff_new_pack.5Rjagz/_old  2014-10-15 16:19:43.0 +0200
+++ /var/tmp/diff_new_pack.5Rjagz/_new  2014-10-15 16:19:43.0 +0200
@@ -4,8 +4,8 @@
 
 Index: tests/misc/shuf-reservoir.sh
 ===
 tests/misc/shuf-reservoir.sh.orig  2013-12-09 14:40:46.0 +0100
-+++ tests/misc/shuf-reservoir.sh   2014-09-18 18:30:07.752705383 +0200
+--- tests/misc/shuf-reservoir.sh.orig
 tests/misc/shuf-reservoir.sh
 @@ -37,8 +37,7 @@ run_shuf_n()
  
# Critical memory-related bugs will cause a segfault here

++ sort-keycompare-mb.patch ++
Subject: sort i18n: make sure to NUL-terminate the sort keys

Fixes http://bugs.gnu.org/18540

* src/sort.c (keycompare_mb): use the keys alone, i.e. null-terminated.
Patch analogously to non-multibyte upstream patch:
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=b877ea4b3e

* tests/misc/s

commit coreutils for openSUSE:Factory

2014-09-28 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-09-28 19:53:33

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-08-03 15:35:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-09-28 19:53:43.0 +0200
@@ -1,0 +2,8 @@
+Thu Sep 18 18:04:37 CEST 2014 - p...@suse.de
+
+- Add coreutils-fix_false_du_failure_on_newer_xfs.patch that fixes a false
+  negative in the testsuite.
+- Add coreutils-disable_tests.patch to not run a tests that fail inside the 
OBS.
+- Add coreutils-test_without_valgrind.patch to not use valgrind in 
shuf-reservoir.
+
+---
coreutils.changes: same change

New:

  coreutils-disable_tests.patch
  coreutils-fix_false_du_failure_on_newer_xfs.patch
  coreutils-test_without_valgrind.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.e4fupl/_old  2014-09-28 19:53:44.0 +0200
+++ /var/tmp/diff_new_pack.e4fupl/_new  2014-09-28 19:53:44.0 +0200
@@ -125,6 +125,11 @@
 # Fixes a regression in chroot which did not chdir("/") in all cases.
 Patch401:   coreutils-chroot-perform-chdir-unless-skip-chdir.patch
 
+Patch416:   coreutils-fix_false_du_failure_on_newer_xfs.patch
+
+Patch500:   coreutils-disable_tests.patch
+Patch501:   coreutils-test_without_valgrind.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -164,6 +169,9 @@
 %patch303
 %patch400
 %patch401
+%patch416 -p1
+%patch500
+%patch501
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.e4fupl/_old  2014-09-28 19:53:44.0 +0200
+++ /var/tmp/diff_new_pack.e4fupl/_new  2014-09-28 19:53:44.0 +0200
@@ -125,6 +125,11 @@
 # Fixes a regression in chroot which did not chdir("/") in all cases.
 Patch401:   coreutils-chroot-perform-chdir-unless-skip-chdir.patch
 
+Patch416:   coreutils-fix_false_du_failure_on_newer_xfs.patch
+
+Patch500:   coreutils-disable_tests.patch
+Patch501:   coreutils-test_without_valgrind.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -164,6 +169,9 @@
 %patch303
 %patch400
 %patch401
+%patch416 -p1
+%patch500
+%patch501
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils-disable_tests.patch ++
---
 gnulib-tests/gnulib.mk |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: gnulib-tests/gnulib.mk
===
--- gnulib-tests/gnulib.mk.orig 2014-09-18 18:39:37.692580154 +0200
+++ gnulib-tests/gnulib.mk  2014-09-18 18:40:13.905127435 +0200
@@ -877,11 +877,11 @@ EXTRA_DIST += test-getloadavg.c signatur
 ## end   gnulib module getloadavg-tests
 
 ## begin gnulib module getlogin-tests
-
-TESTS += test-getlogin
-check_PROGRAMS += test-getlogin
-EXTRA_DIST += test-getlogin.c signature.h macros.h
-
+#
+#TESTS += test-getlogin
+#check_PROGRAMS += test-getlogin
+#EXTRA_DIST += test-getlogin.c signature.h macros.h
+#
 ## end   gnulib module getlogin-tests
 
 ## begin gnulib module getndelim2-tests
++ coreutils-fix_false_du_failure_on_newer_xfs.patch ++
>From coreutils-bounces+pth=suse...@gnu.org  Tue Sep 16 00:19:14 2014
Return-Path: 
X-Original-To: p...@wotan.suse.de
Received: from relay1.suse.de (relay1.suse.de [149.44.160.133])
by wotan.suse.de (Postfix) with ESMTP id 9E7716283
for ; Tue, 16 Sep 2014 00:19:14 +0200 (CEST)
Received: by relay1.suse.de (Postfix)
id 9723D28DD; Tue, 16 Sep 2014 00:19:14 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by relay1.suse.de (Postfix) with ESMTP id 91A4228D9
for ; Tue, 16 Sep 2014 00:19:14 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at localhost
X-Spam-Flag: NO
X-Spam-Score: -5.868
X-Spam-Level:
X-Spam-Status: No, score=-5.868 tagged_above=- required=5
tests=[BAYES_50=0.8, IS_MAILMAN_LIST=-1, RCVD_IN_DNSWL_HI=-5,
RP_MATCHES_RCVD=-0.668] autolearn=disabled
Received: from relay1.suse.de ([127.0.0.1])
by localhost (localhost [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id ChE53gAm38xF for ;

commit coreutils for openSUSE:Factory

2014-08-03 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-08-03 15:35:38

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-03-18 13:37:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-08-03 15:35:40.0 +0200
@@ -1,0 +2,232 @@
+Fri Aug  1 15:54:41 UTC 2014 - m...@bernhard-voelker.de
+
+- Add patches for upstream glitches:
+  - coreutils-fix-man-deps.patch
+  - coreutils-chroot-perform-chdir-unless-skip-chdir.patch
+
+- Refresh patches:
+  - coreutils-build-timeout-as-pie.patch
+  - coreutils-getaddrinfo.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
+
+- Remove now-upstream patches:
+  - coreutils-copy-fix-selinux-existing-dirs.patch
+  - coreutils-gnulib-tests-ppc64le.patch
+  - coreutils-tests-avoid-FP-cp-cpuinfo.patch
+  - coreutils-test-avoid-FP-when-no-ACL-support.patch
+  - coreutils-ln-avoid-segfault-for-empty-target.patch
+  - coreutils-date-avoid-crash-in-TZ-parsing.patch
+  - coreutils-shuf-repeat-avoid-crash-when-input-empty.patch
+  - coreutils-improve_df_--human_and_--si,_help_and_man_page.patch
+  - coreutils-avoid_sizeof_charPP__static_analysis_warning.patch
+  - coreutils-also_deduplicate_virtual_file_systems.patch
+  - coreutils-fix_handling_of_symlinks_in_mount_list.patch
+  - coreutils-ignore_non_file_system_entries_in_proc_mounts.patch
+  - 
coreutils-avoid_clang_-Wtautological-constant-out-of-range-compare_warning.patch
+  - coreutils-use_the_last_device_name_provided_by_the_system.patch
+  - coreutils-avoid_compiler_warnings_with_some_assert_implementations.patch
+  - coreutils-use_all_of_the_last_device_details_provided.patch
+  - coreutils-output_placeholder_values_for_inaccessible_mount_points.patch
+  - coreutils-look_for_accessible_mount_points_for_specified_devices.patch
+  - coreutils-report_correct_device_in_presence_of_eclipsed_mounts.patch
+  - coreutils-avoid_an_inconsequential_mem_leak.patch  
+  
+- Update to 8.23 (2014-07-18) [stable]
+
+  ** Bug fixes
+
+  chmod -Rc no longer issues erroneous warnings for files with special bits 
set.
+  [bug introduced in coreutils-6.0]
+
+  cp -a, mv, and install --preserve-context, once again set the correct SELinux
+  context for existing directories in the destination.  Previously they set
+  the context of an existing directory to that of its last copied descendent.
+  [bug introduced in coreutils-8.22]
+
+  cp -a, mv, and install --preserve-context, no longer seg fault when running
+  with SELinux enabled, when copying from file systems that return an error
+  when reading the SELinux context for a file.
+  [bug introduced in coreutils-8.22]
+
+  cp -a and mv now preserve xattrs of symlinks copied across file systems.
+  [bug introduced with extended attribute preservation feature in 
coreutils-7.1]
+
+  date could crash or go into an infinite loop when parsing a malformed TZ="".
+  [bug introduced with the --date='TZ="" ..' parsing feature in 
coreutils-5.3.0]
+
+  dd's ASCII and EBCDIC conversions were incompatible with common practice and
+  with POSIX, and have been corrected as follows.  First, conv=ascii now
+  implies conv=unblock, and conv=ebcdic and conv=ibm now imply conv=block.
+  Second, the translation tables for dd conv=ascii and conv=ebcdic have been
+  corrected as shown in the following table, where A is the ASCII value, W is
+  the old, wrong EBCDIC value, and E is the new, corrected EBCDIC value; all
+  values are in octal.
+
+  A   W   E
+ 041 117 132
+ 133 112 255
+ 135 132 275
+ 136 137 232
+ 174 152 117
+ 176 241 137
+ 313 232 152
+ 325 255 112
+ 345 275 241
+
+  [These dd bugs were present in "the beginning".]
+
+  df has more fixes related to the newer dynamic representation of file 
systems:
+  Duplicates are elided for virtual file systems like tmpfs.
+  Details for the correct device are output for points mounted multiple times.
+  Placeholder values are output for inaccessible file systems, rather than
+  than error messages or values for the wrong file system.
+  [These bugs were present in "the beginning".]
+
+  df now outputs all appropriate entries in the presence of bind mounts.
+  On some systems, entries would have been incorrectly elided due to
+  them being considered "dummy" mounts.
+  [bug introduced in coreutils-8.22]
+
+  du now silently ignores directory cycles introduced wi

commit coreutils for openSUSE:Factory

2014-03-18 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-03-18 13:37:01

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-02-28 16:22:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-03-18 13:37:05.0 +0100
@@ -1,0 +2,21 @@
+Sun Mar 16 20:38:48 UTC 2014 - m...@bernhard-voelker.de
+
+- Add upstream patch (gnu#16855):
+  * coreutils-shuf-repeat-avoid-crash-when-input-empty.patch: Add
+  patch for shuf: with -r, don't dump core if the input is empty.
+
+---
+Sun Mar 16 19:28:34 UTC 2014 - m...@bernhard-voelker.de
+
+- Add upstream patch (gnu#16872):
+  * coreutils-date-avoid-crash-in-TZ-parsing.patch: Add patch for
+  date: fix crash or infinite loop when parsing a malformed TZ="".
+
+---
+Sun Mar 16 16:00:15 UTC 2014 - m...@bernhard-voelker.de
+
+- Add upstream patch (gnu#17010):
+  * coreutils-ln-avoid-segfault-for-empty-target.patch: Add patch
+  to avoid that ln(1) segfaults for an empty, relative target.
+
+---
coreutils.changes: same change

New:

  coreutils-date-avoid-crash-in-TZ-parsing.patch
  coreutils-ln-avoid-segfault-for-empty-target.patch
  coreutils-shuf-repeat-avoid-crash-when-input-empty.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.r0DJ77/_old  2014-03-18 13:37:08.0 +0100
+++ /var/tmp/diff_new_pack.r0DJ77/_new  2014-03-18 13:37:08.0 +0100
@@ -131,6 +131,17 @@
 # tests: avoid test framework failure if the file system lacks ACL support 
 Patch304:   coreutils-test-avoid-FP-when-no-ACL-support.patch
 
+# Port upstream patch, to be removed with v8.23:
+# ln: with -sr, don't segfault for a TARGET of ''
+Patch305:   coreutils-ln-avoid-segfault-for-empty-target.patch
+
+# Upstream patch for date(1), to be removed with v8.23:
+Patch306:   coreutils-date-avoid-crash-in-TZ-parsing.patch
+
+# Upstream patch for shuf(1), to be removed with v8.23:
+# shuf --repeat no longer dumps core if the input is empty.
+Patch307:   coreutils-shuf-repeat-avoid-crash-when-input-empty.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -172,6 +183,9 @@
 %patch302
 %patch303
 %patch304
+%patch305
+%patch306
+%patch307
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.r0DJ77/_old  2014-03-18 13:37:08.0 +0100
+++ /var/tmp/diff_new_pack.r0DJ77/_new  2014-03-18 13:37:08.0 +0100
@@ -131,6 +131,17 @@
 # tests: avoid test framework failure if the file system lacks ACL support 
 Patch304:   coreutils-test-avoid-FP-when-no-ACL-support.patch
 
+# Port upstream patch, to be removed with v8.23:
+# ln: with -sr, don't segfault for a TARGET of ''
+Patch305:   coreutils-ln-avoid-segfault-for-empty-target.patch
+
+# Upstream patch for date(1), to be removed with v8.23:
+Patch306:   coreutils-date-avoid-crash-in-TZ-parsing.patch
+
+# Upstream patch for shuf(1), to be removed with v8.23:
+# shuf --repeat no longer dumps core if the input is empty.
+Patch307:   coreutils-shuf-repeat-avoid-crash-when-input-empty.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -172,6 +183,9 @@
 %patch302
 %patch303
 %patch304
+%patch305
+%patch306
+%patch307
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils-date-avoid-crash-in-TZ-parsing.patch ++
Port upstream fix for date(1), to be removed with v8.23:

  date could crash or go into an infinite loop when parsing a malformed TZ="".
  [bug introduced with the --date='TZ="" ..' parsing feature in coreutils-5.3.0]

This patch consists of 2 upstream commits:

  http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=a10acfb1d2
  http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=a4faa6a0a3

While the former commit in gnulib actually fixes the issue (and adds a test
there), the latter commit in upstream coreutils pulls in that change from
gnulib and adds a test for the previously crashing date(1) command.

---
com

commit coreutils for openSUSE:Factory

2014-02-28 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-02-28 16:21:59

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-01-30 12:51:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-02-28 16:22:00.0 +0100
@@ -1,0 +2,9 @@
+Mon Feb 24 14:59:35 CET 2014 - p...@suse.de
+
+- Add three patches from SLE12 that aren't upstream:
+  coreutils-misc.patch (fixes for tests)
+  coreutils-getaddrinfo.patch (fake success as there's no network
+   in the build system)
+  coreutils-ocfs2_reflinks.patch (support ocfs2 reflinks in cp)
+
+---
coreutils.changes: same change

New:

  coreutils-getaddrinfo.patch
  coreutils-misc.patch
  coreutils-ocfs2_reflinks.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.CV9U8C/_old  2014-02-28 16:22:02.0 +0100
+++ /var/tmp/diff_new_pack.CV9U8C/_new  2014-02-28 16:22:02.0 +0100
@@ -101,6 +101,15 @@
 # on already existing destination directories. 
 Patch110:   coreutils-copy-fix-selinux-existing-dirs.patch
 
+# At least a bit of reflink support
+Patch111:   coreutils-ocfs2_reflinks.patch
+
+# There is no network in the build root so make the test succeed
+Patch112:   coreutils-getaddrinfo.patch
+
+# Assorted fixes
+Patch113:   coreutils-misc.patch
+
 # Fix imported gnulib long double math tests for little-endian PowerPC
 Patch202:   coreutils-gnulib-tests-ppc64le.patch
 
@@ -149,6 +158,9 @@
 #
 %patch100
 %patch110
+%patch111
+%patch112
+%patch113
 %patch202
 
 %patch300

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.CV9U8C/_old  2014-02-28 16:22:02.0 +0100
+++ /var/tmp/diff_new_pack.CV9U8C/_new  2014-02-28 16:22:02.0 +0100
@@ -101,6 +101,15 @@
 # on already existing destination directories. 
 Patch110:   coreutils-copy-fix-selinux-existing-dirs.patch
 
+# At least a bit of reflink support
+Patch111:   coreutils-ocfs2_reflinks.patch
+
+# There is no network in the build root so make the test succeed
+Patch112:   coreutils-getaddrinfo.patch
+
+# Assorted fixes
+Patch113:   coreutils-misc.patch
+
 # Fix imported gnulib long double math tests for little-endian PowerPC
 Patch202:   coreutils-gnulib-tests-ppc64le.patch
 
@@ -149,6 +158,9 @@
 #
 %patch100
 %patch110
+%patch111
+%patch112
+%patch113
 %patch202
 
 %patch300

++ coreutils-getaddrinfo.patch ++
---
 gnulib-tests/test-getaddrinfo.c |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

Index: gnulib-tests/test-getaddrinfo.c
===
--- gnulib-tests/test-getaddrinfo.c.orig2013-12-04 15:53:33.0 
+0100
+++ gnulib-tests/test-getaddrinfo.c 2014-02-20 17:59:57.474430854 +0100
@@ -86,11 +86,7 @@ simple (char const *host, char const *se
  the test merely because someone is down the country on their
  in-law's farm. */
   if (res == EAI_AGAIN)
-{
-  skip++;
-  fprintf (stderr, "skipping getaddrinfo test: no network?\n");
-  return 77;
-}
+return 0;
   /* IRIX reports EAI_NONAME for "https".  Don't fail the test
  merely because of this.  */
   if (res == EAI_NONAME)
++ coreutils-misc.patch ++
---
 gnulib-tests/test-isnanl.h |4 +++-
 tests/misc/help-version.sh |1 +
 tests/other-fs-tmpdir  |3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

Index: gnulib-tests/test-isnanl.h
===
--- gnulib-tests/test-isnanl.h.orig 2013-12-04 15:53:33.0 +0100
+++ gnulib-tests/test-isnanl.h  2014-02-20 18:05:09.900982392 +0100
@@ -47,7 +47,7 @@ main ()
   /* Quiet NaN.  */
   ASSERT (isnanl (NaNl ()));
 
-#if defined LDBL_EXPBIT0_WORD && defined LDBL_EXPBIT0_BIT
+#if defined LDBL_EXPBIT0_WORD && defined LDBL_EXPBIT0_BIT && 0
   /* A bit pattern that is different from a Quiet NaN.  With a bit of luck,
  it's a Signalling NaN.  */
   {
@@ -89,6 +89,7 @@ main ()
   { LDBL80_WORDS (0x, 0x8333, 0x) };
 ASSERT (isnanl (x.value));
   }
+#if 0
   /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
  Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
Intel IA-64 Architecture Software Developer's Manual, Volume 1:
@@ -122,6 +123,7 @@ main ()
 ASSERT (isnanl (x.value)

commit coreutils for openSUSE:Factory

2014-01-30 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-01-30 12:51:46

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2014-01-10 21:15:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-01-30 12:51:48.0 +0100
@@ -1,0 +2,10 @@
+Fri Jan 24 13:36:37 UTC 2014 - m...@bernhard-voelker.de
+
+- Testsuite: avoid a failure of tests/mkdir/p-acl.sh on armv7l.
+  * coreutils-test-avoid-FP-when-no-ACL-support.patch: Add upstream
+  patch to improve the check for a working ACL support.
+
+- Refresh patches with QUILT_REFRESH_ARGS="-p0 --no-timestamps"
+  for easier patch handling.
+
+---
coreutils.changes: same change

New:

  coreutils-test-avoid-FP-when-no-ACL-support.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.ALSBrz/_old  2014-01-30 12:51:49.0 +0100
+++ /var/tmp/diff_new_pack.ALSBrz/_new  2014-01-30 12:51:49.0 +0100
@@ -119,6 +119,9 @@
 # tests: shorten extreme-expensive factor tests
 Patch303:   coreutils-tests-shorten-extreme-factor-tests.patch
 
+# tests: avoid test framework failure if the file system lacks ACL support 
+Patch304:   coreutils-test-avoid-FP-when-no-ACL-support.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -156,6 +159,7 @@
 
 %patch302
 %patch303
+%patch304
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.ALSBrz/_old  2014-01-30 12:51:49.0 +0100
+++ /var/tmp/diff_new_pack.ALSBrz/_new  2014-01-30 12:51:49.0 +0100
@@ -119,6 +119,9 @@
 # tests: shorten extreme-expensive factor tests
 Patch303:   coreutils-tests-shorten-extreme-factor-tests.patch
 
+# tests: avoid test framework failure if the file system lacks ACL support 
+Patch304:   coreutils-test-avoid-FP-when-no-ACL-support.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -156,6 +159,7 @@
 
 %patch302
 %patch303
+%patch304
 
 #???## We need to statically link to gmp, otherwise we have a build loop
 #???#sed -i s,'$(LIB_GMP)',%%{_libdir}/libgmp.a,g Makefile.in

++ coreutils-build-timeout-as-pie.patch ++
--- /var/tmp/diff_new_pack.ALSBrz/_old  2014-01-30 12:51:49.0 +0100
+++ /var/tmp/diff_new_pack.ALSBrz/_new  2014-01-30 12:51:49.0 +0100
@@ -16,8 +16,8 @@
 
 Index: src/local.mk
 ===
 src/local.mk.orig  2013-12-04 15:48:30.0 +0100
-+++ src/local.mk   2014-01-09 01:26:38.363704044 +0100
+--- src/local.mk.orig
 src/local.mk
 @@ -17,7 +17,7 @@
  ## along with this program.  If not, see .
  

++ coreutils-copy-fix-selinux-existing-dirs.patch ++
--- /var/tmp/diff_new_pack.ALSBrz/_old  2014-01-30 12:51:49.0 +0100
+++ /var/tmp/diff_new_pack.ALSBrz/_new  2014-01-30 12:51:49.0 +0100
@@ -33,8 +33,8 @@
 
 Index: src/copy.c
 ===
 src/copy.c.orig2013-12-05 01:59:36.0 +0100
-+++ src/copy.c 2014-01-09 02:47:33.108744454 +0100
+--- src/copy.c.orig
 src/copy.c
 @@ -2408,6 +2408,17 @@ copy_internal (char const *src_name, cha
else
  {
@@ -64,8 +64,8 @@
if (! set_file_security_ctx (dst_name, x->preserve_security_context,
 Index: tests/cp/cp-a-selinux.sh
 ===
 tests/cp/cp-a-selinux.sh.orig  2013-12-04 15:48:30.0 +0100
-+++ tests/cp/cp-a-selinux.sh   2014-01-09 02:47:33.109744597 +0100
+--- tests/cp/cp-a-selinux.sh.orig
 tests/cp/cp-a-selinux.sh
 @@ -41,6 +41,21 @@ test -s err && fail=1   #there must be n
  ls -Z e | grep $ctx || fail=1
  ls -Z f | grep $ctx || fail=1

++ coreutils-gnulib-tests-ppc64le.patch ++
--- /var/tmp/diff_new_pack.ALSBrz/_old  2014-01-30 12:51:49.0 +0100
+++ /var/tmp/diff_new_pack.ALSBrz/_new  2014-01-30 12:51:49.0 +0100
@@ -5,8 +5,8 @@
 
 Index: gnulib-tests/test-isnanl.h
 ===
 gnulib-tests/test-isnanl.h.orig2013-12-04 15:53:33.0 +0100
-+++ gnulib-tests/test-isnanl.h 2014-01-09 01

commit coreutils for openSUSE:Factory

2014-01-10 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2014-01-10 21:15:22

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-12-24 20:46:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2014-01-10 21:15:24.0 +0100
@@ -1,0 +2,193 @@
+Thu Jan  9 01:55:08 UTC 2014 - m...@bernhard-voelker.de
+
+- 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.
+
+---
+Sat Jan  4 23:05:46 UTC 2014 - m...@bernhard-voelker.de
+
+- Refresh patches to match the new version.
+
+  * coreutils-build-timeout-as-pie.patch: Update line number.
+  * coreutils-gnulib-tests-ppc64le.patch: Likewise.
+  * coreutils-invalid-ids.patch: Likewise.
+  * coreutils-remove_hostname_documentation.patch: Likewise.
+  * coreutils-remove_kill_documentation.patch: Likewise.
+  * coreutils-sysinfo.patch: Likewise.
+  * coreutils-i18n.patch: Likewise.
+
+- Additional changes in coreutils-i18n.patch:
+  * Accommodate to upstream changes in cut.c and uniq.c.
+  * Fix some compiler warnings.
+  * Fix 145-mb test in tests/misc/uniq.pl.
+  * Skip sort's "2[01]a" test cases for now
+to avoid a test failure on i586/x86_64.
+ 
+- Remove now-upstream and therefore obsolete patches.
+
+  * coreutils-8.21.de.po.xz: Remove, upstream is latest.
+  * coreutils-gnulib-tests-fix-nap-race-obs.patch:
+  Remove, now upstream.
+  * coreutils-gnulib-tests-fix-nap-race.patch: Likewise.
+  * longlong-aarch64.patch: Likewise.
+
+- Update to 8.22 (2013-12-13) [stable]
+
+  ** Bug fixes
+
+  df now processes the mount list correctly in the presence of unstatable
+  mount points.  Previously it may have failed to output some mount points.
+  [bug introduced in coreutils-8.21]
+
+  df now processes symbolic links and relative paths to special files 
containing
+  a mounted file system correctly.  Previously df displayed the statistics 
about
+  the file system the file is stored on rather than the one inside.
+  [This bug was present in "the beginning".]
+
+  df now processes disk device nodes correctly in the presence of bind mounts.
+  Now df shows the base mounted file system rather than the last one mounted.
+  [This bug was present in "the beginning".]
+
+  install now removes the target file if the strip program failed for any
+  reason.  Before, that file was left behind, sometimes even with wrong
+  permissions.
+  [This bug was present in "the beginning".]
+
+  ln --relative now updates existing symlinks correctly.  Previously it based
+  the relative link on the dereferenced path of an existing link.
+  [This bug was introduced when --relative was added in coreutils-8.16.]
+
+  ls --recursive will no longer exit with "serious" exit code (2), if there
+  is an error reading a directory not specified on the command line.
+  [Bug introduced in coreutils-5.3.0]
+
+  mkdir, mkfifo, and mknod now work better when creating a file in a directory
+  with a default ACL whose umask disagrees with the process's umask, on a
+  system such as GNU/Linux where directory ACL umasks override process umasks.
+  [bug introduced in coreutils-6.0]
+
+  mv will now replace empty directories in the destination with directories
+  from the source, when copying across file systems.
+  [This bug was present in "the beginning".]
+
+  od -wN with N larger than 64K on a system with 32-bit size_t would
+  print approximately 2*N bytes of extraneous padding.
+  [Bug introduced in coreutils-7.0]
+
+  rm -I now prompts for confirmation before removing a write protected file.
+  [Bug introduced in coreutils-6.8]
+
+  shred once again uses direct I/O on systems requiring aligned buffers.
+  Also direct I/O failures for odd sized writes at end of file are now hand

commit coreutils for openSUSE:Factory

2013-12-24 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-12-24 20:46:00

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-12-13 11:56:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-12-24 20:46:01.0 +0100
@@ -1,0 +2,13 @@
+Thu Dec 19 23:37:39 UTC 2013 - uweig...@de.ibm.com
+
+- coreutils-gnulib-tests-ppc64le.patch: Fix imported gnulib long double
+  math tests for little-endian PowerPC.
+
+---
+Thu Dec 19 22:54:26 UTC 2013 - m...@bernhard-voelker.de
+
+- Fix issue with binary input in non-C locale (rh#1036289)
+  (coreutils-i18n.patch): Initialize memory for some edge cases
+  in the i18n patch for uniq and join.
+
+---
coreutils.changes: same change

New:

  coreutils-gnulib-tests-ppc64le.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.AKF1br/_old  2013-12-24 20:46:03.0 +0100
+++ /var/tmp/diff_new_pack.AKF1br/_new  2013-12-24 20:46:03.0 +0100
@@ -106,6 +106,9 @@
 # a bit more to avoid failures on OBS.
 Patch201:   coreutils-gnulib-tests-fix-nap-race-obs.patch
 
+# Fix imported gnulib long double math tests for little-endian PowerPC
+Patch202:   coreutils-gnulib-tests-ppc64le.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -136,6 +139,7 @@
 
 %patch200
 %patch201
+%patch202 -p1
 
 xz -dc %{S:2} >po/de.po
 

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.AKF1br/_old  2013-12-24 20:46:03.0 +0100
+++ /var/tmp/diff_new_pack.AKF1br/_new  2013-12-24 20:46:03.0 +0100
@@ -106,6 +106,9 @@
 # a bit more to avoid failures on OBS.
 Patch201:   coreutils-gnulib-tests-fix-nap-race-obs.patch
 
+# Fix imported gnulib long double math tests for little-endian PowerPC
+Patch202:   coreutils-gnulib-tests-ppc64le.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -136,6 +139,7 @@
 
 %patch200
 %patch201
+%patch202 -p1
 
 xz -dc %{S:2} >po/de.po
 


++ coreutils-gnulib-tests-ppc64le.patch ++
diff --git a/gnulib-tests/test-isnanl.h b/gnulib-tests/test-isnanl.h
index 06e6a7c..2df10f8 100644
--- a/gnulib-tests/test-isnanl.h
+++ b/gnulib-tests/test-isnanl.h
@@ -51,6 +51,15 @@ main ()
   /* A bit pattern that is different from a Quiet NaN.  With a bit of luck,
  it's a Signalling NaN.  */
   {
+#if defined __powerpc__ && LDBL_MANT_DIG == 106
+/* This is PowerPC "double double", a pair of two doubles.  Inf and Nan are
+   represented as the corresponding 64-bit IEEE values in the first double;
+   the second is ignored.  Manipulate only the first double.  */
+#undef NWORDS
+#define NWORDS \
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
+#endif
+
 memory_long_double m;
 m.value = NaNl ();
 # if LDBL_EXPBIT0_BIT > 0
diff --git a/gnulib-tests/test-signbit.c b/gnulib-tests/test-signbit.c
index e8ea097..7e24292 100644
--- a/gnulib-tests/test-signbit.c
+++ b/gnulib-tests/test-signbit.c
@@ -151,6 +151,16 @@ test_signbitl ()
 #define NWORDS \
   ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned 
int))
 typedef union { long double value; unsigned int word[NWORDS]; } 
memory_long_double;
+
+#if defined __powerpc__ && LDBL_MANT_DIG == 106
+/* This is PowerPC "double double", a pair of two doubles.  Inf and Nan are
+   represented as the corresponding 64-bit IEEE values in the first double;
+   the second is ignored.  Manipulate only the first double.  */
+#undef NWORDS
+#define NWORDS \
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
+#endif
+
 memory_long_double m;
 m.value = zerol / zerol;
 # if LDBL_EXPBIT0_BIT > 0
++ coreutils-i18n.patch ++
--- /var/tmp/diff_new_pack.AKF1br/_old  2013-12-24 20:46:03.0 +0100
+++ /var/tmp/diff_new_pack.AKF1br/_new  2013-12-24 20:46:03.0 +0100
@@ -1498,7 +1498,7 @@
 +for (i = 0; i < 2; i++)
 +  {
 +mallocd = 1;
-+copy[i] = xmalloc (len[i] + 1);
++copy[i] = xcalloc (1, len[i] + 1);
 +
 +for (j = 0; j < MIN (len[0], len[1]);)
 +  {
@@ -3902,7 +3902,7 @@
 +
 +  for (i = 0; i < 2; i++)
 +{
-+  copy[i] = xm

commit coreutils for openSUSE:Factory

2013-12-13 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-12-13 11:56:24

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-12-09 16:54:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-12-13 11:56:25.0 +0100
@@ -1,0 +2,7 @@
+Wed Dec 11 20:22:47 UTC 2013 - m...@bernhard-voelker.de
+
+- Avoid false sort test failure (coreutils-i18n.patch):
+  As for the C locale, skip the multi-byte test case
+  'output-is-input-mb.p'.
+
+---
coreutils.changes: same change



Other differences:
--
coreutils.spec: same change

++ coreutils-i18n.patch ++
--- /var/tmp/diff_new_pack.EkbU09/_old  2013-12-13 11:56:26.0 +0100
+++ /var/tmp/diff_new_pack.EkbU09/_new  2013-12-13 11:56:26.0 +0100
@@ -4476,6 +4476,14 @@
  @Tests = triple_test \@Tests;
  
  # Remember that triple_test creates from each test with exactly one "IN"
+@@ -424,6 +460,7 @@ foreach my $t (@Tests)
+ # Remove the IN_PIPE version of the "output-is-input" test above.
+ # The others aren't susceptible because they have three inputs each.
+ @Tests = grep {$_->[0] ne 'output-is-input.p'} @Tests;
++@Tests = grep {$_->[0] ne 'output-is-input-mb.p'} @Tests;
+ 
+ my $save_temps = $ENV{DEBUG};
+ my $verbose = $ENV{VERBOSE};
 Index: tests/misc/unexpand.pl
 ===
 --- tests/misc/unexpand.pl.orig

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-12-09 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-12-09 16:54:05

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-12-06 14:39:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-12-09 16:54:07.0 +0100
@@ -1,0 +2,5 @@
+Sat Dec  7 19:15:40 UTC 2013 - sch...@linux-m68k.org
+
+- Require valgrind only when it exists
+
+---
coreutils.changes: same change



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.6J06Rp/_old  2013-12-09 16:54:08.0 +0100
+++ /var/tmp/diff_new_pack.6J06Rp/_new  2013-12-09 16:54:08.0 +0100
@@ -48,8 +48,10 @@
 BuildRequires:  perl-Expect
 BuildRequires:  python-pyinotify
 BuildRequires:  strace
+%ifarch %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
 BuildRequires:  valgrind
 %endif
+%endif
 
 %if "%{name}" == "coreutils"
 Provides:   fileutils = %{version}

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.6J06Rp/_old  2013-12-09 16:54:08.0 +0100
+++ /var/tmp/diff_new_pack.6J06Rp/_new  2013-12-09 16:54:08.0 +0100
@@ -48,8 +48,10 @@
 BuildRequires:  perl-Expect
 BuildRequires:  python-pyinotify
 BuildRequires:  strace
+%ifarch %ix86 x86_64 ppc ppc64 s390x armv7l armv7hl
 BuildRequires:  valgrind
 %endif
+%endif
 
 %if "%{name}" == "coreutils"
 Provides:   fileutils = %{version}


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-12-06 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-12-06 13:51:38

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-08-13 11:09:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-12-06 14:39:26.0 +0100
@@ -1,0 +2,12 @@
+Sun Dec  1 22:48:48 UTC 2013 - m...@bernhard-voelker.de
+
+- 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.
+
+---
coreutils.changes: same change



Other differences:
--
coreutils.spec: same change

++ coreutils-i18n.patch ++
 1007 lines (skipped)
 between /work/SRC/openSUSE:Factory/coreutils/coreutils-i18n.patch
 and /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-i18n.patch

++ longlong-aarch64.patch ++
--- /var/tmp/diff_new_pack.GOIGY8/_old  2013-12-06 14:39:27.0 +0100
+++ /var/tmp/diff_new_pack.GOIGY8/_new  2013-12-06 14:39:27.0 +0100
@@ -11,11 +11,11 @@
  src/longlong.h | 21 +++--
  2 files changed, 11 insertions(+), 14 deletions(-)
 
-diff --git a/src/longlong.h b/src/longlong.h
-index 4681642..eba2417 100644
 a/src/longlong.h
-+++ b/src/longlong.h
-@@ -529,23 +529,16 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, 
UWtype, UWtype);
+Index: coreutils-8.21/src/longlong.h
+===
+--- coreutils-8.21.orig/src/longlong.h
 coreutils-8.21/src/longlong.h
+@@ -529,23 +529,16 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype
  #endif /* __arm__ */
  
  #if defined (__aarch64__) && W_TYPE_SIZE == 64
@@ -46,6 +46,3 @@
  #define umul_ppmm(ph, pl, m0, m1) \
do {
\
  UDItype __m0 = (m0), __m1 = (m1); \
--- 
-1.8.3
-

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-08-13 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-08-13 11:09:27

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-07-24 15:06:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-08-13 11:09:29.0 +0200
@@ -1,0 +2,13 @@
+Wed Aug  7 08:10:22 UTC 2013 - m...@bernhard-voelker.de
+
+- Remove "BuildRequires: help2man" as it is included.
+
+---
+Tue Aug  6 14:02:42 CEST 2013 - p...@suse.de
+
+- Remove the the unnecessary povision of itself as rpmbuild takes
+  care of that.
+- Remove all traces of coreutils-8.9-singlethreaded-sort.patch in
+  the spec file.
+
+---
coreutils.changes: same change

Old:

  coreutils-8.9-singlethreaded-sort.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.GrXuoi/_old  2013-08-13 11:09:30.0 +0200
+++ /var/tmp/diff_new_pack.GrXuoi/_new  2013-08-13 11:09:30.0 +0200
@@ -35,7 +35,6 @@
 
 BuildRequires:  automake
 BuildRequires:  gmp-devel
-BuildRequires:  help2man
 BuildRequires:  libacl-devel
 BuildRequires:  libattr-devel
 BuildRequires:  libcap-devel
@@ -52,7 +51,6 @@
 BuildRequires:  valgrind
 %endif
 
-Provides:   %{name} = %{version}
 %if "%{name}" == "coreutils"
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
@@ -95,8 +93,6 @@
 Patch8: coreutils-sysinfo.patch
 Patch16:coreutils-invalid-ids.patch
 Patch17:longlong-aarch64.patch
-#
-#Patch33:coreutils-8.9-singlethreaded-sort.patch
 
 # OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
 Patch100:   coreutils-build-timeout-as-pie.patch
@@ -134,7 +130,6 @@
 %patch16
 %patch17 -p1
 #
-#%%patch33
 %patch100
 
 %patch200

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.GrXuoi/_old  2013-08-13 11:09:30.0 +0200
+++ /var/tmp/diff_new_pack.GrXuoi/_new  2013-08-13 11:09:30.0 +0200
@@ -35,7 +35,6 @@
 
 BuildRequires:  automake
 BuildRequires:  gmp-devel
-BuildRequires:  help2man
 BuildRequires:  libacl-devel
 BuildRequires:  libattr-devel
 BuildRequires:  libcap-devel
@@ -52,7 +51,6 @@
 BuildRequires:  valgrind
 %endif
 
-Provides:   %{name} = %{version}
 %if "%{name}" == "coreutils"
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
@@ -95,8 +93,6 @@
 Patch8: coreutils-sysinfo.patch
 Patch16:coreutils-invalid-ids.patch
 Patch17:longlong-aarch64.patch
-#
-#Patch33:coreutils-8.9-singlethreaded-sort.patch
 
 # OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
 Patch100:   coreutils-build-timeout-as-pie.patch
@@ -134,7 +130,6 @@
 %patch16
 %patch17 -p1
 #
-#%%patch33
 %patch100
 
 %patch200


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-07-24 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-07-24 15:06:09

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-06-18 10:30:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-07-24 15:06:10.0 +0200
@@ -1,0 +2,18 @@
+Tue Jul 23 13:22:21 UTC 2013 - m...@bernhard-voelker.de
+
+- 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.
+
+---
+Mon Jul  8 15:09:22 UTC 2013 - sch...@suse.de
+
+- Override broken configure checks
+- coreutils-gl_printf_safe.patch: remove unused patch
+
+---
coreutils.changes: same change

Old:

  coreutils-gl_printf_safe.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.jTonE7/_old  2013-07-24 15:06:11.0 +0200
+++ /var/tmp/diff_new_pack.jTonE7/_new  2013-07-24 15:06:11.0 +0200
@@ -90,7 +90,6 @@
 Source2:coreutils-%{version}.de.po.xz
 
 Patch1: coreutils-remove_hostname_documentation.patch
-#Patch2: coreutils-gl_printf_safe.patch
 Patch3: coreutils-remove_kill_documentation.patch
 Patch4: coreutils-i18n.patch
 Patch8: coreutils-sysinfo.patch
@@ -131,9 +130,6 @@
 %patch4
 %patch1
 %patch3
-#%%if 0%%{suse_version} > 1200
-#%%patch2
-#%%endif
 %patch8
 %patch16
 %patch17 -p1

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.jTonE7/_old  2013-07-24 15:06:11.0 +0200
+++ /var/tmp/diff_new_pack.jTonE7/_new  2013-07-24 15:06:11.0 +0200
@@ -90,7 +90,6 @@
 Source2:coreutils-%{version}.de.po.xz
 
 Patch1: coreutils-remove_hostname_documentation.patch
-#Patch2: coreutils-gl_printf_safe.patch
 Patch3: coreutils-remove_kill_documentation.patch
 Patch4: coreutils-i18n.patch
 Patch8: coreutils-sysinfo.patch
@@ -131,9 +130,6 @@
 %patch4
 %patch1
 %patch3
-#%%if 0%%{suse_version} > 1200
-#%%patch2
-#%%endif
 %patch8
 %patch16
 %patch17 -p1


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-06-18 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-06-18 10:30:43

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-06-11 09:26:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-06-18 10:30:45.0 +0200
@@ -1,0 +2,6 @@
+Sun Jun 16 23:59:28 UTC 2013 - jeng...@inai.de
+
+- Explicitly list libattr-devel as BuildRequires
+- More robust make install call
+
+---
coreutils.changes: same change



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.6PW6G6/_old  2013-06-18 10:30:46.0 +0200
+++ /var/tmp/diff_new_pack.6PW6G6/_new  2013-06-18 10:30:46.0 +0200
@@ -37,6 +37,7 @@
 BuildRequires:  gmp-devel
 BuildRequires:  help2man
 BuildRequires:  libacl-devel
+BuildRequires:  libattr-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libselinux-devel
 BuildRequires:  makeinfo
@@ -71,6 +72,8 @@
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
+#Git-Web:  http://git.savannah.gnu.org/gitweb/?p=coreutils.git
+#Git-Clone:git://git.sv.gnu.org/coreutils
 %if "%{name}" == "coreutils"
 # For upgrading you now just need to increase the version, remove the old
 # tarballs, then run osc service localrun download_files, osc addremove,
@@ -180,7 +183,7 @@
 # 
 %install
 %if "%{name}" == "coreutils"
-%makeinstall pkglibexecdir=%{_libdir}/%{name}
+make install DESTDIR="%buildroot" pkglibexecdir=%{_libdir}/%{name}
 
 # remove kill
 rm -v %{buildroot}%{_bindir}/kill

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.6PW6G6/_old  2013-06-18 10:30:46.0 +0200
+++ /var/tmp/diff_new_pack.6PW6G6/_new  2013-06-18 10:30:46.0 +0200
@@ -37,6 +37,7 @@
 BuildRequires:  gmp-devel
 BuildRequires:  help2man
 BuildRequires:  libacl-devel
+BuildRequires:  libattr-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libselinux-devel
 BuildRequires:  makeinfo
@@ -71,6 +72,8 @@
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
+#Git-Web:  http://git.savannah.gnu.org/gitweb/?p=coreutils.git
+#Git-Clone:git://git.sv.gnu.org/coreutils
 %if "%{name}" == "coreutils"
 # For upgrading you now just need to increase the version, remove the old
 # tarballs, then run osc service localrun download_files, osc addremove,
@@ -180,7 +183,7 @@
 # 
 %install
 %if "%{name}" == "coreutils"
-%makeinstall pkglibexecdir=%{_libdir}/%{name}
+make install DESTDIR="%buildroot" pkglibexecdir=%{_libdir}/%{name}
 
 # remove kill
 rm -v %{buildroot}%{_bindir}/kill


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-06-11 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-06-11 06:26:16

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-05-27 09:43:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-06-11 09:26:14.0 +0200
@@ -1,0 +2,23 @@
+Fri Jun  7 14:36:26 UTC 2013 - sch...@suse.de
+
+- longlong-aarch64.patch: fix build on aarch64
+
+---
+Fri Jun  7 01:50:04 UTC 2013 - m...@bernhard-voelker.de
+
+- Remove su(1) and kill(1) - both are provided by util-linux now.
+  * su.pamd, su.default, coreutils-su.patch: Remove patch and PAM
+config files related to su(1).
+  * coreutils-remove_kill_documentation.patch: Add patch to remove
+kill from the texinfo manual.
+  * coreutils.spec: Remove above, su-related patch and sources.
+Remove Requires:pam and BuildRequires:pam-devel.
+Remove Provides:/bin/{su,kill}.
+Remove paragraph mentioning su(1) and kill(1) in %description.
+Remove `moving su trickery` and other left-overs from %install,
+%post and %files.
+Remove %posttrans and %verifyscript sections (as these contained
+su-related stuff).
+Add code to %install to remove kill's program and man page.
+
+---
coreutils.changes: same change

Old:

  coreutils-su.patch
  su.default
  su.pamd

New:

  coreutils-remove_kill_documentation.patch
  longlong-aarch64.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.SWW2MY/_old  2013-06-11 09:26:15.0 +0200
+++ /var/tmp/diff_new_pack.SWW2MY/_new  2013-06-11 09:26:15.0 +0200
@@ -24,6 +24,15 @@
 Version:8.21
 Release:0
 
+#
+#
+###! ! ! R E M I N D E R ! ! !###
+#
+###Please call "./pre_checkin.sh" prior to submitting.###
+###(This will regenerate coreutils-testsuite.spec)###
+#
+#
+
 BuildRequires:  automake
 BuildRequires:  gmp-devel
 BuildRequires:  help2man
@@ -44,8 +53,6 @@
 
 Provides:   %{name} = %{version}
 %if "%{name}" == "coreutils"
-Provides:   /bin/kill
-Provides:   /bin/su
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
 Provides:   sh-utils = %{version}
@@ -57,10 +64,6 @@
 Recommends: %{name}-lang = %version
 %endif
 
-# Needed for su.
-BuildRequires:  pam-devel
-Requires:   pam >= 1.1.1.90
-
 # this will create a cycle, broken up randomly - coreutils is just
 # too core to have other prerequisites.
 #PreReq: permissions
@@ -80,22 +83,21 @@
 Source: coreutils-%{version}.tar.xz
 %endif
 
-Source1:su.pamd
-Source2:su.default
-Source3:baselibs.conf
-Source4:coreutils-%{version}.de.po.xz
+Source1:baselibs.conf
+Source2:coreutils-%{version}.de.po.xz
 
 Patch1: coreutils-remove_hostname_documentation.patch
 #Patch2: coreutils-gl_printf_safe.patch
+Patch3: coreutils-remove_kill_documentation.patch
 Patch4: coreutils-i18n.patch
 Patch8: coreutils-sysinfo.patch
 Patch16:coreutils-invalid-ids.patch
+Patch17:longlong-aarch64.patch
 #
 #Patch33:coreutils-8.9-singlethreaded-sort.patch
 
 # OBS / RPMLINT require /usr/bin/timeout to be built with the -fpie option.
 Patch100:   coreutils-build-timeout-as-pie.patch
-Patch101:   coreutils-su.patch
 
 # Fix gnulib-test failures related to gnulib-tests/nap.h.
 Patch200:   coreutils-gnulib-tests-fix-nap-race.patch
@@ -119,31 +121,27 @@
   timeout touch tr true truncate tsort tty uname unexpand uniq unlink
   uptime users vdir wc who whoami yes
 
-As su(1) and kill(1) have been moved from coreutils to util-linux upstreams,
-this package provides compatibility symlinks to the old coreutils versions
-of both programs.  This is needed until there's a newer version of the
-receiving util-linux package available which comes with the new binaries.
-
 # 
 %lang_package
 %prep
 %setup -q -n coreutils-%{version}
 %patch4
 %patch1
+%patch3
 #%%if 0%%{suse_version} > 1200
 #%%patch2
 #

commit coreutils for openSUSE:Factory

2013-05-27 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-05-27 09:43:30

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-04-26 12:37:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-05-27 09:43:31.0 +0200
@@ -1,0 +2,14 @@
+Mon May 20 15:38:30 UTC 2013 - m...@bernhard-voelker.de
+
+- Try to fix nap() races in gnulib-tests.
+  (coreutils-gnulib-tests-fix-nap-race.patch: add upstream patch)
+  (coreutils-gnulib-tests-fix-nap-race-obs.patch: add openSUSE patch for OBS)
+
+---
+Wed May 15 11:26:29 UTC 2013 - mhruse...@suse.com
+
+- Provides: /bin/{kill,su}
+  * for compatibility with programs requiring these (like lsb) until these will
+be provided by util-linux
+
+---
coreutils.changes: same change

New:

  coreutils-gnulib-tests-fix-nap-race-obs.patch
  coreutils-gnulib-tests-fix-nap-race.patch



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.xOY3nU/_old  2013-05-27 09:43:32.0 +0200
+++ /var/tmp/diff_new_pack.xOY3nU/_new  2013-05-27 09:43:32.0 +0200
@@ -44,6 +44,8 @@
 
 Provides:   %{name} = %{version}
 %if "%{name}" == "coreutils"
+Provides:   /bin/kill
+Provides:   /bin/su
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
 Provides:   sh-utils = %{version}
@@ -95,6 +97,13 @@
 Patch100:   coreutils-build-timeout-as-pie.patch
 Patch101:   coreutils-su.patch
 
+# Fix gnulib-test failures related to gnulib-tests/nap.h.
+Patch200:   coreutils-gnulib-tests-fix-nap-race.patch
+
+# Fix gnulib-test failures: increase nap() delay multiplier even
+# a bit more to avoid failures on OBS.
+Patch201:   coreutils-gnulib-tests-fix-nap-race-obs.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -131,6 +140,9 @@
 %patch100
 %patch101
 
+%patch200
+%patch201
+
 xz -dc %{S:4} >po/de.po
 
 #???## We need to statically link to gmp, otherwise we have a build loop
@@ -159,7 +171,6 @@
 %if "%{name}" == "coreutils-testsuite"
   # Make our multi-byte test for sort executable
   chmod a+x tests/misc/sort-mb-tests.sh
-
   # Avoid parallel make, because otherwise some timeout based tests like
   # rm/ext3-perf may fail due to high CPU or IO load.
   make check-very-expensive \

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.xOY3nU/_old  2013-05-27 09:43:32.0 +0200
+++ /var/tmp/diff_new_pack.xOY3nU/_new  2013-05-27 09:43:32.0 +0200
@@ -44,6 +44,8 @@
 
 Provides:   %{name} = %{version}
 %if "%{name}" == "coreutils"
+Provides:   /bin/kill
+Provides:   /bin/su
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
 Provides:   sh-utils = %{version}
@@ -95,6 +97,13 @@
 Patch100:   coreutils-build-timeout-as-pie.patch
 Patch101:   coreutils-su.patch
 
+# Fix gnulib-test failures related to gnulib-tests/nap.h.
+Patch200:   coreutils-gnulib-tests-fix-nap-race.patch
+
+# Fix gnulib-test failures: increase nap() delay multiplier even
+# a bit more to avoid failures on OBS.
+Patch201:   coreutils-gnulib-tests-fix-nap-race-obs.patch
+
 # 
 %description
 These are the GNU core utilities.  This package is the union of
@@ -131,6 +140,9 @@
 %patch100
 %patch101
 
+%patch200
+%patch201
+
 xz -dc %{S:4} >po/de.po
 
 #???## We need to statically link to gmp, otherwise we have a build loop
@@ -159,7 +171,6 @@
 %if "%{name}" == "coreutils-testsuite"
   # Make our multi-byte test for sort executable
   chmod a+x tests/misc/sort-mb-tests.sh
-
   # Avoid parallel make, because otherwise some timeout based tests like
   # rm/ext3-perf may fail due to high CPU or IO load.
   make check-very-expensive \


++ coreutils-gnulib-tests-fix-nap-race-obs.patch ++
From: Bernhard Voelker 
Date: Mon, 20 May 2013 00:03:20 +0200
Subject: [PATCH] tests/nap.h: increase delay multiplier to avoid problems in
 VMs like OBS

The gnulib change http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=5191133e
(available upstreams with >= 8.22, applied to openSUSE's coreutils
package with "coreutils-gnulib-tests-fix-nap-race.patch", decreased the
probability of lost races to about a third, however such problems could
still be observed in virtual machines like OBS.
Increasing the factor from 1.125 

commit coreutils for openSUSE:Factory

2013-04-25 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-04-26 07:55:50

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-03-30 14:55:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-04-26 07:55:57.0 +0200
@@ -2 +2,6 @@
-Thu Mar 21 11:55:32 UTC 2013 - mmeis...@suse.com
+Thu Apr  4 23:25:17 UTC 2013 - m...@bernhard-voelker.de
+
+- Fix source url for coreutils-testsuite.
+
+---
+Thu Mar 21 11:55:13 UTC 2013 - mmeis...@suse.com
@@ -5,0 +11,405 @@
+
+---
+Thu Mar 21 11:54:05 UTC 2013 - m...@bernhard-voelker.de
+
+- Fix multibyte issue in unexpand (rh#821262)
+  (coreutils-i18n.patch: patch by Roman Kollár )
+
+- Fix cut to terminate mbdelim string
+
+  Otherwise, cut might do an unbounded strdup of the delimiter string
+  in i18n mode (https://bugzilla.redhat.com/show_bug.cgi?id=911929)
+  (coreutils-i18n.patch, from Mark Wielaard )
+
+- Add su(1) again
+
+  Now, su(1) will be provided via a symlink trick
+  to the file installed with a ".core" suffix.
+  By this, we can upgrade to 8.21 without having to wait
+  for a util-linux version providing it.
+
+  * coreutils-su.patch: Add cumulative su patch from previous Base:System
+version 8.17, ported to 8.21 build structure. This supersedes the
+following partial patches:
+  coreutils-8.6-compile-su-with-fpie.diff,
+  coreutils-8.6-honor-settings-in-etc-default-su-resp-etc-login.defs.diff,
+  coreutils-8.6-log-all-su-attempts.diff,
+  coreutils-8.6-make-sure-sbin-resp-usr-sbin-are-in-PATH.diff,
+  coreutils-8.6-pam-support-for-su.diff,
+  coreutils-8.6-set-sane-default-path.diff,
+  coreutils-8.6-update-man-page-for-pam.diff,
+  coreutils-bnc#697897-setsid.patch.
+
+  * pam, pam-devel: Add as requirements, also during build.
+  * coreutils.spec (%description): Clarify that su is included although removed
+upstreams.
+(%install): Install su+kill files with suffix ".core".
+(%post): Move setting permissions on su from %posttrans to %install.
+(%posttrans): Create symlinks to files with ".core" suffix unless already
+existing.
+
+- Install kill(1) with the same symlink trick.
+
+- Remove now-obsolete patches and files:
+
+  * coreutils-8.17.de.po.xz:
+  * coreutils-8.17.tar.xz:
+Remove sources + translation of previous version
+
+  * coreutils-acl-nofollow.patch:
+  * coreutils-basename_documentation.patch:
+  * coreutils-cp-corrupt-fragmented-sparse.patch:
+  * coreutils-df-always-hide-rootfs.patch:
+  * coreutils-skip-du-slink-test.patch:
+Fixed upstream.
+
+  * coreutils-getaddrinfo.patch:
+  * coreutils-misc.patch:
+  * coreutils-no_silent-rule.patch:
+Remove test and build related patches.
+
+  * coreutils-ptr_int_casts.patch:
+Remove because merged into coreutils-i18n.patch.
+
+- Add files:
+
+  * coreutils-8.21.tar.xz:
+Add tarball of the new upstream version
+  * coreutils-8.21.de.po.xz:
+Add language file.
+
+- Update patches:
+
+  * coreutils-i18n.patch
+Merge some Fedora changes to keep the i18n patch like theirs.
+Fix and cleanup sort's multibyte test with incorporated test data.
+
+  * coreutils-remove_hostname_documentation.patch
+
+- Add patch to build 'timeout' as PIE (OBS requires it).
+  This patch actually was included in one of the old su patches.
+
+  * new patch name: coreutils-build-timeout-as-pie.patch
+
+- Temporary disable some questionable patches (by commenting in the spec file):
+
+  * coreutils-gl_printf_safe.patch
+  * coreutils-8.9-singlethreaded-sort.patch
+
+- Change build / spec file:
+
+  * Bump version from 8.17 to 8.21.
+  * Fix macro invocation in "Provides" for stat.
+  * Remove ancient "Obsoletes" entries.
+  * Remove/add the above removed/added sources and patches.
+  * Temporarily comment the code for statically linking LIB_GMP
+(as it does not work).
+  * Remove -Wall from CFLAGS as it is already included in OBS' default options.
+  * Remove the --without-included-regex option to use
+coreutils' regex implementation.
+  * Remove custom gl_cv_func_printf_directive_n and gl_cv_func_isnanl_works.
+  * Touch "man/*.x" to force the rebuild of the man pages.
+  * Make sort's multi-byte test script executable in %check section.
+  * Hardcode package name for "%find_lang" and "%files lang -f" lines.
+  * In the %files section, add the COPYING and THANKS files.
+Furthermore, fix the path to the LC_TIME files.
+  * Change package de

commit coreutils for openSUSE:Factory

2013-03-30 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-03-30 14:55:21

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-01-27 09:18:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-03-30 14:55:24.0 +0100
@@ -1,0 +2,6 @@
+Thu Mar 21 11:55:32 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---
--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2013-01-27 
09:18:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2013-03-30 
14:55:24.0 +0100
@@ -1,0 +2,6 @@
+Thu Mar 21 11:55:13 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.eipXP8/_old  2013-03-30 14:55:26.0 +0100
+++ /var/tmp/diff_new_pack.eipXP8/_new  2013-03-30 14:55:26.0 +0100
@@ -58,7 +58,7 @@
 PreReq: %{install_info_prereq}
 Recommends: %{name}-lang = %version
 Requires:   pam >= 1.1.1.90
-Source: coreutils-%{version}.tar.xz
+Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source1:su.pamd
 Source2:su.default
 Source3:baselibs.conf


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-01-27 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-01-27 09:18:32

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2013-01-22 15:08:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-01-27 09:18:36.0 +0100
@@ -1,0 +2,5 @@
+Sun Jan 27 08:16:16 UTC 2013 - co...@suse.com
+
+- do not require texinfo for building, texlive is a bit too heavy
+
+---
@@ -4 +9,2 @@
-- Avoid segmentation fault in "join -i" with long line input (bnc#798541, 
VUL-1)
+- Avoid segmentation fault in "join -i" with long line input
+  (bnc#798541, VUL-1, CVE-2013-0223)
@@ -11 +17 @@
-  (bnc#798538, VUL-1)
+  (bnc#798538, VUL-1, CVE-2013-0221)
@@ -17 +23,2 @@
-- Avoid segmentation fault in "uniq" with long line input (bnc#796243, VUL-1)
+- Avoid segmentation fault in "uniq" with long line input
+  (bnc#796243, VUL-1, CVE-2013-0222)
coreutils.changes: same change



Other differences:
--
++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.E6WNPt/_old  2013-01-27 09:18:40.0 +0100
+++ /var/tmp/diff_new_pack.E6WNPt/_new  2013-01-27 09:18:40.0 +0100
@@ -26,9 +26,9 @@
 BuildRequires:  libacl-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libselinux-devel
+BuildRequires:  makeinfo
 BuildRequires:  pam-devel
 BuildRequires:  perl
-BuildRequires:  texinfo
 %if "%{name}" == "coreutils-testsuite"
 BuildRequires:  acl
 BuildRequires:  gdb

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.E6WNPt/_old  2013-01-27 09:18:40.0 +0100
+++ /var/tmp/diff_new_pack.E6WNPt/_new  2013-01-27 09:18:40.0 +0100
@@ -26,9 +26,9 @@
 BuildRequires:  libacl-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libselinux-devel
+BuildRequires:  makeinfo
 BuildRequires:  pam-devel
 BuildRequires:  perl
-BuildRequires:  texinfo
 %if "%{name}" == "coreutils-testsuite"
 BuildRequires:  acl
 BuildRequires:  gdb



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2013-01-22 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2013-01-22 15:08:43

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils-testsuite.changes
2012-12-08 15:51:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2013-01-22 15:08:44.0 +0100
@@ -1,0 +2,96 @@
+Sun Jan 20 13:18:28 UTC 2013 - m...@bernhard-voelker.de
+
+- Avoid segmentation fault in "join -i" with long line input (bnc#798541, 
VUL-1)
+
+  * src/join.c: Instead of usig unreliable alloca() stack allocation,
+use heap allocation via xmalloc()+free().
+(coreutils-i18n.patch, from Philipp Thomas )
+
+- 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 )
+
+- 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)
+  * tests/du/slink:
+This test fails on OBS infrastructure and will be removed upstreams
+in coreutils-8.21 anyway. Skip the test until we upgrade.
+Upstream discussion:
+http://lists.gnu.org/archive/html/coreutils/2013-01/msg00053.html
+(coreutils-skip-du-slink-test.patch)
+  * 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.
+
+---
+Thu Jan 10 21:18:52 CET 2013 - phis...@suse.de
+
+- Hardcode the name passed to find_lang so that it works for
+  coreutils-testsuite too.
+
+---
+Thu Jan 10 11:58:17 CET 2013 - p...@suse.de
+
+- Don't call autoreconf on distributions older then 12.0
+  because their autoconf is too old, so also patch Makefile.in
+  in addition to Makefile.am where needed.
+
+---
+Tue Dec  4 08:16:35 UTC 2012 - m...@bernhard-voelker.de
+
+- 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).
+
+---
+Mon Nov 19 13:04:44 UTC 2012 - idon...@suse.com
+
+- Statically link to gmp otherwise expr depends on gmp and gmp
+  configure script depends on expr which creates a build cycle.
+
+---
+Thu Nov  8 13:12:25 CET 2012 - p...@suse.de
+
+- 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.
+
+---
--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-12-08 
15:51:19.0 +0100
+++ /work/SRC/openSUSE

commit coreutils for openSUSE:Factory

2012-12-08 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-12-08 15:51:18

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

New Changes file:

--- /dev/null   2012-11-30 12:21:47.308011256 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils-testsuite.changes   
2012-12-08 15:51:19.0 +0100
@@ -0,0 +1,2196 @@
+---
+Tue Nov  6 13:23:45 CET 2012 - p...@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 - m...@bernhard-voelker.de
+
+- Add upstream patch:
+
+  * 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] (bnc#788459 gnu#12656)
+
+---
+Fri Sep 21 11:55:12 UTC 2012 - f...@suse.com
+
+- fix coreutils-8.9-singlethreaded-sort.patch to
+  respect OMP_NUM_THREADS again.
+
+---
+Tue Jun 19 12:37:47 CEST 2012 - p...@suse.de
+
+- Update to 8.17:
+ ** 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
+
+---
+Tue May 15 22:34:03 UTC 2012 - sch...@linux-m68k.org
+
+- Build factor with gmp support
+
+---
+Mon May  7 14:22:29 CEST 2012 - p...@suse.de
+
+- Two new upstream patches:
+
+  * 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).
+
+---
+Fri Apr 27 12:38:23 CEST 2012 - p...@suse.de
+
+- Make stdbuf binary find libstdbuf.so by looking in the right
+  path (bnc#741241).
+
+---
+Mon Apr 16 13:23:56 CEST 2012 - p...@suse.de
+
+- Update to 8.16:
+
+  - Improvements:
+  * As a GNU extension, 'chmod', 'mkdir', and 'install' now accept
+operators '-', '+', '=' followed by octal modes;
+  * Also, ordinary numeric modes with five or more digits no longer
+preserve setuid and setgid bits, so that 'chmod 00755 FOO' now
+clears FOO's setuid and setgid bits.
+  * dd now accepts the count_bytes, skip_bytes iflags and the
+seek_bytes oflag, to more easily allow processing portions of a
+file.
+  * dd now accepts the conv=sparse flag to attempt to create sparse
+output, by seeking rather than writing to the output file.
+  * ln now accepts the --relative option, to generate a relative
+symbolic link to a target, irrespective of how the target is
+  

commit coreutils for openSUSE:Factory

2012-11-01 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-11-02 07:30:51

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-09-23 
08:32:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-11-02 
07:30:56.0 +0100
@@ -1,0 +2,11 @@
+Sun Oct 28 20:31:28 UTC 2012 - m...@bernhard-voelker.de
+
+- Add upstream patch:
+
+  * 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]
+
+---

New:

  coreutils-cp-corrupt-fragmented-sparse.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.5k3tjT/_old  2012-11-02 07:30:59.0 +0100
+++ /var/tmp/diff_new_pack.5k3tjT/_new  2012-11-02 07:30:59.0 +0100
@@ -76,6 +76,7 @@
 Patch34:coreutils-acl-nofollow.patch
 Patch36:coreutils-basename_documentation.patch
 Patch37:coreutils-bnc#697897-setsid.patch
+Patch38:coreutils-cp-corrupt-fragmented-sparse.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # this will create a cycle, broken up randomly - coreutils is just too core to 
have other
 # prerequires
@@ -119,6 +120,7 @@
 %patch34
 %patch36
 %patch37
+%patch38
 
 xz -dc %{S:4} >po/de.po
 



++ coreutils-cp-corrupt-fragmented-sparse.patch ++
commit 64aef5fb9afecc023a6e719da161dbbf450908b8
Author: Jim Meyering 
Date:   Tue Oct 16 17:43:49 2012 +0200

cp: avoid data-corrupting free-memory-read

NEWS entry:
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]

* src/extent-scan.c (extent_scan_read): Reset our last_ei
pointer whenever the parent buffer might have just been freed.
* tests/cp/fiemap-extent-FMR.sh: New test.
* tests/local.mk (all_tests): Add it.
* NEWS (Bug fixes): Mention it.
Reported by Mike Gerth in http://bugs.gnu.org/12656, and with
help from Alan Curry.  Bug introduced in commit v8.10-60-g18f5a85.

Index: src/extent-scan.c
===
--- src/extent-scan.c.orig
+++ src/extent-scan.c
@@ -89,7 +89,7 @@ extern bool
 extent_scan_read (struct extent_scan *scan)
 {
   unsigned int si = 0;
-  struct extent_info *last_ei IF_LINT ( = scan->ext_info);
+  struct extent_info *last_ei = scan->ext_info;
 
   while (true)
 {
@@ -127,8 +127,14 @@ extent_scan_read (struct extent_scan *sc
 
   assert (scan->ei_count <= SIZE_MAX - fiemap->fm_mapped_extents);
   scan->ei_count += fiemap->fm_mapped_extents;
-  scan->ext_info = xnrealloc (scan->ext_info, scan->ei_count,
-  sizeof (struct extent_info));
+  {
+/* last_ei points into a buffer that may be freed via xnrealloc.
+   Record its offset and adjust after allocation.  */
+size_t prev_idx = last_ei - scan->ext_info;
+scan->ext_info = xnrealloc (scan->ext_info, scan->ei_count,
+sizeof (struct extent_info));
+last_ei = scan->ext_info + prev_idx;
+  }
 
   unsigned int i = 0;
   for (i = 0; i < fiemap->fm_mapped_extents; i++)
Index: tests/cp/fiemap-FMR
===
--- /dev/null
+++ tests/cp/fiemap-FMR
@@ -0,0 +1,31 @@
+#!/bin/sh
+# Trigger a free-memory read bug in cp from coreutils-[8.11..8.19]
+
+# Copyright (C) 2012 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see 

commit coreutils for openSUSE:Factory

2012-09-22 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-09-23 08:31:16

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-06-25 
12:24:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-09-23 
08:32:41.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 21 11:55:12 UTC 2012 - f...@suse.com
+
+- fix coreutils-8.9-singlethreaded-sort.patch to
+  respect OMP_NUM_THREADS again.
+
+---



Other differences:
--


++ coreutils-8.9-singlethreaded-sort.patch ++
--- /var/tmp/diff_new_pack.GW1xYE/_old  2012-09-23 08:32:42.0 +0200
+++ /var/tmp/diff_new_pack.GW1xYE/_new  2012-09-23 08:32:42.0 +0200
@@ -1,15 +1,17 @@
 Index: src/sort.c
 ===
 src/sort.c.orig2012-04-16 13:17:12.342019601 +0200
-+++ src/sort.c 2012-04-16 13:17:12.463016705 +0200
-@@ -5288,8 +5288,8 @@ main (int argc, char **argv)
+--- src/sort.c.orig
 src/sort.c
+@@ -5288,7 +5288,11 @@ main (int argc, char **argv)
  {
if (!nthreads)
  {
 -  unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE);
--  nthreads = MIN (np, DEFAULT_MAX_THREADS);
-+  //unsigned long int np = num_processors (NPROC_CURRENT_OVERRIDABLE);
-+  nthreads = 1; //MIN (np, DEFAULT_MAX_THREADS);
++  unsigned long int np;
++  if (getenv("OMP_NUM_THREADS"))
++np = num_processors (NPROC_CURRENT_OVERRIDABLE);
++  else
++np = 1;
+   nthreads = MIN (np, DEFAULT_MAX_THREADS);
  }
  
-   /* Avoid integer overflow later.  */

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2012-06-25 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-06-25 12:24:05

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-05-21 
08:03:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-06-25 
12:24:07.0 +0200
@@ -1,0 +2,32 @@
+Tue Jun 19 12:37:47 CEST 2012 - p...@suse.de
+
+- Update to 8.17:
+ ** 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
+
+---

Old:

  coreutils-8.16.de.po.xz
  coreutils-8.16.tar.xz
  coreutils-id_show_real_groups.patch
  coreutils-race_in_cp.patch

New:

  coreutils-8.17.de.po.xz
  coreutils-8.17.tar.xz



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.V6cRXL/_old  2012-06-25 12:24:10.0 +0200
+++ /var/tmp/diff_new_pack.V6cRXL/_new  2012-06-25 12:24:10.0 +0200
@@ -29,7 +29,7 @@
 BuildRequires:  pam-devel
 BuildRequires:  xz
 Url:http://www.gnu.org/software/coreutils/
-Version:8.16
+Version:8.17
 Release:0
 Provides:   fileutils = %{version}
 Provides:   mktemp = %{version}
@@ -76,10 +76,6 @@
 Patch34:coreutils-acl-nofollow.patch
 Patch36:coreutils-basename_documentation.patch
 Patch37:coreutils-bnc#697897-setsid.patch
-#Upstream patch will be included with 8.17
-Patch38:coreutils-id_show_real_groups.patch
-#Upstream patch, needs to be removed for 8.17
-Patch39:coreutils-race_in_cp.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # this will create a cycle, broken up randomly - coreutils is just too core to 
have other
 # prerequires
@@ -123,8 +119,6 @@
 %patch34
 %patch36
 %patch37
-%patch38
-%patch39
 
 xz -dc %{S:4} >po/de.po
 

++ coreutils-i18n.patch ++
--- /var/tmp/diff_new_pack.V6cRXL/_old  2012-06-25 12:24:10.0 +0200
+++ /var/tmp/diff_new_pack.V6cRXL/_new  2012-06-25 12:24:10.0 +0200
@@ -20,7 +20,7 @@
 Index: lib/linebuffer.h
 ===
 --- lib/linebuffer.h.orig  2012-01-06 10:14:31.0 +0100
-+++ lib/linebuffer.h   2012-04-16 17:00:03.953114761 +0200
 lib/linebuffer.h   2012-06-19 12:13:47.369654318 +0200
 @@ -21,6 +21,11 @@
  
  # include 
@@ -45,8 +45,8 @@
  /* Initialize linebuffer LINEBUFFER for use. */
 Index: src/cut.c
 ===
 src/cut.c.orig 2012-03-24 21:26:51.0 +0100
-+++ src/cut.c  2012-04-16 17:00:03.954114734 +0200
+--- src/cut.c.orig 2012-05-02 10:31:47.0 +0200
 src/cut.c  2012-06-19 12:13:47.370654294 +0200
 @@ -28,6 +28,11 @@
  #include 
  #include 
@@ -639,8 +639,8 @@
if (optind == argc)
 Index: src/expand.c
 ===
 src/expand.c.orig  2012-03-24 21:26:51.0 +0100
-+++ src/expand.c   2012-04-16 17:00:03.954114734 +0200
+--- src/expand.c.orig  2012-05-01 22:55:08.0 +0200
 src/expand.c   2012-06-19 12:13:47.370654294 +0200
 @@ -37,12 +37,29 @@
  #include 
  #include 
@@ -830,8 +830,8 @@
  error (EXIT_FAILURE, errno, "-");
 Index: src/fold.c
 ===
 src/fold.c.orig2012-03-24 19:22:13.0 +0100
-+++ src/fold.c 2012-04-16 17:00:03.954114734 +0200
+--- src/fold.c.orig2012-04-29 13:45:30.0 +0200
 src/fold.c 2012-06-19 12:13:47.370654294 +0200
 @@ -22,12 +22,34 @@
  #include 
  #include 
@@ -1232,8 +1232,8 @@
  case 's': /* Break at word boundaries. */
 Index: src/join.c
 =

commit coreutils for openSUSE:Factory

2012-05-20 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-05-21 08:03:02

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-05-07 
22:46:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-05-21 
08:03:03.0 +0200
@@ -1,0 +2,5 @@
+Tue May 15 22:34:03 UTC 2012 - sch...@linux-m68k.org
+
+- Build factor with gmp support
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.c3oav6/_old  2012-05-21 08:03:16.0 +0200
+++ /var/tmp/diff_new_pack.c3oav6/_new  2012-05-21 08:03:16.0 +0200
@@ -21,6 +21,7 @@
 License:GPL-3.0+
 Group:  System/Base
 BuildRequires:  automake
+BuildRequires:  gmp-devel
 BuildRequires:  help2man
 BuildRequires:  libacl-devel
 BuildRequires:  libcap-devel



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-05-07 22:44:32

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-05-03 
10:54:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-05-07 
22:46:47.0 +0200
@@ -1,0 +2,22 @@
+Mon May  7 14:22:29 CEST 2012 - p...@suse.de
+
+- Two new upstream patches:
+
+  * 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).
+
+---

New:

  coreutils-id_show_real_groups.patch
  coreutils-race_in_cp.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.9yuJ7g/_old  2012-05-07 22:46:49.0 +0200
+++ /var/tmp/diff_new_pack.9yuJ7g/_new  2012-05-07 22:46:49.0 +0200
@@ -75,6 +75,10 @@
 Patch34:coreutils-acl-nofollow.patch
 Patch36:coreutils-basename_documentation.patch
 Patch37:coreutils-bnc#697897-setsid.patch
+#Upstream patch will be included with 8.17
+Patch38:coreutils-id_show_real_groups.patch
+#Upstream patch, needs to be removed for 8.17
+Patch39:coreutils-race_in_cp.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # this will create a cycle, broken up randomly - coreutils is just too core to 
have other
 # prerequires
@@ -118,6 +122,8 @@
 %patch34
 %patch36
 %patch37
+%patch38
+%patch39
 
 xz -dc %{S:4} >po/de.po
 



++ coreutils-id_show_real_groups.patch ++
commit 032a549481444395558286b433296c97c09c721d
Author: Jim Meyering 
Date:   Fri Apr 27 13:28:32 2012 +0200

id,groups: with no user name, print only real and/or effective IDs,

... i.e., don't use the getpw* functions.

Before this change, running groups or id with no user name argument
would include a group name or ID from /etc/passwd.  Thus, under unusual
circumstances (default group is changed, but has not taken effect for a
given session), those programs could print a name or ID that is neither
real nor effective.

To demonstrate, run this:

echo 'for i in 1 2; do id -G; sleep 1.5; done' \
  |su -s /bin/sh ftp - &
sleep 1; perl -pi -e 's/^(ftp:x:\d+):(\d+)/$1:9876/' /etc/passwd

Those id -G commands printed the following:

50
50 9876

With this change, they print this:

50
50

Similarly, running those programs set-GID could make them
print one ID too many.

* src/group-list.c (print_group_list): When username is NULL, pass
egid, not getpwuid(ruid)->pw_gid), to xgetgroups, per the API
requirements of xgetgroups callee, mgetgroups.
When not using the password database, don't call getpwuid.
* NEWS (Bug fixes): Mention it.
* tests/misc/id-setgid: New file.
* tests/Makefile.am (TESTS): Add it.
(root_tests): It's a root-only test, so add it here, too.
Originally reported by Brynnen Owen as http://bugs.gnu.org/7320.
Raised again by Marc Mengel in http://bugzilla.redhat.com/816708.

Index: NEWS
===
--- NEWS.orig   2012-03-26 14:06:43.0 +0200
+++ NEWS2012-05-07 14:20:23.431517270 +0200
@@ -1,5 +1,15 @@
 GNU coreutils NEWS-*- outline -*-
 
+** Bug fixes
+
+  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 gro

commit coreutils for openSUSE:Factory

2012-05-03 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-05-03 10:54:45

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-04-23 
09:12:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-05-03 
10:54:49.0 +0200
@@ -1,0 +2,6 @@
+Fri Apr 27 12:38:23 CEST 2012 - p...@suse.de
+
+- Make stdbuf binary find libstdbuf.so by looking in the right
+  path (bnc#741241).
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.8Gz3KF/_old  2012-05-03 10:54:51.0 +0200
+++ /var/tmp/diff_new_pack.8Gz3KF/_new  2012-05-03 10:54:51.0 +0200
@@ -124,7 +124,7 @@
 %build
 AUTOPOINT=true autoreconf -fi
 export CFLAGS="%optflags -Wall"
-%configure --without-included-regex \
+%configure --libexecdir=%{_libdir} --without-included-regex \
--enable-install-program=arch,su \
gl_cv_func_printf_directive_n=yes \
gl_cv_func_isnanl_works=yes \



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2012-04-23 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-04-23 09:12:18

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-03-11 
20:03:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-04-23 
09:12:23.0 +0200
@@ -1,0 +2,62 @@
+Mon Apr 16 13:23:56 CEST 2012 - p...@suse.de
+
+- Update to 8.16:
+
+  - Improvements:
+  * As a GNU extension, 'chmod', 'mkdir', and 'install' now accept
+operators '-', '+', '=' followed by octal modes;
+  * Also, ordinary numeric modes with five or more digits no longer
+preserve setuid and setgid bits, so that 'chmod 00755 FOO' now
+clears FOO's setuid and setgid bits.
+  * dd now accepts the count_bytes, skip_bytes iflags and the
+seek_bytes oflag, to more easily allow processing portions of a
+file.
+  * dd now accepts the conv=sparse flag to attempt to create sparse
+output, by seeking rather than writing to the output file.
+  * ln now accepts the --relative option, to generate a relative
+symbolic link to a target, irrespective of how the target is
+specified.
+  * split now accepts an optional "from" argument to
+--numeric-suffixes, which changes the start number from the
+default of 0.
+  * split now accepts the --additional-suffix option, to append an
+additional static suffix to output file names.
+  * basename now supports the -a and -s options, which allow
+processing of more than one argument at a time.  Also the
+complementary -z option was added to delimit output items with
+the NUL character.
+  * dirname now supports more than one argument. Also the complementary
+z option was added to delimit output items with the NUL character.
+
+  - Bug fixes
+  * du --one-file-system (-x) would ignore any non-directory
+specified on the command line. For example, "touch f; du -x f"
+would print nothing. [bug introduced in coreutils-8.15]
+  * mv now lets you move a symlink onto a same-inode destination
+file that has two or more hard links.
+  * "mv A B" could succeed, yet A would remain.
+  * realpath no longer mishandles a root directory.
+
+  - Improvements
+  * ls can be much more efficient, especially with large directories
+on file systems for which getfilecon-, ACL-check- and XATTR-
+check-induced syscalls fail with ENOTSUP or similar.
+ * 'realpath --relative-base=dir' in isolation now implies
+'--relative-to=dir' instead of causing a usage failure.
+ * split now supports an unlimited number of split files as default
+   behavior.
+
+ For a detaild list se NEWS in the documentation.
+
+- Add up-to-date german translation.
+
+---
+Mon Apr 16 12:00:34 CEST 2012 - p...@suse.de
+
+- Add two upstream patches that speed up ls (bnc#752943):
+  * Cache (l)getfilecon calls to avoid the vast majority of the failing
+underlying getxattr syscalls.
+  * Avoids always-failing queries for whether a file has a nontrivial
+ACL and for whether a file has certain "capabilities".
+
+---

Old:

  coreutils-8.15.de.po.xz
  coreutils-8.15.tar.xz
  coreutils-8.6-i18n.patch
  coreutils-one-file-system_ignores_non-directory_arguments.patch

New:

  coreutils-8.16.de.po.xz
  coreutils-8.16.tar.xz
  coreutils-bnc#697897-setsid.patch
  coreutils-i18n.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.f5D4Fa/_old  2012-04-23 09:12:25.0 +0200
+++ /var/tmp/diff_new_pack.f5D4Fa/_new  2012-04-23 09:12:25.0 +0200
@@ -28,11 +28,22 @@
 BuildRequires:  pam-devel
 BuildRequires:  xz
 Url:http://www.gnu.org/software/coreutils/
-Version:8.15
+Version:8.16
 Release:0
-Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
-Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
-Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9
+Provides:   fileutils = %{version}
+Provides:   mktemp = %{version}
+Provides:   sh-utils = %{version}
+Provides:   stat = %version}
+Provides:   textutils = %{version}
+Obsoletes:  fileutils < %{version}
+Obsoletes:  libselinux <= 1.23.11-3
+Obsoletes:  libselinux-32bit = 9
+Obsoletes:  libselinux-64bit = 9
+Obsoletes:  

commit coreutils for openSUSE:Factory

2012-03-11 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-03-11 20:03:37

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-02-21 
12:16:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-03-11 
20:03:44.0 +0100
@@ -1,0 +2,63 @@
+Fri Mar  9 17:30:19 CET 2012 - p...@suse.de
+
+- Update to 8.15:
+  ** New programs
+
+realpath: print resolved file names.
+
+  ** Bug fixes
+
+du --one-file-system (-x) would ignore any non-directory specified on
+the command line.  For example, "touch f; du -x f" would print nothing.
+[bug introduced in coreutils-8.14]
+
+du -x no longer counts root directories of other file systems.
+[bug introduced in coreutils-5.1.0]
+
+ls --color many-entry-directory was uninterruptible for too long
+[bug introduced in coreutils-5.2.1]
+
+ls's -k option no longer affects how ls -l outputs file sizes.
+It now affects only the per-directory block counts written by -l,
+and the sizes written by -s.  This is for compatibility with BSD
+and with POSIX 2008.  Because -k is no longer equivalent to
+--block-size=1KiB, a new long option --kibibyte stands for -k.
+[bug introduced in coreutils-4.5.4]
+
+ls -l would leak a little memory (security context string) for each
+nonempty directory listed on the command line, when using SELinux.
+[bug probably introduced in coreutils-6.10 with SELinux support]
+
+split -n 1/2 FILE no longer fails when operating on a growing file, or
+(on some systems) when operating on a non-regular file like /dev/zero.
+It would report "/dev/zero: No such file or directory" even though
+the file obviously exists.  Same for -n l/2.
+[bug introduced in coreutils-8.8, with the addition of the -n option]
+
+stat -f now recognizes the FhGFS and PipeFS file system types.
+
+tac no longer fails to handle two or more non-seekable inputs
+[bug introduced in coreutils-5.3.0]
+
+tail -f no longer tries to use inotify on GPFS or FhGFS file systems
+[you might say this was introduced in coreutils-7.5, along with inotify
+ support, but the new magic numbers weren't in the usual places then.]
+
+  ** Changes in behavior
+
+df avoids long UUID-including file system names in the default listing.
+With recent enough kernel/tools, these long names would be used, pushing
+second and subsequent columns far to the right.  Now, when a long name
+refers to a symlink, and no file systems are specified, df prints the
+usually-short referent instead.
+
+tail -f now uses polling (not inotify) when any of its file arguments
+resides on a file system of unknown type.  In addition, for each such
+argument, tail -f prints a warning with the FS type magic number and a
+request to report it to the bug-reporting address.
+
+- Bring german message catalog up to date.
+- Include upstream fix for du.
+- Include upstream patch fixing basename documentation.
+
+---

Old:

  coreutils-8.14.de.po.xz
  coreutils-8.14.tar.xz
  coreutils-fix_tac.patch

New:

  coreutils-8.15.de.po.xz
  coreutils-8.15.tar.xz
  coreutils-basename_documentation.patch
  coreutils-one-file-system_ignores_non-directory_arguments.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.ZyX6wp/_old  2012-03-11 20:03:47.0 +0100
+++ /var/tmp/diff_new_pack.ZyX6wp/_new  2012-03-11 20:03:47.0 +0100
@@ -28,7 +28,7 @@
 BuildRequires:  pam-devel
 BuildRequires:  xz
 Url:http://www.gnu.org/software/coreutils/
-Version:8.14
+Version:8.15
 Release:0
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
@@ -40,7 +40,7 @@
 Source1:su.pamd
 Source2:su.default
 Source3:baselibs.conf
-Source4:coreutils-8.14.de.po.xz
+Source4:coreutils-%{version}.de.po.xz
 Patch0: coreutils-misc.patch
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch2: coreutils-gl_printf_safe.patch
@@ -61,7 +61,8 @@
 Patch32:coreutils-ptr_int_casts.patch
 Patch33:coreutils-8.9-singlethreaded-sort.patch
 Patch34:coreutils-acl-nofollow.patch
-Patch35:coreutils-fix_tac.pat

commit coreutils for openSUSE:Factory

2012-02-21 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-02-21 12:16:46

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2012-01-04 
08:00:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-02-21 
12:16:48.0 +0100
@@ -1,0 +2,5 @@
+Mon Feb  6 17:18:37 UTC 2012 - rschweik...@suse.com
+
+- keep binaries in /usr (UserMerge project)
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.i8cYVk/_old  2012-02-21 12:16:51.0 +0100
+++ /var/tmp/diff_new_pack.i8cYVk/_new  2012-02-21 12:16:51.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package coreutils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,18 @@
 #
 
 
-
 Name:   coreutils
 Summary:GNU Core Utilities
-BuildRequires:  automake help2man libacl-devel libcap-devel libselinux-devel 
pam-devel xz
-Url:http://www.gnu.org/software/coreutils/
 License:GPL-3.0+
 Group:  System/Base
+BuildRequires:  automake
+BuildRequires:  help2man
+BuildRequires:  libacl-devel
+BuildRequires:  libcap-devel
+BuildRequires:  libselinux-devel
+BuildRequires:  pam-devel
+BuildRequires:  xz
+Url:http://www.gnu.org/software/coreutils/
 Version:8.14
 Release:0
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
@@ -118,14 +123,13 @@
 %makeinstall pkglibexecdir=%{_libdir}/%{name}
 test -f %{buildroot}%{_bindir}/su || \
   install src/su %{buildroot}%{_bindir}/su
+#UsrMerge
 install -d %{buildroot}/bin
 for i in arch basename cat chgrp chmod chown cp date dd df echo false kill ln 
ls mkdir mknod mktemp mv pwd rm rmdir sleep sort stat stty su sync touch true 
uname readlink md5sum
 do
-   mv %{buildroot}%{_bindir}/$i %{buildroot}/bin/$i
-   test $i = su && echo -n '%%attr(4755,root,root) '
-   echo /bin/$i
-done > bin.files
-ln -sf ../../bin/{basename,sort,stat,touch,readlink,md5sum} 
%{buildroot}%{_bindir}
+   ln -sf %{_bindir}/$i %{buildroot}/bin/$i
+done
+#EndUsrMerge
 install -d -m 755 %{buildroot}/etc/pam.d
 install -m 644 %{S:1} %{buildroot}/etc/pam.d/su
 install -m 644 %{S:1} %{buildroot}/etc/pam.d/su-l
@@ -143,15 +147,19 @@
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
 
 %verifyscript
-%verify_permissions -e /bin/su
+%verify_permissions -e %{_bindir}/su
 
-%files -f bin.files
+%files
 %defattr(-,root,root)
 %doc README NEWS
 %config %{_sysconfdir}/pam.d/su
 %config %{_sysconfdir}/pam.d/su-l
 %config(noreplace) %{_sysconfdir}/default/su
+%attr(4755,root,root) %{_bindir}/su
 %{_bindir}/*
+#UsrMerge
+/bin/*
+#EndUsrMerge
 %{_libdir}/%{name}
 %doc %{_infodir}/coreutils.info*.gz
 %doc %{_mandir}/man1/*.1.gz



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2012-01-03 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2012-01-04 08:00:40

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2011-12-02 
09:26:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2012-01-04 
08:00:41.0 +0100
@@ -1,0 +2,14 @@
+Mon Dec 19 15:09:12 UTC 2011 - lnus...@suse.de
+
+- Adjust license for 
coreutils-8.6-honor-settings-in-etc-default-su-resp-etc-login.defs.diff
+  [bnc#735081].
+
+---
+Fri Dec  2 08:09:09 UTC 2011 - cfarr...@suse.com
+
+- license update: GPL-3.0+
+  Consolidate to GPL-3.0+ and use SPDX format
+  (http://www.spdx.org/licenses). More or less compatible to Fedora package
+  (who don^t use full SPDX implementation)
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.lAe85N/_old  2012-01-04 08:00:43.0 +0100
+++ /var/tmp/diff_new_pack.lAe85N/_new  2012-01-04 08:00:43.0 +0100
@@ -21,7 +21,7 @@
 Summary:GNU Core Utilities
 BuildRequires:  automake help2man libacl-devel libcap-devel libselinux-devel 
pam-devel xz
 Url:http://www.gnu.org/software/coreutils/
-License:GFDL-1.1; GPL-2+; GPL-3+
+License:GPL-3.0+
 Group:  System/Base
 Version:8.14
 Release:0



++ coreutils-8.6-honor-settings-in-etc-default-su-resp-etc-login.defs.diff 
++
--- /var/tmp/diff_new_pack.lAe85N/_old  2012-01-04 08:00:43.0 +0100
+++ /var/tmp/diff_new_pack.lAe85N/_new  2012-01-04 08:00:43.0 +0100
@@ -34,8 +34,8 @@
 +   Author: Thorsten Kukuk 
 +
 +   This program is free software; you can redistribute it and/or modify
-+   it under the terms of the GNU General Public License version 2 as
-+   published by the Free Software Foundation.
++   it under the terms of the GNU General Public License version 2 or
++   later as published by the Free Software Foundation.
 +
 +   This program is distributed in the hope that it will be useful,
 +   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -299,8 +299,8 @@
 +   Author: Thorsten Kukuk 
 +
 +   This program is free software; you can redistribute it and/or modify
-+   it under the terms of the GNU General Public License version 2 as
-+   published by the Free Software Foundation.
++   it under the terms of the GNU General Public License version 2  or
++   later published by the Free Software Foundation.
 +
 +   This program is distributed in the hope that it will be useful,
 +   but WITHOUT ANY WARRANTY; without even the implied warranty of

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2011-12-02 Thread h_root
Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2011-12-02 09:26:03

Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and  /work/SRC/openSUSE:Factory/.coreutils.new (New)


Package is "coreutils", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes  2011-10-18 
14:10:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new/coreutils.changes 2011-12-02 
09:26:05.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 30 09:45:46 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.qOJXeS/_old  2011-12-02 09:26:06.0 +0100
+++ /var/tmp/diff_new_pack.qOJXeS/_new  2011-12-02 09:26:06.0 +0100
@@ -19,12 +19,12 @@
 
 Name:   coreutils
 Summary:GNU Core Utilities
-BuildRequires:  help2man libacl-devel libcap-devel libselinux-devel pam-devel 
xz
+BuildRequires:  automake help2man libacl-devel libcap-devel libselinux-devel 
pam-devel xz
 Url:http://www.gnu.org/software/coreutils/
-License:GFDLv1.2 ; GPLv2+ ; GPLv3+
+License:GFDL-1.1; GPL-2+; GPL-3+
 Group:  System/Base
 Version:8.14
-Release:1
+Release:0
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2011-10-18 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Tue Oct 18 13:59:54 CEST 2011.




--- openSUSE:Factory/coreutils/coreutils.changes2011-10-16 
12:43:42.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-10-17 
15:29:22.0 +0200
@@ -1,0 +2,8 @@
+Mon Oct 17 15:25:21 CEST 2011 - p...@suse.de
+
+- Add upstream patch that fixes three bugs in tac:
+  - remove sole use of sprintf in favor of stpcpy
+  - don't misbehave with multiple non-seekable inputs
+  - don't leak a file descriptor for each non-seekable input   
   
+
+---

calling whatdependson for head-i586


New:

  coreutils-fix_tac.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.7QlP9y/_old  2011-10-18 13:59:49.0 +0200
+++ /var/tmp/diff_new_pack.7QlP9y/_new  2011-10-18 13:59:49.0 +0200
@@ -56,6 +56,7 @@
 Patch32:coreutils-ptr_int_casts.patch
 Patch33:coreutils-8.9-singlethreaded-sort.patch
 Patch34:coreutils-acl-nofollow.patch
+Patch35:coreutils-fix_tac.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # this will create a cycle, broken up randomly - coreutils is just too core to 
have other
 # prerequires
@@ -97,6 +98,7 @@
 %patch32
 %patch33
 %patch34
+%patch35
 
 xz -dc %{S:4} >po/de.po
 



++ coreutils-fix_tac.patch ++
>From cdd328f232a93fb40aec25d0681ef191eaeba2da Mon Sep 17 00:00:00 2001
From: Jim Meyering 
Date: Sun, 16 Oct 2011 10:35:56 +0200
Subject: [PATCH 1/3] maint: tac: remove sole use of sprintf in favor of
 stpcpy

* src/tac.c (copy_to_temp): Use stpcpy rather than sprintf.
Move some declarations "down" to point of initialization.
---
 src/tac.c |   17 +++--
 1 files changed, 7 insertions(+), 10 deletions(-)

Index: src/tac.c
===
--- src/tac.c.orig  2011-02-19 18:17:03.0 +0100
+++ src/tac.c   2011-10-17 15:46:27.879485098 +0200
@@ -426,20 +426,17 @@ copy_to_temp (FILE **g_tmp, char **g_tem
 {
   static char *template = NULL;
   static char const *tempdir;
-  char *tempfile;
-  FILE *tmp;
-  int fd;
 
   if (template == NULL)
 {
-  char const * const Template = "%s/tacXX";
+  char const * const Template = "tacXX";
   tempdir = getenv ("TMPDIR");
   if (tempdir == NULL)
 tempdir = DEFAULT_TMPDIR;
 
-  /* Subtract 2 for `%s' and add 1 for the trailing NUL byte.  */
-  template = xmalloc (strlen (tempdir) + strlen (Template) - 2 + 1);
-  sprintf (template, Template, tempdir);
+  /* Add 1 for the slash and one for the trailing NUL byte.  */
+  template = xmalloc (strlen (tempdir) + strlen (Template) + 1 + 1);
+  stpcpy (stpcpy (stpcpy (template, tempdir), "/"), Template);
 }
 
   /* FIXME: there's a small window between a successful mkstemp call
@@ -451,21 +448,23 @@ copy_to_temp (FILE **g_tmp, char **g_tem
  FIXME: clean up upon fatal signal.  Don't block them, in case
  $TMPFILE is a remote file system.  */
 
-  tempfile = template;
-  fd = mkstemp (template);
+  char *tempfile = xstrdup (template);
+  int fd = mkstemp (tempfile);
   if (fd < 0)
 {
   error (0, errno, _("cannot create temporary file in %s"),
  quote (tempdir));
+  free (tempfile);
   return false;
 }
 
-  tmp = fdopen (fd, (O_BINARY ? "w+b" : "w+"));
+  FILE *tmp = fdopen (fd, (O_BINARY ? "w+b" : "w+"));
   if (! tmp)
 {
   error (0, errno, _("cannot open %s for writing"), quote (tempfile));
   close (fd);
   unlink (tempfile);
+  free (tempfile);
   return false;
 }
 
@@ -501,6 +500,7 @@ copy_to_temp (FILE **g_tmp, char **g_tem
 
  Fail:
   fclose (tmp);
+  free (tempfile);
   return false;
 }
 
@@ -512,8 +512,14 @@ tac_nonseekable (int input_fd, const cha
 {
   FILE *tmp_stream;
   char *tmp_file;
-  return (copy_to_temp (&tmp_stream, &tmp_file, input_fd, file)
-  && tac_seekable (fileno (tmp_stream), tmp_file));
+
+  if (!copy_to_temp (&tmp_stream, &tmp_file, input_fd, file))
+return false;
+
+  bool ok = tac_seekable (fileno (tmp_stream), tmp_file);
+  fclose (tmp_stream);
+  free (tmp_file);
+  return ok;
 }
 
 /* Print FILE in reverse, copying it to a temporary
Index: tests/Makefile.am
===
--- tests/Makefile.am.orig  2011-10-17 15:40:44.533154336 +0200
+++ tests/Makefile.am   2011-10-17 15:40:44.882149592 +0200
@@ -270,6 +270,7 @@ TESTS = \
   misc/sum-sysv\
   misc/tac \
   misc/tac-continue

commit coreutils for openSUSE:Factory

2011-10-16 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Sun Oct 16 12:42:23 CEST 2011.




--- openSUSE:Factory/coreutils/coreutils.changes2011-09-23 
01:54:07.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-10-14 
16:52:46.0 +0200
@@ -1,0 +2,123 @@
+Fri Oct 14 16:51:48 CEST 2011 - p...@suse.de
+
+- Uniformly use german quotes not french ones in german messages.
+
+---
+Thu Oct 13 16:07:16 CEST 2011 - p...@suse.de
+
+- Update to 8.14. Changes since 8.12:
+  Bug fixes:
+
+  - ls --dereference no longer outputs erroneous "argetm" strings for
+dangling symlinks when an 'ln=target' entry is in $LS_COLORS.
+[bug introduced in fileutils-4.0]
+
+  - ls -lL symlink once again properly prints "+" when the referent has
+an ACL.  [bug introduced in coreutils-8.13]
+
+  - sort -g no longer infloops for certain inputs containing NaNs [bug
+introduced in coreutils-8.5]
+
+  - chown and chgrp with the -v --from= options, now output the correct
+owner.  I.E.  for skipped files, the original ownership is output,
+not the new one.  [bug introduced in sh-utils-2.0g]
+
+  - cp -r could mistakenly change the permissions of an existing
+destination directory.  [bug introduced in coreutils-6.8]
+
+  - cp -u -p would fail to preserve one hard link for each up-to-date
+copy of a src-hard-linked name in the destination tree.  I.e., if
+s/a and s/b are hard-linked and dst/s/a is up to date, "cp -up s
+dst" would copy s/b to dst/s/b rather than simply linking dst/s/b
+to dst/s/a.  [This bug appears to have been present in "the
+beginning".]
+
+  - fts-using tools (rm, du, chmod, chgrp, chown, chcon) no longer use
+memory proportional to the number of entries in each directory they
+process.  Before, rm -rf 4-million-entry-directory would consume
+about 1GiB of memory.  Now, it uses less than 30MB, no matter how
+many entries there are.  [this bug was inherent in the use of fts:
+thus, for rm the bug was introduced in coreutils-8.0.  The prior
+implementation of rm did not use as much memory.  du, chmod, chgrp
+and chown started using fts in 6.0.  chcon was added in
+coreutils-6.9.91 with fts support.  ]
+
+  - pr -T no longer ignores a specified LAST_PAGE to stop at.  [bug
+introduced in textutils-1.19q]
+
+  - printf '%d' '"' no longer accesses out-of-bounds memory in the
+diagnostic.  [bug introduced in sh-utils-1.16]
+
+  - split --number l/... no longer creates extraneous files in certain
+cases.  [bug introduced in coreutils-8.8]
+
+  - timeout now sends signals to commands that create their own process
+group.  timeout is no longer confused when starting off with a
+child process.  [bugs introduced in coreutils-7.0]
+
+  - unexpand -a now aligns correctly when there are spaces spanning a
+tabstop, followed by a tab.  In that case a space was dropped,
+causing misalignment.  We also now ensure that a space never
+precedes a tab.  [bug introduced in coreutils-5.3.0]
+  
+  New features:
+
+  - date now accepts ISO 8601 date-time strings with "T" as the
+separator.  It has long parsed dates like "2004-02-29 16:21:42"
+with a space between the date and time strings.  Now it also parses
+"2004-02-29T16:21:42" and fractional-second and time-zone-annotated
+variants like "2004-02-29T16:21:42.333-07:00"
+  - md5sum accepts the new --strict option.  With --check, it makes the
+tool exit non-zero for any invalid input line, rather than just warning.
+This also affects sha1sum, sha224sum, sha384sum and sha512sum.
+
+  - split accepts a new --filter=CMD option.  With it, split filters
+output through CMD.  CMD may use the $FILE environment variable,
+which is set to the nominal output file name for each invocation of
+CMD.  For example, to split a file into 3 approximately equal
+parts, which are then compressed:
+
+split -n3 --filter='xz > $FILE.xz' big
+
+Note the use of single quotes, not double quotes.  That creates
+files named xaa.xz, xab.xz and xac.xz.
+
+  - timeout accepts a new --foreground option, to support commands not
+started directly from a shell prompt, where the command is
+interactive or needs to receive signals initiated from the
+terminal.
+
+  Improvements:
+
+  - md5sum --check now supports the -r format from the corresponding
+BSD tool.  This also affects sha1sum, sha224sum, sha384sum and
+sha512sum.
+
+  - pwd now works also on systems without openat.  On such systems, pwd
+would fail when run from a directory whose absolute name contained
+more than PATH_MAX / 3 components.  The df, stat and readlink
+programs are also affected due to their use of the canonicalize_*
+functions.
+
+  - join --check-order now prints "join: FILE:LINE_NUMBER: bad_li

commit coreutils for openSUSE:Factory

2011-09-20 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Tue Sep 20 09:38:11 CEST 2011.




--- coreutils/coreutils.changes 2011-08-02 02:32:17.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-09-18 
01:29:38.0 +0200
@@ -1,0 +2,5 @@
+Sat Sep 17 23:29:33 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+
+---

calling whatdependson for head-i586




Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.owJDgZ/_old  2011-09-20 09:38:07.0 +0200
+++ /var/tmp/diff_new_pack.owJDgZ/_new  2011-09-20 09:38:07.0 +0200
@@ -28,7 +28,6 @@
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9
-AutoReqProv:on
 PreReq: %{install_info_prereq}
 Recommends: %{name}-lang = %version
 Requires:   pam >= 1.1.1.90
@@ -143,9 +142,6 @@
 %verifyscript
 %verify_permissions -e /bin/su
 
-%clean
-rm -rf %{buildroot}
-
 %files -f bin.files
 %defattr(-,root,root)
 %doc README NEWS








Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2011-08-02 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Tue Aug 2 13:53:54 CEST 2011.




--- coreutils/coreutils.changes 2011-05-03 16:43:52.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-08-02 
02:32:17.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug  2 00:26:05 UTC 2011 - lchiqui...@suse.com
+
+- file-has-acl: use acl_extended_file_nofollow if available to
+  avoid triggering unwanted AutoFS mounts (bnc#701659).
+
+---

calling whatdependson for head-i586


New:

  coreutils-acl-nofollow.patch



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.kMvbXN/_old  2011-08-02 13:51:38.0 +0200
+++ /var/tmp/diff_new_pack.kMvbXN/_new  2011-08-02 13:51:38.0 +0200
@@ -24,7 +24,7 @@
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
 Version:8.12
-Release:5
+Release:7
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9
@@ -56,6 +56,7 @@
 Patch31:coreutils-getaddrinfo.patch
 Patch32:coreutils-ptr_int_casts.patch
 Patch33:coreutils-8.9-singlethreaded-sort.patch
+Patch34:coreutils-acl-nofollow.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # this will create a cycle, broken up randomly - coreutils is just too core to 
have other
 # prerequires
@@ -96,6 +97,7 @@
 %patch31
 %patch32
 %patch33
+%patch34 -p1
 
 xz -dc %{S:4} >po/de.po
 



++ coreutils-acl-nofollow.patch ++
commit 95f7c57ff4090a5dee062044d2c7b99879077808
Author: Kamil Dudka 
Date:   Fri Jul 22 14:48:42 2011 +0200

file-has-acl: use acl_extended_file_nofollow if available

* lib/acl-internal.h (HAVE_ACL_EXTENDED_FILE): New macro.
(acl_extended_file): New macro.
* lib/file-has-acl.c (file_has_acl): Use acl_extended_file_nofollow.
* m4/acl.m4 (gl_FUNC_ACL): Check for acl_extended_file_nofollow.
This addresses http://bugzilla.redhat.com/692823.

Index: coreutils-8.12/lib/acl-internal.h
===
--- coreutils-8.12.orig/lib/acl-internal.h
+++ coreutils-8.12/lib/acl-internal.h
@@ -124,6 +124,12 @@ rpl_acl_set_fd (int fd, acl_t acl)
 #  endif
 
 /* Linux-specific */
+#  ifndef HAVE_ACL_EXTENDED_FILE_NOFOLLOW
+#   define HAVE_ACL_EXTENDED_FILE_NOFOLLOW false
+#   define acl_extended_file_nofollow(name) (-1)
+#  endif
+
+/* Linux-specific */
 #  ifndef HAVE_ACL_FROM_MODE
 #   define HAVE_ACL_FROM_MODE false
 #   define acl_from_mode(mode) (NULL)
Index: coreutils-8.12/lib/file-has-acl.c
===
--- coreutils-8.12.orig/lib/file-has-acl.c
+++ coreutils-8.12/lib/file-has-acl.c
@@ -339,12 +339,20 @@ file_has_acl (char const *name, struct s
   /* Linux, FreeBSD, MacOS X, IRIX, Tru64 */
   int ret;
 
-  if (HAVE_ACL_EXTENDED_FILE) /* Linux */
+  if (HAVE_ACL_EXTENDED_FILE || HAVE_ACL_EXTENDED_FILE_NOFOLLOW) /* Linux 
*/
 {
+#  if HAVE_ACL_EXTENDED_FILE_NOFOLLOW
+  /* acl_extended_file_nofollow() uses lgetxattr() in order to prevent
+ unnecessary mounts, but it returns the same result as we already
+ know that NAME is not a symbolic link at this point (modulo the
+ TOCTTOU race condition).  */
+  ret = acl_extended_file_nofollow (name);
+#  else
   /* On Linux, acl_extended_file is an optimized function: It only
  makes two calls to getxattr(), one for ACL_TYPE_ACCESS, one for
  ACL_TYPE_DEFAULT.  */
   ret = acl_extended_file (name);
+#  endif
 }
   else /* FreeBSD, MacOS X, IRIX, Tru64 */
 {
Index: coreutils-8.12/m4/acl.m4
===
--- coreutils-8.12.orig/m4/acl.m4
+++ coreutils-8.12/m4/acl.m4
@@ -33,7 +33,7 @@ AC_DEFUN([gl_FUNC_ACL],
AC_CHECK_FUNCS(
  [acl_get_file acl_get_fd acl_set_file acl_set_fd \
   acl_free acl_from_mode acl_from_text \
-  acl_delete_def_file acl_extended_file \
+  acl_delete_def_file acl_extended_file acl_extended_file_nofollow 
\
   acl_delete_fd_np acl_delete_file_np \
   acl_copy_ext_native acl_create_entry_np \
   acl_to_short_text acl_free_text])
Index: coreutils-8.12/ChangeLog
===
--- coreutils-8.12.orig/ChangeLog
+++ coreutils-8.12/ChangeLog
@@ -1,3 +1,11 @@
+2011-07

commit coreutils for openSUSE:Factory

2011-06-15 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Wed Jun 15 11:48:08 CEST 2011.




--- coreutils/coreutils.changes 2011-05-03 14:28:18.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-05-03 
16:43:52.0 +0200
@@ -1,0 +2,5 @@
+Tue May  3 16:42:41 CEST 2011 - p...@suse.de
+
+- Remove services.
+
+---

calling whatdependson for head-i586


Old:

  _service
  _service:download_url:coreutils-8.12.tar.xz
  _service:set_version:coreutils.spec

New:

  coreutils-8.12.tar.xz



Other differences:
--
++ coreutils.spec ++
--- /var/tmp/diff_new_pack.5h1BVk/_old  2011-06-15 11:42:33.0 +0200
+++ /var/tmp/diff_new_pack.5h1BVk/_new  2011-06-15 11:42:33.0 +0200
@@ -24,7 +24,7 @@
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
 Version:8.12
-Release:3
+Release:5
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2011-05-04 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Wed May 4 09:18:04 CEST 2011.




--- coreutils/coreutils.changes 2011-04-28 18:07:08.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-05-03 
14:28:18.0 +0200
@@ -1,0 +2,5 @@
+Tue May  3 14:28:01 CEST 2011 - r...@suse.de
+
+- delete coreutils-testsuite.spec 
+
+---

calling whatdependson for head-i586


Old:

  _service:set_version:coreutils-testsuite.spec
  coreutils-testsuite.spec



Other differences:
--
++ _service:set_version:coreutils.spec ++
--- /var/tmp/diff_new_pack.mzKUaA/_old  2011-05-04 09:17:26.0 +0200
+++ /var/tmp/diff_new_pack.mzKUaA/_new  2011-05-04 09:17:26.0 +0200
@@ -24,7 +24,7 @@
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
 Version:8.12
-Release:1
+Release: 0
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.mzKUaA/_old  2011-05-04 09:17:26.0 +0200
+++ /var/tmp/diff_new_pack.mzKUaA/_new  2011-05-04 09:17:26.0 +0200
@@ -24,7 +24,7 @@
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
 Version:8.12
-Release:1
+Release:3
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9








Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit coreutils for openSUSE:Factory

2011-05-02 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Mon May 2 12:40:57 CEST 2011.




--- coreutils/coreutils.changes 2011-04-15 16:49:19.0 +0200
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-04-28 
18:07:08.0 +0200
@@ -1,0 +2,23 @@
+Thu Apr 28 15:35:59 CEST 2011 - p...@suse.de
+
+- 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.
+- Add complete german meesage catalogue.
+
+---

calling whatdependson for head-i586


Old:

  _service:download_url:coreutils-8.11.tar.xz
  coreutils-8.11.tar.xz

New:

  _service:download_url:coreutils-8.12.tar.xz
  coreutils-8.12.de.po.xz



Other differences:
--
++ _service:set_version:coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.wLEwiN/_old  2011-05-02 12:39:34.0 +0200
+++ /var/tmp/diff_new_pack.wLEwiN/_new  2011-05-02 12:39:34.0 +0200
@@ -23,7 +23,7 @@
 Url:http://www.gnu.org/software/coreutils/
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
-Version:8.11
+Version:8.12
 Release:1
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}

++ _service:set_version:coreutils.spec ++
--- /var/tmp/diff_new_pack.wLEwiN/_old  2011-05-02 12:39:34.0 +0200
+++ /var/tmp/diff_new_pack.wLEwiN/_new  2011-05-02 12:39:34.0 +0200
@@ -23,7 +23,7 @@
 Url:http://www.gnu.org/software/coreutils/
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
-Version:8.11
+Version:8.12
 Release:1
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
@@ -36,6 +36,7 @@
 Source1:su.pamd
 Source2:su.default
 Source3:baselibs.conf
+Source4:coreutils-8.12.de.po.xz
 Patch0: coreutils-misc.patch
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch2: coreutils-gl_printf_safe.patch
@@ -96,6 +97,8 @@
 %patch32
 %patch33
 
+xz -dc %{S:4} >po/de.po
+
 %build
 AUTOPOINT=true autoreconf -fi
 export CFLAGS="%optflags -Wall"

++ coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.wLEwiN/_old  2011-05-02 12:39:34.0 +0200
+++ /var/tmp/diff_new_pack.wLEwiN/_new  2011-05-02 12:39:34.0 +0200
@@ -23,7 +23,7 @@
 Url:http://www.gnu.org/software/coreutils/
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
-Version:8.11
+Version:8.12
 Release:1
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}

++ coreutils.spec ++
--- /var/tmp/diff_new_pack.wLEwiN/_old  2011-05-02 12:39:34.0 +0200
+++ /var/tmp/diff_new_pack.wLEwiN/_new  2011-05-02 12:39:34.0 +0200
@@ -23,7 +23,7 @@
 Url:http://www.gnu.org/software/coreutils/
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
-Version:8.11
+Version:8.12
 Release:1
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
@@ -36,6 +36,7 @@
 Source1:su.pamd
 Source2:su.default
 Source3:baselibs.conf
+Source4:coreutils-8.12.de.po.xz
 Patch0: coreutils-misc.patch
 Patch1: coreutils-remove_hostname_documentation.patch
 Patch2:   

commit coreutils for openSUSE:Factory

2011-04-15 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Fri Apr 15 20:12:22 CEST 2011.




--- coreutils/coreutils.changes 2011-04-01 15:36:03.0 +0200
+++ coreutils/coreutils.changes 2011-04-15 16:49:19.0 +0200
@@ -1,0 +2,76 @@
+Thu Apr 14 14:46:41 CEST 2011 - p...@suse.de
+
+- 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]
+
+cp now copies empty extents efficiently, when doing a FIEMAP copy.
+It no longer reads the zero bytes from the input, and also can 
+efficiently create a hole in the output file when --sparse=always
+is specified.
+
+df now aligns columns consistently, and no longer wraps entries
+with longer device identifiers, over two lines.
+
+install now rejects its long-deprecated --preserve_context option.
+Use --preserve-context instead.
+
+test now accepts "==" as a synonym for "="
+
+---
+Tue Apr  5 15:13:42 CEST 2011 - p...@suse.de
+
+- Adapt coreutils-testsuite.spec to changes in patches.
+
+---
+Tue Apr  5 11:40:19 CEST 2011 - p...@suse.de
+
+- Remove unneeded split_suffix patch.
+
+---
+Mon Apr  4 16:13:04 CEST 2011 - p...@suse.de
+
+- 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.
+
+---

calling whatdependson for head-i586


Old:

  _service:download_url:coreutils-8.10.tar.xz
  coreutils-compute_range_endpoint.patch
  coreutils-fix_sparse_fiemap_test.patch
  coreutils-no_hostname_and_hostid.patch
  coreutils-readd_documentation.patch
  coreutils-split_suffix.patch

New:

  _service:download_url:coreutils-8.11.tar.xz
  coreutils-8.11.tar.xz
  coreutils-remove_hostname_documentation.patch



Other differences:
--
++ _service:set_version:coreutils-testsuite.spec ++
--- /var/tmp/diff_new_pack.SI2CxQ/_old  2011-04-15 20:11:23.0 +0200
+++ /var/tmp/diff_new_pack.SI2CxQ/_new  2011-04-15 20:11:23.0 +0200
@@ -23,8 +23,8 @@
 Url:http://www.gnu.org/software/coreutils/
 License:GFDLv1.2 ; GPLv2+ ; GPLv3+
 Group:  System/Base
-Version:8.10
-Release:2
+Version:8.11
+Release:1
 Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
 Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
 Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit 
= 9 libselinux-x86 = 9
@@ -37,7 +37,7 @@
 Source2:su.default
 Source3:baselibs.conf
 Patch0: coreutils-misc.patch
-Patch1: coreutils-no_hostname_and_hostid.patch
+Patch1: coreutils-remove_hostname_documentation.patch
 Patch2: coreutils-gl_printf_safe.patch
 Patch4: coreutils-8.6-i18n.patch
 Patch5: coreutils-i18n-uninit.patch
@@ -55,9 +55,6 @@
 Patch31:coreutils-getaddrinfo.patch
 Patch32:coreutils-ptr_int_casts.patch
 Patch33:coreutils-8.9-singlethreaded-sort.patch
-#Next two patches added after 8.10 release so should be ob

commit coreutils for openSUSE:Factory

2011-04-01 Thread h_root

Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory
checked in at Fri Apr 1 16:48:45 CEST 2011.




--- coreutils/coreutils.changes 2011-02-10 17:07:27.0 +0100
+++ /mounts/work_src_done/STABLE/coreutils/coreutils.changes2011-04-01 
15:36:03.0 +0200
@@ -1,0 +2,7 @@
+Fri Apr  1 15:34:49 CEST 2011 - p...@suse.de
+
+- Readd documentation of hostname and hostid to texinfo
+  documentation.
+- Remove obsolete and unused german translation.
+
+---

calling whatdependson for head-i586


Old:

  coreutils-8.9.de.po

New:

  _service:set_version:coreutils-testsuite.spec
  coreutils-readd_documentation.patch
  coreutils-testsuite.spec



Other differences:
--
++ _service:set_version:coreutils-testsuite.spec ++
#
# spec file for package coreutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   coreutils
Summary:GNU Core Utilities
BuildRequires:  help2man libacl-devel libcap-devel libselinux-devel pam-devel xz
Url:http://www.gnu.org/software/coreutils/
License:GFDLv1.2 ; GPLv2+ ; GPLv3+
Group:  System/Base
Version:8.10
Release:2
Provides:   fileutils = %{version}, sh-utils = %{version}, stat = 
%version}, textutils = %{version}, mktemp = %{version}
Obsoletes:  fileutils < %{version}, sh-utils < %{version}, stat < 
%version}, textutils < %{version}, mktemp < %{version}
Obsoletes:  libselinux <= 1.23.11-3 libselinux-32bit = 9 libselinux-64bit = 
9 libselinux-x86 = 9
AutoReqProv:on
PreReq: %{install_info_prereq}
Recommends: %{name}-lang = %version
Requires:   pam >= 1.1.1.90
Source: coreutils-%{version}.tar.xz
Source1:su.pamd
Source2:su.default
Source3:baselibs.conf
Patch0: coreutils-misc.patch
Patch1: coreutils-no_hostname_and_hostid.patch
Patch2: coreutils-gl_printf_safe.patch
Patch4: coreutils-8.6-i18n.patch
Patch5: coreutils-i18n-uninit.patch
Patch6: coreutils-i18n-infloop.patch
Patch8: coreutils-sysinfo.patch
Patch16:coreutils-invalid-ids.patch
Patch20:coreutils-8.6-pam-support-for-su.diff
Patch21:coreutils-8.6-update-man-page-for-pam.diff
Patch22:coreutils-8.6-log-all-su-attempts.diff
Patch23:coreutils-8.6-set-sane-default-path.diff
Patch24:
coreutils-8.6-honor-settings-in-etc-default-su-resp-etc-login.defs.diff
Patch25:coreutils-8.6-make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
#
Patch30:coreutils-8.6-compile-su-with-fpie.diff
Patch31:coreutils-getaddrinfo.patch
Patch32:coreutils-ptr_int_casts.patch
Patch33:coreutils-8.9-singlethreaded-sort.patch
#Next two patches added after 8.10 release so should be obsolete with next 
release
Patch34:coreutils-compute_range_endpoint.patch
Patch35:coreutils-fix_sparse_fiemap_test.patch

BuildRoot:  %{_tmppath}/%{name}-%{version}-build
# this will create a cycle, broken up randomly - coreutils is just too core to 
have other
# prerequires
#PreReq: permissions

%description
Basic file, shell, and text manipulation utilities.  The package
contains the following programs:

[ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
csplit cut date dd df dir dircolors dirname du echo env expand expr
factor false fmt fold groups head id install join kill link ln logname
ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup od paste pathchk
pinky pr printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum
sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split
stat stty su sum sync tac tail tee test timeout touch tr true tsort tty
uname unexpand uniq unlink uptime users vdir wc who whoami yes

%lang_package
%prep
%setup -q
%patch4
%patch5
%patch6
%patch0
%patch1
%patch2
%patch8
%patch16
%patch20
%patch21
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
#
%patch30 -p1
%patch31
%patch32
%patch33
%patch34 -p1
%patch35 -p1

%build
AUTOPOINT=true autoreconf -fi
export CFLAGS="%optflags -Wall"
%configure --without-included-regex \
--enable-install-program=arch,su \
gl_cv_f