Kim Alvefur
f9660a9509
util.dependencies: Refer to 'apt' instead of 'apt-get'
...
The more modern and user friendly frontend, should be in every supported
version of Debian and Ubuntu by now
2022-02-13 17:27:29 +01:00
Kim Alvefur
c43fbe25ec
util.dependencies: Enable warning about missing lua-unbound
...
Packages exists now.
2022-01-05 04:12:00 +01:00
Kim Alvefur
bdea7033a7
util.dependencies: Fix typo (thanks jonas’)
...
vim> Change "sevral" to:
1 "several"
2 "sacral"
3 "spiral"
4 "feral"
5 "serial"
jonas’> I choose 4.
2021-11-30 22:04:00 +01:00
Kim Alvefur
eb2c2d4597
util.dependencies: Discourage Lua 5.1
...
Search for 'Lua 5.1' for reasons.
2021-11-28 23:14:31 +01:00
Kim Alvefur
74e1de54fd
util.dependencies: Consider Lua 5.4 Supported ™️
...
I have been running my own server exclusively on Lua 5.4 for months and
apart from packaging issues I remember on major issues.
2021-11-28 23:12:25 +01:00
Kim Alvefur
fb63560591
util.dependencies: Quiet luacheck
2020-06-28 02:15:25 +02:00
Kim Alvefur
8c73ea0b22
util.dependencies: Tone down lua-unbound dependency for now
...
At least until packages are available
Wording from MattJ
2020-06-27 14:25:57 +02:00
Kim Alvefur
c98a6d205e
util.dependencies: Prefer net.unbound over net.adns
2020-06-25 17:41:07 +02:00
Kim Alvefur
57253b7f87
util.dependencies: Add awareness of luaunbound
2020-06-25 17:26:21 +02:00
Matthew Wild
bec20ff0b4
util.dependencies: Use util.human.io.table to replace custom layout code
2020-06-04 17:30:44 +01:00
Kim Alvefur
f8e36355ee
util.dependencies: Pass require error to error formatting function
...
For future use there.
Silences luacheck warnings about unused 'err'
2019-12-23 21:15:01 +01:00
Kim Alvefur
2848e38b7e
util.dependencies: Avoid missing bitop false positive on Lua 5.4
2019-11-09 13:58:25 +01:00
Kim Alvefur
587c2382b0
util.dependencies: Increase Lua version to warn about to 5.4
...
No significant problems have been encountered with Lua 5.3 itself, so
apart from some odd problems in LuaExpat it seems about time to declare
it ready.
2019-06-19 19:16:09 +02:00
Matthew Wild
9fdfa590d2
util.dependencies: Remove ztact compatability warning
2018-10-26 19:09:02 +01:00
Kim Alvefur
284152ba25
util.dependencies: Add compat code for normalization of socket constructors
...
Old LuaSocket had only tcp() which was IPv4-only. LuaSocket ~3.0 adds a
tcp6() that creates a IPv6 socket. Some version moves tcp() to tcp4()
and adds an IP-version-agnostic tcp() constructor.
2018-10-12 16:21:16 +02:00
Kim Alvefur
597d317427
Merge 0.10->trunk
2017-03-23 01:30:58 +01:00
Kim Alvefur
4a5b4067a9
util.dependencies: Give APT command for installing lua-sec
2017-03-21 15:18:35 +01:00
Kim Alvefur
f01dafc6fe
Merge 0.10->trunk
2017-01-29 22:32:03 +01:00
Kim Alvefur
87f325ecd7
util.dependencies: Normalize whitespace
2017-01-28 21:43:38 +01:00
Kim Alvefur
fde889b4ec
Merge 0.10->trunk
2017-01-09 10:17:39 +01:00
Kim Alvefur
43cc8f2d9d
util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib transition
2017-01-06 11:10:24 +01:00
Kim Alvefur
dec1fd604c
Merge 0.10->trunk
2016-12-05 23:03:09 +01:00
Kim Alvefur
00e5c2d7d3
util.dependencies: Add check and info about lua-bitops (for mod_websockets)
2016-12-05 21:46:06 +01:00
Kim Alvefur
1c652e0883
util.dependencies: Update links for LuaExpat and LuaSec which have moved to new locations
2016-12-05 21:43:09 +01:00
Kim Alvefur
da42ca2167
Merge 0.10->trunk
2016-11-19 01:05:36 +01:00
Kim Alvefur
73d36e3ff9
util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3)
2016-11-18 10:21:02 +01:00
Emmanuel Gil Peyrot
c6048a7cb4
Update every link to the documentation to use HTTPS
2016-04-16 21:08:05 +01:00
Thijs Alkemade
bc0ce12e97
util.dependencies: Show the full error when a symbol is not found (i.e., when running Prosody with the wrong version of Lua).
2016-03-10 10:13:57 +01:00
Matthew Wild
c2c82b591a
util.dependencies: Use prosody.log() instead of global log()
2015-12-16 02:22:16 +00:00
Kim Alvefur
359ca86e38
util.dependencies: Only abort on Lua versions before 5.1, log a warning about 5.2 and above for now
2015-02-21 10:38:44 +01:00
Kim Alvefur
eaa823a597
util.*: Remove use of module() function, make all module functions local and return them in a table at the end
2015-02-21 10:36:37 +01:00
Kim Alvefur
ae8a4fb909
Merge 0.9->0.10
2014-04-10 13:15:11 +02:00
Waqas Hussain
32b9b7ff47
util.dependencies: Check for Lua 5.1. We don't currently support any other versions. LuaJIT identifies as 5.1.
2014-04-09 14:01:02 -04:00
Matthew Wild
27b4049481
Merge 0.9->0.10
2014-04-02 17:41:38 +01:00
Matthew Wild
36a19e92a7
util.dependencies: Log error when LuaExpat is not capable of enforcing stanza size limits
2014-03-30 09:15:28 +01:00
Florian Zeitz
1d833bb807
Remove all trailing whitespace
2013-08-09 17:48:21 +02:00
Waqas Hussain
56975d6c63
util.dependencies, util.xmppstream: Move LuaExpat version checking to util.dependencies.
2011-11-22 02:13:42 +05:00
Matthew Wild
ebb9c9d585
util.dependencies: Add a dummy util.ztact loader to log a message for people still using it (e.g. in their Debian-derived config files)
2011-04-05 13:20:09 +01:00
Matthew Wild
6d96edf726
prosody, prosodyctl, util.dependencies: Split checking and logging of dependencies so we can check hard deps before the config and logging is loaded
2010-12-20 14:06:16 +00:00
Matthew Wild
46c0b8c7f9
Merge 0.6->0.7
2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453
Update copyright headers for 2010
2010-03-22 17:06:15 +00:00
Matthew Wild
b091201f79
util.dependencies: Don't query the config (it isn't really necessary)
2010-02-05 13:52:01 +00:00
Matthew Wild
7086dd06fe
util.dependencies: Load luarocks.loader/luarocks.require
2010-01-28 18:10:20 +00:00
Matthew Wild
08284a586e
util.dependencies, prosody, prosodyctl: Give util.dependencies a check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change
2010-01-28 14:56:47 +00:00
Matthew Wild
38377c0725
Merge with 0.6
2009-12-02 22:15:17 +00:00
Matthew Wild
6428065b5e
util.dependencies: Fix package name of LuaFilesystem
2009-12-02 22:13:31 +00:00
Matthew Wild
21fdef824c
Merge with 0.6
2009-11-25 15:41:04 +00:00
Matthew Wild
38e55888e5
util.dependencies: Log an error if the current version of LuaSec installed contains The Bug (thanks Remko)
2009-11-25 15:40:33 +00:00
Matthew Wild
12c4c331af
Merge with 0.6
2009-11-23 20:21:20 +00:00
Matthew Wild
a918d40c04
util.dependencies: Missed a Debian/
2009-11-23 19:59:32 +00:00