ports/75521: New port: mail/py-spf Python implementation of SPF
Marcus Grando
marcus at corp.grupos.com.br
Sun Dec 26 23:10:19 UTC 2004
>Number: 75521
>Category: ports
>Synopsis: New port: mail/py-spf Python implementation of SPF
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 26 23:10:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #36: Sun Dec 26 16:00:38 BRST 2004 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
New port: mail/py-spf Python implementation of SPF
>How-To-Repeat:
>Fix:
--- py-spf.sh begins here ---
# 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-spf
# py-spf/Makefile
# py-spf/distinfo
# py-spf/pkg-descr
# py-spf/pkg-plist
#
echo c - py-spf
mkdir -p py-spf > /dev/null 2>&1
echo x - py-spf/Makefile
sed 's/^X//' >py-spf/Makefile << 'END-of-py-spf/Makefile'
X# New ports collection makefile for: py-spf
X# Date created: 26 Dec 2004
X# Whom: Marcus Grando <marcus at corp.grupos.com.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME= spf
XPORTVERSION= 1.6
XCATEGORIES= mail python
XMASTER_SITES= http://www.wayforward.net/spf/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
XDISTNAME= py${PORTNAME}-${PORTVERSION}
X
XRUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/DNS/__init__.py:${PORTSDIR}/dns/py-dns
X
XMAINTAINER= marcus at corp.grupos.com.br
XCOMMENT= Python implementation of SPF
X
XDIST_SUBDIR= python
XUSE_PYTHON= yes
XUSE_PYDISTUTILS=yes
X
XDOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= *
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X @${CHMOD} 755 ${PYTHONPREFIX_SITELIBDIR}/spf.py
X @${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-py-spf/Makefile
echo x - py-spf/distinfo
sed 's/^X//' >py-spf/distinfo << 'END-of-py-spf/distinfo'
XMD5 (python/pyspf-1.6.tar.gz) = 7ff35d8f9db41f2f7e0068f78f243a3d
XSIZE (python/pyspf-1.6.tar.gz) = 11424
END-of-py-spf/distinfo
echo x - py-spf/pkg-descr
sed 's/^X//' >py-spf/pkg-descr << 'END-of-py-spf/pkg-descr'
XPython implementation of SPF (Sender Permitted From)
X
XFor more information about SPF, a tool against email forgery, see
X http://spf.pobox.com
X
XFor news, bugfixes, etc. visit the home page for this implementation at
X http://www.wayforward.net/spf/
X
XWWW: http://www.wayforward.net/spf/
X
XMarcus Grando <marcus at corp.grupos.com.br>
END-of-py-spf/pkg-descr
echo x - py-spf/pkg-plist
sed 's/^X//' >py-spf/pkg-plist << 'END-of-py-spf/pkg-plist'
Xbin/spf.py
Xlib/%%PYTHON_VERSION%%/site-packages/spf.py
Xlib/%%PYTHON_VERSION%%/site-packages/spf.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/spf.pyo
END-of-py-spf/pkg-plist
exit
--- py-spf.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list