dev-perl/mime-construct: add "Date" field to generated messages
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Sun, 15 Jan 2017 17:43:08 +0000 (18:43 +0100)
committerKent Fredric <kentnl@gentoo.org>
Mon, 16 Jan 2017 20:52:43 +0000 (09:52 +1300)
commit42753958c99d1eb9f861e09ed5478c0399ad8326
tree28416cea7430d802cdbdf938f1393b5f092d6b9a
parent3c84add65908224272f6fbb77fafaeb7d2f2df73
dev-perl/mime-construct: add "Date" field to generated messages

Currently, mime-construct does not include the "Date" field in generated
messages.

The "Date" field is required according to the RFC 5322 and not every MTA or
SMTP client adds it when it is missing (for example mail-mta/msmtp does not
do it).

Mail clients often timestamp messages lacking this field as either
01.01.1970 or a date the message was first seen by a particular client
rather than as an actual posting date.

This issue was reported upstream a year ago but there was no response - the
software had last release in 2010 so it is probably no longer maintained.

That's why we have to add the missing field ourselves.

Gentoo-Bug: https://bugs.gentoo.org/583882
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3408
dev-perl/mime-construct/files/mime-construct-add-date-header.patch [new file with mode: 0644]
dev-perl/mime-construct/mime-construct-1.1100.0-r1.ebuild [moved from dev-perl/mime-construct/mime-construct-1.1100.0.ebuild with 85% similarity]