1# $FreeBSD$
2
3PACKAGE=	caroot
4
5CLEANFILES+=	certdata.txt
6
7SUBDIR+=	trusted
8SUBDIR+=	blacklisted
9
10.include <bsd.obj.mk>
11
12# To be used by secteam@ to update the trusted certificates
13fetchcerts: .PHONY
14	fetch --no-sslv3 --no-tlsv1 -o certdata.txt 'https://hg.mozilla.org/projects/nss/raw-file/tip/lib/ckfw/builtins/certdata.txt'
15
16cleancerts: .PHONY
17	@${MAKE} -C ${.CURDIR}/trusted ${.TARGET}
18
19updatecerts: .PHONY cleancerts fetchcerts
20	perl ${.CURDIR}/MAca-bundle.pl -i certdata.txt -o ${.CURDIR}/trusted
21