mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2026-11-05 00:03:19 +02:00
To slop SSL away (#191)
* windows 98/nt4, slopped openssl away * one (1) roadblock that it can't figure out * fixed maybe * fix dos? * fix dos? (2) * ts is gonna be slow * No need to compress anymore * No need to compress anymore (2) * deslop The main problem with AI models, even today, is that they're very shortsighted. They're too focused on the thing working now than thinking about how maintainable it will be later. As such, you get duplicated code, as well as comments that are geared towards what it's doing right then and there (as if it's an advertisement of it's services) rather than improving the readability of the code. Always check your diffs. * Update workflows * Update freebsd.yml * Update README.md
This commit is contained in:
1 parent
4a6cb3cd31
commit
f9100e0871
41 files changed
+4758
-1743
No files matched your search
+2
-25
@@ -18,31 +18,8 @@
|
||||
# @FileCreated by Neo on 06/25/2023
|
||||
# @Maintainer Neo
|
||||
|
||||
# Stage 1: Install Prerequisites
|
||||
FROM emscripten/emsdk:latest as prerequisites
|
||||
RUN apt update \
|
||||
&& apt -y install pkg-config \
|
||||
&& apt -y clean autoclean autoremove
|
||||
|
||||
# Stage 2: compile OpenSSL for emscripten
|
||||
FROM prerequisites as openssl
|
||||
WORKDIR /tmp
|
||||
ENV EMSCRIPTEN=/emsdk/upstream/emscripten VERBOSE=1
|
||||
RUN git clone https://github.com/openssl/openssl.git openssl \
|
||||
&& cd openssl \
|
||||
&& git checkout openssl-3.1.1 \
|
||||
&& emconfigure ./Configure gcc -no-tests -no-asm -static -fPIC -no-sock -no-afalgeng -DOPENSSL_SYS_NETWARE -DSIG_DFL=0 -DSIG_IGN=0 -DHAVE_FORK=0 -DOPENSSL_NO_AFALGENG=1 --with-rand-seed=getrandom --prefix=$EMSCRIPTEN/cache/sysroot|| exit $? \
|
||||
&& sed -i 's|^CROSS_COMPILE.*$|CROSS_COMPILE=|g' Makefile \
|
||||
&& emmake make -j 12 build_generated libssl.a libcrypto.a build_libs_nodep \
|
||||
&& rm -rf $EMSCRIPTEN/cache/sysroot/include/openssl \
|
||||
&& cp -R include/openssl $EMSCRIPTEN/cache/sysroot/include \
|
||||
&& cp libcrypto.a libssl.a $EMSCRIPTEN/cache/sysroot/lib \
|
||||
&& cp libcrypto.pc libssl.pc openssl.pc $EMSCRIPTEN/cache/sysroot/lib/pkgconfig/ \
|
||||
&& cd .. \
|
||||
&& rm -rf openssl
|
||||
|
||||
# Stage 3: compile UMSKT
|
||||
FROM openssl as build
|
||||
# Stage 1: compile UMSKT
|
||||
FROM emscripten/emsdk:latest as build
|
||||
|
||||
WORKDIR /src
|
||||
COPY . /src
|
||||
|
||||
Reference in new issue
Block a user