Import py-policyd-spf-0.7.1

External policy checker for the postfix mail server.  It will use pyspf to 
check SPF records to determine if email should be rejected by your server.

from Pierre-Emmanuel Andre (MAINTAINER)
This commit is contained in:
ajacoutot 2008-10-18 11:17:59 +00:00
parent 1a99aa1595
commit cc8516ca97
6 changed files with 84 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/18 11:17:59 ajacoutot Exp $
COMMENT= external SPF policy checker for postfix
MODPY_EGG_VERSION= 0.7.1
DISTNAME= pypolicyd-spf-${MODPY_EGG_VERSION}
PKGNAME= py-policyd-spf-${MODPY_EGG_VERSION}
CATEGORIES= mail
HOMEPAGE= http://www.openspf.org
MAINTAINER= Pierre-Emmanuel Andre <pea@raveland.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/blobs/
MODULES= lang/python
BUILD_DEPENDS= ::mail/py-spf
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/policyd-spf.1
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (pypolicyd-spf-0.7.1.tar.gz) = VSQtIFIk7PC2u3hDvcHhLA==
RMD160 (pypolicyd-spf-0.7.1.tar.gz) = Y8xoZzWhMNVStTXbO9XyFhL3ZiU=
SHA1 (pypolicyd-spf-0.7.1.tar.gz) = IdzAieYzzydfhFz2f88zrHt9Mjs=
SHA256 (pypolicyd-spf-0.7.1.tar.gz) = QLnYRqk+T9h7Y+S5pUC07q/UCAjRlZXvo39iuRyKrV4=
SIZE (pypolicyd-spf-0.7.1.tar.gz) = 25217

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-policyd-spf_1,v 1.1.1.1 2008/10/18 11:17:59 ajacoutot Exp $
--- policyd-spf.1.orig Wed Oct 15 21:19:33 2008
+++ policyd-spf.1 Wed Oct 15 21:19:47 2008
@@ -251,7 +251,7 @@ followed by a empty line:
1. Add the following to /etc/postfix/master.cf:
policyd-spf unix - n n - 0 spawn
- user=nobody argv=/usr/bin/policyd-spf
+ user=nobody argv=${PREFIX}/bin/policyd-spf
NOTE: Check the path to both the installed Python interpreter and
policyd-spf. These vary from system to system. To use non-default

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2008/10/18 11:17:59 ajacoutot Exp $
--- setup.py.orig Sat Jul 26 05:58:29 2008
+++ setup.py Thu Oct 16 14:06:11 2008
@@ -15,10 +15,12 @@ setup(name='python-policyd-spf',
py_modules=['policydspfsupp'],
keywords = ['Postfix','spf','email'],
scripts = ['policyd-spf'],
- data_files=[(os.path.join('share', 'man', 'man1'),
- ['policyd-spf.1']), (os.path.join('share', 'man', 'man5'),
- ['policyd-spf.conf.5']), (os.path.join('../etc', 'python-policyd-spf'),
- ['policyd-spf.conf'])],
+ data_files=[
+ ('man/man1',['policyd-spf.1']),
+ ('man/man5',['policyd-spf.conf.5']),
+ ('share/examples/py-policyd-spf',['policyd-spf.conf']),
+ ('share/examples/py-policyd-spf',['policyd-spf.conf.commented']),
+ ('share/doc/py-policyd-spf',['README.per_user_whitelisting'])],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: No Input/Output (Daemon)',

View File

@ -0,0 +1,2 @@
External policy checker for the postfix mail server. It will use pyspf to
check SPF records to determine if email should be rejected by your server.

View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/18 11:17:59 ajacoutot Exp $
bin/policyd-spf
lib/python${MODPY_VERSION}/site-packages/policydspfsupp.py
lib/python${MODPY_VERSION}/site-packages/policydspfsupp.pyc
lib/python${MODPY_VERSION}/site-packages/python_policyd_spf-0.7-py${MODPY_VERSION}.egg-info
@man man/man1/policyd-spf.1
@man man/man5/policyd-spf.conf.5
share/doc/py-policyd-spf/
share/doc/py-policyd-spf/README.per_user_whitelisting
share/examples/py-policyd-spf/
@sample ${SYSCONFDIR}/python-policyd-spf/
share/examples/py-policyd-spf/policyd-spf.conf
@sample ${SYSCONFDIR}/python-policyd-spf/policyd-spf.conf
share/examples/py-policyd-spf/policyd-spf.conf.commented