Fixed man page and typo in the built-in help
This commit is contained in:
parent
c0474adca4
commit
6963be217a
33
pptp-1.10.0-man-fix.patch
Normal file
33
pptp-1.10.0-man-fix.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff --git a/pptp.8 b/pptp.8
|
||||
index 017b5db..9407a2a 100644
|
||||
--- a/pptp.8
|
||||
+++ b/pptp.8
|
||||
@@ -119,6 +119,15 @@ Sets the number of packets to pass before causing a reordering test.
|
||||
Default is 100. Has no effect if test-type is zero. The result of
|
||||
test types 2 and 3 are undefined if this value is less than ten.
|
||||
|
||||
+.TP
|
||||
+.B \-\-missing-window <n>
|
||||
+Enable 'missing window' validation and set packet tolerance
|
||||
+(300=default, 6000=recommended).
|
||||
+
|
||||
+.TP
|
||||
+.B \-\-version
|
||||
+Display version.
|
||||
+
|
||||
|
||||
.SH "ROUTING"
|
||||
When PPTP is used in conjunction with a default route on top of the
|
||||
diff --git a/pptp.c b/pptp.c
|
||||
index 92e3170..25f385c 100644
|
||||
--- a/pptp.c
|
||||
+++ b/pptp.c
|
||||
@@ -127,7 +127,7 @@ void usage(char *progname)
|
||||
" --test-type <type> Damage the packet stream by reordering\n"
|
||||
" --test-rate <n> Do the test every n packets\n"
|
||||
" --missing-window <n> Enable 'missing window' validation and set packet\n"
|
||||
- " polerance (300=default, 6000=recommended)\n",
|
||||
+ " tolerance (300=default, 6000=recommended)\n",
|
||||
|
||||
version, progname, progname);
|
||||
log("%s called with wrong arguments, program not started.", progname);
|
||||
@ -1,6 +1,6 @@
|
||||
Name: pptp
|
||||
Version: 1.10.0
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: Point-to-Point Tunneling Protocol (PPTP) Client
|
||||
License: GPLv2+
|
||||
URL: http://pptpclient.sourceforge.net/
|
||||
@ -10,6 +10,8 @@ BuildRequires: /usr/bin/pod2man
|
||||
BuildRequires: gcc, perl-generators
|
||||
Requires: ppp >= 2.4.2, /sbin/ip
|
||||
Requires: systemd-units
|
||||
# Patch sent upstream
|
||||
Patch0: pptp-1.10.0-man-fix.patch
|
||||
|
||||
%description
|
||||
Client for the proprietary Microsoft Point-to-Point Tunneling
|
||||
@ -27,6 +29,8 @@ tunnels.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .man-fix
|
||||
|
||||
# Pacify rpmlint
|
||||
perl -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile
|
||||
|
||||
@ -57,6 +61,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/pptp.conf
|
||||
%{_mandir}/man8/pptpsetup.8*
|
||||
|
||||
%changelog
|
||||
* Thu May 14 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 1.10.0-10
|
||||
- Fixed man page and typo in the built-in help
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user