caroot: blacklisted: automatically pick up *.pem in the tree

This kind of automagica got picked up in trusted/ prior to the initial
commit, but never got applied over in blacklisted. Ideally no one will be
using blacklisted/ to store arbitrary certs that they don't intend to
blacklist, so we should just install anything that's in here rather than
force consumer to first copy cert into place and then modify the file
listing in the Makefile.

Wise man once say: "it is better to restrict too much, than not enough.
sometimes."
This commit is contained in:
Kyle Evans 2020-01-28 03:02:18 +00:00
parent c59b9a4f8d
commit bb302e707a

View File

@ -2,6 +2,8 @@
BINDIR= /usr/share/certs/blacklisted
FILES=
BLACKLISTED_CERTS!= ls ${.CURDIR}/*.pem 2> /dev/null || true
FILES+= ${BLACKLISTED_CERTS}
.include <bsd.prog.mk>