luasec/INSTALL

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-07-30 04:41:46 -07:00
LuaSec 1.2.0
2012-09-02 07:27:04 -07:00
------------
2012-09-02 07:15:49 -07:00
2014-01-29 12:43:33 -08:00
* OpenSSL options:
2021-08-14 06:16:35 -07:00
By default, this version includes options for OpenSSL 3.0.0 beta2
2014-01-29 12:43:33 -08:00
If you need to generate the options for a different version of OpenSSL:
$ cd src
$ lua options.lua -g /usr/include/openssl/ssl.h > options.c
2014-01-29 12:43:33 -08:00
--------------------------------------------------------------------------------
2012-09-02 07:15:49 -07:00
* On Linux, BSD, and Mac OS X:
- Edit 'Makefile'
2012-09-02 07:32:26 -07:00
* Inform the path to where install the Lua modules (LUAPATH) and binaries
modules (LUACPATH)
2012-09-02 07:15:49 -07:00
* If Lua or OpenSSL are not in the default path, set the
variables INCDIR and LIBDIR.
* For Mac OS X, set the variable MACOSX_VERSION.
- Use 'make <platform>' to compile
* Platforms: linux, bsd, or macosx
- Use 'make install' to install the modules.
2014-01-29 12:43:33 -08:00
--------------------------------------------------------------------------------
2012-09-02 07:15:49 -07:00
* On Windows:
- Use the Visual C++ project to compile the library.
- Copy the 'ssl.lua' file to some place in your LUA_PATH.
- Copy the 'ssl.dll' file to some place in your LUA_CPATH.
2012-09-02 07:32:26 -07:00
- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.