tftp/backport-Update-manpage-to-match-source-code-for-map-file.patch
2024-08-02 02:00:34 +00:00

46 lines
1.4 KiB
Diff

From 3ee2b278091ac0c60e9077096afa2135708de5e4 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <mail@daniel-baumann.ch>
Date: Thu, 31 Jul 2014 16:29:42 +0930
Subject: [PATCH] Update manpage to match source code for map file
Conflict:NA
Reference:https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git/commit/?id=3ee2b278091ac0c60e9077096afa2135708de5e4
The manpage had --mapfile but the code had --map-file.
Closes: #606267 in the Debian BTS
Reported-By: Jim Paris <jim@jtan.com>
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
tftpd/tftpd.8.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tftpd/tftpd.8.in b/tftpd/tftpd.8.in
index b7bc396..e708c53 100644
--- a/tftpd/tftpd.8.in
+++ b/tftpd/tftpd.8.in
@@ -238,7 +238,7 @@ option, but crash with an error if they actually get the option
accepted by the server.
.SH "FILENAME REMAPPING"
The
-.B \-\-mapfile
+.B \-\-map-file
option specifies a file which contains filename remapping rules. Each
non-comment line (comments begin with hash marks,
.BR # )
@@ -390,7 +390,7 @@ flag is used to set up a chroot() environment for the server to run in
once a connection has been set up.
.PP
Finally, the filename remapping
-.RB ( \-\-mapfile
+.RB ( \-\-map-file
flag) support can be used to provide a limited amount of additional
access control.
.SH "CONFORMING TO"
--
2.23.0