improved lua support

News of development process
Post Reply
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

improved lua support

Post by Dmitry » 13 Oct 2017, 21:06

Code: Select all

commit ec3d2f2942172d79fe74a01f5c980873e01ff5dd
Author: Dmitry Kozlov <xeb@mail.ru>
Date:   Fri Oct 13 23:59:50 2017 +0300

    improved lua support
    
    Implemented support for lua 5.2/5.3.
    To build accel-ppp with exact lua version pass it in -DLUA=x.y, for example -DLUA=5.2 (cmake 3.0 is required for this).
    Old style -DLUA=TRUE supports only 5.1 and does not require cmake 3.0.
    Also extra lua modules (lua_lpack, lua_bit) took out into separated library luasupp.
Улучшена поддержка lua.
Теперь можно собирать с lua 5.2/5.3, для этого надо передать cmake -DLUA=5.2 или -DLUA=5.3 (для этого нужен cmake не ниже 3.0).
Старый способ -DLUA=TRUE тоже поддерживается, но будет собираться с lua 5.1 и для этого новый cmake не нужен, вобщем подходит для старых дистрибутивов.
Доп. модули lua_lpack и lua_bit вынесены в отдельную библиотеку luasupp, куда в последствии будут добавляться новые модули расширения.

rafael
Posts: 6
Joined: 13 Dec 2017, 13:17

Re: improved lua support

Post by rafael » 13 Dec 2017, 14:50

PT-BR:

O que significa suporte lua ?

Na prática quais recursos podem ser usados com lua ?

dimka88
Posts: 588
Joined: 13 Oct 2014, 05:51
Contact:

Re: improved lua support

Post by dimka88 » 13 Dec 2017, 16:21

With lua you may format hostname in incoming packet for ipoe connection. Often lua used with DHCP Option 82.
translate.google.com
Com lua, você pode formatar o nome do host no pacote recebido para a conexão do ipoe. Muitas vezes, lua usado com a opção DHCP 82.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest