[tftp] documentation fixes

jsynacek jsynacek at fedoraproject.org
Fri Apr 19 07:57:45 UTC 2013


commit a6406a8da4dba1639acc195eabc1bc3becff999f
Author: Jan Synacek <jsynacek at redhat.com>
Date:   Fri Apr 19 09:57:24 2013 +0200

    documentation fixes

 tftp-doc.patch |   27 +++++++++++++++++++++++++++
 tftp.spec      |    7 ++++++-
 2 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/tftp-doc.patch b/tftp-doc.patch
new file mode 100644
index 0000000..20352c9
--- /dev/null
+++ b/tftp-doc.patch
@@ -0,0 +1,27 @@
+--- tftp-hpa-5.2/tftp/main.c	2013-04-19 09:34:09.737410319 +0200
++++ tftp-hpa-5.2/tftp/main.c	2013-04-19 09:42:53.559946374 +0200
+@@ -195,9 +195,11 @@
+ {
+     fprintf(stderr,
+ #ifdef HAVE_IPV6
+-            "Usage: %s [-4][-6][-v][-l][-m mode] [host [port]] [-c command]\n",
++            "Usage: %s [-4][-6][-v][-V][-l][-m mode] [-R port:port] "
++			"[host [port]] [-c command]\n",
+ #else
+-            "Usage: %s [-v][-l][-m mode] [host [port]] [-c command]\n",
++            "Usage: %s [-v][-V][-l][-m mode] [-R port:port] "
++			"[host [port]] [-c command]\n",
+ #endif
+             program);
+     exit(errcode);
+--- tftp-hpa-5.2/tftpd/tftpd.8.in	2012-11-20 09:43:46.000000000 +0100
++++ tftp-hpa-5.2/tftpd/tftpd.8.in	2013-04-19 09:44:37.399057279 +0200
+@@ -155,7 +155,7 @@
+ .B utimeout
+ option is negotiated.  The default is 1000000 (1 second.)
+ .TP
+-\fB\-\-mapfile\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
++\fB\-\-map\-file\fP \fIremap-file\fP, \fB\-m\fP \fIremap-file\fP
+ Specify the use of filename remapping.  The
+ .I remap-file
+ is a file containing the remapping rules.  See the section on filename
diff --git a/tftp.spec b/tftp.spec
index b1097a4..9c6726d 100644
--- a/tftp.spec
+++ b/tftp.spec
@@ -3,7 +3,7 @@
 Summary: The client for the Trivial File Transfer Protocol (TFTP)
 Name: tftp
 Version: 5.2
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: BSD
 Group: Applications/Internet
 URL: http://www.kernel.org/pub/software/network/tftp/
@@ -19,6 +19,7 @@ Patch5: tftp-hpa-0.49-fortify-strcpy-crash.patch
 Patch6: tftp-0.49-cmd_arg.patch
 Patch7: tftp-hpa-0.49-stats.patch
 Patch8: tftp-hpa-5.2-pktinfo.patch
+Patch9: tftp-doc.patch
 
 BuildRequires: tcp_wrappers-devel readline-devel autoconf systemd-units
 
@@ -54,6 +55,7 @@ enabled unless it is expressly needed.  The TFTP server is run from
 %patch6 -p1 -b .cmd_arg
 %patch7 -p1 -b .stats
 %patch8 -p1 -b .pktinfo
+%patch9 -p1 -b .doc
 
 %build
 autoreconf
@@ -104,6 +106,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_unitdir}/*
 
 %changelog
+* Fri Apr 19 2013 Jan Synáček <jsynacek at redhat.com> - 5.2-8
+- documentation fixes
+
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.2-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list