d58c8ecf79
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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=9
123 lines
4.8 KiB
Diff
123 lines
4.8 KiB
Diff
Index: doc/coreutils.texi
|
|
===================================================================
|
|
--- doc/coreutils.texi.orig 2010-05-06 15:17:48.132359317 +0200
|
|
+++ doc/coreutils.texi 2010-05-06 15:21:02.631693747 +0200
|
|
@@ -65,8 +65,6 @@
|
|
* fold: (coreutils)fold invocation. Wrap long input lines.
|
|
* groups: (coreutils)groups invocation. Print group names a user is in.
|
|
* head: (coreutils)head invocation. Output the first part of files.
|
|
-* hostid: (coreutils)hostid invocation. Print numeric host identifier.
|
|
-* hostname: (coreutils)hostname invocation. Print or set system name.
|
|
* id: (coreutils)id invocation. Print user identity.
|
|
* install: (coreutils)install invocation. Copy and change attributes.
|
|
* join: (coreutils)join invocation. Join lines on a common field.
|
|
@@ -197,7 +195,7 @@ Free Documentation License''.
|
|
* File name manipulation:: dirname basename pathchk mktemp
|
|
* Working context:: pwd stty printenv tty
|
|
* User information:: id logname whoami groups users who
|
|
-* System context:: date arch nproc uname hostname hostid uptime
|
|
+* System context:: date arch nproc uname uptime
|
|
* SELinux context:: chcon runcon
|
|
* Modified command invocation:: chroot env nice nohup stdbuf su timeout
|
|
* Process control:: kill
|
|
@@ -413,8 +411,6 @@ System context
|
|
* date invocation:: Print or set system date and time
|
|
* nproc invocation:: Print the number of processors
|
|
* uname invocation:: Print system information
|
|
-* hostname invocation:: Print or set system name
|
|
-* hostid invocation:: Print numeric host identifier
|
|
* uptime invocation:: Print system uptime and load
|
|
|
|
@command{date}: Print or set system date and time
|
|
@@ -13449,8 +13445,6 @@ information.
|
|
* arch invocation:: Print machine hardware name.
|
|
* nproc invocation:: Print the number of processors.
|
|
* uname invocation:: Print system information.
|
|
-* hostname invocation:: Print or set system name.
|
|
-* hostid invocation:: Print numeric host identifier.
|
|
* uptime invocation:: Print system uptime and load.
|
|
@end menu
|
|
|
|
@@ -14272,55 +14266,6 @@ Print the kernel version.
|
|
|
|
@exitstatus
|
|
|
|
-
|
|
-@node hostname invocation
|
|
-@section @command{hostname}: Print or set system name
|
|
-
|
|
-@pindex hostname
|
|
-@cindex setting the hostname
|
|
-@cindex printing the hostname
|
|
-@cindex system name, printing
|
|
-@cindex appropriate privileges
|
|
-
|
|
-With no arguments, @command{hostname} prints the name of the current host
|
|
-system. With one argument, it sets the current host name to the
|
|
-specified string. You must have appropriate privileges to set the host
|
|
-name. Synopsis:
|
|
-
|
|
-@example
|
|
-hostname [@var{name}]
|
|
-@end example
|
|
-
|
|
-The only options are @option{--help} and @option{--version}. @xref{Common
|
|
-options}.
|
|
-
|
|
-@exitstatus
|
|
-
|
|
-
|
|
-@node hostid invocation
|
|
-@section @command{hostid}: Print numeric host identifier
|
|
-
|
|
-@pindex hostid
|
|
-@cindex printing the host identifier
|
|
-
|
|
-@command{hostid} prints the numeric identifier of the current host
|
|
-in hexadecimal. This command accepts no arguments.
|
|
-The only options are @option{--help} and @option{--version}.
|
|
-@xref{Common options}.
|
|
-
|
|
-For example, here's what it prints on one system I use:
|
|
-
|
|
-@example
|
|
-$ hostid
|
|
-1bac013d
|
|
-@end example
|
|
-
|
|
-On that system, the 32-bit quantity happens to be closely
|
|
-related to the system's Internet address, but that isn't always
|
|
-the case.
|
|
-
|
|
-@exitstatus
|
|
-
|
|
@node uptime invocation
|
|
@section @command{uptime}: Print system uptime and load
|
|
|
|
Index: man/Makefile.am
|
|
===================================================================
|
|
--- man/Makefile.am.orig 2010-05-06 15:17:48.136359276 +0200
|
|
+++ man/Makefile.am 2010-05-06 15:18:44.844359168 +0200
|
|
@@ -197,7 +197,7 @@ check-x-vs-1:
|
|
@PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
|
|
t=$@-t; \
|
|
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
|
|
- (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT) \
|
|
+ (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT) hostid \
|
|
| tr -s ' ' '\n' | sed 's/\.1$$//') \
|
|
| $(ASSORT) -u | diff - $$t || { rm $$t; exit 1; }; \
|
|
rm $$t
|
|
Index: man/Makefile.in
|
|
===================================================================
|
|
--- man/Makefile.in.orig 2010-05-06 15:17:48.136359276 +0200
|
|
+++ man/Makefile.in 2010-05-06 15:18:44.875852631 +0200
|
|
@@ -1574,7 +1574,7 @@ check-x-vs-1:
|
|
@PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
|
|
t=$@-t; \
|
|
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
|
|
- (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT) \
|
|
+ (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT) hostid \
|
|
| tr -s ' ' '\n' | sed 's/\.1$$//') \
|
|
| $(ASSORT) -u | diff - $$t || { rm $$t; exit 1; }; \
|
|
rm $$t
|