# HG changeset patch # User Kim Alvefur # Date 1641352320 -3600 # Node ID 02481502c3dc7c893eb92921c334fc4db475dbbb # Parent 9c69c062d6b75fd1b39e1f36412a1fa4631b6e88 util.dependencies: Enable warning about missing lua-unbound Packages exists now. diff -r 9c69c062d6b7 -r 02481502c3dc util/dependencies.lua --- a/util/dependencies.lua Wed Jan 05 04:04:45 2022 +0100 +++ b/util/dependencies.lua Wed Jan 05 04:12:00 2022 +0100 @@ -99,13 +99,12 @@ end local unbound, err = softreq"lunbound"; -- luacheck: ignore 211/err - if not unbound then -- luacheck: ignore 542 - --[[ TODO Re-enable once packages are available + if not unbound then missingdep("lua-unbound", { + { "Debian/Ubuntu", "sudo apt-get install lua-unbound" }; { "luarocks", "luarocks install luaunbound" }; { "Source", "https://www.zash.se/luaunbound.html" }; }, "Old DNS resolver library will be used", err); - --]] else package.preload["net.adns"] = function () local ub = require "net.unbound";