ports/security/doas/files/patch-doasedit
Jesse Smith e05da69d0d 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
2024-05-10 20:43:51 +03:00

11 lines
252 B
Text

--- doasedit.orig 2024-05-10 17:16:18 UTC
+++ doasedit
@@ -30,7 +30,7 @@ then
exit 3
fi
-temp_file=$(mktemp --tmpdir doasedit.XXXXXXXX)
+temp_file=$(mktemp -t /tmp)
if [ ! -r "$temp_file" ]
then
echo "Was unable to create temporary file."