Mercurial > prosody-hg
diff util/dependencies.lua @ 10974:3b9d533da8fe
util.dependencies: Tone down lua-unbound dependency for now
At least until packages are available
Wording from MattJ
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 27 Jun 2020 14:25:57 +0200 |
| parents | f5d5fc409680 |
| children | f997e3e8bc23 |
line wrap: on
line diff
--- a/util/dependencies.lua Fri Jun 26 16:41:31 2020 +0100 +++ b/util/dependencies.lua Sat Jun 27 14:25:57 2020 +0200 @@ -100,10 +100,12 @@ local unbound, err = softreq"lunbound"; if not unbound then + --[[ TODO Re-enable once packages are available missingdep("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";
