1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Add py-spf, a python implementation of SPF.

PR:		ports/75521
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
This commit is contained in:
Pav Lucistnik 2004-12-28 15:00:15 +00:00
parent 74008d8abd
commit 6e58cbf790
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125340
5 changed files with 56 additions and 0 deletions

View File

@ -352,6 +352,7 @@
SUBDIR += py-milter
SUBDIR += py-mimelib
SUBDIR += py-spambayes
SUBDIR += py-spf
SUBDIR += pygmy
SUBDIR += pymsgauth
SUBDIR += pyzor

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

@ -0,0 +1,38 @@
# New ports collection makefile for: py-spf
# Date created: 26 Dec 2004
# Whom: Marcus Grando <marcus@corp.grupos.com.br>
#
# $FreeBSD$
#
PORTNAME= spf
PORTVERSION= 1.6
CATEGORIES= mail python
MASTER_SITES= http://www.wayforward.net/spf/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= marcus@corp.grupos.com.br
COMMENT= Python implementation of SPF
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/DNS/__init__.py:${PORTSDIR}/dns/py-dns
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CHMOD} 755 ${PYTHONPREFIX_SITELIBDIR}/spf.py
@${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${PREFIX}/bin
.include <bsd.port.mk>

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

@ -0,0 +1,2 @@
MD5 (python/pyspf-1.6.tar.gz) = 7ff35d8f9db41f2f7e0068f78f243a3d
SIZE (python/pyspf-1.6.tar.gz) = 11424

11
mail/py-spf/pkg-descr Normal file
View File

@ -0,0 +1,11 @@
Python implementation of SPF (Sender Permitted From)
For more information about SPF, a tool against email forgery, see
http://spf.pobox.com
For news, bugfixes, etc. visit the home page for this implementation at
http://www.wayforward.net/spf/
WWW: http://www.wayforward.net/spf/
Marcus Grando <marcus@corp.grupos.com.br>

4
mail/py-spf/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/spf.py
lib/%%PYTHON_VERSION%%/site-packages/spf.py
lib/%%PYTHON_VERSION%%/site-packages/spf.pyc
lib/%%PYTHON_VERSION%%/site-packages/spf.pyo