3
0
forked from pool/coreutils
coreutils/coreutils-no_hostname_and_hostid.patch

123 lines
4.8 KiB
Diff
Raw Normal View History

Index: doc/coreutils.texi
===================================================================
- 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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=18
2010-11-11 18:25:53 +01:00
--- doc/coreutils.texi.orig 2010-11-11 16:30:59.012538722 +0100
+++ doc/coreutils.texi 2010-11-11 16:31:03.953411789 +0100
@@ -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
- 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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=18
2010-11-11 18:25:53 +01:00
@@ -13514,8 +13510,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
- 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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=18
2010-11-11 18:25:53 +01:00
@@ -14337,55 +14331,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
===================================================================
- 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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=18
2010-11-11 18:25:53 +01:00
--- man/Makefile.am.orig 2010-11-11 16:30:59.012538722 +0100
+++ man/Makefile.am 2010-11-11 16:31:03.953411789 +0100
@@ -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
===================================================================
- 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. OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=18
2010-11-11 18:25:53 +01:00
--- man/Makefile.in.orig 2010-11-11 16:30:59.012538722 +0100
+++ man/Makefile.in 2010-11-11 16:31:16.511630860 +0100
@@ -1614,7 +1614,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