Install man page and drop broken and useless p0frep script.

From: Jose Nazario <jose@monkey.org>

Also fix a formatting issue in the man page.
This commit is contained in:
naddy 2004-05-03 15:59:36 +00:00
parent 507bf03696
commit 8cd3639d8b
5 changed files with 27 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2004/01/02 04:56:24 brad Exp $
# $OpenBSD: Makefile,v 1.11 2004/05/03 15:59:36 naddy Exp $
# $NetBSD: Makefile,v 1.1.1.2 2001/03/26 11:59:15 hubertf Exp $
COMMENT= "passive OS fingerprinting tool"
@ -39,10 +39,10 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin/p0f
${INSTALL_PROGRAM} ${WRKSRC}/p0frep ${PREFIX}/bin/p0frep
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/p0f
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p0f
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f/README
${INSTALL_MAN} ${WRKSRC}/p0f.1 ${PREFIX}/man/man1/p0f.1
.for file in ${EXAMPLES}
.if ${FLAVOR:L} == "mysql"
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p0f/mysql

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1 2003/07/19 17:02:06 jose Exp $
--- Makefile.orig Thu Feb 6 22:30:54 2003
+++ Makefile Sat Jul 19 18:22:19 2003
$OpenBSD: patch-Makefile,v 1.2 2004/05/03 15:59:36 naddy Exp $
--- Makefile.orig 2003-02-07 04:30:54.000000000 +0100
+++ Makefile 2004-05-03 17:53:51.000000000 +0200
@@ -6,7 +6,7 @@
CC = gcc
CLIBS = -lpcap -I/usr/include/pcap
-MYSQLCLIBS = -L/usr/local/mysql/lib -lmysqlclient -lpcap -I/usr/include/pcap -I/usr/local/mysql/include
+MYSQLCLIBS = -L%%LOCALBASE%%/lib -lmysqlclient -lpcap -I%%LOCALBASE%%/include
+MYSQLCLIBS = -L/usr/local/lib -lmysqlclient -lpcap -I/usr/local/include
SUNLIBS = -lsocket -lnsl -D_SUN_=1
STRIP = strip
CFLAGS = -O3 -Wall

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-p0f_1,v 1.1 2004/05/03 15:59:36 naddy Exp $
--- p0f.1.orig 2004-05-03 17:54:34.000000000 +0200
+++ p0f.1 2004-05-03 17:55:02.000000000 +0200
@@ -54,10 +54,10 @@ add timestamps
\fB\-q\fR
quiet mode - do not display banners
.TP
-\fB\-m file\fR
+\fB\-m\fR file
send output to mysql server in 'file'
.TP
-\fb\-g file\fR
+\fB\-g\fR file
insert fprints from 'file' into sql (must be used with -m)
.SH FILES
.TP

View File

@ -1,5 +1,6 @@
--- p0f.c.orig Mon May 13 12:59:40 2002
+++ p0f.c Fri Feb 7 21:40:19 2003
$OpenBSD: patch-p0f_c,v 1.6 2004/05/03 15:59:36 naddy Exp $
--- p0f.c.orig 2002-05-13 18:59:40.000000000 +0200
+++ p0f.c 2004-05-03 17:53:51.000000000 +0200
@@ -397,7 +397,7 @@ void load_fprints(char *filename) {
char *p;
//bzero(fips,120000);

View File

@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.3 2004/04/14 09:27:52 xsa Exp $
@comment $OpenBSD: PLIST,v 1.4 2004/05/03 15:59:36 naddy Exp $
bin/p0f
bin/p0frep
man/man1/p0f.1
share/doc/p0f/README
share/examples/p0f/p0f.fp
%%mysql%%