Bug 261529 - security/sudo: Update to 1.9.9
Summary: security/sudo: Update to 1.9.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL: https://www.sudo.ws/releases/stable/#...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-28 04:49 UTC by Yasuhiro Kimura
Modified: 2022-02-02 11:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments
Patch file (4.60 KB, patch)
2022-01-28 04:49 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-01-28 04:49:49 UTC
Created attachment 231402 [details]
Patch file

Update to 1.9.9.

ChangeLog:      https://www.sudo.ws/releases/stable/#1.9.9
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2022-01-28 15:53:18 UTC
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.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-01-28 16:02:21 UTC
(In reply to Cy Schubert from comment #1)

Attachment 231402 [details] is exactly what you say.
Comment 3 Cy Schubert freebsd_committer freebsd_triage 2022-01-28 16:15:01 UTC
(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.
Comment 4 Renato Botelho freebsd_committer freebsd_triage 2022-01-31 19:10:07 UTC
I'm back from vacation and will take care of it
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-02-02 11:08:00 UTC
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(-)