Diff

Differences From Artifact [dcbc2db73e]:

To Artifact [7fd88860f5]:


            1  +DOD_CERTS_VERSION = 5.1
            2  +
     1      3   all: cert-0.crt
     2      4   
     3      5   rel3_dodroot_2048.cac:
     4         -	wget -O Certificates_PKCS7_v4.1_DoD.zip http://iasecontent.disa.mil/pki-pke/Certificates_PKCS7_v4.1_DoD.zip
     5         -	unzip Certificates_PKCS7_v4.1_DoD.zip Certificates_PKCS7_v4.1_DoD/Certificates_PKCS7_v4.1_DoD.der.p7b
     6         -	mv Certificates_PKCS7_v4.1_DoD/Certificates_PKCS7_v4.1_DoD.der.p7b "$@"
     7         -	rm -rf Certificates_PKCS7_v4.1_DoD Certificates_PKCS7_v4.1_DoD.zip
            6  +	rm -f __TMP__.zip
            7  +	wget -O __TMP__.zip http://iasecontent.disa.mil/pki-pke/Certificates_PKCS7_v$(DOD_CERTS_VERSION)_DoD.zip
            8  +	unzip __TMP__.zip '*/*.der.p7b'
            9  +	mv */*.der.p7b "$@"
           10  +	rm -rf Certificates_P* __TMP__.zip
     8     11   
     9     12   cert-%.crt: rel3_dodroot_2048.cac
    10     13   	idx=0; \
    11     14   	( \
    12     15   		openssl pkcs7 -in rel3_dodroot_2048.cac -inform DER -print_certs -text; \
    13     16   	) | while IFS='' read -r line; do \
    14     17   		if [ -z "$${line}" ]; then \