From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 25 11:00:24 2011 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 928F310656B4 for ; Fri, 25 Feb 2011 11:00:24 +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 7925F8FC2B for ; Fri, 25 Feb 2011 11:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1PB0LxE093194 for ; Fri, 25 Feb 2011 11:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1PB0Lft093193; Fri, 25 Feb 2011 11:00:21 GMT (envelope-from gnats) Resent-Date: Fri, 25 Feb 2011 11:00:21 GMT Resent-Message-Id: <201102251100.p1PB0Lft093193@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, Ruslan Mahmatkhanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB261065670 for ; Fri, 25 Feb 2011 10:52:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C289E8FC0A for ; Fri, 25 Feb 2011 10:52:35 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p1PAqZhZ055900 for ; Fri, 25 Feb 2011 10:52:35 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p1PAqZL5055889; Fri, 25 Feb 2011 10:52:35 GMT (envelope-from nobody) Message-Id: <201102251052.p1PAqZL5055889@red.freebsd.org> Date: Fri, 25 Feb 2011 10:52:35 GMT From: Ruslan Mahmatkhanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/155025: [UPDATE] security/py-PF: update to 0.0.5 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: Fri, 25 Feb 2011 11:00:24 -0000 >Number: 155025 >Category: ports >Synopsis: [UPDATE] security/py-PF: update to 0.0.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 25 11:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ruslan Mahmatkhanov >Release: 8.2-PRERELEASE >Organization: >Environment: 8.2-PRERELEASE i386 >Description: - update to 0.0.5 - add EXTRACT_SUFX - add license - fix version in setup.py to generate correct egg-info changelog: - Updated to OpenBSD 4.8; the PF stack has undergone some major changes, such as removing the different rule types (nat, rdr, binat ... rules do not exist anymore) and introducing 'match' rules. This has greatly simplified the PFRuleset class and the PacketFilter methods that load/retrieve rules. - Various bugs have been corrected - All the code has been reviewed and is now Py3k-ready. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruNa py-PF.orig/Makefile py-PF/Makefile --- py-PF.orig/Makefile 2009-08-22 04:35:02.000000000 +0400 +++ py-PF/Makefile 2011-02-25 13:38:27.000000000 +0300 @@ -6,21 +6,28 @@ # PORTNAME= PF -PORTVERSION= 0.0.4 +PORTVERSION= 0.0.5 CATEGORIES= security python MASTER_SITES= SF/py-${PORTNAME:L}/py-${PORTNAME:L}/${DISTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tgz MAINTAINER= sbrabez@gmail.com COMMENT= A pure-Python module for managing OpenBSD Packet Filter +LICENSE= BSD +LICENSE_FILE= ${WRKSRC}/LICENSE + USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= ${PYTHON_PKGNAMEPREFIX:C/[0-9]+//}_${PORTNAME} SUB_FILES= pkg-message +post-patch: + @${REINPLACE_CMD} -e 's#"0.0.4"#"0.0.5"#g' ${WRKSRC}/setup.py + post-install: .if !defined(BATCH) @${CAT} ${PKGMESSAGE} diff -ruNa py-PF.orig/distinfo py-PF/distinfo --- py-PF.orig/distinfo 2009-08-07 15:20:21.000000000 +0400 +++ py-PF/distinfo 2011-02-25 13:12:36.000000000 +0300 @@ -1,3 +1,2 @@ -MD5 (py-PF-0.0.4.tar.gz) = 1bfae82e3ad334941a620a05ba884e4a -SHA256 (py-PF-0.0.4.tar.gz) = f49b4550cbf6fb8cc3ef5cfdf3dfe99c36632ddb6554fc7420e37c985a948a95 -SIZE (py-PF-0.0.4.tar.gz) = 28765 +SHA256 (py-PF-0.0.5.tgz) = d183081916469345532c514dba1c055fa8d3e0d228f057be485c316915d9784f +SIZE (py-PF-0.0.5.tgz) = 30383 >Release-Note: >Audit-Trail: >Unformatted: