include Config
-VER = 20220402
+VER = 20221201
# From https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
@$(PREBUILD)
@rm -rf $(DIR_APP) && cp -av $(DIR_CONF)/$(THISAPP) $(DIR_APP)
+ # Remove TrustCor Systems root CAs (see mailing list thread:
+ # https://lists.ipfire.org/pipermail/development/2022-November/014681.html)
+ cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/ca-certificates-Remove-TrustCor-Systems-root-CAs.patch
+
cd $(DIR_APP) && sh ./build.sh
-mkdir -pv /etc/ssl/certs