Compare commits
No commits in common. "e45fcd4171ed3ac5ddf22c153b50ae4d8aab206c" and "7bb8defbede0467474033b779c1f1307e5b0ea15" have entirely different histories.
e45fcd4171
...
7bb8defbed
@ -1,45 +0,0 @@
|
||||
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
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
diff -up tftp-hpa-5.2/tftp/tftp.c.gcc10 tftp-hpa-5.2/tftp/tftp.c
|
||||
--- tftp-hpa-5.2/tftp/tftp.c.gcc10 2020-05-04 00:56:28.787896509 +0200
|
||||
+++ tftp-hpa-5.2/tftp/tftp.c 2020-05-04 00:58:42.502901005 +0200
|
||||
@@ -48,7 +48,7 @@ extern int maxtimeout;
|
||||
#define PKTSIZE SEGSIZE+4
|
||||
char ackbuf[PKTSIZE];
|
||||
int timeout;
|
||||
-sigjmp_buf toplevel;
|
||||
+extern sigjmp_buf toplevel;
|
||||
sigjmp_buf timeoutbuf;
|
||||
|
||||
static void nak(int, const char *);
|
||||
37
tftp.spec
37
tftp.spec
@ -1,6 +1,6 @@
|
||||
Name: tftp
|
||||
Version: 5.2
|
||||
Release: 32
|
||||
Release: 27
|
||||
Summary: The client for the Trivial File Transfer Protocol (TFTP)
|
||||
License: BSD
|
||||
Group: Applications/Internet
|
||||
@ -8,6 +8,7 @@ URL: http://www.kernel.org/pub/software/network/tftp/
|
||||
Source0: http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-%{version}.tar.bz2
|
||||
Source1: tftp.socket
|
||||
Source2: tftp.service
|
||||
#Acknowledge all patches from fedora or redhat.
|
||||
Patch0000: tftp-0.40-remap.patch
|
||||
Patch0002: tftp-hpa-0.39-tzfix.patch
|
||||
Patch0003: tftp-0.42-tftpboot.patch
|
||||
@ -18,12 +19,8 @@ Patch0007: tftp-hpa-0.49-stats.patch
|
||||
Patch0008: tftp-hpa-5.2-pktinfo.patch
|
||||
Patch0009: tftp-doc.patch
|
||||
Patch0010: tftp-enhanced-logging.patch
|
||||
Patch0011: tftp-hpa-5.2-gcc10.patch
|
||||
|
||||
Patch6001: backport-Update-manpage-to-match-source-code-for-map-file.patch
|
||||
|
||||
BuildRequires: readline-devel autoconf systemd-units
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
TFTP which is the abbreviation of Trivial File Fransfer Protocol
|
||||
@ -88,36 +85,6 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 02 2024 chengyechun <chengyechun1@huawei.com> - 5.2-32
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:update the info of patch
|
||||
|
||||
* Tue Oct 18 2022 chengyechun <chengyechun1@huawei.com> - 5.2-31
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Update manpage to match source code for map file
|
||||
|
||||
* Fri Jul 30 2021 gaihuiying <gaihuiying1@huawei.com> - 5.2-30
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:fix build error with gcc 10
|
||||
|
||||
* Thu May 27 2021 lijingyuan <lijingyuan3@huawei.com> - 5.2-29
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Add the compilation dependency of gcc.
|
||||
|
||||
* Tue Dec 15 2020 xihaochen <xihaochen@huawei.com> - 5.2-28
|
||||
- Type:requirement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:remove sensitive words
|
||||
|
||||
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.2-27
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user