- updated info,tests patches
- removed outdated format-security patch
---- coreutils-8.21/doc/coreutils.texi.orig 2013-02-11 10:37:28.000000000 +0100
-+++ coreutils-8.21/doc/coreutils.texi 2013-02-24 17:41:00.409391351 +0100
+--- coreutils-8.22/doc/coreutils.texi.orig 2013-12-13 03:43:10.000000000 +0100
++++ coreutils-8.22/doc/coreutils.texi 2013-12-14 12:02:04.754108101 +0100
@@ -20,120 +20,109 @@
@syncodeindex pg cp
@syncodeindex vr cp
@@ -20,120 +20,109 @@
@syncodeindex pg cp
@syncodeindex vr cp
* Delaying:: sleep
* Numeric operations:: factor seq
* File permissions:: Access modes
* Delaying:: sleep
* Numeric operations:: factor seq
* File permissions:: Access modes
+* pr:: Paginate or columnate files for printing
+* fold:: Wrap input lines to fit in specified width
+* pr:: Paginate or columnate files for printing
+* fold:: Wrap input lines to fit in specified width
- @command{numfmt}: General Options, Units
-
Output of parts of files
-* head invocation:: Output the first part of files
Output of parts of files
-* head invocation:: Output the first part of files
@command{ptx}: Produce permuted indexes
@command{ptx}: Produce permuted indexes
@command{tr}: Translate, squeeze, and/or delete characters
@command{tr}: Translate, squeeze, and/or delete characters
@command{ls}: List directory contents
@command{ls}: List directory contents
@command{test}: Check file types and compare values
@command{test}: Check file types and compare values
@command{stty}: Print or change terminal characteristics
@command{stty}: Print or change terminal characteristics
@command{date}: Print or set system date and time
@command{date}: Print or set system date and time
@section @command{od}: Write files in octal or other formats
@pindex od
@section @command{od}: Write files in octal or other formats
@pindex od
@section @command{base64}: Transform data into printable data
@pindex base64
@section @command{base64}: Transform data into printable data
@pindex base64
These commands reformat the contents of files.
@menu
These commands reformat the contents of files.
@menu
@section @command{fmt}: Reformat paragraph text
@pindex fmt
@section @command{fmt}: Reformat paragraph text
@pindex fmt
@section @command{numfmt}: Reformat numbers
@pindex numfmt
@section @command{numfmt}: Reformat numbers
@pindex numfmt
== 2,14,74,83,648==
@end example
== 2,14,74,83,648==
@end example
@section @command{pr}: Paginate or columnate files for printing
@pindex pr
@section @command{pr}: Paginate or columnate files for printing
@pindex pr
@cindex time formats
@cindex formatting times
Format header dates using @var{format}, using the same conventions as
@cindex time formats
@cindex formatting times
Format header dates using @var{format}, using the same conventions as
Except for directives, which start with
@samp{%}, characters in @var{format} are printed unchanged. You can use
this option to specify an arbitrary string in place of the header date,
Except for directives, which start with
@samp{%}, characters in @var{format} are printed unchanged. You can use
this option to specify an arbitrary string in place of the header date,
@section @command{fold}: Wrap input lines to fit in specified width
@pindex fold
@section @command{fold}: Wrap input lines to fit in specified width
@pindex fold
These commands output pieces of the input.
@menu
These commands output pieces of the input.
@menu
@section @command{head}: Output the first part of files
@pindex head
@section @command{head}: Output the first part of files
@pindex head
@section @command{tail}: Output the last part of files
@pindex tail
@section @command{tail}: Output the last part of files
@pindex tail
@section @command{split}: Split a file into pieces.
@pindex split
@section @command{split}: Split a file into pieces.
@pindex split
@section @command{csplit}: Split a file into context-determined pieces
@pindex csplit
@section @command{csplit}: Split a file into context-determined pieces
@pindex csplit
@section @command{wc}: Print newline, word, and byte counts
@pindex wc
@section @command{wc}: Print newline, word, and byte counts
@pindex wc
@section @command{sum}: Print checksum and block counts
@pindex sum
@section @command{sum}: Print checksum and block counts
@pindex sum
@section @command{cksum}: Print CRC checksum and byte counts
@pindex cksum
@section @command{cksum}: Print CRC checksum and byte counts
@pindex cksum
@section @command{md5sum}: Print or check MD5 digests
@pindex md5sum
@section @command{md5sum}: Print or check MD5 digests
@pindex md5sum
@section @command{sha1sum}: Print or check SHA-1 digests
@pindex sha1sum
@section @command{sha1sum}: Print or check SHA-1 digests
@pindex sha1sum
@command{sha1sum} computes a 160-bit checksum for each specified
@var{file}. The usage and options of this command are precisely the
@command{sha1sum} computes a 160-bit checksum for each specified
@var{file}. The usage and options of this command are precisely the
Note: The SHA-1 digest is more secure than MD5, and no collisions of
it are known (different files having the same fingerprint). However,
Note: The SHA-1 digest is more secure than MD5, and no collisions of
it are known (different files having the same fingerprint). However,
various lengths (respectively 224, 256, 384 and 512 bits),
collectively known as the SHA-2 hashes. The usage and options of
these commands are precisely the same as for @command{md5sum}.
various lengths (respectively 224, 256, 384 and 512 bits),
collectively known as the SHA-2 hashes. The usage and options of
these commands are precisely the same as for @command{md5sum}.
Note: The SHA384 and SHA512 digests are considerably slower to
compute, especially on 32-bit computers, than SHA224 or SHA256.
Note: The SHA384 and SHA512 digests are considerably slower to
compute, especially on 32-bit computers, than SHA224 or SHA256.
These commands work with (or produce) sorted files.
@menu
These commands work with (or produce) sorted files.
@menu
@section @command{sort}: Sort text files
@pindex sort
@section @command{sort}: Sort text files
@pindex sort
Sort by hashing the input keys and then sorting the hash values.
Choose the hash function at random, ensuring that it is free of
collisions so that differing keys have differing hash values. This is
Sort by hashing the input keys and then sorting the hash values.
Choose the hash function at random, ensuring that it is free of
collisions so that differing keys have differing hash values. This is
except that keys with the same value sort together.
If multiple random sort fields are specified, the same random hash
except that keys with the same value sort together.
If multiple random sort fields are specified, the same random hash
@var{n} is set to the number of available processors, but limited
to 8, as there are diminishing performance gains after that.
Note also that using @var{n} threads increases the memory usage by
@var{n} is set to the number of available processors, but limited
to 8, as there are diminishing performance gains after that.
Note also that using @var{n} threads increases the memory usage by
this equivalence does not extend to arbitrary @command{sort} options.
For example, @code{sort -n -u} inspects only the value of the initial
numeric string when checking for uniqueness, whereas @code{sort -n |
this equivalence does not extend to arbitrary @command{sort} options.
For example, @code{sort -n -u} inspects only the value of the initial
numeric string when checking for uniqueness, whereas @code{sort -n |
@macro zeroTerminatedOption
@item -z
@macro zeroTerminatedOption
@item -z
@section @command{shuf}: Shuffling text
@pindex shuf
@section @command{shuf}: Shuffling text
@pindex shuf
@section @command{uniq}: Uniquify files
@pindex uniq
@section @command{uniq}: Uniquify files
@pindex uniq
The input need not be sorted, but repeated input lines are detected
only if they are adjacent. If you want to discard non-adjacent
duplicate lines, perhaps you want to use @code{sort -u}.
The input need not be sorted, but repeated input lines are detected
only if they are adjacent. If you want to discard non-adjacent
duplicate lines, perhaps you want to use @code{sort -u}.
@vindex LC_COLLATE
Comparisons honor the rules specified by the @env{LC_COLLATE}
@vindex LC_COLLATE
Comparisons honor the rules specified by the @env{LC_COLLATE}
@section @command{comm}: Compare two sorted files line by line
@pindex comm
@section @command{comm}: Compare two sorted files line by line
@pindex comm
@section @command{ptx}: Produce permuted indexes
@pindex ptx
@section @command{ptx}: Produce permuted indexes
@pindex ptx
@section @command{tsort}: Topological sort
@pindex tsort
@section @command{tsort}: Topological sort
@pindex tsort
@chapter Operating on fields
@menu
@chapter Operating on fields
@menu
@section @command{cut}: Print selected parts of lines
@pindex cut
@section @command{cut}: Print selected parts of lines
@pindex cut
@section @command{paste}: Merge lines of files
@pindex paste
@section @command{paste}: Merge lines of files
@pindex paste
@section @command{join}: Join lines on a common field
@pindex join
@section @command{join}: Join lines on a common field
@pindex join
This commands operate on individual characters.
@menu
This commands operate on individual characters.
@menu
@section @command{tr}: Translate, squeeze, and/or delete characters
@pindex tr
@section @command{tr}: Translate, squeeze, and/or delete characters
@pindex tr
@section @command{expand}: Convert tabs to spaces
@pindex expand
@section @command{expand}: Convert tabs to spaces
@pindex expand
@section @command{unexpand}: Convert spaces to tabs
@pindex unexpand
@section @command{unexpand}: Convert spaces to tabs
@pindex unexpand
and @command{vdir}, which list information about files.
@menu
and @command{vdir}, which list information about files.
@menu
@section @command{ls}: List directory contents
@pindex ls
@section @command{ls}: List directory contents
@pindex ls
@item +@var{format}
@vindex LC_TIME
List timestamps using @var{format}, where @var{format} is interpreted
@item +@var{format}
@vindex LC_TIME
List timestamps using @var{format}, where @var{format} is interpreted
For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
@command{ls} to list timestamps like @samp{2002-03-30 23:45:56}. As
with @command{date}, @var{format}'s interpretation is affected by the
For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
@command{ls} to list timestamps like @samp{2002-03-30 23:45:56}. As
with @command{date}, @var{format}'s interpretation is affected by the
@section @command{dir}: Briefly list directory contents
@pindex dir
@section @command{dir}: Briefly list directory contents
@pindex dir
-b}; that is, by default files are listed in columns, sorted vertically,
and special characters are represented by backslash escape sequences.
-b}; that is, by default files are listed in columns, sorted vertically,
and special characters are represented by backslash escape sequences.
@section @command{vdir}: Verbosely list directory contents
@pindex vdir
@section @command{vdir}: Verbosely list directory contents
@pindex vdir
-b}; that is, by default files are listed in long format and special
characters are represented by backslash escape sequences.
-b}; that is, by default files are listed in long format and special
characters are represented by backslash escape sequences.
@section @command{dircolors}: Color setup for @command{ls}
@pindex dircolors
@section @command{dircolors}: Color setup for @command{ls}
@pindex dircolors
copying, moving (renaming), and deleting (removing).
@menu
copying, moving (renaming), and deleting (removing).
@menu
@section @command{cp}: Copy files and directories
@pindex cp
@section @command{cp}: Copy files and directories
@pindex cp
@section @command{dd}: Convert and copy a file
@pindex dd
@section @command{dd}: Convert and copy a file
@pindex dd
@section @command{install}: Copy files and set attributes
@pindex install
@section @command{install}: Copy files and set attributes
@pindex install
@section @command{mv}: Move (rename) files
@pindex mv
@section @command{mv}: Move (rename) files
@pindex mv
@section @command{rm}: Remove files or directories
@pindex rm
@section @command{rm}: Remove files or directories
@pindex rm
@section @command{shred}: Remove files more securely
@pindex shred
@section @command{shred}: Remove files more securely
@pindex shred
@command{shred} overwrites devices or files, to help prevent even
very expensive hardware from recovering the data.
@command{shred} overwrites devices or files, to help prevent even
very expensive hardware from recovering the data.
not actually destroyed. Only the index listing where the file is
stored is destroyed, and the storage is made available for reuse.
There are undelete utilities that will attempt to reconstruct the index
not actually destroyed. Only the index listing where the file is
stored is destroyed, and the storage is made available for reuse.
There are undelete utilities that will attempt to reconstruct the index
(FIFOs), symbolic links, sockets, and so-called @dfn{special files}.
@menu
(FIFOs), symbolic links, sockets, and so-called @dfn{special files}.
@menu
@section @command{link}: Make a hard link via the link syscall
@pindex link
@section @command{link}: Make a hard link via the link syscall
@pindex link
@code{link} function. @xref{Hard Links, , , libc,
The GNU C Library Reference Manual}.
It avoids the bells and whistles of the more commonly-used
@code{link} function. @xref{Hard Links, , , libc,
The GNU C Library Reference Manual}.
It avoids the bells and whistles of the more commonly-used
@section @command{ln}: Make links between files
@pindex ln
@section @command{ln}: Make links between files
@pindex ln
-@@ -9760,7 +9742,7 @@
- '/tmp/file' -> '../a/file'
- @end smallexample
-
+@@ -9932,7 +9914,7 @@
+ Relative symbolic links are generated based on their canonicalized
+ containing directory, and canonicalized targets. I.E. all symbolic
+ links in these file names will be resolved.
-@xref{realpath invocation}, which gives greater control
+@xref{realpath}, which gives greater control
-@xref{realpath invocation}, which gives greater control
+@xref{realpath}, which gives greater control
- over relative file name generation.
+ over relative file name generation, as demonstrated in the following example:
- @item -s
-@@ -9824,7 +9806,7 @@
+ @example
+@@ -10009,7 +9991,7 @@
@section @command{mkdir}: Make directories
@pindex mkdir
@section @command{mkdir}: Make directories
@pindex mkdir
@section @command{mkfifo}: Make FIFOs (named pipes)
@pindex mkfifo
@section @command{mkfifo}: Make FIFOs (named pipes)
@pindex mkfifo
@section @command{mknod}: Make block or character special files
@pindex mknod
@section @command{mknod}: Make block or character special files
@pindex mknod
@section @command{readlink}: Print value of a symlink or canonical file name
@pindex readlink
@section @command{readlink}: Print value of a symlink or canonical file name
@pindex readlink
@section @command{rmdir}: Remove empty directories
@pindex rmdir
@section @command{rmdir}: Remove empty directories
@pindex rmdir
-@@ -10183,12 +10165,12 @@
+@@ -10350,12 +10332,12 @@
@section @command{unlink}: Remove files via the unlink syscall
@pindex unlink
@section @command{unlink}: Remove files via the unlink syscall
@pindex unlink
@code{unlink} function. @xref{Deleting Files, , , libc,
The GNU C Library Reference Manual}. Synopsis:
It avoids the bells and whistles of the more commonly-used
@code{unlink} function. @xref{Deleting Files, , , libc,
The GNU C Library Reference Manual}. Synopsis:
It avoids the bells and whistles of the more commonly-used
@example
unlink @var{filename}
@example
unlink @var{filename}
-@@ -10233,14 +10215,14 @@
+@@ -10400,14 +10382,14 @@
These commands change file attributes.
@menu
These commands change file attributes.
@menu
@section @command{chown}: Change file owner and group
@pindex chown
@section @command{chown}: Change file owner and group
@pindex chown
@section @command{chgrp}: Change group ownership
@pindex chgrp
@section @command{chgrp}: Change group ownership
@pindex chgrp
@section @command{chmod}: Change access permissions
@pindex chmod
@section @command{chmod}: Change access permissions
@pindex chmod
@section @command{touch}: Change file timestamps
@pindex touch
@section @command{touch}: Change file timestamps
@pindex touch
-@@ -10888,15 +10870,15 @@
+@@ -11055,15 +11037,15 @@
file status information, and write buffers to disk.
@menu
file status information, and write buffers to disk.
@menu
@section @command{df}: Report file system disk space usage
@pindex df
@section @command{df}: Report file system disk space usage
@pindex df
or @option{-x} is used together with a file name argument.
or @option{-x} is used together with a file name argument.
@section @command{du}: Estimate file space usage
@pindex du
@section @command{du}: Estimate file space usage
@pindex du
@item +@var{format}
@vindex LC_TIME
List timestamps using @var{format}, where @var{format} is interpreted
@item +@var{format}
@vindex LC_TIME
List timestamps using @var{format}, where @var{format} is interpreted
For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
@command{du} to list timestamps like @samp{2002-03-30 23:45:56}. As
with @command{date}, @var{format}'s interpretation is affected by the
For example, @option{--time-style="+%Y-%m-%d %H:%M:%S"} causes
@command{du} to list timestamps like @samp{2002-03-30 23:45:56}. As
with @command{date}, @var{format}'s interpretation is affected by the
@section @command{stat}: Report file or file system status
@pindex stat
@section @command{stat}: Report file or file system status
@pindex stat
@section @command{sync}: Synchronize data on disk with memory
@pindex sync
@section @command{sync}: Synchronize data on disk with memory
@pindex sync
@section @command{truncate}: Shrink or extend the size of a file
@pindex truncate
@section @command{truncate}: Shrink or extend the size of a file
@pindex truncate
-@@ -11779,13 +11761,13 @@
+@@ -11980,13 +11962,13 @@
This section describes commands that display text strings.
@menu
This section describes commands that display text strings.
@menu
@section @command{echo}: Print a line of text
@pindex echo
@section @command{echo}: Print a line of text
@pindex echo
-@@ -11874,12 +11856,12 @@
+@@ -12075,12 +12057,12 @@
@var{string} contains a backslash or if the first argument is
@option{-n}. Portable programs can use the @command{printf} command
if they need to omit trailing newlines or output control characters or
@var{string} contains a backslash or if the first argument is
@option{-n}. Portable programs can use the @command{printf} command
if they need to omit trailing newlines or output control characters or
@section @command{printf}: Format and print data
@pindex printf
@section @command{printf}: Format and print data
@pindex printf
@section @command{yes}: Print a string until interrupted
@pindex yes
@section @command{yes}: Print a string until interrupted
@pindex yes
-@@ -12064,14 +12046,14 @@
+@@ -12265,14 +12247,14 @@
@section @command{false}: Do nothing, unsuccessfully
@pindex false
@section @command{false}: Do nothing, unsuccessfully
@pindex false
@section @command{true}: Do nothing, successfully
@pindex true
@section @command{true}: Do nothing, successfully
@pindex true
more secure and faster than a shell script implementation, and may safely
be used as a dummy shell for the purpose of disabling accounts.
more secure and faster than a shell script implementation, and may safely
be used as a dummy shell for the purpose of disabling accounts.
@section @command{test}: Check file types and compare values
@pindex test
@section @command{test}: Check file types and compare values
@pindex test
@section @command{expr}: Evaluate expressions
@pindex expr
@section @command{expr}: Evaluate expressions
@pindex expr
-@@ -12747,11 +12729,11 @@
+@@ -12948,11 +12930,11 @@
it's described here.
@menu
it's described here.
@menu
@section @command{tee}: Redirect output to multiple files or processes
@pindex tee
@section @command{tee}: Redirect output to multiple files or processes
@pindex tee
-@@ -12912,15 +12894,15 @@
+@@ -13113,15 +13095,15 @@
This section describes commands that manipulate file names.
@menu
This section describes commands that manipulate file names.
@menu
@section @command{basename}: Strip directory and suffix from a file name
@pindex basename
@section @command{basename}: Strip directory and suffix from a file name
@pindex basename
@section @command{dirname}: Strip last file name component
@pindex dirname
@section @command{dirname}: Strip last file name component
@pindex dirname
@section @command{pathchk}: Check file name validity and portability
@pindex pathchk
@section @command{pathchk}: Check file name validity and portability
@pindex pathchk
1 otherwise.
@end display
1 otherwise.
@end display
@section @command{mktemp}: Create temporary file or directory
@pindex mktemp
@section @command{mktemp}: Create temporary file or directory
@pindex mktemp
@section @command{realpath}: Print the resolved file name.
@pindex realpath
@section @command{realpath}: Print the resolved file name.
@pindex realpath
-@@ -13442,14 +13424,14 @@
+@@ -13643,14 +13625,14 @@
so forth. See also the user-related commands in the next section.
@menu
so forth. See also the user-related commands in the next section.
@menu
@section @command{pwd}: Print working directory
@pindex pwd
@section @command{pwd}: Print working directory
@pindex pwd
@section @command{stty}: Print or change terminal characteristics
@pindex stty
@section @command{stty}: Print or change terminal characteristics
@pindex stty
@section @command{printenv}: Print all or some environment variables
@pindex printenv
@section @command{printenv}: Print all or some environment variables
@pindex printenv
@section @command{tty}: Print file name of terminal on standard input
@pindex tty
@section @command{tty}: Print file name of terminal on standard input
@pindex tty
-@@ -14272,16 +14254,16 @@
+@@ -14483,16 +14465,16 @@
logins, groups, and so forth.
@menu
logins, groups, and so forth.
@menu
@section @command{id}: Print user identity
@pindex id
@section @command{id}: Print user identity
@pindex id
-@@ -14367,7 +14349,7 @@
- @end macro
- @primaryAndSupplementaryGroups{id,user argument}
+@@ -14594,7 +14576,7 @@
+
+ @exitstatus
-@node logname invocation
+@node logname
@section @command{logname}: Print current login name
@pindex logname
-@node logname invocation
+@node logname
@section @command{logname}: Print current login name
@pindex logname
@section @command{whoami}: Print effective user ID
@pindex whoami
@section @command{whoami}: Print effective user ID
@pindex whoami
@section @command{groups}: Print group names a user is in
@pindex groups
@section @command{groups}: Print group names a user is in
@pindex groups
-@@ -14432,7 +14414,7 @@
- @exitstatus
-@node users invocation
+@node users
@section @command{users}: Print login names of users currently logged in
@pindex users
-@node users invocation
+@node users
@section @command{users}: Print login names of users currently logged in
@pindex users
@section @command{who}: Print who is currently logged in
@pindex who
@section @command{who}: Print who is currently logged in
@pindex who
-@@ -14622,16 +14604,14 @@
+@@ -14848,16 +14830,14 @@
@section @command{date}: Print or set system date and time
@pindex date
@section @command{date}: Print or set system date and time
@pindex date
@section @command{arch}: Print machine hardware name
@pindex arch
@section @command{arch}: Print machine hardware name
@pindex arch
@section @command{nproc}: Print the number of available processors
@pindex nproc
@section @command{nproc}: Print the number of available processors
@pindex nproc
@section @command{uname}: Print system information
@pindex uname
@section @command{uname}: Print system information
@pindex uname
-@@ -15511,31 +15491,7 @@
+@@ -15737,31 +15717,7 @@
@section @command{hostid}: Print numeric host identifier
@pindex hostid
@section @command{hostid}: Print numeric host identifier
@pindex hostid
-@@ -15559,37 +15515,6 @@
+@@ -15785,37 +15741,6 @@
@node SELinux context
@chapter SELinux context
@node SELinux context
@chapter SELinux context
-@@ -15601,11 +15526,11 @@
+@@ -15827,11 +15752,11 @@
@section @command{chcon}: Change SELinux context of file
@pindex chcon
@section @command{chcon}: Change SELinux context of file
@pindex chcon
@section @command{runcon}: Run a command in specified SELinux context
@pindex runcon
@section @command{runcon}: Run a command in specified SELinux context
@pindex runcon
-@@ -15793,16 +15718,16 @@
+@@ -16019,16 +15944,16 @@
@section @command{chroot}: Run a command with a different root directory
@pindex chroot
@section @command{chroot}: Run a command with a different root directory
@pindex chroot
@section @command{env}: Run a command in a modified environment
@pindex env
@section @command{env}: Run a command in a modified environment
@pindex env
@section @command{nice}: Run a command with modified niceness
@pindex nice
@section @command{nice}: Run a command with modified niceness
@pindex nice
@section @command{nohup}: Run a command immune to hangups
@pindex nohup
@section @command{nohup}: Run a command immune to hangups
@pindex nohup
@section @command{stdbuf}: Run a command with modified I/O stream buffering
@pindex stdbuf
@section @command{stdbuf}: Run a command with modified I/O stream buffering
@pindex stdbuf
@section @command{timeout}: Run a command with a time limit
@pindex timeout
@section @command{timeout}: Run a command with a time limit
@pindex timeout
-@@ -16416,90 +16341,6 @@
+@@ -16642,90 +16567,6 @@
@node Delaying
@chapter Delaying
@node Delaying
@chapter Delaying
-@@ -16509,11 +16350,11 @@
+@@ -16735,11 +16576,11 @@
@c Perhaps @command{wait} or other commands should be described here also?
@menu
@c Perhaps @command{wait} or other commands should be described here also?
@menu
@section @command{sleep}: Delay for a specified time
@pindex sleep
@section @command{sleep}: Delay for a specified time
@pindex sleep
-@@ -16563,12 +16404,12 @@
+@@ -16789,12 +16630,12 @@
These programs do numerically-related operations.
@menu
These programs do numerically-related operations.
@menu
@section @command{factor}: Print prime factors
@pindex factor
@section @command{factor}: Print prime factors
@pindex factor
Summary: GNU Core-utils - basic command line utilities
Summary(pl.UTF-8): GNU Core-utils - podstawowe narzędzia działające z linii poleceń
Name: coreutils
Summary: GNU Core-utils - basic command line utilities
Summary(pl.UTF-8): GNU Core-utils - podstawowe narzędzia działające z linii poleceń
Name: coreutils
-Version: 8.21
-Release: 6
+Version: 8.22
+Release: 1
License: GPL v3+
Group: Applications/System
Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
License: GPL v3+
Group: Applications/System
Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
-# Source0-md5: 065ba41828644eca5dd8163446de5d64
+# Source0-md5: 8fb0ae2267aa6e728958adc38f8163a2
Source1: %{name}-non-english-man-pages.tar.bz2
# Source1-md5: f7c986ebc74ccb8d08ed70141063f14c
Source2: DIR_COLORS
Source1: %{name}-non-english-man-pages.tar.bz2
# Source1-md5: f7c986ebc74ccb8d08ed70141063f14c
Source2: DIR_COLORS
Patch8: %{name}-pl.po-update.patch
# from http://www.beatex.org/web/advancedcopy.html, edited by shadzik
Patch9: %{name}-advcopy.patch
Patch8: %{name}-pl.po-update.patch
# from http://www.beatex.org/web/advancedcopy.html, edited by shadzik
Patch9: %{name}-advcopy.patch
-Patch10: format-security.patch
-Patch11: tests.patch
URL: http://www.gnu.org/software/coreutils/
BuildRequires: acl-devel
BuildRequires: attr-devel
URL: http://www.gnu.org/software/coreutils/
BuildRequires: acl-devel
BuildRequires: attr-devel
%patch9 -p1
%endif
%patch10 -p1
%patch9 -p1
%endif
%patch10 -p1
%{__perl} -pi -e 's@GNU/Linux@PLD Linux@' m4/host-os.m4
%{__perl} -pi -e 's@GNU/Linux@PLD Linux@' m4/host-os.m4
+++ /dev/null
---- coreutils-8.20/gnulib-tests/test-xvasprintf.c~ 2012-10-23 16:17:25.000000000 +0200
-+++ coreutils-8.20/gnulib-tests/test-xvasprintf.c 2012-12-17 23:51:09.622359300 +0100
-@@ -95,7 +95,7 @@
- {
- /* Silence gcc warning about zero-length format string. */
- const char *empty = "";
-- result = xasprintf (empty);
-+ result = xasprintf ("%s",empty);
- ASSERT (result != NULL);
- ASSERT (strcmp (result, "") == 0);
- free (result);
/* Skip the ctime tests on native Windows platforms, because their
st_ctime is either the same as st_mtime (plus or minus an offset)
or set to the file _creation_ time, and is not influenced by rename
/* Skip the ctime tests on native Windows platforms, because their
st_ctime is either the same as st_mtime (plus or minus an offset)
or set to the file _creation_ time, and is not influenced by rename
---- coreutils-8.21/gnulib-tests/gnulib.mk~ 2013-02-07 17:58:44.000000000 +0100
-+++ coreutils-8.21/gnulib-tests/gnulib.mk 2013-12-03 14:40:18.667641475 +0100
+--- coreutils-8.22/gnulib-tests/gnulib.mk.orig 2013-12-14 12:14:47.200742771 +0100
++++ coreutils-8.22/gnulib-tests/gnulib.mk 2013-12-14 12:17:30.570735914 +0100
@@ -259,9 +259,9 @@
## begin gnulib module chown-tests
-TESTS += test-chown
-check_PROGRAMS += test-chown
@@ -259,9 +259,9 @@
## begin gnulib module chown-tests
-TESTS += test-chown
-check_PROGRAMS += test-chown
--EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
+-test_chown_LDADD = $(LDADD) $(LIB_NANOSLEEP)
+#TESTS += test-chown
+#check_PROGRAMS += test-chown
+#TESTS += test-chown
+#check_PROGRAMS += test-chown
-+#EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
++#test_chown_LDADD = $(LDADD) $(LIB_NANOSLEEP)
+ EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
## end gnulib module chown-tests
## end gnulib module chown-tests
## begin gnulib module fchownat-tests
-TESTS += test-fchownat
-check_PROGRAMS += test-fchownat
## begin gnulib module fchownat-tests
-TESTS += test-fchownat
-check_PROGRAMS += test-fchownat
--test_fchownat_LDADD = $(LDADD) @LIBINTL@
--EXTRA_DIST += nap.h test-chown.h test-lchown.h test-fchownat.c signature.h macros.h
+-test_fchownat_LDADD = $(LDADD) $(LIB_NANOSLEEP) @LIBINTL@
+#TESTS += test-fchownat
+#check_PROGRAMS += test-fchownat
+#TESTS += test-fchownat
+#check_PROGRAMS += test-fchownat
-+#test_fchownat_LDADD = $(LDADD) @LIBINTL@
-+#EXTRA_DIST += nap.h test-chown.h test-lchown.h test-fchownat.c signature.h macros.h
++#test_fchownat_LDADD = $(LDADD) $(LIB_NANOSLEEP) @LIBINTL@
+ EXTRA_DIST += nap.h test-chown.h test-lchown.h test-fchownat.c signature.h macros.h
## end gnulib module fchownat-tests
## end gnulib module fchownat-tests
## begin gnulib module fdutimensat-tests
-TESTS += test-fdutimensat
-check_PROGRAMS += test-fdutimensat
## begin gnulib module fdutimensat-tests
-TESTS += test-fdutimensat
-check_PROGRAMS += test-fdutimensat
--test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
--EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-fdutimensat.c macros.h
+-test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) \
+- $(LIB_NANOSLEEP) @LIBINTL@
+#TESTS += test-fdutimensat
+#check_PROGRAMS += test-fdutimensat
+#TESTS += test-fdutimensat
+#check_PROGRAMS += test-fdutimensat
-+#test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
-+#EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-fdutimensat.c macros.h
++#test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) \
++# $(LIB_NANOSLEEP) @LIBINTL@
+ EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-fdutimensat.c macros.h
## end gnulib module fdutimensat-tests
## end gnulib module fdutimensat-tests
## begin gnulib module futimens-tests
-TESTS += test-futimens
-check_PROGRAMS += test-futimens
## begin gnulib module futimens-tests
-TESTS += test-futimens
-check_PROGRAMS += test-futimens
--test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
--EXTRA_DIST += nap.h test-futimens.h test-utimens-common.h test-futimens.c signature.h macros.h
+-test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
+#TESTS += test-futimens
+#check_PROGRAMS += test-futimens
+#TESTS += test-futimens
+#check_PROGRAMS += test-futimens
-+#test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
-+#EXTRA_DIST += nap.h test-futimens.h test-utimens-common.h test-futimens.c signature.h macros.h
++#test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
+ EXTRA_DIST += nap.h test-futimens.h test-utimens-common.h test-futimens.c signature.h macros.h
## end gnulib module futimens-tests
## end gnulib module futimens-tests
## begin gnulib module lchown-tests
-TESTS += test-lchown
-check_PROGRAMS += test-lchown
## begin gnulib module lchown-tests
-TESTS += test-lchown
-check_PROGRAMS += test-lchown
--EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
+-test_lchown_LDADD = $(LDADD) $(LIB_NANOSLEEP)
+#TESTS += test-lchown
+#check_PROGRAMS += test-lchown
+#TESTS += test-lchown
+#check_PROGRAMS += test-lchown
-+#EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
++#test_lchown_LDADD = $(LDADD) $(LIB_NANOSLEEP)
+ EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
## end gnulib module lchown-tests
## end gnulib module lchown-tests
-
-@@ -2438,10 +2438,10 @@
## begin gnulib module utimens-tests
-TESTS += test-utimens
-check_PROGRAMS += test-utimens
## begin gnulib module utimens-tests
-TESTS += test-utimens
-check_PROGRAMS += test-utimens
--test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
--EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimens.c macros.h
+-test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
+#TESTS += test-utimens
+#check_PROGRAMS += test-utimens
+#TESTS += test-utimens
+#check_PROGRAMS += test-utimens
-+#test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
-+#EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimens.c macros.h
++#test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
+ EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimens.c macros.h
## end gnulib module utimens-tests
## end gnulib module utimens-tests