diff options
author | taca <taca@pkgsrc.org> | 2010-09-12 01:46:55 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-12 01:46:55 +0000 |
commit | 6023c4931bc88a178ca5477191fbe0d56add5ab8 (patch) | |
tree | 7e9f58a42917559baea0359aadc88d69d6c5f2f6 /mail | |
parent | 97a2816f044dbb4c866b3e11cc8cd1cdfe4ead45 (diff) | |
download | pkgsrc-6023c4931bc88a178ca5477191fbe0d56add5ab8.tar.gz |
Importing mail/ruby-mail 2.2.5.
Mail is an internet library for Ruby that is designed to handle emails
generation, parsing and sending in a simple, rubyesque manner.
The purpose of this library is to provide a single point of access to handle
all email functions, including sending and receiving emails. All network
type actions are done through proxy methods to Net::SMTP, Net::POP3 etc.
Built from my experience with TMail, it is designed to be a pure ruby
implementation that makes generating, sending and parsing emails a no
brainer.
It is also designed form the ground up to work with Ruby 1.9. This is because
Ruby 1.9 handles text encodings much more magically than Ruby 1.8.x and so
these features have been taken full advantage of in this library allowing
Mail to handle a lot more messages more cleanly than TMail. Mail does run on
Ruby 1.8.x... it's just not as fun to code.
Finally, Mail has been designed with a very simple object oriented system
that really opens up the email messages you are parsing, if you know what
you are doing, you can fiddle with every last bit of your email directly.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ruby-mail/DESCR | 20 | ||||
-rw-r--r-- | mail/ruby-mail/Makefile | 16 | ||||
-rw-r--r-- | mail/ruby-mail/PLIST | 222 | ||||
-rw-r--r-- | mail/ruby-mail/distinfo | 5 |
4 files changed, 263 insertions, 0 deletions
diff --git a/mail/ruby-mail/DESCR b/mail/ruby-mail/DESCR new file mode 100644 index 00000000000..106b93100ac --- /dev/null +++ b/mail/ruby-mail/DESCR @@ -0,0 +1,20 @@ +Mail is an internet library for Ruby that is designed to handle emails +generation, parsing and sending in a simple, rubyesque manner. + +The purpose of this library is to provide a single point of access to handle +all email functions, including sending and receiving emails. All network +type actions are done through proxy methods to Net::SMTP, Net::POP3 etc. + +Built from my experience with TMail, it is designed to be a pure ruby +implementation that makes generating, sending and parsing emails a no +brainer. + +It is also designed form the ground up to work with Ruby 1.9. This is because +Ruby 1.9 handles text encodings much more magically than Ruby 1.8.x and so +these features have been taken full advantage of in this library allowing +Mail to handle a lot more messages more cleanly than TMail. Mail does run on +Ruby 1.8.x... it's just not as fun to code. + +Finally, Mail has been designed with a very simple object oriented system +that really opens up the email messages you are parsing, if you know what +you are doing, you can fiddle with every last bit of your email directly. diff --git a/mail/ruby-mail/Makefile b/mail/ruby-mail/Makefile new file mode 100644 index 00000000000..8dc58ff2200 --- /dev/null +++ b/mail/ruby-mail/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 01:46:55 taca Exp $ + +DISTNAME= mail-2.2.5 +CATEGORIES= devel + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/mikel/mail +COMMENT= Mail provides a nice Ruby DSL for making, sending and reading emails +LICENSE= mit + +DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.3.6:../../devel/ruby-activesupport +DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=0:../../mail/ruby-mime-types +DEPENDS+= ${RUBY_PKGPREFIX}-treetop>=1.4.5:../../textproc/ruby-treetop + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mail/ruby-mail/PLIST b/mail/ruby-mail/PLIST new file mode 100644 index 00000000000..c8e0817fce2 --- /dev/null +++ b/mail/ruby-mail/PLIST @@ -0,0 +1,222 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 01:46:55 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/CHANGELOG.rdoc +${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/TODO.rdoc +${GEM_LIBDIR}/lib/VERSION +${GEM_LIBDIR}/lib/mail.rb +${GEM_LIBDIR}/lib/mail.rbc +${GEM_LIBDIR}/lib/mail/attachments_list.rb +${GEM_LIBDIR}/lib/mail/attachments_list.rbc +${GEM_LIBDIR}/lib/mail/body.rb +${GEM_LIBDIR}/lib/mail/body.rbc +${GEM_LIBDIR}/lib/mail/configuration.rb +${GEM_LIBDIR}/lib/mail/configuration.rbc +${GEM_LIBDIR}/lib/mail/core_extensions/nil.rb +${GEM_LIBDIR}/lib/mail/core_extensions/nil.rbc +${GEM_LIBDIR}/lib/mail/core_extensions/string.rb +${GEM_LIBDIR}/lib/mail/core_extensions/string.rbc +${GEM_LIBDIR}/lib/mail/elements.rb +${GEM_LIBDIR}/lib/mail/elements.rbc +${GEM_LIBDIR}/lib/mail/elements/address.rb +${GEM_LIBDIR}/lib/mail/elements/address.rbc +${GEM_LIBDIR}/lib/mail/elements/address_list.rb +${GEM_LIBDIR}/lib/mail/elements/address_list.rbc +${GEM_LIBDIR}/lib/mail/elements/content_disposition_element.rb +${GEM_LIBDIR}/lib/mail/elements/content_disposition_element.rbc +${GEM_LIBDIR}/lib/mail/elements/content_location_element.rb +${GEM_LIBDIR}/lib/mail/elements/content_location_element.rbc +${GEM_LIBDIR}/lib/mail/elements/content_transfer_encoding_element.rb +${GEM_LIBDIR}/lib/mail/elements/content_transfer_encoding_element.rbc +${GEM_LIBDIR}/lib/mail/elements/content_type_element.rb +${GEM_LIBDIR}/lib/mail/elements/content_type_element.rbc +${GEM_LIBDIR}/lib/mail/elements/date_time_element.rb +${GEM_LIBDIR}/lib/mail/elements/date_time_element.rbc +${GEM_LIBDIR}/lib/mail/elements/envelope_from_element.rb +${GEM_LIBDIR}/lib/mail/elements/envelope_from_element.rbc +${GEM_LIBDIR}/lib/mail/elements/message_ids_element.rb +${GEM_LIBDIR}/lib/mail/elements/message_ids_element.rbc +${GEM_LIBDIR}/lib/mail/elements/mime_version_element.rb +${GEM_LIBDIR}/lib/mail/elements/mime_version_element.rbc +${GEM_LIBDIR}/lib/mail/elements/phrase_list.rb +${GEM_LIBDIR}/lib/mail/elements/phrase_list.rbc +${GEM_LIBDIR}/lib/mail/elements/received_element.rb +${GEM_LIBDIR}/lib/mail/elements/received_element.rbc +${GEM_LIBDIR}/lib/mail/encodings.rb +${GEM_LIBDIR}/lib/mail/encodings.rbc +${GEM_LIBDIR}/lib/mail/encodings/7bit.rb +${GEM_LIBDIR}/lib/mail/encodings/7bit.rbc +${GEM_LIBDIR}/lib/mail/encodings/8bit.rb +${GEM_LIBDIR}/lib/mail/encodings/8bit.rbc +${GEM_LIBDIR}/lib/mail/encodings/base64.rb +${GEM_LIBDIR}/lib/mail/encodings/base64.rbc +${GEM_LIBDIR}/lib/mail/encodings/binary.rb +${GEM_LIBDIR}/lib/mail/encodings/binary.rbc +${GEM_LIBDIR}/lib/mail/encodings/quoted_printable.rb +${GEM_LIBDIR}/lib/mail/encodings/quoted_printable.rbc +${GEM_LIBDIR}/lib/mail/encodings/transfer_encoding.rb +${GEM_LIBDIR}/lib/mail/encodings/transfer_encoding.rbc +${GEM_LIBDIR}/lib/mail/envelope.rb +${GEM_LIBDIR}/lib/mail/envelope.rbc +${GEM_LIBDIR}/lib/mail/field.rb +${GEM_LIBDIR}/lib/mail/field.rbc +${GEM_LIBDIR}/lib/mail/field_list.rb +${GEM_LIBDIR}/lib/mail/field_list.rbc +${GEM_LIBDIR}/lib/mail/fields.rb +${GEM_LIBDIR}/lib/mail/fields.rbc +${GEM_LIBDIR}/lib/mail/fields/bcc_field.rb +${GEM_LIBDIR}/lib/mail/fields/bcc_field.rbc +${GEM_LIBDIR}/lib/mail/fields/cc_field.rb +${GEM_LIBDIR}/lib/mail/fields/cc_field.rbc +${GEM_LIBDIR}/lib/mail/fields/comments_field.rb +${GEM_LIBDIR}/lib/mail/fields/comments_field.rbc +${GEM_LIBDIR}/lib/mail/fields/common/address_container.rb +${GEM_LIBDIR}/lib/mail/fields/common/address_container.rbc +${GEM_LIBDIR}/lib/mail/fields/common/common_address.rb +${GEM_LIBDIR}/lib/mail/fields/common/common_address.rbc +${GEM_LIBDIR}/lib/mail/fields/common/common_date.rb +${GEM_LIBDIR}/lib/mail/fields/common/common_date.rbc +${GEM_LIBDIR}/lib/mail/fields/common/common_field.rb +${GEM_LIBDIR}/lib/mail/fields/common/common_field.rbc +${GEM_LIBDIR}/lib/mail/fields/common/common_message_id.rb +${GEM_LIBDIR}/lib/mail/fields/common/common_message_id.rbc +${GEM_LIBDIR}/lib/mail/fields/common/parameter_hash.rb +${GEM_LIBDIR}/lib/mail/fields/common/parameter_hash.rbc +${GEM_LIBDIR}/lib/mail/fields/content_description_field.rb +${GEM_LIBDIR}/lib/mail/fields/content_description_field.rbc +${GEM_LIBDIR}/lib/mail/fields/content_disposition_field.rb +${GEM_LIBDIR}/lib/mail/fields/content_disposition_field.rbc +${GEM_LIBDIR}/lib/mail/fields/content_id_field.rb +${GEM_LIBDIR}/lib/mail/fields/content_id_field.rbc +${GEM_LIBDIR}/lib/mail/fields/content_location_field.rb +${GEM_LIBDIR}/lib/mail/fields/content_location_field.rbc +${GEM_LIBDIR}/lib/mail/fields/content_transfer_encoding_field.rb +${GEM_LIBDIR}/lib/mail/fields/content_transfer_encoding_field.rbc +${GEM_LIBDIR}/lib/mail/fields/content_type_field.rb +${GEM_LIBDIR}/lib/mail/fields/content_type_field.rbc +${GEM_LIBDIR}/lib/mail/fields/date_field.rb +${GEM_LIBDIR}/lib/mail/fields/date_field.rbc +${GEM_LIBDIR}/lib/mail/fields/from_field.rb +${GEM_LIBDIR}/lib/mail/fields/from_field.rbc +${GEM_LIBDIR}/lib/mail/fields/in_reply_to_field.rb +${GEM_LIBDIR}/lib/mail/fields/in_reply_to_field.rbc +${GEM_LIBDIR}/lib/mail/fields/keywords_field.rb +${GEM_LIBDIR}/lib/mail/fields/keywords_field.rbc +${GEM_LIBDIR}/lib/mail/fields/message_id_field.rb +${GEM_LIBDIR}/lib/mail/fields/message_id_field.rbc +${GEM_LIBDIR}/lib/mail/fields/mime_version_field.rb +${GEM_LIBDIR}/lib/mail/fields/mime_version_field.rbc +${GEM_LIBDIR}/lib/mail/fields/optional_field.rb +${GEM_LIBDIR}/lib/mail/fields/optional_field.rbc +${GEM_LIBDIR}/lib/mail/fields/received_field.rb +${GEM_LIBDIR}/lib/mail/fields/received_field.rbc +${GEM_LIBDIR}/lib/mail/fields/references_field.rb +${GEM_LIBDIR}/lib/mail/fields/references_field.rbc +${GEM_LIBDIR}/lib/mail/fields/reply_to_field.rb +${GEM_LIBDIR}/lib/mail/fields/reply_to_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_bcc_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_bcc_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_cc_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_cc_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_date_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_date_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_from_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_from_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_message_id_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_message_id_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_sender_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_sender_field.rbc +${GEM_LIBDIR}/lib/mail/fields/resent_to_field.rb +${GEM_LIBDIR}/lib/mail/fields/resent_to_field.rbc +${GEM_LIBDIR}/lib/mail/fields/return_path_field.rb +${GEM_LIBDIR}/lib/mail/fields/return_path_field.rbc +${GEM_LIBDIR}/lib/mail/fields/sender_field.rb +${GEM_LIBDIR}/lib/mail/fields/sender_field.rbc +${GEM_LIBDIR}/lib/mail/fields/structured_field.rb +${GEM_LIBDIR}/lib/mail/fields/structured_field.rbc +${GEM_LIBDIR}/lib/mail/fields/subject_field.rb +${GEM_LIBDIR}/lib/mail/fields/subject_field.rbc +${GEM_LIBDIR}/lib/mail/fields/to_field.rb +${GEM_LIBDIR}/lib/mail/fields/to_field.rbc +${GEM_LIBDIR}/lib/mail/fields/unstructured_field.rb +${GEM_LIBDIR}/lib/mail/fields/unstructured_field.rbc +${GEM_LIBDIR}/lib/mail/header.rb +${GEM_LIBDIR}/lib/mail/header.rbc +${GEM_LIBDIR}/lib/mail/mail.rb +${GEM_LIBDIR}/lib/mail/mail.rbc +${GEM_LIBDIR}/lib/mail/message.rb +${GEM_LIBDIR}/lib/mail/message.rbc +${GEM_LIBDIR}/lib/mail/network.rb +${GEM_LIBDIR}/lib/mail/network.rbc +${GEM_LIBDIR}/lib/mail/network/delivery_methods/file_delivery.rb +${GEM_LIBDIR}/lib/mail/network/delivery_methods/file_delivery.rbc +${GEM_LIBDIR}/lib/mail/network/delivery_methods/sendmail.rb +${GEM_LIBDIR}/lib/mail/network/delivery_methods/sendmail.rbc +${GEM_LIBDIR}/lib/mail/network/delivery_methods/smtp.rb +${GEM_LIBDIR}/lib/mail/network/delivery_methods/smtp.rbc +${GEM_LIBDIR}/lib/mail/network/delivery_methods/test_mailer.rb +${GEM_LIBDIR}/lib/mail/network/delivery_methods/test_mailer.rbc +${GEM_LIBDIR}/lib/mail/network/retriever_methods/imap.rb +${GEM_LIBDIR}/lib/mail/network/retriever_methods/pop3.rb +${GEM_LIBDIR}/lib/mail/network/retriever_methods/pop3.rbc +${GEM_LIBDIR}/lib/mail/parsers/address_lists.rb +${GEM_LIBDIR}/lib/mail/parsers/address_lists.rbc +${GEM_LIBDIR}/lib/mail/parsers/address_lists.treetop +${GEM_LIBDIR}/lib/mail/parsers/content_disposition.rb +${GEM_LIBDIR}/lib/mail/parsers/content_disposition.rbc +${GEM_LIBDIR}/lib/mail/parsers/content_disposition.treetop +${GEM_LIBDIR}/lib/mail/parsers/content_location.rb +${GEM_LIBDIR}/lib/mail/parsers/content_location.rbc +${GEM_LIBDIR}/lib/mail/parsers/content_location.treetop +${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding.rb +${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding.rbc +${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding.treetop +${GEM_LIBDIR}/lib/mail/parsers/content_type.rb +${GEM_LIBDIR}/lib/mail/parsers/content_type.rbc +${GEM_LIBDIR}/lib/mail/parsers/content_type.treetop +${GEM_LIBDIR}/lib/mail/parsers/date_time.rb +${GEM_LIBDIR}/lib/mail/parsers/date_time.rbc +${GEM_LIBDIR}/lib/mail/parsers/date_time.treetop +${GEM_LIBDIR}/lib/mail/parsers/envelope_from.rb +${GEM_LIBDIR}/lib/mail/parsers/envelope_from.rbc +${GEM_LIBDIR}/lib/mail/parsers/envelope_from.treetop +${GEM_LIBDIR}/lib/mail/parsers/message_ids.rb +${GEM_LIBDIR}/lib/mail/parsers/message_ids.rbc +${GEM_LIBDIR}/lib/mail/parsers/message_ids.treetop +${GEM_LIBDIR}/lib/mail/parsers/mime_version.rb +${GEM_LIBDIR}/lib/mail/parsers/mime_version.rbc +${GEM_LIBDIR}/lib/mail/parsers/mime_version.treetop +${GEM_LIBDIR}/lib/mail/parsers/phrase_lists.rb +${GEM_LIBDIR}/lib/mail/parsers/phrase_lists.rbc +${GEM_LIBDIR}/lib/mail/parsers/phrase_lists.treetop +${GEM_LIBDIR}/lib/mail/parsers/received.rb +${GEM_LIBDIR}/lib/mail/parsers/received.rbc +${GEM_LIBDIR}/lib/mail/parsers/received.treetop +${GEM_LIBDIR}/lib/mail/parsers/rfc2045.rb +${GEM_LIBDIR}/lib/mail/parsers/rfc2045.rbc +${GEM_LIBDIR}/lib/mail/parsers/rfc2045.treetop +${GEM_LIBDIR}/lib/mail/parsers/rfc2822.rb +${GEM_LIBDIR}/lib/mail/parsers/rfc2822.rbc +${GEM_LIBDIR}/lib/mail/parsers/rfc2822.treetop +${GEM_LIBDIR}/lib/mail/parsers/rfc2822_obsolete.rb +${GEM_LIBDIR}/lib/mail/parsers/rfc2822_obsolete.rbc +${GEM_LIBDIR}/lib/mail/parsers/rfc2822_obsolete.treetop +${GEM_LIBDIR}/lib/mail/part.rb +${GEM_LIBDIR}/lib/mail/part.rbc +${GEM_LIBDIR}/lib/mail/parts_list.rb +${GEM_LIBDIR}/lib/mail/parts_list.rbc +${GEM_LIBDIR}/lib/mail/patterns.rb +${GEM_LIBDIR}/lib/mail/patterns.rbc +${GEM_LIBDIR}/lib/mail/utilities.rb +${GEM_LIBDIR}/lib/mail/utilities.rbc +${GEM_LIBDIR}/lib/mail/version.rb +${GEM_LIBDIR}/lib/mail/version.rbc +${GEM_LIBDIR}/lib/mail/version_specific/ruby_1_8.rb +${GEM_LIBDIR}/lib/mail/version_specific/ruby_1_8.rbc +${GEM_LIBDIR}/lib/mail/version_specific/ruby_1_9.rb +${GEM_LIBDIR}/lib/tasks/corpus.rake +${GEM_LIBDIR}/lib/tasks/corpus.rake.compiled.rbc +${GEM_LIBDIR}/lib/tasks/treetop.rake +${GEM_LIBDIR}/lib/tasks/treetop.rake.compiled.rbc +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/mail/ruby-mail/distinfo b/mail/ruby-mail/distinfo new file mode 100644 index 00000000000..b531bd72261 --- /dev/null +++ b/mail/ruby-mail/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/09/12 01:46:55 taca Exp $ + +SHA1 (mail-2.2.5.gem) = a0a133a3148924065500a05c69534af82a8c46a0 +RMD160 (mail-2.2.5.gem) = 95b05647a0359f989365b272a96a8c0bbe6463c6 +Size (mail-2.2.5.gem) = 250368 bytes |