diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-27 14:45:25 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-27 14:51:44 -0300 |
| commit | 4934b8e3b5560db2cca7aaa768e1ddc4e936b4e8 (patch) | |
| tree | 26997b1247d54981b154f3dcc41c1714cbbdd3bc /binary/luasec-1.3.2-1.rockspec | |
| parent | 544ea211fede3f71a2b08fb74aa4a7027fc6e09b (diff) | |
| download | luarocks-4934b8e3b5560db2cca7aaa768e1ddc4e936b4e8.tar.gz luarocks-4934b8e3b5560db2cca7aaa768e1ddc4e936b4e8.tar.bz2 luarocks-4934b8e3b5560db2cca7aaa768e1ddc4e936b4e8.zip | |
deps: bump luasocket and luasec
Diffstat (limited to 'binary/luasec-1.3.2-1.rockspec')
| -rw-r--r-- | binary/luasec-1.3.2-1.rockspec | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/binary/luasec-1.3.2-1.rockspec b/binary/luasec-1.3.2-1.rockspec new file mode 100644 index 00000000..81cb31f2 --- /dev/null +++ b/binary/luasec-1.3.2-1.rockspec | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | package = "LuaSec" | ||
| 2 | version = "1.3.2-1" | ||
| 3 | source = { | ||
| 4 | url = "git+https://github.com/brunoos/luasec", | ||
| 5 | tag = "v1.3.2", | ||
| 6 | } | ||
| 7 | description = { | ||
| 8 | summary = "A binding for OpenSSL library to provide TLS/SSL communication over LuaSocket.", | ||
| 9 | detailed = "This version delegates to LuaSocket the TCP connection establishment between the client and server. Then LuaSec uses this connection to start a secure TLS/SSL session.", | ||
| 10 | homepage = "https://github.com/brunoos/luasec/wiki", | ||
| 11 | license = "MIT" | ||
| 12 | } | ||
| 13 | dependencies = { | ||
| 14 | "lua >= 5.1", "luasocket" | ||
| 15 | } | ||
| 16 | external_dependencies = { | ||
| 17 | platforms = { | ||
| 18 | unix = { | ||
| 19 | OPENSSL = { | ||
| 20 | header = "openssl/ssl.h", | ||
| 21 | library = "ssl" | ||
| 22 | } | ||
| 23 | }, | ||
| 24 | windows = { | ||
| 25 | OPENSSL = { | ||
| 26 | header = "openssl/ssl.h", | ||
| 27 | } | ||
| 28 | }, | ||
| 29 | mingw32 = { | ||
| 30 | OPENSSL = { | ||
| 31 | library = "ssl", | ||
| 32 | } | ||
| 33 | }, | ||
| 34 | } | ||
| 35 | } | ||
| 36 | build = { | ||
| 37 | type = "builtin", | ||
| 38 | copy_directories = { | ||
| 39 | "samples" | ||
| 40 | }, | ||
| 41 | platforms = { | ||
| 42 | unix = { | ||
| 43 | modules = { | ||
| 44 | ['ssl.https'] = "src/https.lua", | ||
| 45 | ['ssl.init'] = "src/ssl.lua", | ||
| 46 | ssl = { | ||
| 47 | defines = { | ||
| 48 | "WITH_LUASOCKET", "LUASOCKET_DEBUG", | ||
| 49 | }, | ||
| 50 | incdirs = { | ||
| 51 | "$(OPENSSL_INCDIR)", "src/", "src/luasocket", | ||
| 52 | }, | ||
| 53 | libdirs = { | ||
| 54 | "$(OPENSSL_LIBDIR)" | ||
| 55 | }, | ||
| 56 | libraries = { | ||
| 57 | "ssl", "crypto" | ||
| 58 | }, | ||
| 59 | sources = { | ||
| 60 | "src/options.c", "src/config.c", "src/ec.c", | ||
| 61 | "src/x509.c", "src/context.c", "src/ssl.c", | ||
| 62 | "src/luasocket/buffer.c", "src/luasocket/io.c", | ||
| 63 | "src/luasocket/usocket.c" -- , "src/luasocket/timeout.c" | ||
| 64 | } | ||
| 65 | } | ||
| 66 | } | ||
| 67 | }, | ||
| 68 | windows = { | ||
| 69 | modules = { | ||
| 70 | ['ssl.https'] = "src/https.lua", | ||
| 71 | ['ssl.init'] = "src/ssl.lua", | ||
| 72 | ssl = { | ||
| 73 | defines = { | ||
| 74 | "WIN32", "NDEBUG", "_WINDOWS", "_USRDLL", "LSEC_EXPORTS", "BUFFER_DEBUG", "LSEC_API=__declspec(dllexport)", | ||
| 75 | "WITH_LUASOCKET", "LUASOCKET_DEBUG", | ||
| 76 | "LUASEC_INET_NTOP", "WINVER=0x0501", "_WIN32_WINNT=0x0501", "NTDDI_VERSION=0x05010300" | ||
| 77 | }, | ||
| 78 | libdirs = { | ||
| 79 | "$(OPENSSL_LIBDIR)", | ||
| 80 | "$(OPENSSL_BINDIR)", | ||
| 81 | }, | ||
| 82 | libraries = { | ||
| 83 | "ssl", "crypto", "ws2_32" | ||
| 84 | }, | ||
| 85 | incdirs = { | ||
| 86 | "$(OPENSSL_INCDIR)", "src/", "src/luasocket" | ||
| 87 | }, | ||
| 88 | sources = { | ||
| 89 | "src/options.c", "src/config.c", "src/ec.c", | ||
| 90 | "src/x509.c", "src/context.c", "src/ssl.c", | ||
| 91 | "src/luasocket/buffer.c", "src/luasocket/io.c", | ||
| 92 | "src/luasocket/timeout.c", "src/luasocket/wsocket.c" | ||
| 93 | }, | ||
| 94 | }, | ||
| 95 | }, | ||
| 96 | }, | ||
| 97 | } | ||
| 98 | } | ||
