summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/coreutils/coreutils-7.4-hostname-man.patch51
-rw-r--r--package/coreutils/coreutils.mk3
2 files changed, 53 insertions, 1 deletions
diff --git a/package/coreutils/coreutils-7.4-hostname-man.patch b/package/coreutils/coreutils-7.4-hostname-man.patch
new file mode 100644
index 000000000..843ecaaae
--- /dev/null
+++ b/package/coreutils/coreutils-7.4-hostname-man.patch
@@ -0,0 +1,51 @@
+--- /dev/null 2010-09-18 00:21:07.280000001 -0700
++++ b/man/hostname.1 2010-09-23 12:08:06.000000000 -0700
+@@ -0,0 +1,48 @@
++.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
++.TH HOSTNAME "1" "September 2010" "GNU coreutils 7.4" "User Commands"
++.SH NAME
++hostname \- set or print the name of the current host system
++.SH SYNOPSIS
++.B hostname
++[\fINAME\fR]
++.br
++.B hostname
++\fIOPTION\fR
++.SH DESCRIPTION
++.\" Add any additional description here
++.PP
++Print or set the hostname of the current system.
++.TP
++\fB\-\-help\fR
++display this help and exit
++.TP
++\fB\-\-version\fR
++output version information and exit
++.SH AUTHOR
++Written by Jim Meyering.
++.SH "REPORTING BUGS"
++Report hostname bugs to bug\-coreutils@gnu.org
++.br
++GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
++.br
++General help using GNU software: <http://www.gnu.org/gethelp/>
++.br
++Report hostname translation bugs to <http://translationproject.org/team/>
++.SH COPYRIGHT
++Copyright \(co 2010 Free Software Foundation, Inc.
++License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
++.br
++This is free software: you are free to change and redistribute it.
++There is NO WARRANTY, to the extent permitted by law.
++.SH "SEE ALSO"
++The full documentation for
++.B hostname
++is maintained as a Texinfo manual. If the
++.B info
++and
++.B hostname
++programs are properly installed at your site, the command
++.IP
++.B info coreutils \(aqhostname invocation\(aq
++.PP
++should give you access to the complete manual.
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 6d510cb0f..7e64d25ea 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -54,7 +54,8 @@ COREUTILS_CONF_ENV = ac_cv_c_restrict=no \
utils_cv_localtime_cache=no
COREUTILS_CONF_OPT = --disable-rpath \
- --disable-dependency-tracking
+ --disable-dependency-tracking \
+ --enable-install-program=hostname
define COREUTILS_TOUCH_RENAME_M4
# ensure rename.m4 file is older than configure / aclocal.m4 so