summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2018-03-14 14:46:07 +0000
committertaca <taca@pkgsrc.org>2018-03-14 14:46:07 +0000
commit3862f8f2f46e132192c4c21a2894b6b665e0d4a9 (patch)
treeabab788fa45e1a84bd1d3ab80e6249a9a66e8af0
parentf0e0c9bdc204a9d7a84b376c320a6daa9196954e (diff)
downloadpkgsrc-3862f8f2f46e132192c4c21a2894b6b665e0d4a9.tar.gz
mail/ruby-mail: update to 2.7
Version 2.7.0 (2017-10-31) Security: * #1097 – SMTP security: prevent command injection via To/From addresses. (jeremy) Features: * #647 – IMAP: specify IMAP server search charset with Mail.find(search_charset: 'UTF-8'). (yalab) * #650 - UTF-7 charset support. (johngrimes) * #664 - RSpec: with_html and with_text matchers. (zakkie) * #723 – IMAP: support `enable_starttls: true` for TLS upgrade on non-IMAPS/SSL servers. (doits) * #804 - Configurable SMTP open_timeout and read_timeout. (ankane) * #853 - `Mail::Message#set_sort_order` overrides the default message part sort order. (rafbm) * #856 - Added :logger delivery method. (zacholauson) * #900 - Support non-instance_eval builder API. Yield self to Mail.new if the provided block takes any arguments. (taavo) * #1065 - Require STARTTLS using :enable_starttls. (bk2204) * #1002 - Transcoding replaces invalid chars with "�" instead of discarding them. (kjg) * #1053 - Ruby 2.4.0 compatibility. Fixnum+Bignum unified as Integer. (peterkovacs) * #1094 - Core extensions removal: Drop `String#at`, `from`, `last` and `is_utf8?` since they are no longer used by Mail internals. (metcalf) * #1095 - Core extensions removal: Drop `String#mb_chars`, `not_ascii_only?`, `constantize`, `first`, `to` to avoid monkey patching the standard library. (metcalf) * #1111 - Mail::Field.parse API which deprecates calling Mail::Field.new with unparsed header fields. (jeremy) * #1117 - Configurable POP3 read_timeout. (hspazio) Performance: * #1059 - Switch from mime-types to mini_mime for a much smaller memory footprint. (SamSaffron) * #1119 - Speed up large attachment encoding by memoizing slow ASCII-only checks. (dalibor) Compatibility: * #464 - Improve attachment filename detection by preferring Content-Disposition filename. (lawrencepit) * #535 - IMAP: fetch messages WITH IMAP FLAGS by passing a block with four args. (lawrencepit) * #558 - Parser: cope with unknown charsets in header fields by falling back to ASCII. (boesemar) * #655 - Sort attachments to the end of the parts list to work around email clients that may mistake a text attachment for the message body. (npickens) * #683 - SMTP: Work around Net::SMTP dot-stuffing bug with unterminated newlines on Ruby 1.8 and 1.9. (yyyc514) * #766 - No longer strip 'Subject: ' from legit subject lines. (grosser) * #982 – Faithfully preserve unfolded whitespace rather than collapsing to a single space. (jeremy) * #1103 – Support parsing UTF-8 headers. Implements RFC 6532. (jeremy) * #1106 – Limit message/rfc822 parts' transfer encoding per RFC 2046. (ahorek) * #1112 – Support Windows-1258 charset by parsing it as Windows-1252 in Ruby. (jeremy) * #1114 – Setting `mail.body = …` on a multipart message now adds a new text part instead of adding a raw MIME part. (jeremy) * #1159 – Parse emails with n newlines so long as they have no binary content. (jeremy) Bugs: * #539 - Fix that whitespace-only continued headers would be incorrectly parsed as the break between headers and body. (ConradIrwin) * #605 - Fix Mail::Address#name for nil addresses (peterkovacs) * #684 - Fix recursively fetching attachments from an embedded message/rfc822 part whose Content-Type header has additional parameters. (vongruenigen) * #689 - Fix Exim delivery method broken by #477 in 2.5.4. (jethrogb) * #792 - Allow blank filenames in Content-Disposition field. (robinroestenburg) * #876 - Strip valid RFC-1342 separator characters between non-matching encoded-words. (Caleb W. Corliss) * #895 - Fix that Mail::Message#add_file was adding a stray filename header. (kirikak2) * #923 – Fix decoding nested quotes around non-US-ASCII addresses. (averell23) * #978 - Fix for invalid chars being left in a string for invalid b_value from encoding. (kjg) * #996 - Fix that multipart/mixed emails with a delivery-status part could be interpreted as bounces. (kjg) * #998 - Fix header parameter parsing (such as attachment names) for values encoded with a blank charset or language code. (kjg) * #1000 - Fix header parameter parsing (such as attachment names) to transcode to UTF-8 (kjg) * #1003 - Fix decoding some b encoded headers on specific rubies that don't account for lack of base64 padding (kjg) * #1020 - Don't set SMTP verify mode to nil when config was not provided. (jhass) * #1023 - Fix double-quoting in display names. (garethrees) * #1032 - Fix that comparing messages changed their raw Message-ID to their parsed message_id. (bobjflong) * #1074 - Fix that the first address in a list is dropped when a subsequent address has non-US-ASCII characters. (domininik) * #1107 - Fix Address#display_name and other formatting flip-flopping between encoded and decoded forms depending on whether #encoded or #decoded was called last. (jeremy) * #1110 - Fix that Mail::Multibyte::Chars#initialize mutated its argument by calling force_encoding on it. (jeremy) * #1122 – Fix that tilde (~) shouldn't be escaped for Exim delivery. (Benabik) * #1113 - Eliminate attachment corruption caused by CRLF conversion. (jeremy) * #1131 - Fix that Message#without_attachments! didn't parse the remaining parts. (jeremy) * #1019 - Fix b value encoder incorrectly splitting multibyte characters. (Kenneth-KT) * #1157 - Fix base64 attachment transfer encoding being overridden by quoted-printable. (dalibor)
-rw-r--r--mail/ruby-mail/Makefile6
-rw-r--r--mail/ruby-mail/PLIST64
-rw-r--r--mail/ruby-mail/distinfo10
3 files changed, 33 insertions, 47 deletions
diff --git a/mail/ruby-mail/Makefile b/mail/ruby-mail/Makefile
index 6f97777030d..aa44258f677 100644
--- a/mail/ruby-mail/Makefile
+++ b/mail/ruby-mail/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2017/07/30 22:32:19 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/03/14 14:46:07 taca Exp $
-DISTNAME= mail-2.6.6
+DISTNAME= mail-2.7.0
CATEGORIES= mail
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -8,7 +8,7 @@ HOMEPAGE= https://github.com/mikel/mail
COMMENT= Mail provides a nice Ruby DSL for making, sending and reading emails
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-mime-types2>=1.16<3:../../mail/ruby-mime-types2
+DEPENDS+= ${RUBY_PKGPREFIX}-mini_mime>=0.1.1:../../mail/ruby-mini_mime
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/ruby-mail/PLIST b/mail/ruby-mail/PLIST
index e941386992e..b6b9bcf7aff 100644
--- a/mail/ruby-mail/PLIST
+++ b/mail/ruby-mail/PLIST
@@ -1,13 +1,7 @@
-@comment $NetBSD: PLIST,v 1.10 2016/10/15 13:59:37 taca Exp $
+@comment $NetBSD: PLIST,v 1.11 2018/03/14 14:46:07 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
-${GEM_LIBDIR}/CHANGELOG.rdoc
-${GEM_LIBDIR}/CONTRIBUTING.md
-${GEM_LIBDIR}/Dependencies.txt
-${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/MIT-LICENSE
${GEM_LIBDIR}/README.md
-${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/TODO.rdoc
${GEM_LIBDIR}/lib/mail.rb
${GEM_LIBDIR}/lib/mail/attachments_list.rb
${GEM_LIBDIR}/lib/mail/body.rb
@@ -16,8 +10,6 @@ ${GEM_LIBDIR}/lib/mail/configuration.rb
${GEM_LIBDIR}/lib/mail/constants.rb
${GEM_LIBDIR}/lib/mail/core_extensions/smtp.rb
${GEM_LIBDIR}/lib/mail/core_extensions/string.rb
-${GEM_LIBDIR}/lib/mail/core_extensions/string/access.rb
-${GEM_LIBDIR}/lib/mail/core_extensions/string/multibyte.rb
${GEM_LIBDIR}/lib/mail/elements.rb
${GEM_LIBDIR}/lib/mail/elements/address.rb
${GEM_LIBDIR}/lib/mail/elements/address_list.rb
@@ -36,6 +28,7 @@ ${GEM_LIBDIR}/lib/mail/encodings/7bit.rb
${GEM_LIBDIR}/lib/mail/encodings/8bit.rb
${GEM_LIBDIR}/lib/mail/encodings/base64.rb
${GEM_LIBDIR}/lib/mail/encodings/binary.rb
+${GEM_LIBDIR}/lib/mail/encodings/identity.rb
${GEM_LIBDIR}/lib/mail/encodings/quoted_printable.rb
${GEM_LIBDIR}/lib/mail/encodings/transfer_encoding.rb
${GEM_LIBDIR}/lib/mail/encodings/unix_to_unix.rb
@@ -89,12 +82,12 @@ ${GEM_LIBDIR}/lib/mail/matchers/has_sent_mail.rb
${GEM_LIBDIR}/lib/mail/message.rb
${GEM_LIBDIR}/lib/mail/multibyte.rb
${GEM_LIBDIR}/lib/mail/multibyte/chars.rb
-${GEM_LIBDIR}/lib/mail/multibyte/exceptions.rb
${GEM_LIBDIR}/lib/mail/multibyte/unicode.rb
${GEM_LIBDIR}/lib/mail/multibyte/utils.rb
${GEM_LIBDIR}/lib/mail/network.rb
${GEM_LIBDIR}/lib/mail/network/delivery_methods/exim.rb
${GEM_LIBDIR}/lib/mail/network/delivery_methods/file_delivery.rb
+${GEM_LIBDIR}/lib/mail/network/delivery_methods/logger_delivery.rb
${GEM_LIBDIR}/lib/mail/network/delivery_methods/sendmail.rb
${GEM_LIBDIR}/lib/mail/network/delivery_methods/smtp.rb
${GEM_LIBDIR}/lib/mail/network/delivery_methods/smtp_connection.rb
@@ -103,47 +96,40 @@ ${GEM_LIBDIR}/lib/mail/network/retriever_methods/base.rb
${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/test_retriever.rb
+${GEM_LIBDIR}/lib/mail/parser_tools.rb
${GEM_LIBDIR}/lib/mail/parsers.rb
${GEM_LIBDIR}/lib/mail/parsers/address_lists_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/address_lists_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/content_disposition_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_disposition_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/content_location_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_location_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_transfer_encoding_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/content_type_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/content_type_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/date_time_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/date_time_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/envelope_from_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/envelope_from_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/message_ids_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/message_ids_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/mime_version_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/mime_version_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/phrase_lists_parser.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/common.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/date_time.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/parser_info.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/address_lists_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_disposition_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_location_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/content_type_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/date_time_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/envelope_from_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/message_ids_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/mime_version_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/phrase_lists_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/received_machine.rb
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/machines/received_machine.rb.rl
-${GEM_LIBDIR}/lib/mail/parsers/ragel/ruby/parser.rb.rl.erb
+${GEM_LIBDIR}/lib/mail/parsers/phrase_lists_parser.rl
${GEM_LIBDIR}/lib/mail/parsers/received_parser.rb
+${GEM_LIBDIR}/lib/mail/parsers/received_parser.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc2045_content_transfer_encoding.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc2045_content_type.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc2045_mime.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc2183_content_disposition.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc3629_utf8.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc5234_abnf_core_rules.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc5322.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc5322_address.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc5322_date_time.rl
+${GEM_LIBDIR}/lib/mail/parsers/rfc5322_lexical_tokens.rl
${GEM_LIBDIR}/lib/mail/part.rb
${GEM_LIBDIR}/lib/mail/parts_list.rb
${GEM_LIBDIR}/lib/mail/utilities.rb
diff --git a/mail/ruby-mail/distinfo b/mail/ruby-mail/distinfo
index 140f976a070..14e1e2d4fba 100644
--- a/mail/ruby-mail/distinfo
+++ b/mail/ruby-mail/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2017/06/10 15:50:03 taca Exp $
+$NetBSD: distinfo,v 1.14 2018/03/14 14:46:07 taca Exp $
-SHA1 (mail-2.6.6.gem) = 388bfdbf1fa8e0f39f7ae84589d555071e9ff9f6
-RMD160 (mail-2.6.6.gem) = a5a88ce480817af3c14aaec75e12aeda3025bbe6
-SHA512 (mail-2.6.6.gem) = 17e1013ff4f81066ad8e66dc77cdbffe17faf594943fbc680522259c7652bfed2221f86f3af1537bc3b1096bdd8e62d019d93c683d0a468f6e50f1e70d0d60d0
-Size (mail-2.6.6.gem) = 352768 bytes
+SHA1 (mail-2.7.0.gem) = d02b9e5708fc4198b7a13957b7d17c19e68c1081
+RMD160 (mail-2.7.0.gem) = 7b2459f35e9ba3bd86760fa2eac9eb4b7ceca0a6
+SHA512 (mail-2.7.0.gem) = a309d1e6116cef8073a059b0819f1b18215b699256bf669a859ab8fba1a9667cf7818d7fdd0e62bb841684ee1de8e801f91f9ccd4f493958cc03124e05eb868d
+Size (mail-2.7.0.gem) = 385024 bytes