aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-11-05 09:18:08 +0800
committershaun <shaun@FreeBSD.org>2006-11-05 09:18:08 +0800
commita26f371dc73a08c3af383e10d12276b40e5e5f71 (patch)
treea59551ac7316fd205bd2afd10a66dda640242a76 /mail
parent808fae251eb320ff64455901b68fe15b7c58e8e0 (diff)
downloadfreebsd-ports-gnome-a26f371dc73a08c3af383e10d12276b40e5e5f71.tar.gz
freebsd-ports-gnome-a26f371dc73a08c3af383e10d12276b40e5e5f71.tar.zst
freebsd-ports-gnome-a26f371dc73a08c3af383e10d12276b40e5e5f71.zip
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.
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-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
4 files changed, 49 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 54f0fa781d71..35fdd2816c99 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -291,6 +291,7 @@
SUBDIR += p5-IMAP-Admin
SUBDIR += p5-IMAP-Client
SUBDIR += p5-IMAP-Sieve
+ SUBDIR += p5-LMAP-CID2SPF
SUBDIR += p5-Log-Procmail
SUBDIR += p5-MIME-Fast
SUBDIR += p5-MIME-Lite
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/