aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-06-27 14:25:57 +0200
committerKim Alvefur <zash@zash.se>2020-06-27 14:25:57 +0200
commit8c73ea0b2286fed2d1a91333c8d92dab247fd568 (patch)
tree60ac15351c0885abbeb37ed310b01187d59f9df5 /util
parentfb8e10737dfe14aaaa5fbc0295044f1f57dc9ad0 (diff)
downloadprosody-8c73ea0b2286fed2d1a91333c8d92dab247fd568.tar.gz
prosody-8c73ea0b2286fed2d1a91333c8d92dab247fd568.zip
util.dependencies: Tone down lua-unbound dependency for now
At least until packages are available Wording from MattJ
Diffstat (limited to 'util')
-rw-r--r--util/dependencies.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index 56a04736..d2f87661 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -100,10 +100,12 @@ local function check_dependencies()
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";