summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-12-19 00:59:46 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-12-19 00:59:46 -0600
commit8c33234366a56d5eef696e6288bb5905fefcb40a (patch)
tree30a75500a40ad8791069f2e5ac4301e129787955
parenta030fd39f012b22705704905c534f4fda4ffdc55 (diff)
downloadluaossl-packaging-8c33234366a56d5eef696e6288bb5905fefcb40a.tar.gz
luaossl-packaging-8c33234366a56d5eef696e6288bb5905fefcb40a.tar.bz2
luaossl-packaging-8c33234366a56d5eef696e6288bb5905fefcb40a.zip
add libdl to dependencies
-rwxr-xr-xinit5
-rw-r--r--luaossl-git-0.rockspec4
-rw-r--r--meta.lua2
3 files changed, 10 insertions, 1 deletions
diff --git a/init b/init
index 7d3a888..7f74317 100755
--- a/init
+++ b/init
@@ -2,8 +2,11 @@
2 2
3cp luaossl-packaging/luaossl-git-0.rockspec luaossl 3cp luaossl-packaging/luaossl-git-0.rockspec luaossl
4tar -xvzf include.tar.gz 4tar -xvzf include.tar.gz
5tar -xvzf dlfcn.tar.gz
5mkdir lib 6mkdir lib
6cp libcrypto.a lib 7mv libcrypto.a lib
8mv libssl.a lib
9mv libdl.a lib
7cd luaossl 10cd luaossl
8git apply /root/luaossl-packaging/openssl.c.patch 11git apply /root/luaossl-packaging/openssl.c.patch
9 12
diff --git a/luaossl-git-0.rockspec b/luaossl-git-0.rockspec
index 1727cf8..cafb1b3 100644
--- a/luaossl-git-0.rockspec
+++ b/luaossl-git-0.rockspec
@@ -24,6 +24,10 @@ external_dependencies = {
24 header = "openssl/crypto.h"; 24 header = "openssl/crypto.h";
25 library = "crypto"; 25 library = "crypto";
26 }; 26 };
27 DL = {
28 header = "dlfcn.h";
29 library = "dl";
30 }
27} 31}
28build = { 32build = {
29 type = "builtin"; 33 type = "builtin";
diff --git a/meta.lua b/meta.lua
index 428f6ba..6a361bd 100644
--- a/meta.lua
+++ b/meta.lua
@@ -31,6 +31,8 @@ for version, _, name, optimization, rel, flag, _, image in cartesian(lua_version
31 {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":include.tar.gz"}, 31 {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":include.tar.gz"},
32 {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libcrypto.a"}, 32 {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libcrypto.a"},
33 {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libssl.a"}, 33 {"cicd","libressl-" .. name .. "-" .. rel .. "-" .. image .. ":libssl.a"},
34 {"cicd","dlfcn-win32:dlfcn.tar.gz"},
35 {"cicd","dlfcn-win32:libdl.a"},
34 }, 36 },
35 produces = { 37 produces = {
36 ["luaossl-git.mingw32-x86_64.rock"] = {"luarocks.sh", "luaossl", image, version, name, rel}, 38 ["luaossl-git.mingw32-x86_64.rock"] = {"luarocks.sh", "luaossl", image, version, name, rel},