Bug 265765

Summary: [NEW PORT] textproc/py-extract-msg: Extracts emails and attachments saved in MS Outlook's .msg files
Product: Ports & Packages Reporter: Jesús Daniel Colmenares Oviedo <DtxdF>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: grahamperrin, lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/TeamMsgExtractor/msg-extractor
Bug Depends on: 265701, 265760, 265762, 265764    
Bug Blocks: 265768    
Attachments:
Description Flags
textproc-py-extract-msg-0.36.1.patch
none
Update port maintainer
none
Update to 0.36.3
none
extract-msg-0.36.3 none

Description Jesús Daniel Colmenares Oviedo 2022-08-10 18:21:30 UTC
Created attachment 235831 [details]
textproc-py-extract-msg-0.36.1.patch

msg-extract extracts emails and attachments saved in Microsoft Outlook's .msg files. It automates the extraction of key email data (from, to, cc, date, subject, body) and the email's attachments.

WWW: https://github.com/TeamMsgExtractor/msg-extractor

portlint: WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. [1]
poudriere: testport is ok

Requires:

* archivers/py-compressed-rtf [2]
* textproc/py-ebcdic [3]
* textproc/py-RTFDE [4]
* devel/py-tzlocal >= 4.2 [5]

[1] The application (upstream) already has a hyphen.
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265760
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265762
[4] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265764
[5] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265701
Comment 1 Jesús Daniel Colmenares Oviedo 2022-09-01 21:37:11 UTC
Created attachment 236295 [details]
Update port maintainer

Reason:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266157
Comment 2 Jesús Daniel Colmenares Oviedo 2022-09-03 15:20:47 UTC
Created attachment 236334 [details]
Update to 0.36.3

ChangeLog: https://github.com/TeamMsgExtractor/msgextractor/blob/v0.36.3/CHANGELOG.md

* Added an option to skip the body if it could not be found, rather
  than throwing an error. This will cause no file to be made for it
  in the event no valid body exists. For the save functions, this
  option is skipBodyNotFound and from the command line the option is
  --skip-body-not-found.
* Fixed a bug that caused contacts to save the business phone with
  two colons instead of 1.
Comment 3 Jesús Daniel Colmenares Oviedo 2022-09-23 17:20:30 UTC
Created attachment 236769 [details]
extract-msg-0.36.3

Description:

* move WWW from pkg-descr to Makefile

QA:

* portlint:
  * WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
* testport: (poudriere: 13.1, amd64)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-10-25 18:42:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=01e61056c897d9d905c7510a689e45613d12dc6b

commit 01e61056c897d9d905c7510a689e45613d12dc6b
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2022-09-23 16:41:06 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-10-25 18:41:38 +0000

    Add textproc/py-extract-msg: Extracts emails and attachments saved in MS Outlook's .msg files

    msg-extract extracts emails and attachments saved in Microsoft
    Outlook's .msg files. It automates the extraction of key email data
    (from, to, cc, date, subject, body) and the email's attachments.

    WWW: https://github.com/TeamMsgExtractor/msg-extractor

    PR:             265765

 textproc/Makefile                       |  1 +
 textproc/py-extract-msg/Makefile (new)  | 28 ++++++++++++++++++++++++++++
 textproc/py-extract-msg/distinfo (new)  |  3 +++
 textproc/py-extract-msg/pkg-descr (new) |  3 +++
 4 files changed, 35 insertions(+)