aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-28 23:00:15 +0800
committerpav <pav@FreeBSD.org>2004-12-28 23:00:15 +0800
commit5a0647d5c5198a222a1746c8015f616de9c9523e (patch)
tree925e5d563faa6d89f002c7b9a60fde6383bbafd9
parent7dfec59b6b8575b42ff2801832cdb18632d6d19e (diff)
downloadfreebsd-ports-gnome-5a0647d5c5198a222a1746c8015f616de9c9523e.tar.gz
freebsd-ports-gnome-5a0647d5c5198a222a1746c8015f616de9c9523e.tar.zst
freebsd-ports-gnome-5a0647d5c5198a222a1746c8015f616de9c9523e.zip
Add py-spf, a python implementation of SPF.
PR: ports/75521 Submitted by: Marcus Grando <marcus@corp.grupos.com.br>
-rw-r--r--mail/Makefile1
-rw-r--r--mail/py-spf/Makefile38
-rw-r--r--mail/py-spf/distinfo2
-rw-r--r--mail/py-spf/pkg-descr11
-rw-r--r--mail/py-spf/pkg-plist4
5 files changed, 56 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index e922c901b6cf..8329231b290f 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -352,6 +352,7 @@
SUBDIR += py-milter
SUBDIR += py-mimelib
SUBDIR += py-spambayes
+ SUBDIR += py-spf
SUBDIR += pygmy
SUBDIR += pymsgauth
SUBDIR += pyzor
diff --git a/mail/py-spf/Makefile b/mail/py-spf/Makefile
new file mode 100644
index 000000000000..06c9f8f5e0ee
--- /dev/null
+++ b/mail/py-spf/Makefile
@@ -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>
diff --git a/mail/py-spf/distinfo b/mail/py-spf/distinfo
new file mode 100644
index 000000000000..9e071e9c7060
--- /dev/null
+++ b/mail/py-spf/distinfo
@@ -0,0 +1,2 @@
+MD5 (python/pyspf-1.6.tar.gz) = 7ff35d8f9db41f2f7e0068f78f243a3d
+SIZE (python/pyspf-1.6.tar.gz) = 11424
diff --git a/mail/py-spf/pkg-descr b/mail/py-spf/pkg-descr
new file mode 100644
index 000000000000..409ccb40d024
--- /dev/null
+++ b/mail/py-spf/pkg-descr
@@ -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>
diff --git a/mail/py-spf/pkg-plist b/mail/py-spf/pkg-plist
new file mode 100644
index 000000000000..0fdeff06a59b
--- /dev/null
+++ b/mail/py-spf/pkg-plist
@@ -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