diff options
author | John Klug <john.klug@multitech.com> | 2021-03-03 07:35:47 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-06-22 09:29:50 -0500 |
commit | c83f80f44c741113a5bd63dc4d7680a50ae2bda4 (patch) | |
tree | b7761c7079742283f869552ab0dd3929639e64cf /recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch | |
parent | dfd215c4b1c515819b64867b9537bbcff9da62a3 (diff) | |
download | meta-mlinux-c83f80f44c741113a5bd63dc4d7680a50ae2bda4.tar.gz meta-mlinux-c83f80f44c741113a5bd63dc4d7680a50ae2bda4.tar.bz2 meta-mlinux-c83f80f44c741113a5bd63dc4d7680a50ae2bda4.zip |
19-JAN-2021 certificates
Diffstat (limited to 'recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch')
-rw-r--r-- | recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch b/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch new file mode 100644 index 0000000..f787909 --- /dev/null +++ b/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch @@ -0,0 +1,33 @@ +update-ca-certificates: Replace deprecated mktemp -t with mktemp --tmpdir + +According to coreutils docs, mktemp -t is deprecated, switch to the +--tmpdir option instead. + +Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> +Upstream-Status: Submitted [https://salsa.debian.org/debian/ca-certificates/-/merge_requests/5] + +[This was originally for compatibility with toybox but toybox now +supports -t] +--- + sbin/update-ca-certificates | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates +index 79c41bb..ae9e3f1 100755 +--- a/sbin/update-ca-certificates ++++ b/sbin/update-ca-certificates +@@ -113,9 +113,9 @@ trap cleanup 0 + + # Helper files. (Some of them are not simple arrays because we spawn + # subshells later on.) +-TEMPBUNDLE="$(mktemp -t "${CERTBUNDLE}.tmp.XXXXXX")" +-ADDED="$(mktemp -t "ca-certificates.tmp.XXXXXX")" +-REMOVED="$(mktemp -t "ca-certificates.tmp.XXXXXX")" ++TEMPBUNDLE="$(mktemp --tmpdir "${CERTBUNDLE}.tmp.XXXXXX")" ++ADDED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" ++REMOVED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" + + # Adds a certificate to the list of trusted ones. This includes a symlink + # in /etc/ssl/certs to the certificate file and its inclusion into the +-- +2.1.4 |