###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2019 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 20190509
+VER = 20221201
+
+# From https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
THISAPP = ca-certificates
DIR_APP = $(DIR_SRC)/$(THISAPP)
install : $(TARGET)
-check :
+check :
-download :
+download :
-md5 :
+b2 :
###############################################################################
# Installation Details
@$(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