From nobody@FreeBSD.org  Sat Feb  7 14:08:50 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1B02C10656C9
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <sbrabez@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: security/py-PF: A pure-Python module for managing OpenBSD Packet Filter
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 14:10:01 UTC 2009
>Closed-Date:    Mon Feb 09 21:25:16 UTC 2009
>Last-Modified:  Mon Feb  9 21:30:03 UTC 2009
>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 <sbrabez@gmail.com>
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 <bsd.port.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Feb 7 14:10:11 UTC 2009 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131463 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Feb 9 21:25:15 UTC 2009 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=131463 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/131463: commit references a PR
Date: Mon,  9 Feb 2009 21:25:35 +0000 (UTC)

 miwi        2009-02-09 21:25:26 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security             Makefile 
   Added files:
     security/py-PF       Makefile distinfo pkg-descr pkg-plist 
     security/py-PF/files pkg-message.in 
   Log:
   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.
   
   WWW:    http://www.kernel-panic.it/software/py-pf/
   
   PR:             ports/131463
   Submitted by:   Sofian Brabez <sbrabez at gmail.com>
   
   Revision  Changes    Path
   1.1019    +1 -0      ports/security/Makefile
   1.1       +31 -0     ports/security/py-PF/Makefile (new)
   1.1       +3 -0      ports/security/py-PF/distinfo (new)
   1.1       +8 -0      ports/security/py-PF/files/pkg-message.in (new)
   1.1       +6 -0      ports/security/py-PF/pkg-descr (new)
   1.1       +25 -0     ports/security/py-PF/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
