luasec/INSTALL

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-08-21 16:21:16 +02:00
LuaSec 0.6a
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:
2015-08-21 16:21:16 +02:00
By default, LuaSec 0.6a includes options for OpenSSL 1.0.1e.
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.h
--------------------------------------------------------------------------------
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.