set wget to --no-check-certificate

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2023-09-22 18:01:23 +02:00
parent 42172bcaeb
commit 2f5e62b59f

View File

@ -23,7 +23,7 @@ all: $(WG_TARGET) $(WG_QUICK_TARGET) $(WG_MODULE_TARGET)
# Download libmnl source tarball # Download libmnl source tarball
$(LIBMNL_TAR): $(LIBMNL_TAR):
wget https://netfilter.org/projects/libmnl/files/$(LIBMNL_TAR) wget --no-check-certificate https://netfilter.org/projects/libmnl/files/$(LIBMNL_TAR)
# Prepare libmnl for building # Prepare libmnl for building
$(LIBMNL_DIR)/Makefile: $(LIBMNL_TAR) $(LIBMNL_DIR)/Makefile: $(LIBMNL_TAR)
@ -36,10 +36,10 @@ $(LIBMNL_DIR)/src/.libs/libmnl.a: $(LIBMNL_DIR)/Makefile
# Download WireGuard source tarball # Download WireGuard source tarball
$(WIREGUARD_TAR): $(WIREGUARD_TAR):
wget https://git.zx2c4.com/wireguard-linux-compat/snapshot/$(WIREGUARD_TAR) wget --no-check-certificate https://git.zx2c4.com/wireguard-linux-compat/snapshot/$(WIREGUARD_TAR)
$(WIREGUARD_TOOLS_TAR): $(WIREGUARD_TOOLS_TAR):
wget https://git.zx2c4.com/wireguard-tools/snapshot/$(WIREGUARD_TOOLS_TAR) wget --no-check-certificate https://git.zx2c4.com/wireguard-tools/snapshot/$(WIREGUARD_TOOLS_TAR)
# Unpack WireGuard source tarball. Patch the wireguard interface verification # Unpack WireGuard source tarball. Patch the wireguard interface verification
# due to the unavailability of rtnl_link_ops structure in the network device on DSM 7.0. # due to the unavailability of rtnl_link_ops structure in the network device on DSM 7.0.