NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/40107: Errors in src/dist/tcpdump/tcpdump.8, which has a wrong extension as well



>Number:         40107
>Category:       misc
>Synopsis:       Errors in src/dist/tcpdump/tcpdump.8, which has a wrong 
>extension as well
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 04 22:10:01 +0000 2008
>Originator:     Bug Hunting
>Release:        5.99.4
>Organization:
>Environment:
>Description:
src/dist/tcpdump/tcpdump.8 contains an error, a dead FTP link,
and the filename itself has an incorrect extension.

The error is corrected in the proposed patch below.

The dead link should either be removed, updated, or commented out;
in the proposed patch attached, the lines which are involved with
it have been commented out.

The filename's extension should be changed to `1', since
that's the case in the official package from tcpdump.org.
Also, it will correspond to the value specified by man(7)'s
`TH'-macro. (Ironically, this seems to be the opposite of what
was reported by PR #2766.)

Unsure, and not done in the proposed patch below:
should the date in man(7)'s `TH'-macro be changed as well?
(It currently says ``.TH TCPDUMP 1  "18 April 2005"''.)

The latest version of tcpdump (4.0.0), which is available at
http://www.tcpdump.org, still contains the first two issues
described above; please report these issues upstream as well.
>How-To-Repeat:
"man 8 tcpdump"; "ls /usr/src/dist/tcpdump/tcpdump.8"
>Fix:
As well as the proposed patch below, the filename should be
renamed, and the file should at installation time be placed
into /usr/share/man/man1/ instead of /usr/share/man/man8/.

Apply proposed patch:

$ diff -u tcpdump.8 tcpdump.8.new 
--- tcpdump.8   2007-07-24 14:41:07.000000000 +0200
+++ tcpdump.8.new       2008-12-04 22:12:37.000000000 +0100
@@ -355,7 +355,7 @@
 .IP
 The test for `foreign' IPv4 addresses is done using the IPv4 address and
 netmask of the interface on which capture is being done.  If that
-address or netmask are not available, available, either because the
+address or netmask are not available, either because the
 interface on which capture is being done has no address or netmask or
 because the capture is being done on the Linux "any" interface, which
 can capture on more than one interface, this option will not work
@@ -2296,12 +2296,12 @@
 .I http://www.tcpdump.org/
 .RE
 .LP
-The original distribution is available via anonymous ftp:
-.LP
-.RS
-.I ftp://ftp.ee.lbl.gov/tcpdump.tar.Z
-.RE
-.LP
+.\" The original distribution is available via anonymous ftp:
+.\" .LP
+.\" .RS
+.\" .I ftp://ftp.ee.lbl.gov/tcpdump.tar.Z
+.\" .RE
+.\" .LP
 IPv6/IPsec support is added by WIDE/KAME project.
 This program uses Eric Young's SSLeay library, under specific configuration.
 .SH BUGS



Home | Main Index | Thread Index | Old Index