Created attachment 231402 [details] Patch file Update to 1.9.9. ChangeLog: https://www.sudo.ws/releases/stable/#1.9.9
Rather than do git diff, 1. Create a branch in your tree and commit it. 2. Use git format-patch -1 to extract the patch file. 3. We can use git am to apply your commit. Your email address becomes the author and lists as such in git log output.
(In reply to Cy Schubert from comment #1) Attachment 231402 [details] is exactly what you say.
(In reply to Yasuhiro Kimura from comment #2) I don't see a commit log message in it. A good example of this is in PR/259552. Though he should have added a sentence or two of what and why. All I had to do is do git commit --amend to add the PR number and the what and why after the fact. Anyhow that doesn't matter. It's and excellent patch. I've added it to my poudriere builds here. Works perfectly.
I'm back from vacation and will take care of it
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=af389a6c018ae76f32af18a87031e63c17e300e7 commit af389a6c018ae76f32af18a87031e63c17e300e7 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2022-02-02 11:03:09 +0000 Commit: Renato Botelho <garga@FreeBSD.org> CommitDate: 2022-02-02 11:04:53 +0000 security/sudo: Update to 1.9.9 PR: 261529 Sponsored by: Rubicon Communications, LLC ("Netgate") security/sudo/Makefile | 4 ++-- security/sudo/distinfo | 6 +++--- .../sudo/files/patch-plugins__sudoers__sudoers.in | 8 ++++---- security/sudo/pkg-plist | 19 ++++++++++++------- 4 files changed, 21 insertions(+), 16 deletions(-)