Software /
code /
prosody
Changeset
10963:80733851be8b
util.dependencies: Add awareness of luaunbound
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 25 Jun 2020 17:26:21 +0200 |
parents | 10962:92f30e8ecdfc |
children | 10964:d6a3d652ca32 |
files | util/dependencies.lua |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/dependencies.lua Sat Mar 09 21:19:24 2019 +0100 +++ b/util/dependencies.lua Thu Jun 25 17:26:21 2020 +0200 @@ -98,6 +98,14 @@ }, "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