diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-11-07 14:14:04 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-07 14:14:04 -0600 |
commit | 7a30abb846cd2ca6e9043c8f6b0ef8b9bd85fc1b (patch) | |
tree | e971ba1ab2b32e3094fafc79a546823f066f8564 | |
parent | 81afe76294ed02087a2607ee6238317dde5a836c (diff) | |
download | busybox-w32-packaging-7a30abb846cd2ca6e9043c8f6b0ef8b9bd85fc1b.tar.gz busybox-w32-packaging-7a30abb846cd2ca6e9043c8f6b0ef8b9bd85fc1b.tar.bz2 busybox-w32-packaging-7a30abb846cd2ca6e9043c8f6b0ef8b9bd85fc1b.zip |
Turns out we don't actually need libressl, busybox has its own working
one.
-rwxr-xr-x | init | 8 | ||||
-rw-r--r-- | meta.lua | 4 |
2 files changed, 0 insertions, 12 deletions
@@ -4,16 +4,8 @@ rc-service networking start | |||
4 | apk update | 4 | apk update |
5 | apk add build-base xz mingw-w64-gcc | 5 | apk add build-base xz mingw-w64-gcc |
6 | 6 | ||
7 | tar -xvzf include.tar.gz | ||
8 | mv include/openssl /usr/x86_64-w64-mignw32/include | ||
9 | mv include/tls.h /usr/x86_64-w64-mignw32/include | ||
10 | mv libtls.a /usr/x86_64-w64-mingw32/lib | ||
11 | mv libssl.a /usr/x86_64-w64-mingw32/lib | ||
12 | mv libcrypto.a /usr/x86_64-w64-mingw32/lib | ||
13 | |||
14 | cd busybox-w32 | 7 | cd busybox-w32 |
15 | cp /root/busybox-w32-packaging/config .config | 8 | cp /root/busybox-w32-packaging/config .config |
16 | sed -i "s/CONFIG_EXTRA_CFLAGS=\"\"/CONFIG_EXTRA_CFLAGS=\"$CFLAGS\"/g" .config | 9 | sed -i "s/CONFIG_EXTRA_CFLAGS=\"\"/CONFIG_EXTRA_CFLAGS=\"$CFLAGS\"/g" .config |
17 | sed -i "s/CONFIG_EXTRA_LDLIBS=\"\"/CONFIG_EXTRA_LDLIBS=\"-ltls -lssl -lcrypto\"/g" .config | ||
18 | make | 10 | make |
19 | cp busybox.exe .. | 11 | cp busybox.exe .. |
@@ -21,10 +21,6 @@ for opti_k, opti_v, rel_k, rel_v, _, comp_v in cartesian(optimizations, debug, c | |||
21 | image="image-" .. comp_v, | 21 | image="image-" .. comp_v, |
22 | requires = { | 22 | requires = { |
23 | {"git","busybox-w32"}, | 23 | {"git","busybox-w32"}, |
24 | {"cicd","libressl-" .. opti_k .. "-" .. rel_k .. "-" .. comp_v .. ":include.tar.gz"}, | ||
25 | {"cicd","libressl-" .. opti_k .. "-" .. rel_k .. "-" .. comp_v .. ":libtls.a"}, | ||
26 | {"cicd","libressl-" .. opti_k .. "-" .. rel_k .. "-" .. comp_v .. ":libssl.a"}, | ||
27 | {"cicd","libressl-" .. opti_k .. "-" .. rel_k .. "-" .. comp_v .. ":libcrypto.a"}, | ||
28 | }, | 24 | }, |
29 | produces = { | 25 | produces = { |
30 | ["busybox.exe"] = true | 26 | ["busybox.exe"] = true |