From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 7 14:10:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FB701065673 for ; Sat, 7 Feb 2009 14:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 69DF68FC12 for ; Sat, 7 Feb 2009 14:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n17EA1xZ093896 for ; Sat, 7 Feb 2009 14:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n17EA1DS093895; Sat, 7 Feb 2009 14:10:01 GMT (envelope-from gnats) Resent-Date: Sat, 7 Feb 2009 14:10:01 GMT Resent-Message-Id: <200902071410.n17EA1DS093895@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sofian Brabez Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B02C10656C9 for ; Sat, 7 Feb 2009 14:08:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 08ED18FC17 for ; Sat, 7 Feb 2009 14:08:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n17E8n4U027248 for ; Sat, 7 Feb 2009 14:08:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n17E8nOw027247; Sat, 7 Feb 2009 14:08:49 GMT (envelope-from nobody) Message-Id: <200902071408.n17E8nOw027247@www.freebsd.org> Date: Sat, 7 Feb 2009 14:08:49 GMT From: Sofian Brabez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131463: New port: security/py-PF: A pure-Python module for managing OpenBSD Packet Filter X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 14:10:02 -0000 >Number: 131463 >Category: ports >Synopsis: New port: security/py-PF: A pure-Python module for managing OpenBSD Packet Filter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 07 14:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sofian Brabez >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: FreeBSD atemi 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: Here the .shar file as attachement to add py-PF to the port tree (security category) py-PF is a pure-Python module for managing OpenBSD's Packet Filter. It aims to combine the flexibility of PF's C API and the power of Python, making it easier to manage PF data and to integrate firewalling capabilities in more complex applications. Features: =========== * Stateful filtering of TCP/IP traffic * Network Address translation * packets normalization and reassembly * bandwidth control and packet prioritization * traffic filtering based on OS fingerprint Requirements: =============== * Python 2.2 and later Author: ========= Daniele Mazzocchio WWW: http://www.kernel-panic.it/software/py-pf/ >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # py-PF # py-PF/pkg-descr # py-PF/Makefile # py-PF/pkg-plist # py-PF/files # py-PF/files/pkg-message.in # py-PF/distinfo # echo c - py-PF mkdir -p py-PF > /dev/null 2>&1 echo x - py-PF/pkg-descr sed 's/^X//' >py-PF/pkg-descr << 'END-of-py-PF/pkg-descr' Xpy-PF is a pure-Python module for managing OpenBSD's Packet Filter. It aims Xto combine the flexibility of PF's C API and the power of Python, making it Xeasier to manage PF data and to integrate firewalling capabilities in more Xcomplex applications. X XWWW: http://www.kernel-panic.it/software/py-pf/ END-of-py-PF/pkg-descr echo x - py-PF/Makefile sed 's/^X//' >py-PF/Makefile << 'END-of-py-PF/Makefile' X# New ports collection makefile for: py-PF X# Date created: 2009-02-07 X# Whom: Sofian Brabez X# X# $FreeBSD$ X# X XPORTNAME= PF XPORTVERSION= 0.0.2 XCATEGORIES= security python XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}${PORTNAME:L} XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}${PORTNAME}-${PORTVERSION} X XMAINTAINER= sbrabez@gmail.com XCOMMENT= A pure-Python module for managing OpenBSD Packet Filter X XUSE_PYTHON= 2.2+ XUSE_PYDISTUTILS= yes XPYDISTUTILS_PKGNAME= ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}_${PORTNAME} X XPKGMESSAGE= ${WRKDIR}/pkg-message XSUB_FILES= pkg-message X Xpost-install: X.if !defined(BATCH) X @${CAT} ${PKGMESSAGE} X.endif X X.include END-of-py-PF/Makefile echo x - py-PF/pkg-plist sed 's/^X//' >py-PF/pkg-plist << 'END-of-py-PF/pkg-plist' X%%PYTHON_SITELIBDIR%%/PF/PFConstants.py X%%PYTHON_SITELIBDIR%%/PF/PFConstants.pyc X%%PYTHON_SITELIBDIR%%/PF/PFConstants.pyo X%%PYTHON_SITELIBDIR%%/PF/PFRule.py X%%PYTHON_SITELIBDIR%%/PF/PFRule.pyc X%%PYTHON_SITELIBDIR%%/PF/PFRule.pyo X%%PYTHON_SITELIBDIR%%/PF/PFState.py X%%PYTHON_SITELIBDIR%%/PF/PFState.pyc X%%PYTHON_SITELIBDIR%%/PF/PFState.pyo X%%PYTHON_SITELIBDIR%%/PF/PFStatus.py X%%PYTHON_SITELIBDIR%%/PF/PFStatus.pyc X%%PYTHON_SITELIBDIR%%/PF/PFStatus.pyo X%%PYTHON_SITELIBDIR%%/PF/PFUtils.py X%%PYTHON_SITELIBDIR%%/PF/PFUtils.pyc X%%PYTHON_SITELIBDIR%%/PF/PFUtils.pyo X%%PYTHON_SITELIBDIR%%/PF/PacketFilter.py X%%PYTHON_SITELIBDIR%%/PF/PacketFilter.pyc X%%PYTHON_SITELIBDIR%%/PF/PacketFilter.pyo X%%PYTHON_SITELIBDIR%%/PF/_PFStruct.py X%%PYTHON_SITELIBDIR%%/PF/_PFStruct.pyc X%%PYTHON_SITELIBDIR%%/PF/_PFStruct.pyo X%%PYTHON_SITELIBDIR%%/PF/__init__.py X%%PYTHON_SITELIBDIR%%/PF/__init__.pyc X%%PYTHON_SITELIBDIR%%/PF/__init__.pyo X@dirrm %%PYTHON_SITELIBDIR%%/PF END-of-py-PF/pkg-plist echo c - py-PF/files mkdir -p py-PF/files > /dev/null 2>&1 echo x - py-PF/files/pkg-message.in sed 's/^X//' >py-PF/files/pkg-message.in << 'END-of-py-PF/files/pkg-message.in' X------------------------------------------------------------- Xpy-pF is installed. X XFor a quick start: X - import PF for using this module X - read http://www.kernel-panic.it/programming/py-pf/ X - you need to be root for using this module X------------------------------------------------------------- END-of-py-PF/files/pkg-message.in echo x - py-PF/distinfo sed 's/^X//' >py-PF/distinfo << 'END-of-py-PF/distinfo' XMD5 (py-PF-0.0.2.tar.gz) = e595b0783180efb1c72ab87d9e5d0d16 XSHA256 (py-PF-0.0.2.tar.gz) = 978a2da9000985eb154c1e62efd7f864564514780cb0a55fe2ca0d798a7c5af1 XSIZE (py-PF-0.0.2.tar.gz) = 24066 END-of-py-PF/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: