[prev in list] [next in list] [prev in thread] [next in thread]
List: tcpdump-patches
Subject: [patch] tcpdump 3.7.1: Move the man page to section #8
From: "Maciej W. Rozycki" <macro () ds2 ! pg ! gda ! pl>
Date: 2002-03-27 15:42:04
[Download RAW message or body]
Hello,
Tcpdump is normally an administrative command. Thus I believe its manual
page should reside in section #8. Here is a patch. You need to run: `mv
tcpdump.1 tcpdump.8' afterwards.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
tcpdump-3.7.1-man.patch
diff -up --recursive --new-file tcpdump-3.7.1.macro/Makefile.in tcpdump-3.7.1/Makefile.in
--- tcpdump-3.7.1.macro/Makefile.in Mon Dec 10 08:21:23 2001
+++ tcpdump-3.7.1/Makefile.in Tue Mar 26 22:54:40 2002
@@ -150,13 +150,13 @@ install:
[ -d $(DESTDIR)$(sbindir) ] || \
(mkdir -p $(DESTDIR)$(sbindir); chmod 755 $(DESTDIR)$(sbindir))
$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
- [ -d $(DESTDIR)$(mandir)/man1 ] || \
- (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
- $(INSTALL_DATA) $(srcdir)/$(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1
+ [ -d $(DESTDIR)$(mandir)/man8 ] || \
+ (mkdir -p $(DESTDIR)$(mandir)/man8; chmod 755 $(DESTDIR)$(mandir)/man8)
+ $(INSTALL_DATA) $(srcdir)/$(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8
uninstall:
rm -f $(DESTDIR)$(sbindir)/$(PROG)
- rm -f $(DESTDIR)$(mandir)/man1/$(PROG).1
+ rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8
lint: $(GENSRC)
lint -hbxn $(SRC) | \
diff -up --recursive --new-file tcpdump-3.7.1.macro/tcpdump.1 tcpdump-3.7.1/tcpdump.1
--- tcpdump-3.7.1.macro/tcpdump.1 Fri Jan 4 07:37:49 2002
+++ tcpdump-3.7.1/tcpdump.1 Tue Mar 26 22:55:11 2002
@@ -1,4 +1,4 @@
-.\" @(#) $Header: /tcpdump/master/tcpdump/tcpdump.1,v 1.114 2002/01/04 07:37:49 guy Exp $ (LBL)
+.\" @(#) $Header: /tcpdump/master/tcpdump/tcpdump.8,v 1.114 2002/01/04 07:37:49 guy Exp $ (LBL)
.\"
.\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -20,7 +20,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH TCPDUMP 1 "3 January 2001"
+.TH TCPDUMP 8 "3 January 2001"
.SH NAME
tcpdump \- dump traffic on a network
.SH SYNOPSIS
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic