summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-13 23:29:18 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-04-13 23:29:18 +0000
commitf71b7026b8d59c045d0ecda046db049471981db9 (patch)
treeeb7415de3f5e28ae4c7148c68562da8bc85fe907
parentlang/erlang-runtime20,21: remove GS option. (diff)
Add p5-Mail-AuthenticationResults 1.20180923
Mail::AuthenticationResults provides object-oriented authentication-results email headers. This parser copes with most styles of Authentication-Results header seen in the wild, but is not yet fully RFC7601 compliant. Differences from RFC7601: - key/value pairs are parsed when present in the authserv-id section, this is against RFC but has been seen in headers added by Yahoo!. - Comments added between key/value pairs will be added after them in the data structures and when stringified. WWW: https://metacpan.org/release/Mail-AuthenticationResults
Notes
Notes: svn path=/head/; revision=498842
-rw-r--r--mail/Makefile1
-rw-r--r--mail/p5-Mail-AuthenticationResults/Makefile25
-rw-r--r--mail/p5-Mail-AuthenticationResults/distinfo3
-rw-r--r--mail/p5-Mail-AuthenticationResults/pkg-descr11
-rw-r--r--mail/p5-Mail-AuthenticationResults/pkg-plist36
5 files changed, 76 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 408bcd38ef7d..58db98022cf8 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -371,6 +371,7 @@
SUBDIR += p5-Mail-Alias
SUBDIR += p5-Mail-Audit
SUBDIR += p5-Mail-Audit-Attach
+ SUBDIR += p5-Mail-AuthenticationResults
SUBDIR += p5-Mail-Box
SUBDIR += p5-Mail-Box-IMAP4
SUBDIR += p5-Mail-Box-IMAP4-SSL
diff --git a/mail/p5-Mail-AuthenticationResults/Makefile b/mail/p5-Mail-AuthenticationResults/Makefile
new file mode 100644
index 000000000000..9f18d5001c19
--- /dev/null
+++ b/mail/p5-Mail-AuthenticationResults/Makefile
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Mail-AuthenticationResults
+PORTVERSION= 1.20180923
+CATEGORIES= mail perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Object Oriented Authentication-Results Headers
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/mail/p5-Mail-AuthenticationResults/distinfo b/mail/p5-Mail-AuthenticationResults/distinfo
new file mode 100644
index 000000000000..c67373c287aa
--- /dev/null
+++ b/mail/p5-Mail-AuthenticationResults/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1555115808
+SHA256 (Mail-AuthenticationResults-1.20180923.tar.gz) = 7ff59a229db597cc89e3aa9c2459145092061da0b77012376f142eb653f53cbc
+SIZE (Mail-AuthenticationResults-1.20180923.tar.gz) = 29827
diff --git a/mail/p5-Mail-AuthenticationResults/pkg-descr b/mail/p5-Mail-AuthenticationResults/pkg-descr
new file mode 100644
index 000000000000..9962f0212af9
--- /dev/null
+++ b/mail/p5-Mail-AuthenticationResults/pkg-descr
@@ -0,0 +1,11 @@
+Mail::AuthenticationResults provides object-oriented authentication-results
+email headers. This parser copes with most styles of Authentication-Results
+header seen in the wild, but is not yet fully RFC7601 compliant.
+
+Differences from RFC7601:
+- key/value pairs are parsed when present in the authserv-id section, this is
+ against RFC but has been seen in headers added by Yahoo!.
+- Comments added between key/value pairs will be added after them in the data
+ structures and when stringified.
+
+WWW: https://metacpan.org/release/Mail-AuthenticationResults
diff --git a/mail/p5-Mail-AuthenticationResults/pkg-plist b/mail/p5-Mail-AuthenticationResults/pkg-plist
new file mode 100644
index 000000000000..5f241f5afd48
--- /dev/null
+++ b/mail/p5-Mail-AuthenticationResults/pkg-plist
@@ -0,0 +1,36 @@
+%%SITE_PERL%%/Mail/AuthenticationResults.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/FoldableHeader.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/AuthServID.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/Base.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/Comment.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/Entry.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/Group.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/SubEntry.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Header/Version.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Parser.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token/Assignment.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token/Comment.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token/QuotedString.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token/Separator.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token/Space.pm
+%%SITE_PERL%%/Mail/AuthenticationResults/Token/String.pm
+%%PERL5_MAN3%%/Mail::AuthenticationResults.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::FoldableHeader.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::AuthServID.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::Base.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::Comment.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::Entry.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::Group.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::SubEntry.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Header::Version.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Parser.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token::Assignment.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token::Comment.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token::QuotedString.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token::Separator.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token::Space.3.gz
+%%PERL5_MAN3%%/Mail::AuthenticationResults::Token::String.3.gz