The list of dependencies in RUN_DEPENDS is currently inconsistent:
p5-Digest-HMAC is listed but is only required when using CRAM-MD5 auth scheme.
p5-Authen-NTLM is required when using NTLM auth scheme, but is not listed.
Adding all the possible dependencies does not seem like a good idea.
For instance, my mail servers only allow secure connections so I will only ever need PLAIN authentication. No need for the whole SASL, NTLM, etc. stuff to be dragged in.
The attached patch attempts to solve this by allowing to chose which optional dependencies to install.
Created attachment 181996 [details]
allow to choose optional dependencies
A commit references this bug:
Date: Sat Apr 25 15:15:22 UTC 2020
New revision: 532956
mail/p5-Mail-IMAPClient: Add OPTIONS.
Submitted by: Martin Waschusch <firstname.lastname@example.org>
Committed, thanks. I modified your patch a bit by enabling CRAMMD5 and DIGESTMD5 options by default, since these were enabled when the port did not support OPTIONS.
This will prevent POLA violation for users.