diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-25 17:26:21 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-25 17:26:21 +0200 |
commit | 57253b7f87f70ed3e9711c931b03aa650b128d72 (patch) | |
tree | 745110d9ad8e22269df8a9dd1553ac5910cc7a6e /util/dependencies.lua | |
parent | b96535b6ae01148fe9969fffd5e602798aa1cdcc (diff) | |
download | prosody-57253b7f87f70ed3e9711c931b03aa650b128d72.tar.gz prosody-57253b7f87f70ed3e9711c931b03aa650b128d72.zip |
util.dependencies: Add awareness of luaunbound
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r-- | util/dependencies.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index b53e385b..b76f7ab1 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -98,6 +98,14 @@ local function check_dependencies() }, "WebSocket support will not be available", err); end + local unbound, err = softreq"lunbound"; + if not unbound then + missingdep("lua-unbound", { + { "luarocks", "luarocks install luaunbound" }; + { "Source", "https://www.zash.se/luaunbound.html" }; + }, "Old DNS resolver library will be used", err); + end + local encodings, err = softreq "util.encodings" if not encodings then if err:match("module '[^']*' not found") then |