]> git.ipfire.org Git - ipfire-2.x.git/blame - lfs/ca-certificates
suricata: Change midstream policy to "pass-flow"
[ipfire-2.x.git] / lfs / ca-certificates
CommitLineData
f0aa99fb
AF
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
7e79a6c9 4# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
f0aa99fb
AF
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
7e79a6c9 27VER = 20240217
1d5c7b09
PM
28
29# From https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
f0aa99fb
AF
30
31THISAPP = ca-certificates
32DIR_APP = $(DIR_SRC)/$(THISAPP)
33TARGET = $(DIR_INFO)/$(THISAPP)
34
35###############################################################################
36# Top-level Rules
37###############################################################################
38
39install : $(TARGET)
40
66c36198 41check :
f0aa99fb 42
66c36198 43download :
f0aa99fb 44
9a7e4d85 45b2 :
f0aa99fb
AF
46
47###############################################################################
48# Installation Details
49###############################################################################
50
51$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
52 @$(PREBUILD)
53 @rm -rf $(DIR_APP) && cp -av $(DIR_CONF)/$(THISAPP) $(DIR_APP)
54
55 cd $(DIR_APP) && sh ./build.sh
56
57 -mkdir -pv /etc/ssl/certs
58 cd $(DIR_APP) && install -p -m 644 ca-bundle.crt ca-bundle.trust.crt \
59 /etc/ssl/certs
60 ln -svf certs/ca-bundle.crt /etc/ssl/cert.pem
61
62 @rm -rf $(DIR_APP)
63 @$(POSTBUILD)