From b0e91fab5fb3a780fb4c0605629e71c94790895f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 18 Oct 2018 19:49:41 +0000 Subject: [PATCH] Add p5-Mail-Message 3.007 (copied from p5-Mail-Box) A Mail::Message object is a container for MIME-encoded message information, as defined by RFC2822. Everything what is not specificaly related to storing the messages in mailboxes (folders) is implemented in this class. Methods which are related to folders is implemented in the Mail::Box::Message extension. The main methods are get(), to get information from a message header field, and decoded() to get the intended content of a message. But there are many more which can assist your program. Complex message handling, like construction of replies and forwards, are implemented in separate packages which are autoloaded into this class. This means you can simply use these methods as if they are part of this class. Those package add functionality to all kinds of message objects. WWW: https://metacpan.org/release/Mail-Message --- mail/Makefile | 1 + mail/p5-Mail-Message/Makefile | 29 ++++++ mail/p5-Mail-Message/distinfo | 3 + mail/p5-Mail-Message/pkg-descr | 15 +++ mail/p5-Mail-Message/pkg-plist | 178 +++++++++++++++++++++++++++++++++ 5 files changed, 226 insertions(+) create mode 100644 mail/p5-Mail-Message/Makefile create mode 100644 mail/p5-Mail-Message/distinfo create mode 100644 mail/p5-Mail-Message/pkg-descr create mode 100644 mail/p5-Mail-Message/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index a9937ffd90c1..2bd900c45986 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -402,6 +402,7 @@ SUBDIR += p5-Mail-MailStats SUBDIR += p5-Mail-Mbox-MessageParser SUBDIR += p5-Mail-MboxParser + SUBDIR += p5-Mail-Message SUBDIR += p5-Mail-OpenDKIM SUBDIR += p5-Mail-OpenRelay-Simple SUBDIR += p5-Mail-POP3Client diff --git a/mail/p5-Mail-Message/Makefile b/mail/p5-Mail-Message/Makefile new file mode 100644 index 000000000000..3876a3f3dd92 --- /dev/null +++ b/mail/p5-Mail-Message/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Mail-Message +PORTVERSION= 3.007 +CATEGORIES= mail perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= General message object + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-IO-stringy>=0:devel/p5-IO-stringy \ + p5-MIME-Types>=1.004:mail/p5-MIME-Types \ + p5-Mail-Tools>=2.17:mail/p5-Mail-Tools \ + p5-TimeDate>=0:devel/p5-TimeDate \ + p5-URI>=1.23:net/p5-URI \ + p5-User-Identity>=0.94:devel/p5-User-Identity + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/mail/p5-Mail-Message/distinfo b/mail/p5-Mail-Message/distinfo new file mode 100644 index 000000000000..2f1b86700562 --- /dev/null +++ b/mail/p5-Mail-Message/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1537133905 +SHA256 (Mail-Message-3.007.tar.gz) = 7601dc5d1bedc0b6338b8b8c0ce5360aa75e112cbc48bc22eb0d085e2232eec2 +SIZE (Mail-Message-3.007.tar.gz) = 257554 diff --git a/mail/p5-Mail-Message/pkg-descr b/mail/p5-Mail-Message/pkg-descr new file mode 100644 index 000000000000..ccd76deb85c1 --- /dev/null +++ b/mail/p5-Mail-Message/pkg-descr @@ -0,0 +1,15 @@ +A Mail::Message object is a container for MIME-encoded message information, as +defined by RFC2822. Everything what is not specificaly related to storing the +messages in mailboxes (folders) is implemented in this class. Methods which are +related to folders is implemented in the Mail::Box::Message extension. + +The main methods are get(), to get information from a message header field, and +decoded() to get the intended content of a message. But there are many more +which can assist your program. + +Complex message handling, like construction of replies and forwards, are +implemented in separate packages which are autoloaded into this class. This +means you can simply use these methods as if they are part of this class. Those +package add functionality to all kinds of message objects. + +WWW: https://metacpan.org/release/Mail-Message diff --git a/mail/p5-Mail-Message/pkg-plist b/mail/p5-Mail-Message/pkg-plist new file mode 100644 index 000000000000..0c693b25ade8 --- /dev/null +++ b/mail/p5-Mail-Message/pkg-plist @@ -0,0 +1,178 @@ +%%SITE_PERL%%/Mail/Box/FastScalar.pm +%%SITE_PERL%%/Mail/Box/FastScalar.pod +%%SITE_PERL%%/Mail/Box/Parser.pm +%%SITE_PERL%%/Mail/Box/Parser.pod +%%SITE_PERL%%/Mail/Box/Parser/Perl.pm +%%SITE_PERL%%/Mail/Box/Parser/Perl.pod +%%SITE_PERL%%/Mail/Message.pm +%%SITE_PERL%%/Mail/Message.pod +%%SITE_PERL%%/Mail/Message/Body.pm +%%SITE_PERL%%/Mail/Message/Body.pod +%%SITE_PERL%%/Mail/Message/Body/Construct.pm +%%SITE_PERL%%/Mail/Message/Body/Construct.pod +%%SITE_PERL%%/Mail/Message/Body/Encode.pm +%%SITE_PERL%%/Mail/Message/Body/Encode.pod +%%SITE_PERL%%/Mail/Message/Body/File.pm +%%SITE_PERL%%/Mail/Message/Body/File.pod +%%SITE_PERL%%/Mail/Message/Body/Lines.pm +%%SITE_PERL%%/Mail/Message/Body/Lines.pod +%%SITE_PERL%%/Mail/Message/Body/Multipart.pm +%%SITE_PERL%%/Mail/Message/Body/Multipart.pod +%%SITE_PERL%%/Mail/Message/Body/Nested.pm +%%SITE_PERL%%/Mail/Message/Body/Nested.pod +%%SITE_PERL%%/Mail/Message/Body/String.pm +%%SITE_PERL%%/Mail/Message/Body/String.pod +%%SITE_PERL%%/Mail/Message/Construct.pm +%%SITE_PERL%%/Mail/Message/Construct.pod +%%SITE_PERL%%/Mail/Message/Construct/Bounce.pm +%%SITE_PERL%%/Mail/Message/Construct/Bounce.pod +%%SITE_PERL%%/Mail/Message/Construct/Build.pm +%%SITE_PERL%%/Mail/Message/Construct/Build.pod +%%SITE_PERL%%/Mail/Message/Construct/Forward.pm +%%SITE_PERL%%/Mail/Message/Construct/Forward.pod +%%SITE_PERL%%/Mail/Message/Construct/Read.pm +%%SITE_PERL%%/Mail/Message/Construct/Read.pod +%%SITE_PERL%%/Mail/Message/Construct/Rebuild.pm +%%SITE_PERL%%/Mail/Message/Construct/Rebuild.pod +%%SITE_PERL%%/Mail/Message/Construct/Reply.pm +%%SITE_PERL%%/Mail/Message/Construct/Reply.pod +%%SITE_PERL%%/Mail/Message/Construct/Text.pm +%%SITE_PERL%%/Mail/Message/Construct/Text.pod +%%SITE_PERL%%/Mail/Message/Convert.pm +%%SITE_PERL%%/Mail/Message/Convert.pod +%%SITE_PERL%%/Mail/Message/Convert/EmailSimple.pm +%%SITE_PERL%%/Mail/Message/Convert/EmailSimple.pod +%%SITE_PERL%%/Mail/Message/Convert/Html.pm +%%SITE_PERL%%/Mail/Message/Convert/Html.pod +%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatPS.pm +%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatPS.pod +%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatText.pm +%%SITE_PERL%%/Mail/Message/Convert/HtmlFormatText.pod +%%SITE_PERL%%/Mail/Message/Convert/MailInternet.pm +%%SITE_PERL%%/Mail/Message/Convert/MailInternet.pod +%%SITE_PERL%%/Mail/Message/Convert/MimeEntity.pm +%%SITE_PERL%%/Mail/Message/Convert/MimeEntity.pod +%%SITE_PERL%%/Mail/Message/Convert/TextAutoformat.pm +%%SITE_PERL%%/Mail/Message/Convert/TextAutoformat.pod +%%SITE_PERL%%/Mail/Message/Field.pm +%%SITE_PERL%%/Mail/Message/Field.pod +%%SITE_PERL%%/Mail/Message/Field/AddrGroup.pm +%%SITE_PERL%%/Mail/Message/Field/AddrGroup.pod +%%SITE_PERL%%/Mail/Message/Field/Address.pm +%%SITE_PERL%%/Mail/Message/Field/Address.pod +%%SITE_PERL%%/Mail/Message/Field/Addresses.pm +%%SITE_PERL%%/Mail/Message/Field/Addresses.pod +%%SITE_PERL%%/Mail/Message/Field/Attribute.pm +%%SITE_PERL%%/Mail/Message/Field/Attribute.pod +%%SITE_PERL%%/Mail/Message/Field/AuthResults.pm +%%SITE_PERL%%/Mail/Message/Field/AuthResults.pod +%%SITE_PERL%%/Mail/Message/Field/DKIM.pm +%%SITE_PERL%%/Mail/Message/Field/DKIM.pod +%%SITE_PERL%%/Mail/Message/Field/Date.pm +%%SITE_PERL%%/Mail/Message/Field/Date.pod +%%SITE_PERL%%/Mail/Message/Field/Fast.pm +%%SITE_PERL%%/Mail/Message/Field/Fast.pod +%%SITE_PERL%%/Mail/Message/Field/Flex.pm +%%SITE_PERL%%/Mail/Message/Field/Flex.pod +%%SITE_PERL%%/Mail/Message/Field/Full.pm +%%SITE_PERL%%/Mail/Message/Field/Full.pod +%%SITE_PERL%%/Mail/Message/Field/Structured.pm +%%SITE_PERL%%/Mail/Message/Field/Structured.pod +%%SITE_PERL%%/Mail/Message/Field/URIs.pm +%%SITE_PERL%%/Mail/Message/Field/URIs.pod +%%SITE_PERL%%/Mail/Message/Field/Unstructured.pm +%%SITE_PERL%%/Mail/Message/Field/Unstructured.pod +%%SITE_PERL%%/Mail/Message/Head.pm +%%SITE_PERL%%/Mail/Message/Head.pod +%%SITE_PERL%%/Mail/Message/Head/Complete.pm +%%SITE_PERL%%/Mail/Message/Head/Complete.pod +%%SITE_PERL%%/Mail/Message/Head/FieldGroup.pm +%%SITE_PERL%%/Mail/Message/Head/FieldGroup.pod +%%SITE_PERL%%/Mail/Message/Head/ListGroup.pm +%%SITE_PERL%%/Mail/Message/Head/ListGroup.pod +%%SITE_PERL%%/Mail/Message/Head/Partial.pm +%%SITE_PERL%%/Mail/Message/Head/Partial.pod +%%SITE_PERL%%/Mail/Message/Head/ResentGroup.pm +%%SITE_PERL%%/Mail/Message/Head/ResentGroup.pod +%%SITE_PERL%%/Mail/Message/Head/SpamGroup.pm +%%SITE_PERL%%/Mail/Message/Head/SpamGroup.pod +%%SITE_PERL%%/Mail/Message/Part.pm +%%SITE_PERL%%/Mail/Message/Part.pod +%%SITE_PERL%%/Mail/Message/Replace/MailHeader.pm +%%SITE_PERL%%/Mail/Message/Replace/MailHeader.pod +%%SITE_PERL%%/Mail/Message/Replace/MailInternet.pm +%%SITE_PERL%%/Mail/Message/Replace/MailInternet.pod +%%SITE_PERL%%/Mail/Message/Test.pm +%%SITE_PERL%%/Mail/Message/TransferEnc.pm +%%SITE_PERL%%/Mail/Message/TransferEnc.pod +%%SITE_PERL%%/Mail/Message/TransferEnc/Base64.pm +%%SITE_PERL%%/Mail/Message/TransferEnc/Base64.pod +%%SITE_PERL%%/Mail/Message/TransferEnc/Binary.pm +%%SITE_PERL%%/Mail/Message/TransferEnc/Binary.pod +%%SITE_PERL%%/Mail/Message/TransferEnc/EightBit.pm +%%SITE_PERL%%/Mail/Message/TransferEnc/EightBit.pod +%%SITE_PERL%%/Mail/Message/TransferEnc/QuotedPrint.pm +%%SITE_PERL%%/Mail/Message/TransferEnc/QuotedPrint.pod +%%SITE_PERL%%/Mail/Message/TransferEnc/SevenBit.pm +%%SITE_PERL%%/Mail/Message/TransferEnc/SevenBit.pod +%%SITE_PERL%%/Mail/Reporter.pm +%%SITE_PERL%%/Mail/Reporter.pod +%%PERL5_MAN3%%/Mail::Box::FastScalar.3.gz +%%PERL5_MAN3%%/Mail::Box::Parser.3.gz +%%PERL5_MAN3%%/Mail::Box::Parser::Perl.3.gz +%%PERL5_MAN3%%/Mail::Message.3.gz +%%PERL5_MAN3%%/Mail::Message::Body.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::Construct.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::Encode.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::File.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::Lines.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::Multipart.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::Nested.3.gz +%%PERL5_MAN3%%/Mail::Message::Body::String.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Bounce.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Build.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Forward.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Read.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Rebuild.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Reply.3.gz +%%PERL5_MAN3%%/Mail::Message::Construct::Text.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::EmailSimple.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::Html.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::HtmlFormatPS.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::HtmlFormatText.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::MailInternet.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::MimeEntity.3.gz +%%PERL5_MAN3%%/Mail::Message::Convert::TextAutoformat.3.gz +%%PERL5_MAN3%%/Mail::Message::Field.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::AddrGroup.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Address.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Addresses.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Attribute.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::AuthResults.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::DKIM.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Date.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Fast.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Flex.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Full.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Structured.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::URIs.3.gz +%%PERL5_MAN3%%/Mail::Message::Field::Unstructured.3.gz +%%PERL5_MAN3%%/Mail::Message::Head.3.gz +%%PERL5_MAN3%%/Mail::Message::Head::Complete.3.gz +%%PERL5_MAN3%%/Mail::Message::Head::FieldGroup.3.gz +%%PERL5_MAN3%%/Mail::Message::Head::ListGroup.3.gz +%%PERL5_MAN3%%/Mail::Message::Head::Partial.3.gz +%%PERL5_MAN3%%/Mail::Message::Head::ResentGroup.3.gz +%%PERL5_MAN3%%/Mail::Message::Head::SpamGroup.3.gz +%%PERL5_MAN3%%/Mail::Message::Part.3.gz +%%PERL5_MAN3%%/Mail::Message::Replace::MailHeader.3.gz +%%PERL5_MAN3%%/Mail::Message::Replace::MailInternet.3.gz +%%PERL5_MAN3%%/Mail::Message::TransferEnc.3.gz +%%PERL5_MAN3%%/Mail::Message::TransferEnc::Base64.3.gz +%%PERL5_MAN3%%/Mail::Message::TransferEnc::Binary.3.gz +%%PERL5_MAN3%%/Mail::Message::TransferEnc::EightBit.3.gz +%%PERL5_MAN3%%/Mail::Message::TransferEnc::QuotedPrint.3.gz +%%PERL5_MAN3%%/Mail::Message::TransferEnc::SevenBit.3.gz +%%PERL5_MAN3%%/Mail::Reporter.3.gz