# HG changeset patch # User Kim Alvefur # Date 1593098781 -7200 # Node ID 80733851be8b75610da6dae111e7e4f0f0acbaa3 # Parent 92f30e8ecdfce5c39b36c38e02509ec47486747d util.dependencies: Add awareness of luaunbound diff -r 92f30e8ecdfc -r 80733851be8b util/dependencies.lua --- 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