luasec/INSTALL

40 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2023-03-19 15:55:08 +01:00
LuaSec 1.3.1
2012-09-02 16:27:04 +02:00
------------
2012-09-02 16:15:49 +02:00
2014-01-29 21:43:33 +01:00
* OpenSSL options:
2023-03-14 14:43:47 +01:00
By default, this version includes options for OpenSSL 3.0.8
2014-01-29 21:43:33 +01: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 21:43:33 +01:00
--------------------------------------------------------------------------------
2012-09-02 16:15:49 +02:00
* On Linux, BSD, and Mac OS X:
- Edit 'Makefile'
2012-09-02 16:32:26 +02:00
* Inform the path to where install the Lua modules (LUAPATH) and binaries
modules (LUACPATH)
2012-09-02 16:15:49 +02: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 21:43:33 +01:00
--------------------------------------------------------------------------------
2012-09-02 16:15:49 +02: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 16:32:26 +02:00
- Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.