Date: 10 Oct 2003 20:01:38 -0000 From: Max Laier <max@love2party.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57852: New port: sysutils/pfstat - Grafical statistics for security/pf Message-ID: <20031010200138.37216.qmail@vampire.homelinux.org> Resent-Message-ID: <200310102000.h9AK0YGY019611@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57852 >Category: ports >Synopsis: New port: sysutils/pfstat - Grafical statistics for security/pf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 10 13:00:33 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Max Laier >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD router.laiers.local 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #1: Sun Oct 5 17:38:55 CEST 2003 root@router.laiers.local:/usr/obj/usr/src/sys/ALTQ i386 >Description: Produces mrtg like statistics from pf interface logs (security/pf). >How-To-Repeat: >Fix: --- pfstat.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pfstat # pfstat/Makefile # pfstat/distinfo # pfstat/files # pfstat/files/patch-aa # pfstat/pkg-plist # pfstat/pkg-descr # echo c - pfstat mkdir -p pfstat > /dev/null 2>&1 echo x - pfstat/Makefile sed 's/^X//' >pfstat/Makefile << 'END-of-pfstat/Makefile' X# New ports collection makefile for: pfstat X# Date created: 10 October 2003 X# Whom: Max Laier <max@love2party.net> X# X# $FreeBSD$ X# X XPORTNAME= pfstat XPORTVERSION= 1.7 XCATEGORIES= sysutils net XMASTER_SITES= http://www.benzedrine.cx/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= max@love2party.net XCOMMENT= Utility to render grafical statistics for pf X XBUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf XRUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf X.if defined(WITH_GD1) XLIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1 XCFLAGS+= -I${LOCALBASE}/include/gd XMAKE_ARGS= "LD_GD=gd1" X.else XLIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd XMAKE_ARGS= "LD_GD=gd" X.endif X XMAN8= pfstat.8 X XMANCOMPRESSED= no X XCFLAGS+= -I${LOCALBASE}/include/pf X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 500000 XIGNORE= "Only for 5.0 and above" X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/man/man8 X X.include <bsd.port.post.mk> END-of-pfstat/Makefile echo x - pfstat/distinfo sed 's/^X//' >pfstat/distinfo << 'END-of-pfstat/distinfo' XMD5 (pfstat-1.7.tar.gz) = bd58864b56774aa10aa763258de8b625 END-of-pfstat/distinfo echo c - pfstat/files mkdir -p pfstat/files > /dev/null 2>&1 echo x - pfstat/files/patch-aa sed 's/^X//' >pfstat/files/patch-aa << 'END-of-pfstat/files/patch-aa' X--- Makefile.orig Fri Oct 10 19:44:27 2003 X+++ Makefile Fri Oct 10 19:44:42 2003 X@@ -5,7 +5,7 @@ X CFLAGS+= -Wall X CFLAGS+= -I${LOCALBASE}/include X LDFLAGS+= -L${LOCALBASE}/lib X-LDFLAGS+= -lgd -lm -lpng -lz -ljpeg -lttf X+LDFLAGS+= -l${LD_GD} -lm -lpng -lz -ljpeg X NOMAN= 1 X X .include <bsd.prog.mk> END-of-pfstat/files/patch-aa echo x - pfstat/pkg-plist sed 's/^X//' >pfstat/pkg-plist << 'END-of-pfstat/pkg-plist' Xbin/pfstat END-of-pfstat/pkg-plist echo x - pfstat/pkg-descr sed 's/^X//' >pfstat/pkg-descr << 'END-of-pfstat/pkg-descr' XPfstat is a small utility that collects packet filter (security/pf) statistics Xand produces graphs like mrtg or alike. Samples can be found at the website Xbelow. X XWWW: http://www.benzedrine.cx/pfstat.html X X-Max <max@love2party.net> END-of-pfstat/pkg-descr exit --- pfstat.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031010200138.37216.qmail>