Created attachment 250569 [details] Update port to latest version and fix patch file The attached patch updates the security/doas port to the latest upstream release (6.3p12) and corrects a patch file that no longer works with the upstream doasedit script.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e05da69d0d3fc274c73a0fbc4f312da3b9265b90 commit e05da69d0d3fc274c73a0fbc4f312da3b9265b90 Author: Jesse Smith <jsmith@resonatingmedia.com> AuthorDate: 2024-05-10 17:43:51 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-05-10 17:43:51 +0000 security/doas: update to 6.3p12 6.3p11: * Cleaned up error checking for temporary files, removed redundant check. * Fixed status check for copy and editor launch. 6.3p12: * Make sure doasedit can work when target file to edit has a leading slash character. ie A full path name is used. * Update doas.1 manual page to indicate problems with piping input on Linux when processes are launched by doas. Upstream release announcement: https://github.com/slicer69/doas/releases/tag/6.3p11 https://github.com/slicer69/doas/releases/tag/6.3p12 PR: 278897 MFH: 2024Q2 security/doas/Makefile | 2 +- security/doas/distinfo | 6 +++--- security/doas/files/patch-doasedit | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-)
A commit in branch 2024Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=05134cf2c6d7bbbb254325f46728124a466ffcaf commit 05134cf2c6d7bbbb254325f46728124a466ffcaf Author: Jesse Smith <jsmith@resonatingmedia.com> AuthorDate: 2024-05-10 17:43:51 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-05-10 17:48:39 +0000 security/doas: update to 6.3p12 6.3p11: * Cleaned up error checking for temporary files, removed redundant check. * Fixed status check for copy and editor launch. 6.3p12: * Make sure doasedit can work when target file to edit has a leading slash character. ie A full path name is used. * Update doas.1 manual page to indicate problems with piping input on Linux when processes are launched by doas. Upstream release announcement: https://github.com/slicer69/doas/releases/tag/6.3p11 https://github.com/slicer69/doas/releases/tag/6.3p12 PR: 278897 MFH: 2024Q2 (cherry picked from commit e05da69d0d3fc274c73a0fbc4f312da3b9265b90) security/doas/Makefile | 2 +- security/doas/distinfo | 6 +++--- security/doas/files/patch-doasedit | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-)
Thanks!