summaryrefslogtreecommitdiff
path: root/mail/p5-LMAP-CID2SPF
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-11-05 01:18:08 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-11-05 01:18:08 +0000
commit45414193d2a7a800b05553906d56de3e9d9ce22f (patch)
tree7ec9454bad30c7d8b0d53d1d2958dac57ac7a8e3 /mail/p5-LMAP-CID2SPF
parent- Update to 1.0.1 (diff)
This module can be used to convert between two of the LMAP (Lightweight
MTA Authentication Protocol) formats currently being proposed: CID = Microsoft's Caller-ID SPF = Sender Policy Framework It will convert an XML-fragment as proposed by CID to a record that can be added to DNS as proposed by SPF. This seems to be needed by SpamAssassin/Mail::SPF::Query for dealing with Hotmail messages, somewhere along the line.
Notes
Notes: svn path=/head/; revision=176394
Diffstat (limited to 'mail/p5-LMAP-CID2SPF')
-rw-r--r--mail/p5-LMAP-CID2SPF/Makefile32
-rw-r--r--mail/p5-LMAP-CID2SPF/distinfo3
-rw-r--r--mail/p5-LMAP-CID2SPF/pkg-descr13
3 files changed, 48 insertions, 0 deletions
diff --git a/mail/p5-LMAP-CID2SPF/Makefile b/mail/p5-LMAP-CID2SPF/Makefile
new file mode 100644
index 000000000000..55f88b7be498
--- /dev/null
+++ b/mail/p5-LMAP-CID2SPF/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: LMAP-CID2SPF
+# Date Created: 2006-11-03
+# Whom: Shaun Amott <shaun@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= LMAP-CID2SPF
+DISTVERSION= 0.9
+CATEGORIES= mail perl5
+MASTER_SITES= http://www.baschny.de/spf/ \
+ http://mirror.inerd.com/FreeBSD/distfiles/p5-LMAP-CID2SPF/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= shaun@FreeBSD.org
+COMMENT= Module to convert between Microsoft's Caller-ID and SPF #'
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+CONFIGURE_SCRIPT=Makefile.PL
+
+PLIST_FILES+= bin/cid2spf %%SITE_PERL%%/LMAP/CID2SPF.pm
+PLIST_FILES+= "@unexec rmdir %D/%%SITE_PERL%%/LMAP 2>/dev/null || true"
+
+do-install:
+ @${MKDIR} ${SITE_PERL}/LMAP
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} cid2spf ${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_DATA} CID2SPF.pm ${SITE_PERL}/LMAP
+
+.include <bsd.port.mk>
diff --git a/mail/p5-LMAP-CID2SPF/distinfo b/mail/p5-LMAP-CID2SPF/distinfo
new file mode 100644
index 000000000000..6ea3f4f70a65
--- /dev/null
+++ b/mail/p5-LMAP-CID2SPF/distinfo
@@ -0,0 +1,3 @@
+MD5 (LMAP-CID2SPF-0.9.tar.gz) = d0c31d773d840c859b582990137b0b5a
+SHA256 (LMAP-CID2SPF-0.9.tar.gz) = f7477758bbb69244f7a3cb6d861dce0ac94fda83173e06ae4bf216420bdc6227
+SIZE (LMAP-CID2SPF-0.9.tar.gz) = 3752
diff --git a/mail/p5-LMAP-CID2SPF/pkg-descr b/mail/p5-LMAP-CID2SPF/pkg-descr
new file mode 100644
index 000000000000..35e1200ecb0b
--- /dev/null
+++ b/mail/p5-LMAP-CID2SPF/pkg-descr
@@ -0,0 +1,13 @@
+This module can be used to convert between two of the LMAP (Lightweight
+MTA Authentication Protocol) formats currently being proposed:
+
+ CID = Microsoft's Caller-ID
+ SPF = Sender Policy Framework
+
+It will convert an XML-fragment as proposed by CID to a record that can
+be added to DNS as proposed by SPF.
+
+SEE ALSO
+
+ CID: http://www.microsoft.com/mscorp/twc/privacy/spam_callerid.mspx
+ SPF: http://spf.pobox.com/