aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2021-05-13 11:17:13 +0100
committerMatthew Wild <mwild1@gmail.com>2021-05-13 11:17:13 +0100
commit5bc8b2a379e21901429e4d7f5e10e424ca85e403 (patch)
treedc46f3423a4319e09fe85402fa76f15568ad89d1 /prosodyctl
parent37ad3b8fb2039684273b3cb63b5b573e879b04d7 (diff)
parenta95576d485eda2a273b4d66c4c2b363f88c5c43a (diff)
downloadprosody-5bc8b2a379e21901429e4d7f5e10e424ca85e403.tar.gz
prosody-5bc8b2a379e21901429e4d7f5e10e424ca85e403.zip
Merge 0.11->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 07df69b6..558d59f4 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -466,6 +466,7 @@ function commands.about(arg)
ssl = "LuaSec";
};
local lunbound = dependencies.softreq"lunbound";
+ local lxp = dependencies.softreq"lxp";
for name, module in pairs(package.loaded) do
if type(module) == "table" and rawget(module, "_VERSION")
and name ~= "_G" and not name:match("%.") then
@@ -486,6 +487,9 @@ function commands.about(arg)
end
library_versions["libunbound"] = lunbound._LIBVER;
end
+ if lxp then
+ library_versions["libexpat"] = lxp._EXPAT_VERSION;
+ end
for name, version in sorted_pairs(module_versions) do
print(name..":"..string.rep(" ", longest_name-#name), version);
end