]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:10:03 02.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Sat, 2 May 2026 09:10:03 +0000 (12:10 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Sat, 2 May 2026 09:10:03 +0000 (12:10 +0300)
html/AM-GlobalFunc.rsc
html/certs/Makefile

index 9f5b669eaacfc980913c8a1c97fccad2dbd1a63d..6e600ce8bc5318fe3462c7b57eb5dea4a909b807 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/415/03482696";
+:global CommitId "main/416/2c91e355";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:55:03 02.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 12:10:03 02.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
index 7cebb19667063bd1a20edc78d8c3b350e21955ea..ae305fa9803c67e793e55ddea8ee7f320e682d54 100644 (file)
@@ -10,42 +10,31 @@ IPV4 = true
 IPV6 = false
 IPALL = false
 
-IPV4_URLS = $(wildcard Makefile.IPV4)
-IPV6_URLS = $(wildcard Makefile.IPV6)
-IPALL_URLS = $(wildcard Makefile.IPALL)
+IPV4_URLS := $(wildcard Makefile.IPV4)
+IPV6_URLS := $(wildcard Makefile.IPV6)
+IPALL_URLS := $(wildcard Makefile.IPALL)
 # Big CA list with all certificates ~ 2Mb
-CALIST_URL := https://curl.se/ca/cacert.pem
+ALL_CA_URL = https://curl.se/ca/cacert.pem
 
-CURL := $(shell which curl)
-CURL := $(CURL) -sS --fail --max-time 10 --silent
+CURL = curl -sS --fail --max-time 10 --silent
+# CURL := $(CURL) -sS --fail --max-time 10 --silent
 # --capath /dev/null --connect-timeout 5 --output /dev/null --silent #--verbose
 
-ifdef IPV4
-CURL  := $(CURL) -4
-endif
-ifdef IPV6
-CURL  := $(CURL) -6
-endif
-ifdef IPVALL
-CURL  := $(CURL) -4 -6
-endif
+#ifdef IPV4
+#CURL  := $(CURL) -4
+#endif
+#ifdef IPV6
+#CURL  := $(CURL) -6
+#endif
+#ifdef IPVALL
+#CURL  := $(CURL) -4 -6
+#endif
 
-.PHONY: default ca-list ca-ipv4 ca-ipv6 ca-ipall
+.PHONY: default all-ca-lst
+# ca-ipv4 ca-ipv6 ca-ipall
 
 default:
-       @echo "Usage: make target";
-       @echo "Targets:";
-       @echo "  default: Show this help message";
-       @echo "  all: Download BIG CA list using target caBigList";
-       @echo "  caBigList: Download the big CA list from curl.se";
-       @echo "  ca-ipv4: Check certificates for IPV4 domains";
-       @echo "  ca-ipv6: Check certificates for IPV6 domains";
-       @echo "  ca-ipall: Check certificates for all IP versions";
-       @echo "Environment variables:";
-       @echo "  IPV4=true: Enable IPV4 checks and downloads all available certificates from Makefile.IPV4 to ca-ipv4 directory (default)";
-       @echo "  IPV6=true: Enable IPV6 checks and downloads all available certificates from Makefile.IPV6 to ca-ipv6 directory (default: false)";
-       @echo "  IPALL=true: Enable checks for all IP versions and downloads all available certificates from Makefile.IPALL to ca-ipall directory (default: false)";
-       @echo "  CALIST=true: Enable downloading the big CA list from curl.se to ca-list directory (default: true)";
+       @echo "Enable downloading the big CA list from curl.se to ca-list directory (default: true)";
 
 ca-list:
     mkdir -p $@ && cd $@