forked from xmrig/xmrig-proxy
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge xmrig-proxy v6.22.0 into master
- Loading branch information
1 parent
bf4f8e2
commit d5b5a30
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh -e | ||
|
||
OPENSSL_VERSION="3.0.14" | ||
|
||
mkdir -p deps | ||
mkdir -p deps/include | ||
mkdir -p deps/lib | ||
|
||
mkdir -p build && cd build | ||
|
||
wget https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz -O openssl-${OPENSSL_VERSION}.tar.gz | ||
tar -xzf openssl-${OPENSSL_VERSION}.tar.gz | ||
|
||
cd openssl-${OPENSSL_VERSION} | ||
./config -no-shared -no-asm -no-zlib -no-comp -no-dgram -no-filenames -no-cms | ||
make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu) | ||
cp -fr include ../../deps | ||
cp libcrypto.a ../../deps/lib | ||
cp libssl.a ../../deps/lib | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh -e | ||
|
||
UV_VERSION="1.48.0" | ||
|
||
mkdir -p deps | ||
mkdir -p deps/include | ||
mkdir -p deps/lib | ||
|
||
mkdir -p build && cd build | ||
|
||
wget https://dist.libuv.org/dist/v${UV_VERSION}/libuv-v${UV_VERSION}.tar.gz -O v${UV_VERSION}.tar.gz | ||
tar -xzf v${UV_VERSION}.tar.gz | ||
|
||
cd libuv-v${UV_VERSION} | ||
sh autogen.sh | ||
./configure --disable-shared | ||
make -j$(nproc || sysctl -n hw.ncpu || sysctl -n hw.logicalcpu) | ||
cp -fr include ../../deps | ||
cp .libs/libuv.a ../../deps/lib | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh -e | ||
|
||
./build.uv.sh | ||
./build.openssl3.sh |