:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/439/41b81333";
+:global CommitId "main/440/b18a276b";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 19:45:02 03.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 19:50:02 03.05.2026.";
# The variables are received right here.
:global GlobalConfVersion 138;
# Big CA list with all certificates ~ 2Mb
ALL_CA_URL := https://curl.se/ca/cacert.pem
CA_LIST_DIR := ca-list
+ALL_CA_FILE := $(CA_LIST_DIR)/cacert.pem
+WITH_ALL_CA ?= false
CURL := curl \
--globoff \
default:
@echo "Available targets: $(TARGETS) all-ca-lst"
+ @echo "Set WITH_ALL_CA=true to include all-ca-lst in all"
@echo "List format: [scheme://]host[/path/to/generator]/certificate-basename"
@echo "Example: example.com/pki/acme/ISRG-Root-X1 checks https://example.com/pki/acme/ with ./ISRG-Root-X1.pem"
-all: $(TARGETS)
+all: $(TARGETS) $(if $(filter true,$(WITH_ALL_CA)),all-ca-lst,)
-all-ca-lst:
- @mkdir -p $(CA_LIST_DIR)
- $(CURL) $(ALL_CA_URL) --output $(CA_LIST_DIR)/cacert.pem
+all-ca-lst: $(ALL_CA_FILE)
+
+$(ALL_CA_FILE):
+ @mkdir -p $(dir $@)
+ $(CURL) $(ALL_CA_URL) --output $@
$(FILE_TARGETS): %: $(LIST_ROOT)/Makefile.%
@$(MAKE) check-list LIST="$<" IP_FLAGS="$(call ip_flags,$@)"