Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 00:50:27 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r364792 - in stable: 11/secure/caroot/blacklisted 11/secure/caroot/trusted 12/secure/caroot/blacklisted 12/secure/caroot/trusted
Message-ID:  <202008260050.07Q0oRxg078311@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Wed Aug 26 00:50:27 2020
New Revision: 364792
URL: https://svnweb.freebsd.org/changeset/base/364792

Log:
  MFC r364600: caroot: switch to using echo+shell glob to enumerate certs
  
  This solves an issue on stable/12 that causes certs to not get installed.
  ls is apparently not in PATH during installworld, so TRUSTED_CERTS ends up
  blank and nothing gets installed. We don't really require anything
  ls-specific, though, so let's just simplify it.

Modified:
  stable/11/secure/caroot/blacklisted/Makefile
  stable/11/secure/caroot/trusted/Makefile
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/secure/caroot/blacklisted/Makefile
  stable/12/secure/caroot/trusted/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/secure/caroot/blacklisted/Makefile
==============================================================================
--- stable/11/secure/caroot/blacklisted/Makefile	Wed Aug 26 00:42:59 2020	(r364791)
+++ stable/11/secure/caroot/blacklisted/Makefile	Wed Aug 26 00:50:27 2020	(r364792)
@@ -2,7 +2,7 @@
 
 BINDIR=		/usr/share/certs/blacklisted
 
-BLACKLISTED_CERTS!=	ls ${.CURDIR}/*.pem 2> /dev/null || true
+BLACKLISTED_CERTS!=	echo ${.CURDIR}/*.pem 2> /dev/null || true
 
 FILES+=	 ${BLACKLISTED_CERTS}
 

Modified: stable/11/secure/caroot/trusted/Makefile
==============================================================================
--- stable/11/secure/caroot/trusted/Makefile	Wed Aug 26 00:42:59 2020	(r364791)
+++ stable/11/secure/caroot/trusted/Makefile	Wed Aug 26 00:50:27 2020	(r364792)
@@ -2,7 +2,7 @@
 
 BINDIR=		/usr/share/certs/trusted
 
-TRUSTED_CERTS!=	ls ${.CURDIR}/*.pem 2> /dev/null || true
+TRUSTED_CERTS!=	echo ${.CURDIR}/*.pem 2> /dev/null || true
 
 FILES+=	 ${TRUSTED_CERTS}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008260050.07Q0oRxg078311>