File: INSTALL

package info (click to toggle)
lua-sec 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 740 kB
  • sloc: ansic: 3,807; makefile: 108; sh: 63
file content (39 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
LuaSec 1.3.2
------------

* OpenSSL options:

    By default, this version includes options for OpenSSL 3.0.8

    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

--------------------------------------------------------------------------------

* On Linux, BSD, and Mac OS X:

  - Edit 'Makefile'
    * Inform the path to where install the Lua modules (LUAPATH) and binaries 
      modules (LUACPATH)
    * 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.

--------------------------------------------------------------------------------

* 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.

  - Create a directory 'ssl' in your LUA_PATH and copy 'https.lua' to it.