cf810e4099
This reverts commit fa84c176c2
that
replace luabitop by lua_bit32 package when lua 5.1 is used.
Since this change the prosody test in gitlab is fail due to
missing lua-bitops [1]:
Starting prosody:
**************************
Prosody was unable to find lua-bitops
This package can be obtained in the following ways:
Source: http://bitop.luajit.org/
Debian/Ubuntu: sudo apt-get install lua-bitop
luarocks: luarocks install luabitop
WebSocket support will not be available
More help can be found on our website, at https://prosody.im/doc/depends
**************************
The upstream documentation [2] is misleading (or not uptodate)
about lua-bit32 dependency.
Since bitop is builtin since lua5.2, we probably need to select
luabitop package only when lua 5.1 is used as lua interpreter.
Tested with run-tests:
./support/testing/run-tests tests.package.test_prosody.TestProsodyLua51
[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/576271975
[2] https://prosody.im/doc/depends#bitop
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
899 B
Plaintext
27 lines
899 B
Plaintext
config BR2_PACKAGE_PROSODY
|
|
bool "prosody"
|
|
depends on BR2_USE_MMU # fork
|
|
depends on BR2_PACKAGE_HAS_LUAINTERPRETER
|
|
depends on !BR2_PACKAGE_LUA_5_3
|
|
depends on !BR2_STATIC_LIBS # luaexpat, luasec, luasocket, luafilesystem
|
|
select BR2_PACKAGE_LUABITOP if !BR2_PACKAGE_LUAJIT # runtime
|
|
select BR2_PACKAGE_LUAEXPAT # runtime
|
|
select BR2_PACKAGE_LUASEC # runtime
|
|
select BR2_PACKAGE_LUASOCKET # runtime
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_LIBIDN
|
|
select BR2_PACKAGE_LUAFILESYSTEM # runtime
|
|
help
|
|
Prosody is a modern XMPP communication server. It aims to be
|
|
easy to set up and configure, and efficient with system
|
|
resources.
|
|
|
|
https://prosody.im
|
|
|
|
comment "prosody needs the lua interpreter, dynamic library"
|
|
depends on !BR2_PACKAGE_HAS_LUAINTERPRETER || BR2_STATIC_LIBS
|
|
depends on BR2_USE_MMU
|
|
|
|
comment "prosody needs a Lua 5.1/5.2 interpreter"
|
|
depends on BR2_PACKAGE_LUA_5_3
|