summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-25 09:19:50 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-25 09:19:50 -0700
commit3941a2c2eb498a1f45b98cca17da32b885cc1ac2 (patch)
tree5cabc427afc68af24a2ffab28bf7466b1cad87ef
parentdc0dd77f12c6a03baa3f8c4cfa8787957ce73915 (diff)
downloadcoreutils-3941a2c2eb498a1f45b98cca17da32b885cc1ac2.tar.gz
coreutils-3941a2c2eb498a1f45b98cca17da32b885cc1ac2.tar.bz2
coreutils-3941a2c2eb498a1f45b98cca17da32b885cc1ac2.zip
add packaging
-rw-r--r--packaging/baselibs.conf3
-rw-r--r--packaging/coreutils.changes2179
-rw-r--r--packaging/coreutils.spec97
-rw-r--r--packaging/su.default11
-rw-r--r--packaging/su.pamd8
5 files changed, 2298 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644
index 000000000..34d4a2bec
--- /dev/null
+++ b/packaging/baselibs.conf
@@ -0,0 +1,3 @@
+targettype x86 package coreutils
+ +^/bin/uname$
+ prereq -glibc-x86
diff --git a/packaging/coreutils.changes b/packaging/coreutils.changes
new file mode 100644
index 000000000..17369b647
--- /dev/null
+++ b/packaging/coreutils.changes
@@ -0,0 +1,2179 @@
+-------------------------------------------------------------------
+Fri Sep 21 11:55:12 UTC 2012 - froh@suse.com
+
+- fix coreutils-8.9-singlethreaded-sort.patch to
+ respect OMP_NUM_THREADS again.
+
+-------------------------------------------------------------------
+Tue Jun 19 12:37:47 CEST 2012 - pth@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 - schwab@linux-m68k.org
+
+- Build factor with gmp support
+
+-------------------------------------------------------------------
+Mon May 7 14:22:29 CEST 2012 - pth@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 - pth@suse.de
+
+- Make stdbuf binary find libstdbuf.so by looking in the right
+ path (bnc#741241).
+
+-------------------------------------------------------------------
+Mon Apr 16 13:23:56 CEST 2012 - pth@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 - pth@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".
+
+-------------------------------------------------------------------
+Fri Mar 9 17:30:19 CET 2012 - pth@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.
+
+-------------------------------------------------------------------
+Mon Feb 6 17:18:37 UTC 2012 - rschweikert@suse.com
+
+- keep binaries in /usr (UserMerge project)
+
+-------------------------------------------------------------------
+Mon Dec 19 15:09:12 UTC 2011 - lnussel@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 - cfarrell@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)
+
+-------------------------------------------------------------------
+Wed Nov 30 09:45:46 UTC 2011 - coolo@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Mon Oct 17 15:25:21 CEST 2011 - pth@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
+
+-------------------------------------------------------------------
+Fri Oct 14 16:51:48 CEST 2011 - pth@suse.de
+
+- Uniformly use german quotes not french ones in german messages.
+
+-------------------------------------------------------------------
+Thu Oct 13 16:07:16 CEST 2011 - pth@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_line"
+ for an unsorted input, rather than e.g., "join: file 1 is not in
+ sorted order".
+
+ - shuf outputs small subsets of large permutations much more
+ efficiently. For example `shuf -i1-$((2**32-1)) -n2` no longer
+ exhausts memory.
+
+ - stat -f now recognizes the GPFS, MQUEUE and PSTOREFS file system
+ types.
+
+ - timeout now supports sub-second timeouts.
+
+ Changes in behavior:
+
+ - chmod, chown and chgrp now output the original attributes in
+ messages, when -v or -c specified.
+
+ - cp -au (where --preserve=links is implicit) may now replace newer
+ files in the destination, to mirror hard links from the source.
+
+-------------------------------------------------------------------
+Sat Sep 17 23:29:33 UTC 2011 - jengelh@medozas.de
+
+- Remove redundant tags/sections from specfile
+
+-------------------------------------------------------------------
+Tue Aug 2 00:26:05 UTC 2011 - lchiquitto@suse.com
+
+- file-has-acl: use acl_extended_file_nofollow if available to
+ avoid triggering unwanted AutoFS mounts (bnc#701659).
+
+-------------------------------------------------------------------
+Tue May 3 16:42:41 CEST 2011 - pth@suse.de
+
+- Remove services.
+
+-------------------------------------------------------------------
+Tue May 3 14:28:01 CEST 2011 - ro@suse.de
+
+- delete coreutils-testsuite.spec
+
+-------------------------------------------------------------------
+Thu Apr 28 15:35:59 CEST 2011 - pth@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.
+
+-------------------------------------------------------------------
+Thu Apr 14 14:46:41 CEST 2011 - pth@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 - pth@suse.de
+
+- Adapt coreutils-testsuite.spec to changes in patches.
+
+-------------------------------------------------------------------
+Tue Apr 5 11:40:19 CEST 2011 - pth@suse.de
+
+- Remove unneeded split_suffix patch.
+
+-------------------------------------------------------------------
+Mon Apr 4 16:13:04 CEST 2011 - pth@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.
+
+-------------------------------------------------------------------
+Fri Apr 1 15:34:49 CEST 2011 - pth@suse.de
+
+- Readd documentation of hostname and hostid to texinfo
+ documentation.
+- Remove obsolete and unused german translation.
+
+-------------------------------------------------------------------
+Thu Feb 10 14:35:49 CET 2011 - pth@suse.de
+
+- Update to 8.10:
+ * Bug fixes
+
+ - du would abort with a failed assertion when two conditions are
+ met: part of the hierarchy being traversed is moved to a higher
+ level in the directory tree, and there is at least one more
+ command line directory argument following the one containing
+ the moved sub-tree. [bug introduced in coreutils-5.1.0]
+
+ - join --header now skips the ordering check for the first line
+ even if the other file is empty. [bug introduced in
+ coreutils-8.5]
+
+ - rm -f no longer fails for EINVAL or EILSEQ on file systems that
+ reject file names invalid for that file system.
+
+ - uniq -f NUM no longer tries to process fields after end of
+ line. [bug introduced in coreutils-7.0]
+
+ * New features
+
+ - cp now copies sparse files efficiently on file systems with
+ FIEMAP support (ext4, btrfs, xfs, ocfs2). Before, it had to
+ read 2^20 bytes when copying a 1MiB sparse file. Now, it
+ copies bytes only for the non-sparse sections of a file.
+ Similarly, to induce a hole in the output file, it had to
+ detect a long sequence of zero bytes. Now, it knows precisely
+ where each hole in an input file is, and can reproduce them
+ efficiently in the output file. mv also benefits when it
+ resorts to copying, e.g., between file systems.
+
+ - join now supports -o 'auto' which will automatically infer the
+ output format from the first line in each file, to ensure the
+ same number of fields are output for each line.
+
+ * Changes in behavior
+
+ - join no longer reports disorder when one of the files is empty.
+ This allows one to use join as a field extractor like:
+ join -a1 -o 1.3,1.1 - /dev/null
+
+- Add upstream patch that fixes a segfault in cut.
+- Add upstream patch to fix sparse fiemap tests.
+- Fix i18n patch for join.
+
+-------------------------------------------------------------------
+Fri Jan 14 14:13:28 CET 2011 - uli@suse.de
+
+- sort threading still broken, it deadlocks occasionally; set
+ default number of threads to 1 as a workaround
+
+-------------------------------------------------------------------
+Wed Jan 5 14:25:16 CET 2011 - pth@suse.de
+
+- Update to 8.9:
+ Bug fixes
+
+ split no longer creates files with a suffix length that
+ is dependent on the number of bytes or lines per file.
+ [bug introduced in coreutils-8.8]
+
+-------------------------------------------------------------------
+Mon Jan 3 19:32:57 CET 2011 - pth@suse.de
+
+- Update to 8.8. Changes since 8.6:
+
+ Bug fixes:
+
+ cp -u no longer does unnecessary copying merely because the source
+ has finer-grained time stamps than the destination.
+
+ od now prints floating-point numbers without losing information, and
+ it no longer omits spaces between floating-point columns in some cases.
+
+ sort -u with at least two threads could attempt to read through a
+ corrupted pointer. [bug introduced in coreutils-8.6]
+
+ sort with at least two threads and with blocked output would busy-loop
+ (spinlock) all threads, often using 100% of available CPU cycles to
+ do no work. I.e., "sort < big-file | less" could waste a lot of power.
+ [bug introduced in coreutils-8.6]
+
+ sort with at least two threads no longer segfaults due to use of pointers
+ into the stack of an expired thread. [bug introduced in coreutils-8.6]
+
+ sort --compress no longer mishandles subprocesses' exit statuses,
+ no longer hangs indefinitely due to a bug in waiting for subprocesses,
+ and no longer generates many more than NMERGE subprocesses.
+
+ sort -m -o f f ... f no longer dumps core when file descriptors are limited.
+
+ csplit no longer corrupts heap when writing more than 999 files,
+ nor does it leak memory for every chunk of input processed
+ [the bugs were present in the initial implementation]
+
+ tail -F once again notices changes in a currently unavailable
+ remote directory [bug introduced in coreutils-7.5]
+
+ Changes in behavior:
+
+ sort will not create more than 8 threads by default due to diminishing
+ performance gains. Also the --parallel option is no longer restricted
+ to the number of available processors.
+
+ cp --attributes-only now completely overrides --reflink.
+ Previously a reflink was needlessly attempted.
+
+ stat's %X, %Y, and %Z directives once again print only the integer
+ part of seconds since the epoch. This reverts a change from
+ coreutils-8.6, that was deemed unnecessarily disruptive.
+ To obtain a nanosecond-precision time stamp for %X use %.X;
+ if you want (say) just 3 fractional digits, use %.3X.
+ Likewise for %Y and %Z.
+
+ stat's new %W format directive would print floating point seconds.
+ However, with the above change to %X, %Y and %Z, we've made %W work
+ the same way as the others.
+
+ New features:
+
+ split accepts the --number option to generate a specific number of files.
+
+- Add a complete german translation.
+- Add upstreams patch for suffix calculation in split.
+
+-------------------------------------------------------------------
+Wed Dec 22 15:53:13 UTC 2010 - pth@novell.com
+
+- Use software services.
+- Remove coreutils tarball.
+- Don't use version specific patches as it breaks automatic
+ updates.
+
+-------------------------------------------------------------------
+Wed Nov 17 08:33:10 UTC 2010 - coolo@novell.com
+
+- remove the prerequire on permissions - this will create a bad
+ cycle, coreutils is just too core
+
+-------------------------------------------------------------------
+Tue Nov 16 10:50:04 UTC 2010 - lnussel@suse.de
+
+- split pam patch into separate independent files so the main
+ feature can be shared with other distros
+- don't hard require coreutils-lang
+
+-------------------------------------------------------------------
+Thu Nov 11 16:33:50 CET 2010 - pth@suse.de
+
+- Update to 8.6:
+ o bugfixes
+ * du no longer multiply counts a file that is a directory or whose
+ link count is 1.
+ * du -H and -L now consistently count pointed-to files instead of
+ symbolic links, and correctly diagnose dangling symlinks.
+ * du --ignore=D now ignores directory D even when that directory is
+ found to be part of a directory cycle.
+ * split now diagnoses read errors rather than silently exiting.
+ * tac would perform a double-free when given an input line longer
+ than 16KiB.
+ * tail -F once again notices changes in a currently unavailable
+ directory, and works around a Linux kernel bug where inotify runs
+ out of resources.
+ * tr now consistently handles case conversion character classes.
+
+ o New features
+ * cp now accepts the --attributes-only option to not copy file data.
+ * du recognizes -d N as equivalent to --max-depth=N
+ * sort now accepts the --debug option, to highlight the part of the
+ line significant in the sort, and warns about questionable options.
+ * sort now supports -d, -f, -i, -R, and -V in any combination.
+ * stat now accepts the %m format directive to output the mount point
+ for a file. It also accepts the %w and %W format directives for
+ outputting the birth time of a file, if one is available.
+
+ o Changes in behavior
+ * df now consistently prints the device name for a bind mounted file,
+ rather than its aliased target.
+ * du now uses less than half as much memory when operating on trees
+ with many hard-linked files.
+ * ls -l now uses the traditional three field time style rather than
+ the wider two field numeric ISO style in locales where a style has
+ not been specified.
+ * rm's -d now evokes an error; before, it was silently ignored.
+ * sort -g now uses long doubles for greater range and precision.
+ * sort -h no longer rejects numbers with leading or trailing ".", and
+ no longer accepts numbers with multiple ".". It now considers all
+ zeros to be equal.
+ * sort now uses the number of available processors to parallelize
+ the sorting operation.
+ * stat now provides translated output when no format is specified.
+ * stat no longer accepts the --context (-Z) option.
+ * stat no longer accepts the %C directive when the --file-system
+ option is in effect.
+ * stat now outputs the full sub-second resolution for the atime,
+ mtime, and ctime values since the Epoch, when using the %X, %Y, and
+ %Z directives of the --format option.
+ * touch's --file option is no longer recognized. Use --reference=F
+ (-r) instead.
+ * truncate now supports setting file sizes relative to a reference
+ file. Also errors are no longer suppressed for unsupported file
+ types, and relative sizes are restricted to supported file types.
+
+ See NEWS in the package documentation for more verbose description.
+- Add a man page for [ (a link to test1).
+- Fix assignment of a char to a char * in join.c
+- Add permissions verifying for su.
+- Use RELRO for su.
+
+-------------------------------------------------------------------
+Tue Aug 31 09:36:00 UTC 2010 - aj@suse.de
+
+- Recommend instead of require lang package since it's not mandatory.
+
+-------------------------------------------------------------------
+Thu Jul 1 21:23:40 UTC 2010 - jengelh@medozas.de
+
+- Use %_smp_mflags
+
+-------------------------------------------------------------------
+Tue Jun 29 20:18:04 CEST 2010 - pth@suse.de
+
+- Fix 'sort -V' not working because the i18n (mb handling) patch
+ wasn't updated to handle the new option (bnc#615073).
+
+-------------------------------------------------------------------
+Mon Jun 28 12:52:15 CEST 2010 - pth@suse.de
+
+- Fix typo in spec file (% missing from version).
+
+-------------------------------------------------------------------
+Fri Jun 18 11:57:47 CEST 2010 - kukuk@suse.de
+
+- Last part of fix for [bnc#533249]: Don't run account part of
+ PAM stack for su as root. Requires pam > 1.1.1.
+
+-------------------------------------------------------------------
+Fri May 7 15:44:53 UTC 2010 - pth@novell.com
+
+- Update to 8.5:
+ Bug fixes
+ * cp and mv once again support preserving extended attributes.
+ * cp now preserves "capabilities" when also preserving file ownership.7
+ * ls --color once again honors the 'NORMAL' dircolors directive.
+ [bug introduced in coreutils-6.11]
+ * sort -M now handles abbreviated months that are aligned using
+ blanks in the locale database. Also locales with 8 bit characters
+ are handled correctly, including multi byte locales with the caveat
+ that multi byte characters are matched case sensitively.
+ * sort again handles obsolescent key formats (+POS -POS) correctly.
+ Previously if -POS was specified, 1 field too many was used in the
+ sort. [bug introduced in coreutils-7.2]
+
+ New features
+
+ * join now accepts the --header option, to treat the first line of
+ each file as a header line to be joined and printed
+ unconditionally.
+
+ * timeout now accepts the --kill-after option which sends a kill
+ signal to the monitored command if it's still running the specified
+ duration after the initial signal was sent.
+
+ * who: the "+/-" --mesg (-T) indicator of whether a user/tty is
+ accepting messages could be incorrectly listed as "+", when in
+ fact, the user was not accepting messages (mesg no). Before, who
+ would examine only the permission bits, and not consider the group
+ of the TTY device file. Thus, if a login tty's group would change
+ somehow e.g., to "root", that would make it unwritable (via
+ write(1)) by normal users, in spite of whatever the permission bits
+ might imply. Now, when configured using the
+ --with-tty-group[=NAME] option, who also compares the group of the
+ TTY device with NAME (or "tty" if no group name is specified).
+
+ Changes in behavior
+
+ * ls --color no longer emits the final 3-byte color-resetting escape
+ sequence when it would be a no-op.
+
+ * join -t '' no longer emits an error and instead operates on each
+ line as a whole (even if they contain NUL characters).
+
+ For other changes since 7.1 see NEWS.
+- Split-up coreutils-%%{version}.diff as far as possible.
+- Prefix all patches with coreutils-.
+- All patches have the .patch suffix.
+- Use the i18n patch from Archlinux as it fixes at least one test
+ suite failure.
+
+-------------------------------------------------------------------
+Tue May 4 17:13:37 UTC 2010 - pth@novell.com
+
+- Fix security bug in distcheck (bnc#564373).
+- refresh patches to apply cleanly.
+
+-------------------------------------------------------------------
+Tue Mar 2 09:54:10 UTC 2010 - lnussel@suse.de
+
+- enable hostid (bnc#584562)
+
+-------------------------------------------------------------------
+Sat Dec 12 18:46:28 CET 2009 - jengelh@medozas.de
+
+- add baselibs.conf as a source
+
+-------------------------------------------------------------------
+Mon Mar 23 15:34:29 CET 2009 - pth@suse.de
+
+- Add .ogv to dircolors (bnc#487561).
+
+-------------------------------------------------------------------
+Sun Feb 22 10:49:52 CET 2009 - schwab@suse.de
+
+- Update to coreutils 7.1.
+ ** New features
+ Add extended attribute support available on certain filesystems like ext2
+ and XFS.
+ cp: Tries to copy xattrs when --preserve=xattr or --preserve=all specified
+ mv: Always tries to copy xattrs
+ install: Never copies xattrs
+ cp and mv accept a new option, --no-clobber (-n): silently refrain
+ from overwriting any existing destination file
+ dd accepts iflag=cio and oflag=cio to open the file in CIO (concurrent I/O)
+ mode where this feature is available.
+ install accepts a new option, --compare (-C): compare each pair of source
+ and destination files, and if the destination has identical content and
+ any specified owner, group, permissions, and possibly SELinux context, then
+ do not modify the destination at all.
+ ls --color now highlights hard linked files, too
+ stat -f recognizes the Lustre file system type
+ ** Bug fixes
+ chgrp, chmod, chown --silent (--quiet, -f) no longer print some diagnostics
+ [bug introduced in coreutils-5.1]
+ cp uses much less memory in some situations
+ cp -a now correctly tries to preserve SELinux context (announced in 6.9.90),
+ doesn't inform about failure, unlike with --preserve=all
+ du --files0-from=FILE no longer reads all of FILE into RAM before
+ processing the first file name
+ seq 9223372036854775807 9223372036854775808 now prints only two numbers
+ on systems with extended long double support and good library support.
+ Even with this patch, on some systems, it still produces invalid output,
+ from 3 to at least 1026 lines long. [bug introduced in coreutils-6.11]
+ seq -w now accounts for a decimal point added to the last number
+ to correctly print all numbers to the same width.
+ wc --files0-from=FILE no longer reads all of FILE into RAM, before
+ processing the first file name, unless the list of names is known
+ to be small enough.
+ ** Changes in behavior
+ cp and mv: the --reply={yes,no,query} option has been removed.
+ Using it has elicited a warning for the last three years.
+ dd: user specified offsets that are too big are handled better.
+ Previously, erroneous parameters to skip and seek could result
+ in redundant reading of the file with no warnings or errors.
+ du: -H (initially equivalent to --si) is now equivalent to
+ --dereference-args, and thus works as POSIX requires
+ shred: now does 3 overwrite passes by default rather than 25.
+ ls -l now marks SELinux-only files with the less obtrusive '.',
+ rather than '+'. A file with any other combination of MAC and ACL
+ is still marked with a '+'.
+
+-------------------------------------------------------------------
+Wed Nov 19 12:42:10 CET 2008 - werner@suse.de
+
+- Enable stat(1) to detect (k)AFS and CIFS network file systems
+
+-------------------------------------------------------------------
+Tue Nov 18 16:48:05 CET 2008 - schwab@suse.de
+
+- Move stat to /bin.
+
+-------------------------------------------------------------------
+Tue Oct 21 11:31:35 CEST 2008 - schwab@suse.de
+
+- Fix pam cleanup.
+
+-------------------------------------------------------------------
+Thu Sep 18 16:38:01 CEST 2008 - schwab@suse.de
+
+- Move readlink and md5sum to /bin.
+
+-------------------------------------------------------------------
+Wed Aug 20 15:40:47 CEST 2008 - schwab@suse.de
+
+- Add libselinux-devel to BuildRequires.
+
+-------------------------------------------------------------------
+Tue Jun 24 15:57:01 CEST 2008 - schwab@suse.de
+
+- Fix sort field limit in multibyte case.
+
+-------------------------------------------------------------------
+Wed Jun 4 14:10:05 CEST 2008 - schwab@suse.de
+
+- Update to coreutils 6.12.
+ ** Bug fixes
+ chcon, runcon: --help output now includes the bug-reporting address
+ cp -p copies permissions more portably. For example, on MacOS X 10.5,
+ "cp -p some-fifo some-file" no longer fails while trying to copy the
+ permissions from the some-fifo argument.
+ id with no options now prints the SELinux context only when invoked
+ with no USERNAME argument.
+ id and groups once again print the AFS-specific nameless group-ID (PAG).
+ Printing of such large-numbered, kernel-only (not in /etc/group) group-IDs
+ was suppressed in 6.11 due to ignorance that they are useful.
+ uniq: avoid subtle field-skipping malfunction due to isblank misuse.
+ In some locales on some systems, isblank(240) (aka &nbsp) is nonzero.
+ On such systems, uniq --skip-fields=N would fail to skip the proper
+ number of fields for some inputs.
+ tac: avoid segfault with --regex (-r) and multiple files, e.g.,
+ "echo > x; tac -r x x". [bug present at least in textutils-1.8b, from 1992]
+ ** Changes in behavior
+ install once again sets SELinux context, when possible
+ [it was deliberately disabled in 6.9.90]
+
+-------------------------------------------------------------------
+Sun Apr 20 00:19:07 CEST 2008 - schwab@suse.de
+
+- Update to coreutils 6.11.
+ ** Bug fixes
+ configure --enable-no-install-program=groups now works.
+ "cp -fR fifo E" now succeeds with an existing E. Before this fix, using
+ -fR to copy a fifo or "special" file onto an existing file would fail
+ with EEXIST. Now, it once again unlinks the destination before trying
+ to create the destination file. [bug introduced in coreutils-5.90]
+ dd once again works with unnecessary options like if=/dev/stdin and
+ of=/dev/stdout. [bug introduced in fileutils-4.0h]
+ id now uses getgrouplist, when possible. This results in
+ much better performance when there are many users and/or groups.
+ ls no longer segfaults on files in /proc when linked with an older version
+ of libselinux. E.g., ls -l /proc/sys would dereference a NULL pointer.
+ md5sum would segfault for invalid BSD-style input, e.g.,
+ echo 'MD5 (' | md5sum -c - Now, md5sum ignores that line.
+ sha1sum, sha224sum, sha384sum, and sha512sum are affected, too.
+ [bug introduced in coreutils-5.1.0]
+ md5sum -c would accept a NUL-containing checksum string like "abcd\0..."
+ and would unnecessarily read and compute the checksum of the named file,
+ and then compare that checksum to the invalid one: guaranteed to fail.
+ Now, it recognizes that the line is not valid and skips it.
+ sha1sum, sha224sum, sha384sum, and sha512sum are affected, too.
+ [bug present in the original version, in coreutils-4.5.1, 1995]
+ "mkdir -Z x dir" no longer segfaults when diagnosing invalid context "x"
+ mkfifo and mknod would fail similarly. Now they're fixed.
+ mv would mistakenly unlink a destination file before calling rename,
+ when the destination had two or more hard links. It no longer does that.
+ [bug introduced in coreutils-5.3.0]
+ "paste -d'\' file" no longer overruns memory (heap since coreutils-5.1.2,
+ stack before then) [bug present in the original version, in 1992]
+ "pr -e" with a mix of backspaces and TABs no longer corrupts the heap
+ [bug present in the original version, in 1992]
+ "ptx -F'\' long-file-name" would overrun a malloc'd buffer and corrupt
+ the heap. That was triggered by a lone backslash (or odd number of them)
+ at the end of the option argument to --flag-truncation=STRING (-F),
+ --word-regexp=REGEXP (-W), or --sentence-regexp=REGEXP (-S).
+ "rm -r DIR" would mistakenly declare to be "write protected" -- and
+ prompt about -- full DIR-relative names longer than MIN (PATH_MAX, 8192).
+ "rmdir --ignore-fail-on-non-empty" detects and ignores the failure
+ in more cases when a directory is empty.
+ "seq -f % 1" would issue the erroneous diagnostic "seq: memory exhausted"
+ rather than reporting the invalid string format.
+ [bug introduced in coreutils-6.0]
+ ** New features
+ join now verifies that the inputs are in sorted order. This check can
+ be turned off with the --nocheck-order option.
+ sort accepts the new option --sort=WORD, where WORD can be one of
+ general-numeric, month, numeric or random. These are equivalent to the
+ options --general-numeric-sort/-g, --month-sort/-M, --numeric-sort/-n
+ and --random-sort/-R, resp.
+ ** Improvements
+ id and groups work around an AFS-related bug whereby those programs
+ would print an invalid group number, when given no user-name argument.
+ ls --color no longer outputs unnecessary escape sequences
+ seq gives better diagnostics for invalid formats.
+ ** Portability
+ rm now works properly even on systems like BeOS and Haiku,
+ which have negative errno values.
+ ** Consistency
+ install, mkdir, rmdir and split now write --verbose output to stdout,
+ not to stderr.
+
+
+-------------------------------------------------------------------
+Fri Apr 11 11:42:57 CEST 2008 - schwab@suse.de
+
+- Work around a recent glibc/getopt.c diagnostic change.
+- Fix frexpl test.
+
+-------------------------------------------------------------------
+Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
+
+- added baselibs.conf file to build xxbit packages
+ for multilib support
+
+-------------------------------------------------------------------
+Mon Feb 18 18:19:19 CET 2008 - dmueller@suse.de
+
+- split off -lang subpackage to reduce one CD media size
+
+-------------------------------------------------------------------
+Mon Feb 4 12:33:30 CET 2008 - kukuk@suse.de
+
+- sux is deprecated since 3 years, let's finaly remove symlink.
+
+-------------------------------------------------------------------
+Tue Jan 22 23:03:33 CET 2008 - schwab@suse.de
+
+- Update to coreutils 6.10.
+ ** Bug fixes
+ Fix a non-portable use of sed in configure.ac.
+ [bug introduced in coreutils-6.9.92]
+
+-------------------------------------------------------------------
+Sun Jan 13 12:59:37 CET 2008 - rguenther@suse.de
+
+- Reapply dropped patch:
+ adjust test-getaddrinfo to not fail w/o network connection
+
+-------------------------------------------------------------------
+Sat Jan 12 19:08:54 CET 2008 - schwab@suse.de
+
+- Update to coreutils 6.9.92.
+ ** Bug fixes
+ cp --parents no longer uses uninitialized memory when restoring the
+ permissions of a just-created destination directory.
+ [bug introduced in coreutils-6.9.90]
+ tr's case conversion would fail in a locale with differing numbers
+ of lower case and upper case characters. E.g., this would fail:
+ env LC_CTYPE=en_US.ISO-8859-1 tr '[:upper:]' '[:lower:]'
+ [bug introduced in coreutils-6.9.90]
+ ** Improvements
+ "touch -d now writable-but-owned-by-someone-else" now succeeds
+ whenever that same command would succeed without "-d now".
+ Before, it would work fine with no -d option, yet it would
+ fail with the ostensibly-equivalent "-d now".
+
+-------------------------------------------------------------------
+Mon Jan 7 16:14:51 CET 2008 - schwab@suse.de
+
+- Update to coreutils 6.9.91.
+ ** Bug fixes
+ "ls -l" would not output "+" on SELinux hosts unless -Z was also given.
+ "rm" would fail to unlink a non-directory when run in an environment
+ in which the user running rm is capable of unlinking a directory.
+ [bug introduced in coreutils-6.9]
+
+-------------------------------------------------------------------
+Mon Jan 7 11:12:01 CET 2008 - jblunck@suse.de
+
+- fix a cp bug with -p --parents
+
+-------------------------------------------------------------------
+Wed Dec 12 11:27:08 CET 2007 - rguenther@suse.de
+
+- adjust test-getaddrinfo to not fail w/o network connection
+
+-------------------------------------------------------------------
+Mon Dec 10 17:50:07 CET 2007 - ro@suse.de
+
+- change source archive compression back to .bz2 to avoid another
+ dependency in the lowest basesystem
+
+-------------------------------------------------------------------
+Mon Dec 3 10:44:24 CET 2007 - schwab@suse.de
+
+- Update to coreutils-6.9.90.
+ ** New programs
+ arch: equivalent to uname -m, not installed by default
+ But don't install this program on Solaris systems.
+ chcon: change the SELinux security context of a file
+ mktemp: create a temporary file or directory (or names)
+ runcon: run a program in a different SELinux security context
+ ** Programs no longer installed by default
+ hostname, su
+ ** Changes in behavior
+ cp, by default, refuses to copy through a dangling destination symlink
+ Set POSIXLY_CORRECT if you require the old, risk-prone behavior.
+ pr -F no longer suppresses the footer or the first two blank lines in
+ the header. This is for compatibility with BSD and POSIX.
+ tr now warns about an unescaped backslash at end of string.
+ The tr from coreutils-5.2.1 and earlier would fail for such usage,
+ and Solaris' tr ignores that final byte.
+ ** New features
+ Add SELinux support, based on the patch from Fedora:
+ * cp accepts new --preserve=context option.
+ * "cp -a" works with SELinux:
+ Now, cp -a attempts to preserve context, but failure to do so does
+ not change cp's exit status. However "cp --preserve=context" is
+ similar, but failure *does* cause cp to exit with nonzero status.
+ * install accepts new "-Z, --context=C" option.
+ * id accepts new "-Z" option.
+ * stat honors the new %C format directive: SELinux security context string
+ * ls accepts a slightly modified -Z option.
+ * ls: contrary to Fedora version, does not accept --lcontext and --scontext
+ cp -p tries to preserve the GID of a file even if preserving the UID
+ is not possible.
+ uniq accepts a new option: --zero-terminated (-z). As with the sort
+ option of the same name, this makes uniq consume and produce
+ NUL-terminated lines rather than newline-terminated lines.
+ wc no longer warns about character decoding errors in multibyte locales.
+ This means for example that "wc /bin/sh" now produces normal output
+ (though the word count will have no real meaning) rather than many
+ error messages.
+ ** New build options
+ By default, "make install" no longer attempts to install (or even build) su.
+ To change that, use ./configure --enable-install-program=su.
+ If you also want to install the new "arch" program, do this:
+ ./configure --enable-install-program=arch,su.
+ You can inhibit the compilation and installation of selected programs
+ at configure time. For example, to avoid installing "hostname" and
+ "uptime", use ./configure --enable-no-install-program=hostname,uptime
+ Note: currently, "make check" passes, even when arch and su are not
+ built (that's the new default). However, if you inhibit the building
+ and installation of other programs, don't be surprised if some parts
+ of "make check" fail.
+ ** Remove deprecated options
+ df no longer accepts the --kilobytes option.
+ du no longer accepts the --kilobytes or --megabytes options.
+ ls no longer accepts the --kilobytes option.
+ ptx longer accepts the --copyright option.
+ who no longer accepts -i or --idle.
+ ** Improved robustness
+ ln -f can no longer silently clobber a just-created hard link.
+ In some cases, ln could be seen as being responsible for data loss.
+ For example, given directories a, b, c, and files a/f and b/f, we
+ should be able to do this safely: ln -f a/f b/f c && rm -f a/f b/f
+ However, before this change, ln would succeed, and thus cause the
+ loss of the contents of a/f.
+ stty no longer silently accepts certain invalid hex values
+ in its 35-colon commmand-line argument
+ ** Bug fixes
+ chmod no longer ignores a dangling symlink. Now, chmod fails
+ with a diagnostic saying that it cannot operate on such a file.
+ [bug introduced in coreutils-5.1.0]
+ cp attempts to read a regular file, even if stat says it is empty.
+ Before, "cp /proc/cpuinfo c" would create an empty file when the kernel
+ reports stat.st_size == 0, while "cat /proc/cpuinfo > c" would "work",
+ and create a nonempty one. [bug introduced in coreutils-6.0]
+ cp --parents no longer mishandles symlinks to directories in file
+ name components in the source, e.g., "cp --parents symlink/a/b d"
+ no longer fails. Also, 'cp' no longer considers a destination
+ symlink to be the same as the referenced file when copying links
+ or making backups. For example, if SYM is a symlink to FILE,
+ "cp -l FILE SYM" now reports an error instead of silently doing
+ nothing. The behavior of 'cp' is now better documented when the
+ destination is a symlink.
+ "cp -i --update older newer" no longer prompts; same for mv
+ "cp -i" now detects read errors on standard input, and no longer consumes
+ too much seekable input; same for ln, install, mv, and rm.
+ cut now diagnoses a range starting with zero (e.g., -f 0-2) as invalid;
+ before, it would treat it as if it started with 1 (-f 1-2).
+ "cut -f 2-0" now fails; before, it was equivalent to "cut -f 2-"
+ cut now diagnoses the '-' in "cut -f -" as an invalid range, rather
+ than interpreting it as the unlimited range, "1-".
+ date -d now accepts strings of the form e.g., 'YYYYMMDD +N days',
+ in addition to the usual 'YYYYMMDD N days'.
+ du -s now includes the size of any stat'able-but-inaccessible directory
+ in the total size.
+ du (without -s) prints whatever it knows of the size of an inaccessible
+ directory. Before, du would print nothing for such a directory.
+ ls -x DIR would sometimes output the wrong string in place of the
+ first entry. [introduced in coreutils-6.8]
+ ls --color would mistakenly color a dangling symlink as if it were
+ a regular symlink. This would happen only when the dangling symlink
+ was not a command-line argument and in a directory with d_type support.
+ [introduced in coreutils-6.0]
+ ls --color, (with a custom LS_COLORS envvar value including the
+ ln=target attribute) would mistakenly output the string "target"
+ before the name of each symlink. [introduced in coreutils-6.0]
+ od's --skip (-j) option now works even when the kernel says that a
+ nonempty regular file has stat.st_size = 0. This happens at least
+ with files in /proc and linux-2.6.22.
+ "od -j L FILE" had a bug: when the number of bytes to skip, L, is exactly
+ the same as the length of FILE, od would skip *no* bytes. When the number
+ of bytes to skip is exactly the sum of the lengths of the first N files,
+ od would skip only the first N-1 files. [introduced in textutils-2.0.9]
+ ./printf %.10000000f 1 could get an internal ENOMEM error and generate
+ no output, yet erroneously exit with status 0. Now it diagnoses the error
+ and exits with nonzero status. [present in initial implementation]
+ seq no longer mishandles obvious cases like "seq 0 0.000001 0.000003",
+ so workarounds like "seq 0 0.000001 0.0000031" are no longer needed.
+ seq would mistakenly reject some valid format strings containing %%,
+ and would mistakenly accept some invalid ones. e.g., %g%% and %%g, resp.
+ "seq .1 .1" would mistakenly generate no output on some systems
+ Obsolete sort usage with an invalid ordering-option character, e.g.,
+ "env _POSIX2_VERSION=199209 sort +1x" no longer makes sort free an
+ invalid pointer [introduced in coreutils-6.5]
+ sorting very long lines (relative to the amount of available memory)
+ no longer provokes unaligned memory access
+ split --line-bytes=N (-C N) no longer creates an empty file
+ [this bug is present at least as far back as textutils-1.22 (Jan, 1997)]
+ tr -c no longer aborts when translating with Set2 larger than the
+ complement of Set1. [present in the original version, in 1992]
+ tr no longer rejects an unmatched [:lower:] or [:upper:] in SET1.
+ [present in the original version]
+
+-------------------------------------------------------------------
+Thu Nov 29 14:28:26 CET 2007 - schwab@suse.de
+
+- Update to coreutils-6.9.89.48 snapshot.
+
+-------------------------------------------------------------------
+Mon Jul 23 15:15:11 CEST 2007 - schwab@suse.de
+
+- Fix random sort.
+- Fix invalid free.
+- Fix misalignment.
+
+-------------------------------------------------------------------
+Sun May 20 19:17:21 CEST 2007 - schwab@suse.de
+
+- Fix compiling with glibc 2.6.
+
+-------------------------------------------------------------------
+Sun May 20 10:53:16 CEST 2007 - schwab@suse.de
+
+- Fix fchownat test.
+
+-------------------------------------------------------------------
+Mon Apr 2 11:17:36 CEST 2007 - schwab@suse.de
+
+- Fix ls -x.
+
+-------------------------------------------------------------------
+Fri Mar 23 17:03:38 CET 2007 - schwab@suse.de
+
+- Update to coreutils 6.9.
+ ** Bug fixes
+ cp -x (--one-file-system) would fail to set mount point permissions
+ The default block size and output format for df -P are now unaffected by
+ the DF_BLOCK_SIZE, BLOCK_SIZE, and BLOCKSIZE environment variables. It
+ is still affected by POSIXLY_CORRECT, though.
+ Using pr -m -s (i.e. merging files, with TAB as the output separator)
+ no longer inserts extraneous spaces between output columns.
+
+-------------------------------------------------------------------
+Wed Mar 14 15:50:36 CET 2007 - lnussel@suse.de
+
+- su: actually use /etc/pam.d/su-l when running su - (#254428)
+
+-------------------------------------------------------------------
+Mon Mar 5 17:23:45 CET 2007 - lnussel@suse.de
+
+- su: don't chdir("/") before fork() (#251287)
+
+-------------------------------------------------------------------
+Fri Mar 2 13:47:35 CET 2007 - lnussel@suse.de
+
+- split off and rework PAM patch for su:
+ * run pam_open_session as root (#245706)
+ * use separate pam configs for "su" and "su -" (RedHat #198639)
+ * detect pam libs in configure script, add option to disable it
+ * don't set argv[0] to "-su", use upstream behavior instead
+ * don't use getlogin() for setting PAM_RUSER
+
+-------------------------------------------------------------------
+Sun Feb 25 10:58:58 CET 2007 - schwab@suse.de
+
+- Update to coreutils 6.8.
+ ** Bug fixes
+ chgrp, chmod, and chown now honor the --preserve-root option.
+ Before, they would warn, yet continuing traversing and operating on /.
+ chmod no longer fails in an environment (e.g., a chroot) with openat
+ support but with insufficient /proc support.
+ "cp --parents F/G D" no longer creates a directory D/F when F is not
+ a directory (and F/G is therefore invalid).
+ "cp --preserve=mode" would create directories that briefly had
+ too-generous permissions in some cases. For example, when copying a
+ directory with permissions 777 the destination directory might
+ temporarily be setgid on some file systems, which would allow other
+ users to create subfiles with the same group as the directory. Fix
+ similar problems with 'install' and 'mv'.
+ cut no longer dumps core for usage like "cut -f2- f1 f2" with two or
+ more file arguments. This was due to a double-free bug, introduced
+ in coreutils-5.3.0.
+ dd bs= operands now silently override any later ibs= and obs=
+ operands, as POSIX and tradition require.
+ "ls -FRL" always follows symbolic links on Linux. Introduced in
+ coreutils-6.0.
+ A cross-partition "mv /etc/passwd ~" (by non-root) now prints
+ a reasonable diagnostic. Before, it would print this:
+ "mv: cannot remove `/etc/passwd': Not a directory".
+ pwd and "readlink -e ." no longer fail unnecessarily when a parent
+ directory is unreadable.
+ "rm -rf /etc/passwd" (run by non-root) now prints a diagnostic.
+ Before it would print nothing.
+ "rm --interactive=never F" no longer prompts for an unwritable F
+ ** New features
+ sort's new --compress-program=PROG option specifies a compression
+ program to use when writing and reading temporary files.
+ This can help save both time and disk space when sorting large inputs.
+ ** New features
+ sort accepts the new option -C, which acts like -c except no diagnostic
+ is printed. Its --check option now accepts an optional argument, and
+ --check=quiet and --check=silent are now aliases for -C, while
+ --check=diagnose-first is an alias for -c or plain --check.
+
+-------------------------------------------------------------------
+Tue Jan 9 13:08:01 CET 2007 - schwab@suse.de
+
+- Fix localized month sorting [#231790].
+
+-------------------------------------------------------------------
+Wed Dec 13 13:27:36 CET 2006 - schwab@suse.de
+
+- Fix acl tests.
+
+-------------------------------------------------------------------
+Sat Dec 9 01:00:28 CET 2006 - schwab@suse.de
+
+- Update to coreutils 6.7.
+ ** Bug fixes
+ When cp -p copied a file with special mode bits set, the same bits
+ were set on the copy even when ownership could not be preserved.
+ This could result in files that were setuid to the wrong user.
+ To fix this, special mode bits are now set in the copy only if its
+ ownership is successfully preserved. Similar problems were fixed
+ with mv when copying across file system boundaries. This problem
+ affects all versions of coreutils through 6.6.
+ cp --preserve=ownership would create output files that temporarily
+ had too-generous permissions in some cases. For example, when
+ copying a file with group A and mode 644 into a group-B sticky
+ directory, the output file was briefly readable by group B.
+ Fix similar problems with cp options like -p that imply
+ --preserve=ownership, with install -d when combined with either -o
+ or -g, and with mv when copying across file system boundaries.
+ This bug affects coreutils 6.0 through 6.6.
+ du --one-file-system (-x) would skip subdirectories of any directory
+ listed as second or subsequent command line argument. This bug affects
+ coreutils-6.4, 6.5 and 6.6.
+
+-------------------------------------------------------------------
+Wed Nov 22 16:16:52 CET 2006 - schwab@suse.de
+
+- Update to coreutils 6.6.
+ ** Bug fixes
+ ls would segfault (dereference a NULL pointer) for a file with a
+ nameless group or owner. This bug was introduced in coreutils-6.5.
+ A bug in the latest official m4/gettext.m4 (from gettext-0.15)
+ made configure fail to detect gettext support, due to the unusual
+ way in which coreutils uses AM_GNU_GETTEXT.
+ ** Improved robustness
+ Now, du (and the other fts clients: chmod, chgrp, chown) honor a
+ trailing slash in the name of a symlink-to-directory even on
+ Solaris 9, by working around its buggy fstatat implementation.
+
+-------------------------------------------------------------------
+Mon Nov 20 11:34:05 CET 2006 - schwab@suse.de
+
+- Update to coreutils 6.5.
+ ** Bug fixes
+ du (and the other fts clients: chmod, chgrp, chown) would exit early
+ when encountering an inaccessible directory on a system with native
+ openat support (i.e., linux-2.6.16 or newer along with glibc-2.4
+ or newer). This bug was introduced with the switch to gnulib's
+ openat-based variant of fts, for coreutils-6.0.
+ "ln --backup f f" now produces a sensible diagnostic
+ ** New features
+ rm accepts a new option: --one-file-system
+
+-------------------------------------------------------------------
+Mon Oct 23 10:58:38 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 6.4.
+ ** Bug fixes
+ chgrp and chown would malfunction when invoked with both -R and -H and
+ with one or more of the following: --preserve-root, --verbose, --changes,
+ --from=o:g (chown only). This bug was introduced with the switch to
+ gnulib's openat-based variant of fts, for coreutils-6.0.
+ cp --backup dir1 dir2, would rename an existing dir2/dir1 to dir2/dir1~.
+ This bug was introduced in coreutils-6.0.
+ With --force (-f), rm no longer fails for ENOTDIR.
+ For example, "rm -f existing-non-directory/anything" now exits
+ successfully, ignoring the error about a nonexistent file.
+
+-------------------------------------------------------------------
+Mon Oct 9 14:48:23 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 6.3.
+ ** Improved robustness
+ pinky no longer segfaults on Darwin 7.9.0 (MacOS X 10.3.9) due to a
+ buggy native getaddrinfo function.
+ rm works around a bug in Darwin 7.9.0 (MacOS X 10.3.9) that would
+ sometimes keep it from removing all entries in a directory on an HFS+
+ or NFS-mounted partition.
+ sort would fail to handle very large input (around 40GB) on systems with a
+ mkstemp function that returns a file descriptor limited to 32-bit offsets.
+ ** Bug fixes
+ chmod would fail unnecessarily in an unusual case: when an initially-
+ inaccessible argument is rendered accessible by chmod's action on a
+ preceding command line argument. This bug also affects chgrp, but
+ it is harder to demonstrate. It does not affect chown. The bug was
+ introduced with the switch from explicit recursion to the use of fts
+ in coreutils-5.1.0 (2003-10-15).
+ cp -i and mv -i occasionally neglected to prompt when the copy or move
+ action was bound to fail. This bug dates back to before fileutils-4.0.
+ With --verbose (-v), cp and mv would sometimes generate no output,
+ or neglect to report file removal.
+ For the "groups" command:
+ "groups" no longer prefixes the output with "user :" unless more
+ than one user is specified; this is for compatibility with BSD.
+ "groups user" now exits nonzero when it gets a write error.
+ "groups" now processes options like --help more compatibly.
+ shuf would infloop, given 8KB or more of piped input
+ ** Portability
+ Versions of chmod, chown, chgrp, du, and rm (tools that use openat etc.)
+ compiled for Solaris 8 now also work when run on Solaris 10.
+
+-------------------------------------------------------------------
+Thu Oct 5 00:16:42 CEST 2006 - agruen@suse.de
+
+- cp: Replace the old --attributes=regex option with
+ --preserve=xattrs. Only copy extended attributes if this
+ option is given. Use libattr's new copy_attr_action() function
+ to check which attributes to copy in /etc/xattr.conf.
+
+-------------------------------------------------------------------
+Tue Sep 19 13:20:47 CEST 2006 - schwab@suse.de
+
+- Disable broken autopoint.
+
+-------------------------------------------------------------------
+Mon Sep 18 13:13:58 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 6.2.
+ ** Changes in behavior
+ mkdir -p and install -d (or -D) now use a method that forks a child
+ process if the working directory is unreadable and a later argument
+ uses a relative file name. This avoids some race conditions, but it
+ means you may need to kill two processes to stop these programs.
+ rm now rejects attempts to remove the root directory, e.g., `rm -fr /'
+ now fails without removing anything. Likewise for any file name with
+ a final `./' or `../' component.
+ tail now ignores the -f option if POSIXLY_CORRECT is set, no file
+ operand is given, and standard input is any FIFO; formerly it did
+ this only for pipes.
+ ** Infrastructure changes
+ Coreutils now uses gnulib via the gnulib-tool script.
+ If you check the source out from CVS, then follow the instructions
+ in README-cvs. Although this represents a large change to the
+ infrastructure, it should cause no change in how the tools work.
+ ** Bug fixes
+ cp --backup no longer fails when the last component of a source file
+ name is "." or "..".
+ "ls --color" would highlight other-writable and sticky directories
+ no differently than regular directories on a file system with
+ dirent.d_type support.
+ "mv -T --verbose --backup=t A B" now prints the " (backup: B.~1~)"
+ suffix when A and B are directories as well as when they are not.
+ mv and "cp -r" no longer fail when invoked with two arguments
+ where the first one names a directory and the second name ends in
+ a slash and doesn't exist. E.g., "mv dir B/", for nonexistent B,
+ now succeeds, once more. This bug was introduced in coreutils-5.3.0.
+
+-------------------------------------------------------------------
+Fri Sep 1 15:56:51 CEST 2006 - schwab@suse.de
+
+- Fix sbin patch [#202632].
+
+-------------------------------------------------------------------
+Mon Aug 21 11:32:53 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 6.1.
+ ** Changes in behavior
+ df now considers BSD "kernfs" file systems to be dummies
+ ** Bug fixes
+ cp --sparse preserves sparseness at the end of a file, even when
+ the file's apparent size is not a multiple of its block size.
+ [introduced with the original design, in fileutils-4.0r, 2000-04-29]
+ df (with a command line argument) once again prints its header
+ [introduced in coreutils-6.0]
+ ls -CF would misalign columns in some cases involving non-stat'able files
+ [introduced in coreutils-6.0]
+
+-------------------------------------------------------------------
+Tue Aug 15 17:50:41 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 6.0.
+ ** Improved robustness
+ df: if the file system claims to have more available than total blocks,
+ report the number of used blocks as being "total - available"
+ (a negative number) rather than as garbage.
+ dircolors: a new autoconf run-test for AIX's buggy strndup function
+ prevents malfunction on that system; may also affect cut, expand,
+ and unexpand.
+ fts no longer changes the current working directory, so its clients
+ (chmod, chown, chgrp, du) no longer malfunction under extreme conditions.
+ pwd and other programs using lib/getcwd.c work even on file systems
+ where dirent.d_ino values are inconsistent with those from stat.st_ino.
+ rm's core is now reentrant: rm --recursive (-r) now processes
+ hierarchies without changing the working directory at all.
+ ** Changes in behavior
+ basename and dirname now treat // as different from / on platforms
+ where the two are distinct.
+ chmod, install, and mkdir now preserve a directory's set-user-ID and
+ set-group-ID bits unless you explicitly request otherwise. E.g.,
+ `chmod 755 DIR' and `chmod u=rwx,go=rx DIR' now preserve DIR's
+ set-user-ID and set-group-ID bits instead of clearing them, and
+ similarly for `mkdir -m 755 DIR' and `mkdir -m u=rwx,go=rx DIR'. To
+ clear the bits, mention them explicitly in a symbolic mode, e.g.,
+ `mkdir -m u=rwx,go=rx,-s DIR'. To set them, mention them explicitly
+ in either a symbolic or a numeric mode, e.g., `mkdir -m 2755 DIR',
+ `mkdir -m u=rwx,go=rx,g+s' DIR. This change is for convenience on
+ systems where these bits inherit from parents. Unfortunately other
+ operating systems are not consistent here, and portable scripts
+ cannot assume the bits are set, cleared, or preserved, even when the
+ bits are explicitly mentioned. For example, OpenBSD 3.9 `mkdir -m
+ 777 D' preserves D's setgid bit but `chmod 777 D' clears it.
+ Conversely, Solaris 10 `mkdir -m 777 D', `mkdir -m g-s D', and
+ `chmod 0777 D' all preserve D's setgid bit, and you must use
+ something like `chmod g-s D' to clear it.
+ `cp --link --no-dereference' now works also on systems where the
+ link system call cannot create a hard link to a symbolic link.
+ This change has no effect on systems with a Linux-based kernel.
+ csplit and nl now use POSIX syntax for regular expressions, not
+ Emacs syntax. As a result, character classes like [[:print:]] and
+ interval expressions like A\{1,9\} now have their usual meaning,
+ . no longer matches the null character, and \ must precede the + and
+ ? operators.
+ date: a command like date -d '2006-04-23 21 days ago' would print
+ the wrong date in some time zones. (see the test for an example)
+ df now considers "none" and "proc" file systems to be dummies and
+ therefore does not normally display them. Also, inaccessible file
+ systems (which can be caused by shadowed mount points or by chrooted
+ bind mounts) are now dummies, too.
+ expr no longer complains about leading ^ in a regular expression
+ (the anchor is ignored), or about regular expressions like A** (the
+ second "*" is ignored). expr now exits with status 2 (not 3) for
+ errors it detects in the expression's values; exit status 3 is now
+ used only for internal errors (such as integer overflow, which expr
+ now checks for).
+ install and mkdir now implement the X permission symbol correctly,
+ e.g., `mkdir -m a+X dir'; previously the X was ignored.
+ install now creates parent directories with mode u=rwx,go=rx (755)
+ instead of using the mode specified by the -m option; and it does
+ not change the owner or group of parent directories. This is for
+ compatibility with BSD and closes some race conditions.
+ ln now uses different (and we hope clearer) diagnostics when it fails.
+ ln -v now acts more like FreeBSD, so it generates output only when
+ successful and the output is easier to parse.
+ ls now defaults to --time-style='locale', not --time-style='posix-long-iso'.
+ However, the 'locale' time style now behaves like 'posix-long-iso'
+ if your locale settings appear to be messed up. This change
+ attempts to have the default be the best of both worlds.
+ mkfifo and mknod no longer set special mode bits (setuid, setgid,
+ and sticky) with the -m option.
+ nohup's usual diagnostic now more precisely specifies the I/O
+ redirections, e.g., "ignoring input and appending output to
+ nohup.out". Also, nohup now redirects stderr to nohup.out (or
+ $HOME/nohup.out) if stdout is closed and stderr is a tty; this is in
+ response to Open Group XCU ERN 71.
+ rm --interactive now takes an optional argument, although the
+ default of using no argument still acts like -i.
+ rm no longer fails to remove an empty, unreadable directory
+ seq changes:
+ seq defaults to a minimal fixed point format that does not lose
+ information if seq's operands are all fixed point decimal numbers.
+ You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623',
+ for example, since the default format now has the same effect.
+ seq now lets you use %a, %A, %E, %F, and %G formats.
+ seq now uses long double internally rather than double.
+ sort now reports incompatible options (e.g., -i and -n) rather than
+ silently ignoring one of them.
+ stat's --format=FMT option now works the way it did before 5.3.0:
+ FMT is automatically newline terminated. The first stable release
+ containing this change was 5.92.
+ stat accepts the new option --printf=FMT, where FMT is *not*
+ automatically newline terminated.
+ stat: backslash escapes are interpreted in a format string specified
+ via --printf=FMT, but not one specified via --format=FMT. That includes
+ octal (\ooo, at most three octal digits), hexadecimal (\xhh, one or
+ two hex digits), and the standard sequences (\a, \b, \f, \n, \r, \t,
+ \v, \", \\).
+ With no operand, 'tail -f' now silently ignores the '-f' only if
+ standard input is a FIFO or pipe and POSIXLY_CORRECT is set.
+ Formerly, it ignored the '-f' when standard input was a FIFO, pipe,
+ or socket.
+ ** Scheduled for removal
+ ptx's --copyright (-C) option is scheduled for removal in 2007, and
+ now evokes a warning. Use --version instead.
+ rm's --directory (-d) option is scheduled for removal in 2006. This
+ option has been silently ignored since coreutils 5.0. On systems
+ that support unlinking of directories, you can use the "unlink"
+ command to unlink a directory.
+ Similarly, we are considering the removal of ln's --directory (-d,
+ -F) option in 2006. Please write to <bug-coreutils@gnu.org> if this
+ would cause a problem for you. On systems that support hard links
+ to directories, you can use the "link" command to create one.
+ ** New programs
+ base64: base64 encoding and decoding (RFC 3548) functionality.
+ sha224sum: print or check a SHA224 (224-bit) checksum
+ sha256sum: print or check a SHA256 (256-bit) checksum
+ sha384sum: print or check a SHA384 (384-bit) checksum
+ sha512sum: print or check a SHA512 (512-bit) checksum
+ shuf: Shuffle lines of text.
+ ** New features
+ chgrp now supports --preserve-root, --no-preserve-root (default),
+ as it was documented to do, and just as chmod, chown, and rm do.
+ New dd iflag= and oflag= flags:
+ 'directory' causes dd to fail unless the file is a directory, on
+ hosts that support this (e.g., Linux kernels, version 2.1.126 and
+ later). This has limited utility but is present for completeness.
+ 'noatime' causes dd to read a file without updating its access
+ time, on hosts that support this (e.g., Linux kernels, version
+ 2.6.8 and later).
+ 'nolinks' causes dd to fail if the file has multiple hard links,
+ on hosts that support this (e.g., Solaris 10 and later).
+ ls accepts the new option --group-directories-first, to make it
+ list directories before files.
+ rm now accepts the -I (--interactive=once) option. This new option
+ prompts once if rm is invoked recursively or if more than three
+ files are being deleted, which is less intrusive than -i prompting
+ for every file, but provides almost the same level of protection
+ against mistakes.
+ shred and sort now accept the --random-source option.
+ sort now accepts the --random-sort (-R) option and `R' ordering option.
+ sort now supports obsolete usages like "sort +1 -2" unless
+ POSIXLY_CORRECT is set. However, when conforming to POSIX
+ 1003.1-2001 "sort +1" still sorts the file named "+1".
+ wc accepts a new option --files0-from=FILE, where FILE contains a
+ list of NUL-terminated file names.
+ ** Bug fixes
+ cat with any of the options, -A -v -e -E -T, when applied to a
+ file in /proc or /sys (linux-specific), would truncate its output,
+ usually printing nothing.
+ cp -p would fail in a /proc-less chroot, on some systems
+ When `cp -RL' encounters the same directory more than once in the
+ hierarchy beneath a single command-line argument, it no longer confuses
+ them with hard-linked directories.
+ fts-using tools (chmod, chown, chgrp, du) no longer fail due to
+ a double-free bug -- it could be triggered by making a directory
+ inaccessible while e.g., du is traversing the hierarchy under it.
+ fts-using tools (chmod, chown, chgrp, du) no longer misinterpret
+ a very long symlink chain as a dangling symlink. Before, such a
+ misinterpretation would cause these tools not to diagnose an ELOOP error.
+ ls --indicator-style=file-type would sometimes stat a symlink
+ unnecessarily.
+ ls --file-type worked like --indicator-style=slash (-p),
+ rather than like --indicator-style=file-type.
+ mv: moving a symlink into the place of an existing non-directory is
+ now done atomically; before, mv would first unlink the destination.
+ mv -T DIR EMPTY_DIR no longer fails unconditionally. Also, mv can
+ now remove an empty destination directory: mkdir -p a b/a; mv a b
+ rm (on systems with openat) can no longer exit before processing
+ all command-line arguments.
+ rm is no longer susceptible to a few low-probability memory leaks.
+ rm -r no longer fails to remove an inaccessible and empty directory
+ rm -r's cycle detection code can no longer be tricked into reporting
+ a false positive (introduced in fileutils-4.1.9).
+ shred --remove FILE no longer segfaults on Gentoo systems
+ sort would fail for large inputs (~50MB) on systems with a buggy
+ mkstemp function. sort and tac now use the replacement mkstemp
+ function, and hence are no longer subject to limitations (of 26 or 32,
+ on the maximum number of files from a given template) on HP-UX 10.20,
+ SunOS 4.1.4, Solaris 2.5.1 and OSF1/Tru64 V4.0F&V5.1.
+ tail -f once again works on a file with the append-only
+ attribute (affects at least Linux ext2, ext3, xfs file systems)
+
+-------------------------------------------------------------------
+Tue Aug 8 15:29:32 CEST 2006 - schwab@suse.de
+
+- Move sux to %{_bindir}.
+
+-------------------------------------------------------------------
+Mon Jun 26 13:20:23 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 5.97.
+ ** Bug fixes
+ rebuild with better autoconf test for when the lstat replacement
+ function is needed -- required for Solaris 9
+ cat with any of the options, -A -v -e -E -T, when applied to a
+ file in /proc or /sys (linux-specific), would truncate its output,
+ usually printing nothing.
+ ** Improved robustness
+ dircolors: a new autoconf run-test for AIX's buggy strndup function
+ prevents malfunction on that system; may also affect cut, expand,
+ and unexpand.
+ ** New features
+ chgrp now supports --preserve-root, --no-preserve-root (default),
+ as it was documented to do, and just as chmod, chown, and rm do.
+
+-------------------------------------------------------------------
+Thu Jun 22 15:38:27 CEST 2006 - schwab@suse.de
+
+- Fix conflict with <fcntl.h>.
+
+-------------------------------------------------------------------
+Mon May 22 13:34:26 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 5.96.
+
+-------------------------------------------------------------------
+Sat May 13 16:39:03 CEST 2006 - schwab@suse.de
+
+- Update to coreutils 5.95.
+
+-------------------------------------------------------------------
+Fri Apr 7 16:34:42 CEST 2006 - cthiel@suse.de
+
+- added Obsoletes: libselinux (hack for bug #156519)
+
+-------------------------------------------------------------------
+Mon Feb 13 01:31:31 CET 2006 - schwab@suse.de
+
+- Fix spurious failure with cp -LR.
+- Move check for /proc.
+
+-------------------------------------------------------------------
+Mon Jan 30 16:27:11 CET 2006 - schwab@suse.de
+
+- Always print newline after format in stat [#145905].
+- Barf if /proc is not mounted.
+
+-------------------------------------------------------------------
+Wed Jan 25 21:30:02 CET 2006 - mls@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Thu Jan 19 16:43:57 CET 2006 - meissner@suse.de
+
+- Do not strip /bin/su.
+
+-------------------------------------------------------------------
+Wed Jan 11 15:20:50 CET 2006 - schwab@suse.de
+
+- Fix infloop when ignoring characters [#141756].
+
+-------------------------------------------------------------------
+Mon Dec 19 12:03:23 CET 2005 - kukuk@suse.de
+
+- Add fallback if futimesat does not work
+
+-------------------------------------------------------------------
+Mon Dec 5 17:15:17 CET 2005 - ke@suse.de
+
+- Fix typo in German translation file; reported by Olaf Hering
+ [#105863].
+
+-------------------------------------------------------------------
+Mon Dec 5 16:53:58 CET 2005 - schwab@suse.de
+
+- Drop SELinux support.
+
+-------------------------------------------------------------------
+Tue Nov 15 16:47:44 CET 2005 - uli@suse.de
+
+- some tests fail on ARM (QEMU problem?); ignore for now
+
+-------------------------------------------------------------------
+Sun Nov 6 17:42:27 CET 2005 - schwab@suse.de
+
+- Update to coreutils 5.93.
+
+-------------------------------------------------------------------
+Wed Nov 2 14:55:10 CET 2005 - schwab@suse.de
+
+- Update to coreutils 5.92.
+- Fix invalid use of va_list.
+- Add some fixes from cvs.
+
+-------------------------------------------------------------------
+Thu Oct 20 10:16:26 CEST 2005 - schwab@suse.de
+
+- Reenable DEFAULT_POSIX2_VERSION.
+
+-------------------------------------------------------------------
+Wed Oct 19 19:04:17 CEST 2005 - agruen@suse.de
+
+- Add acl and xattr patches.
+
+-------------------------------------------------------------------
+Mon Oct 17 15:45:25 CEST 2005 - schwab@suse.de
+
+- Update to coreutils 5.91.
+
+-------------------------------------------------------------------
+Sat Oct 1 16:05:24 CEST 2005 - schwab@suse.de
+
+- Update to coreutils 5.90.
+- Disable acl patches for now.
+
+-------------------------------------------------------------------
+Sun Sep 25 21:33:05 CEST 2005 - schwab@suse.de
+
+- Fix warning.
+
+-------------------------------------------------------------------
+Wed Aug 24 15:07:03 CEST 2005 - werner@suse.de
+
+- Let `su' handle /sbin and /usr/sbin in path
+
+-------------------------------------------------------------------
+Mon Aug 1 16:48:44 CEST 2005 - kukuk@suse.de
+
+- And yet another uninitialized variable fix.
+
+-------------------------------------------------------------------
+Fri Jul 29 16:01:07 CEST 2005 - schwab@suse.de
+
+- Fix another uninitialized variable.
+
+-------------------------------------------------------------------
+Wed Jul 6 18:33:56 CEST 2005 - schwab@suse.de
+
+- Fix uninitialized variable.
+
+-------------------------------------------------------------------
+Mon Jul 4 11:00:33 CEST 2005 - schwab@suse.de
+
+- Update i18n patch.
+
+-------------------------------------------------------------------
+Mon Jun 20 23:11:53 CEST 2005 - schwab@suse.de
+
+- Fix last change.
+
+-------------------------------------------------------------------
+Wed Jun 15 17:34:06 CEST 2005 - kukuk@suse.de
+
+- Compile/link su with -fpie/-pie
+
+-------------------------------------------------------------------
+Sat May 21 16:46:32 CEST 2005 - kukuk@suse.de
+
+- Add support for /etc/default/su
+
+-------------------------------------------------------------------
+Mon May 2 11:32:05 CEST 2005 - kukuk@suse.de
+
+- Don't overwrite PATH if su is called with "-" option.
+
+-------------------------------------------------------------------
+Wed Mar 2 14:29:21 CET 2005 - schwab@suse.de
+
+- Fix merge error [#67103].
+
+-------------------------------------------------------------------
+Mon Feb 28 16:18:57 CET 2005 - schwab@suse.de
+
+- Call pam_getenvlist before pam_end.
+
+-------------------------------------------------------------------
+Mon Feb 28 13:16:14 CET 2005 - schwab@suse.de
+
+- Link su to sux [#66830].
+
+-------------------------------------------------------------------
+Wed Feb 2 19:48:49 CET 2005 - schwab@suse.de
+
+- Handle xfs and jfs in stat [#50415].
+
+-------------------------------------------------------------------
+Wed Feb 2 02:02:28 CET 2005 - schwab@suse.de
+
+- Handle subfs like autofs.
+
+-------------------------------------------------------------------
+Tue Jan 25 13:52:57 CET 2005 - schwab@suse.de
+
+- Fix path_concat.
+
+-------------------------------------------------------------------
+Thu Jan 20 17:26:10 CET 2005 - schwab@suse.de
+
+- Use pam_xauth [#42238].
+
+-------------------------------------------------------------------
+Fri Jan 14 22:04:46 CET 2005 - schwab@suse.de
+
+- Fix merge error [#49853].
+
+-------------------------------------------------------------------
+Tue Jan 11 18:39:44 CET 2005 - schwab@suse.de
+
+- Update to coreutils 5.3.0.
+
+-------------------------------------------------------------------
+Mon Nov 8 17:15:39 CET 2004 - kukuk@suse.de
+
+- Use common-* PAM config files for su PAM configuration
+
+-------------------------------------------------------------------
+Mon Oct 25 15:01:04 CEST 2004 - schwab@suse.de
+
+- Fix last change.
+- Fix selinux patch.
+
+-------------------------------------------------------------------
+Wed Oct 20 01:55:31 CEST 2004 - ro@suse.de
+
+- remove no language support (nb is already there)
+
+-------------------------------------------------------------------
+Sat Oct 2 03:08:31 CEST 2004 - agruen@suse.de
+
+- #46609: Fix chown and chgrp utilities for uid == (uid_t) -1 and
+ gid == (gid_t) -1 case.
+- Add missing #include to have NULL defined in lib/acl.c
+
+-------------------------------------------------------------------
+Fri Sep 10 00:13:28 CEST 2004 - schwab@suse.de
+
+- Fix uninitialized variable [#44929].
+- Fix selinux patch.
+
+-------------------------------------------------------------------
+Wed Aug 25 13:32:20 CEST 2004 - schwab@suse.de
+
+- Fix hardlink accounting patch.
+
+-------------------------------------------------------------------
+Mon May 24 18:07:35 CEST 2004 - schwab@suse.de
+
+- Update testsuite for change in chown.
+
+-------------------------------------------------------------------
+Mon May 24 16:34:33 CEST 2004 - schwab@suse.de
+
+- Precompute length in caller of ismbblank to avoid quadratic behaviour
+ [#40741].
+
+-------------------------------------------------------------------
+Mon May 17 15:33:12 CEST 2004 - schwab@suse.de
+
+- Fix handling of symlinks in chown [#40691].
+
+-------------------------------------------------------------------
+Sat Apr 17 20:09:11 CEST 2004 - schwab@suse.de
+
+- Pacify autobuild.
+
+-------------------------------------------------------------------
+Fri Apr 2 14:48:24 CEST 2004 - schwab@suse.de
+
+- Add support for IUTF8 in stty.
+
+-------------------------------------------------------------------
+Tue Mar 30 18:39:10 CEST 2004 - schwab@suse.de
+
+- Fix merge error in selinux patch [#37431].
+
+-------------------------------------------------------------------
+Mon Mar 29 14:51:59 CEST 2004 - schwab@suse.de
+
+- Fix hardlink accounting in du.
+
+-------------------------------------------------------------------
+Mon Mar 22 14:19:59 CET 2004 - schwab@suse.de
+
+- Fix race in the testsuite.
+
+-------------------------------------------------------------------
+Mon Mar 15 16:21:20 CET 2004 - kukuk@suse.de
+
+- Update SELinux patch to new libselinux interface
+
+-------------------------------------------------------------------
+Mon Mar 15 11:25:54 CET 2004 - schwab@suse.de
+
+- Fix date parsing.
+
+-------------------------------------------------------------------
+Sat Mar 13 18:21:40 CET 2004 - schwab@suse.de
+
+- Update to coreutils 5.2.1.
+ * Includes mv fix.
+ * Fix sparse handling in cp.
+ * Fix descriptor leak in nohup.
+ * Fix POSIX issues in expr.
+ * Always allow user.group in chown.
+
+-------------------------------------------------------------------
+Fri Mar 12 18:18:33 CET 2004 - schwab@suse.de
+
+- Fix sysinfo patch [#35337].
+
+-------------------------------------------------------------------
+Fri Mar 12 16:57:21 CET 2004 - schwab@suse.de
+
+- Fix preserving links in mv.
+
+-------------------------------------------------------------------
+Wed Mar 3 15:28:06 CET 2004 - schwab@suse.de
+
+- Fix help output from mkdir.
+
+-------------------------------------------------------------------
+Fri Feb 20 01:06:39 CET 2004 - schwab@suse.de
+
+- Update to coreutils 5.2.0.
+
+-------------------------------------------------------------------
+Mon Feb 9 18:03:45 CET 2004 - schwab@suse.de
+
+- Update to coreutils 5.1.3.
+
+-------------------------------------------------------------------
+Mon Feb 2 17:20:11 CET 2004 - agruen@suse.de
+
+- Update acl and xattr patches, and add some Changelog text.
+
+-------------------------------------------------------------------
+Mon Jan 26 14:34:12 CET 2004 - schwab@suse.de
+
+- Update to coreutils 5.1.2.
+
+-------------------------------------------------------------------
+Fri Jan 23 17:16:32 CET 2004 - schwab@suse.de
+
+- Don't link [ to test.
+
+-------------------------------------------------------------------
+Mon Jan 19 13:26:00 CET 2004 - schwab@suse.de
+
+- Update to coreutils 5.1.1.
+- Default to POSIX.2-1992.
+
+-------------------------------------------------------------------
+Fri Jan 16 12:26:48 CET 2004 - kukuk@suse.de
+
+- Add pam-devel to neededforbuild
+
+-------------------------------------------------------------------
+Fri Jan 9 13:51:53 CET 2004 - schwab@suse.de
+
+- Fix spurious test failure.
+
+-------------------------------------------------------------------
+Thu Jan 8 16:48:32 CET 2004 - schwab@suse.de
+
+- Update to coreutils 5.1.0.
+
+-------------------------------------------------------------------
+Fri Dec 12 23:08:27 CET 2003 - schwab@suse.de
+
+- Fix use of AC_SEARCH_LIBS.
+
+-------------------------------------------------------------------
+Tue Dec 9 17:31:09 CET 2003 - schwab@suse.de
+
+- Cleanup SELinux patch.
+
+-------------------------------------------------------------------
+Tue Dec 9 16:07:28 CET 2003 - kukuk@suse.de
+
+- Add SELinux patch.
+
+-------------------------------------------------------------------
+Wed Nov 26 11:59:34 CET 2003 - schwab@suse.de
+
+- Fix sorting of months in multibyte case [#33299].
+
+-------------------------------------------------------------------
+Wed Oct 22 15:33:21 CEST 2003 - schwab@suse.de
+
+- Fix building without extended attributes.
+
+-------------------------------------------------------------------
+Wed Oct 15 15:17:11 CEST 2003 - schwab@suse.de
+
+- Cleanup sysinfo patch.
+
+-------------------------------------------------------------------
+Fri Sep 19 11:09:36 CEST 2003 - kukuk@suse.de
+
+- Add missing textutil to Provides
+
+-------------------------------------------------------------------
+Mon Aug 25 17:42:23 CEST 2003 - agruen@suse.de
+
+- Fix uname command to report reasonable processor and platform
+ information (coreutils-sysinfo.diff: based on similar RedHat
+ patch).
+
+-------------------------------------------------------------------
+Mon Jul 21 15:23:56 CEST 2003 - schwab@suse.de
+
+- Fix typo in i18n patch for join.
+
+-------------------------------------------------------------------
+Fri Jul 18 12:05:56 CEST 2003 - schwab@suse.de
+
+- Avoid abort in sort on inconsistent locales [#26506].
+
+-------------------------------------------------------------------
+Tue Jul 15 15:16:37 CEST 2003 - okir@suse.de
+
+- make su export variables declared via pam_putenv
+
+-------------------------------------------------------------------
+Wed May 28 10:15:39 CEST 2003 - kukuk@suse.de
+
+- PAM fixes for su:
+ - Move pam_open_session call before dropping privilegs, session
+ management needs max. possible credentials and needs to be done
+ before we change into the home directory of the user.
+ - Don't set PAM_TTY and PAM_RUSER to fake names.
+ - Use conversion function from libpam_misc.
+
+-------------------------------------------------------------------
+Fri May 16 11:11:44 CEST 2003 - schwab@suse.de
+
+- Fix exit status from su.
+
+-------------------------------------------------------------------
+Thu Apr 24 11:43:14 CEST 2003 - ro@suse.de
+
+- fix head calling syntax
+
+-------------------------------------------------------------------
+Mon Apr 7 13:11:19 CEST 2003 - schwab@suse.de
+
+- Only delete info entries when removing last version.
+
+-------------------------------------------------------------------
+Fri Apr 4 17:58:20 CEST 2003 - schwab@suse.de
+
+- Update to coreutils 5.0.
+
+-------------------------------------------------------------------
+Mon Mar 31 12:53:29 CEST 2003 - schwab@suse.de
+
+- Update to coreutils 4.5.12.
+
+-------------------------------------------------------------------
+Thu Mar 20 18:10:25 CET 2003 - schwab@suse.de
+
+- Update to coreutils 4.5.11.
+
+-------------------------------------------------------------------
+Mon Mar 10 13:42:36 CET 2003 - schwab@suse.de
+
+- Fix LFS bug in du [#24960].
+
+-------------------------------------------------------------------
+Thu Feb 27 15:39:06 CET 2003 - schwab@suse.de
+
+- Readd textutils i18n patches.
+
+-------------------------------------------------------------------
+Thu Feb 27 14:53:19 CET 2003 - agruen@suse.de
+
+- Per hint from Andreas Schwab, don't use awk in autoconf. (The
+ improved test is simpler, too.)
+
+-------------------------------------------------------------------
+Thu Feb 27 05:29:05 CET 2003 - agruen@suse.de
+
+- Fix autoconf test for attr_copy_file that caused all binaries
+ to be linked needlessly against libattr.so.
+
+-------------------------------------------------------------------
+Tue Feb 25 15:18:39 CET 2003 - agruen@suse.de
+
+- Extended attribute copying: Use the newly exported
+ attr_copy_check_permissions() callback exported by libattr.so,
+ so that the EA copying done by coreutils is consistent with
+ other apps [#24244].
+
+-------------------------------------------------------------------
+Mon Feb 24 16:27:21 CET 2003 - schwab@suse.de
+
+- Update to coreutils 4.5.8.
+ * Fixes bugs in du.
+
+-------------------------------------------------------------------
+Mon Feb 17 15:00:04 CET 2003 - agruen@suse.de
+
+- Add extended attribute copying patch: Affects cp, mv, install.
+ See the cp manual page for details on the changes in cp. The
+ mv utility always tries to copy extended attributes; install
+ never does.
+
+-------------------------------------------------------------------
+Mon Feb 10 13:16:58 CET 2003 - schwab@suse.de
+
+- Update to coreutils 4.5.7.
+
+-------------------------------------------------------------------
+Fri Feb 7 13:47:58 CET 2003 - kukuk@suse.de
+
+- Use pam_unix2.so instead of pam_unix.so, use same rules for
+ password changing as passwd.
+
+-------------------------------------------------------------------
+Thu Feb 6 17:48:08 CET 2003 - schwab@suse.de
+
+- Use %install_info.
+
+-------------------------------------------------------------------
+Thu Feb 6 17:05:42 CET 2003 - schwab@suse.de
+
+- Update to coreutils 4.5.6.
+
+-------------------------------------------------------------------
+Mon Feb 3 14:47:47 CET 2003 - schwab@suse.de
+
+- Package created, combining textutils, sh-utils and fileutils.
+
diff --git a/packaging/coreutils.spec b/packaging/coreutils.spec
new file mode 100644
index 000000000..756865f86
--- /dev/null
+++ b/packaging/coreutils.spec
@@ -0,0 +1,97 @@
+Name: coreutils
+Summary: GNU Core Utilities
+License: GPL-3.0+
+Group: System/Base
+BuildRequires: automake
+BuildRequires: gmp-devel
+BuildRequires: help2man
+BuildRequires: libacl-devel
+BuildRequires: libcap-devel
+BuildRequires: pam-devel
+BuildRequires: xz
+Url: http://www.gnu.org/software/coreutils/
+Version: 8.20
+Release: 0
+Provides: fileutils = %{version}
+Provides: mktemp = %{version}
+Provides: sh-utils = %{version}
+Provides: stat = %version}
+Provides: textutils = %{version}
+Obsoletes: fileutils < %{version}
+Obsoletes: mktemp < %{version}
+Obsoletes: sh-utils < %{version}
+Obsoletes: stat < %version}
+Obsoletes: textutils < %{version}
+Requires: pam >= 1.1.1.90
+Source: coreutils-%{version}.tar.xz
+Source1: su.pamd
+Source2: su.default
+Source3: baselibs.conf
+Source4: coreutils-%{version}.de.po.xz
+
+%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
+
+%build
+./bootstrap
+AUTOPOINT=true autoreconf -fi
+export CFLAGS="%optflags -Wall"
+%configure --libexecdir=%{_libdir} --without-included-regex \
+ --enable-install-program=arch,su \
+ gl_cv_func_printf_directive_n=yes \
+ gl_cv_func_isnanl_works=yes \
+ DEFAULT_POSIX2_VERSION=199209
+
+make -C po update-po
+make %{?_smp_mflags} V=1
+
+%install
+%makeinstall pkglibexecdir=%{_libdir}/%{name}
+test -f %{buildroot}%{_bindir}/su || \
+ install src/su %{buildroot}%{_bindir}/su
+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
+install -d -m 755 %{buildroot}/etc/default
+install -m 644 %{S:2} %{buildroot}/etc/default/su
+echo '.so man1/test.1' > %{buildroot}/%{_mandir}/man1/\[.1
+
+%find_lang %name
+
+%post
+%install_info --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
+
+%postun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/coreutils.info.gz
+
+
+%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}/*
+%{_libdir}/%{name}
+%doc %{_infodir}/coreutils.info*.gz
+%doc %{_mandir}/man1/*.1.gz
+%dir %{_prefix}/share/locale/*/LC_TIME
+
+
+%changelog
diff --git a/packaging/su.default b/packaging/su.default
new file mode 100644
index 000000000..67a3dfea0
--- /dev/null
+++ b/packaging/su.default
@@ -0,0 +1,11 @@
+# Per default, only "su -" will set a new PATH.
+# If this variable is changed to "yes" (default is "no"),
+# every su call will overwrite the PATH variable.
+ALWAYS_SET_PATH=no
+
+# Default path.
+PATH=/usr/local/bin:/bin:/usr/bin
+
+# Default path for a user invoking su to root.
+SUPATH=/usr/sbin:/bin:/usr/bin:/sbin
+
diff --git a/packaging/su.pamd b/packaging/su.pamd
new file mode 100644
index 000000000..ec6ba2c08
--- /dev/null
+++ b/packaging/su.pamd
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth include common-auth
+account sufficient pam_rootok.so
+account include common-account
+password include common-password
+session include common-session
+session optional pam_xauth.so