prosodyctl
changeset 11564 3bbb1af92514
parent 11305 d7f0dc727a47
parent 11556 d4b735272a61
child 11567 0983653cbfdf
--- a/prosodyctl	Fri May 07 16:47:58 2021 +0200
+++ b/prosodyctl	Thu May 13 11:17:13 2021 +0100
@@ -466,6 +466,7 @@
 		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 @@
 		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