Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2011 10:52:35 GMT
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155025: [UPDATE] security/py-PF: update to 0.0.5
Message-ID:  <201102251052.p1PAqZL5055889@red.freebsd.org>
Resent-Message-ID: <201102251100.p1PB0Lft093193@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102251052.p1PAqZL5055889>