pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ca-certificates security/ca-certificates: Fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23317531cfa6
branches:  trunk
changeset: 374822:23317531cfa6
user:      kim <kim%pkgsrc.org@localhost>
date:      Mon Feb 28 06:46:52 2022 +0000

description:
security/ca-certificates: Fix mktemp usage

diffstat:

 security/ca-certificates/Makefile                                  |   3 +-
 security/ca-certificates/distinfo                                  |   3 +-
 security/ca-certificates/patches/patch-sbin_update-ca-certificates |  15 ++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 10fb1da78e44 -r 23317531cfa6 security/ca-certificates/Makefile
--- a/security/ca-certificates/Makefile Mon Feb 28 05:48:55 2022 +0000
+++ b/security/ca-certificates/Makefile Mon Feb 28 06:46:52 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/02/28 05:48:44 kim Exp $
+# $NetBSD: Makefile,v 1.5 2022/02/28 06:46:52 kim Exp $
 
 PKGNAME=       ca-certificates-20211016
+PKGREVISION=   1
 DISTNAME=      ${PKGNAME_NOREV:C/-([^-]*)$/_\1/}
 CATEGORIES=    security
 MASTER_SITES=  http://deb.debian.org/debian/pool/main/c/ca-certificates/
diff -r 10fb1da78e44 -r 23317531cfa6 security/ca-certificates/distinfo
--- a/security/ca-certificates/distinfo Mon Feb 28 05:48:55 2022 +0000
+++ b/security/ca-certificates/distinfo Mon Feb 28 06:46:52 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2022/02/28 05:48:44 kim Exp $
+$NetBSD: distinfo,v 1.6 2022/02/28 06:46:52 kim Exp $
 
 BLAKE2s (ca-certificates_20211016.tar.xz) = ee1b82472068aef176dbc9dab2099848e299dbcc92ac309ba5a906a98414731d
 SHA512 (ca-certificates_20211016.tar.xz) = bedf072c8aa1b05b249ea272f5cecfe16bdcd762c02c712323f12ac7a278e8814453f5f3caad86a2581e451788b292ed3a76a6a81620926459bb890133cffde1
 Size (ca-certificates_20211016.tar.xz) = 239608 bytes
+SHA1 (patch-sbin_update-ca-certificates) = def57fb7ed7b271ac01b92f5a2124d1120f40cef
diff -r 10fb1da78e44 -r 23317531cfa6 security/ca-certificates/patches/patch-sbin_update-ca-certificates
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ca-certificates/patches/patch-sbin_update-ca-certificates        Mon Feb 28 06:46:52 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sbin_update-ca-certificates,v 1.1 2022/02/28 06:46:52 kim Exp $
+
+--- sbin/update-ca-certificates.orig   2021-10-16 16:09:43.000000000 +0000
++++ sbin/update-ca-certificates        2022-02-28 06:38:12.674110664 +0000
+@@ -81,8 +81,8 @@
+ # Helper files.  (Some of them are not simple arrays because we spawn
+ # subshells later on.)
+ TEMPBUNDLE="${ETCCERTSDIR}/${CERTBUNDLE}.new"
+-ADDED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")"
+-REMOVED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")"
++ADDED="$(mktemp -t "ca-certificates.tmp.XXXXXX")"
++REMOVED="$(mktemp -t "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



Home | Main Index | Thread Index | Old Index