Import py-spf-2.0.5

Sender-Policy-Framework queries in Python.
Provides an implementation of SPF useful for detecting email forgery.

from Pierre-Emmanuel Andre (MAINTAINER)
This commit is contained in:
ajacoutot 2008-10-18 11:15:36 +00:00
parent 859e402fa0
commit 1a99aa1595
4 changed files with 52 additions and 0 deletions

39
mail/py-spf/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/18 11:15:36 ajacoutot Exp $
COMMENT= Sender-Policy-Framework queries in Python
MODPY_EGG_VERSION=2.0.5
DISTNAME= pyspf-${MODPY_EGG_VERSION}
PKGNAME= py-spf-${MODPY_EGG_VERSION}
CATEGORIES= mail
HOMEPAGE= http://bmsi.com/python/milter.html
MAINTAINER= Pierre-Emmanuel Andre <pea@raveland.org>
# Python
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymilter/}
MODULES= lang/python
BUILD_DEPENDS= py-dns-*:net/py-dns
REGRESS_DEPENDS=${PKGNAME}:${BUILD_PKGPATH} \
::textproc/py-yaml
BINFILES= spfquery.py type99.py
do-regress:
@cd ${WRKSRC}/test && ${MODPY_BIN} testspf.py
post-install:
.for i in ${BINFILES}
@cd ${PREFIX}/bin && mv ${i} `basename ${i} .py`
.endfor
.include <bsd.port.mk>

5
mail/py-spf/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (pyspf-2.0.5.tar.gz) = fj9TNi461S7IpJZEUIWjTw==
RMD160 (pyspf-2.0.5.tar.gz) = g/pCVwv/vx7Bk02y1TT60fSzuMY=
SHA1 (pyspf-2.0.5.tar.gz) = hAHpav5qFBokKG8kEI9Arc3TtPg=
SHA256 (pyspf-2.0.5.tar.gz) = qeFD/vxrr9n245sbYuqq+ui/lr3CWWH/HVXQGxc78LA=
SIZE (pyspf-2.0.5.tar.gz) = 38818

2
mail/py-spf/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
Sender-Policy-Framework queries in Python.
Provides an implementation of SPF useful for detecting email forgery.

6
mail/py-spf/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/18 11:15:36 ajacoutot Exp $
bin/spfquery
bin/type99
lib/python${MODPY_VERSION}/site-packages/pyspf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/spf.py
lib/python${MODPY_VERSION}/site-packages/spf.pyc