From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 03:54:43 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 378FB16A4CF; Thu, 16 Sep 2004 03:54:43 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 52190 invoked by uid 1005); 11 Oct 2003 17:04:18 -0000 Delivered-To: max@vampire.homelinux.org Received: (qmail 52187 invoked from network); 11 Oct 2003 17:04:18 -0000 Received: from moutng.kundenserver.de (212.227.126.189) by p508395ac.dip.t-dialin.net with SMTP; 11 Oct 2003 17:04:18 -0000 Received: from [212.227.126.158] (helo=mxng08.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A8N7W-0007EI-00 for max@vampire.homelinux.org; Sat, 11 Oct 2003 19:01:34 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng08.kundenserver.de with esmtp (Exim 3.35 #1) id 1A8N7R-0002bG-00 for max@love2party.net; Sat, 11 Oct 2003 19:01:29 +0200 Received: from turing (localhost [127.0.0.1])ESMTP id 6ABC2390B0E; Sat, 11 Oct 2003 11:53:56 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Sat, 11 Oct 2003 11:53:49 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])ESMTP id 1E98E390AF0 for ; Sat, 11 Oct 2003 11:53:45 -0500 (EST) Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1A8N5s-0003Hy-00 for pf4freebsd@freelists.org; Sat, 11 Oct 2003 18:59:52 +0200 Received: from [80.131.149.172] (helo=max2400) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1A8N5r-0007iW-00 for pf4freebsd@freelists.org; Sat, 11 Oct 2003 18:59:51 +0200 From: Max Laier X-Mailer: The Bat! (v2.00.6) X-Priority: 3 (Normal) Message-ID: <143780171.20031011190017@love2party.net> To: pf4freebsd@freelists.org MIME-Version: 1.0 Content-type: text/plain X-archive-position: 196 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: max@love2party.net Precedence: normal X-list: pf4freebsd Content-Transfer-Encoding: quoted-printable X-UID: 311 X-Length: 6376 X-Mailman-Approved-At: Thu, 16 Sep 2004 03:55:52 +0000 Subject: [pf4freebsd] New port: sysutils/pfstat (http://www.benzedrine.cx/pfstat.html) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 03:54:43 -0000 X-Original-Date: Sat, 11 Oct 2003 19:00:17 +0200 X-List-Received-Date: Thu, 16 Sep 2004 03:54:43 -0000 Hello, soon you will find pfstat (http://www.benzedrine.cx/pfstat.html) in the ports tree (http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/57852) and of course in the contrib tree of the tarball. I hope the PR gets processed soon. You can build it with either version of the gd. While gd2 is the default, "$make WITH_GD1=3Dyes" will build and link with gd1. Tell me if anything goes wrong. I'll try to attach a shar file to bring it to your tarball now, but freelists wasn't too cooperative when it comes to attachments, so here it is inlined (just in case): --- Start --- # 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 X# X# $FreeBSD$ X# X XPORTNAME=3D pfstat XPORTVERSION=3D 1.7 XCATEGORIES=3D sysutils net XMASTER_SITES=3D http://www.benzedrine.cx/ XDISTNAME=3D ${PORTNAME}-${PORTVERSION} X XMAINTAINER=3D max@love2party.net XCOMMENT=3D Utility to render grafical statistics for pf X X#BUILD_DEPENDS=3D ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}= /security/pf X#RUN_DEPENDS=3D ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf X.if defined(WITH_GD1) XLIB_DEPENDS=3D gd1.2:${PORTSDIR}/graphics/gd1 XCFLAGS+=3D -I${LOCALBASE}/include/gd XMAKE_ARGS=3D "LD_GD=3Dgd1" X.else XLIB_DEPENDS=3D gd.4:${PORTSDIR}/graphics/gd XMAKE_ARGS=3D "LD_GD=3Dgd" X.endif X XMAN8=3D pfstat.8 X XMANCOMPRESSED=3D no X XCFLAGS+=3D -I${.CURDIR}/../../include X X.include X X.if ${OSVERSION} < 500000 XIGNORE=3D "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 END-of-pfstat/Makefile echo x - pfstat/distinfo sed 's/^X//' >pfstat/distinfo << 'END-of-pfstat/distinfo' XMD5 (pfstat-1.7.tar.gz) =3D 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+=3D -Wall X CFLAGS+=3D -I${LOCALBASE}/include X LDFLAGS+=3D -L${LOCALBASE}/lib X-LDFLAGS+=3D -lgd -lm -lpng -lz -ljpeg -lttf X+LDFLAGS+=3D -l${LD_GD} -lm -lpng -lz -ljpeg X NOMAN=3D 1 X=20 X .include 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) stat= istics Xand produces graphs like mrtg or alike. Samples can be found at the webs= ite Xbelow. X XWWW: http://www.benzedrine.cx/pfstat.html X X-Max END-of-pfstat/pkg-descr exit --- End --- --=20 Best regards, Max mailto:max@love2party.net -- Binary/unsupported file stripped by Ecartis -- -- Type: application/octet-stream -- File: pfstat.shar