mdox fixes; install cat pages

This commit is contained in:
naddy 2010-04-08 19:31:31 +00:00
parent 74bc04ba78
commit a5430a4b92
5 changed files with 32 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.19 2009/04/09 22:08:47 sthen Exp $
# $OpenBSD: Makefile,v 1.20 2010/04/08 19:31:31 naddy Exp $
COMMENT-main= packet filter statistics visualization
COMMENT-daemon= pfstat daemon
@ -6,7 +6,7 @@ COMMENT-daemon= pfstat daemon
DISTNAME= pfstat-2.3
PKGNAME-main= ${DISTNAME}p1
PKGNAME-daemon= ${DISTNAME:S/-/d-/}p1
PKGNAME-daemon= ${DISTNAME:S/-/d-/}p2
CATEGORIES= net
MASTER_SITES= http://www.benzedrine.cx/
@ -39,11 +39,12 @@ pre-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/pfstat.cat8 ${PREFIX}/man/cat8/pfstat.0
${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.cat8 \
${PREFIX}/man/cat8/pfstatd.0
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pfstat
$(INSTALL_DATA) ${WRKSRC}/pfstat.conf.example \
${INSTALL_DATA} ${WRKSRC}/pfstat.conf.example \
${PREFIX}/share/examples/pfstat/pfstat.conf
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-pfstat_8,v 1.1 2010/04/08 19:31:31 naddy Exp $
--- pfstat.8.orig Thu Apr 8 21:25:37 2010
+++ pfstat.8 Thu Apr 8 21:26:16 2010
@@ -155,6 +155,7 @@ instead of 1000.
.It Fl d Ar database
Database file.
Default is /var/db/pfstat.db.
+.El
.Sh EXAMPLES
.Bd -literal
collect 1 = interface "sis0" pass bytes in ipv4 diff

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-pfstatd_pfstatd_8,v 1.1 2010/04/08 19:31:31 naddy Exp $
--- pfstatd/pfstatd.8.orig Thu Apr 8 21:27:04 2010
+++ pfstatd/pfstatd.8 Thu Apr 8 21:27:20 2010
@@ -64,6 +64,7 @@ after opening the device special file
.Pa /dev/pf .
Default is
.Sq nobody .
+.El
.Sh SECURITY CONSIDERATIONS
Clients are not authenticated and output is not encrypted.
The daemon does not read input from clients and immediately

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST-daemon,v 1.2 2009/03/09 17:03:32 sthen Exp $
@comment $OpenBSD: PLIST-daemon,v 1.3 2010/04/08 19:31:31 naddy Exp $
@bin bin/pfstatd
@man man/man8/pfstatd.8
@man man/cat8/pfstatd.0

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST-main,v 1.2 2009/03/09 17:03:32 sthen Exp $
@comment $OpenBSD: PLIST-main,v 1.3 2010/04/08 19:31:31 naddy Exp $
@pkgpath net/pfstat
@bin bin/pfstat
@man man/man8/pfstat.8
@man man/cat8/pfstat.0
share/examples/pfstat/
share/examples/pfstat/pfstat.conf
@sample ${SYSCONFDIR}/pfstat.conf