feat: bump included version p2pool, xmrig and xmrig-proxy

This commit is contained in:
Cyrix126 2024-08-22 18:30:37 +02:00
parent 0418cd81f7
commit effeca9b68
2 changed files with 63 additions and 63 deletions

View file

@ -16,9 +16,9 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
pub const GUPAX_VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION")); // e.g: v1.0.0 pub const GUPAX_VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION")); // e.g: v1.0.0
pub const P2POOL_VERSION: &str = "v4.0"; pub const P2POOL_VERSION: &str = "v4.1";
pub const XMRIG_VERSION: &str = "v6.21.1"; pub const XMRIG_VERSION: &str = "v6.22.0";
pub const XMRIG_PROXY_VERSION: &str = "v6.21.1"; pub const XMRIG_PROXY_VERSION: &str = "v6.22.0";
pub const COMMIT: &str = env!("COMMIT"); // set in build.rs pub const COMMIT: &str = env!("COMMIT"); // set in build.rs
// e.g: Gupax_v1_0_0 // e.g: Gupax_v1_0_0
// Would have been [Gupax_v1.0.0] but P2Pool truncates everything after [.] // Would have been [Gupax_v1.0.0] but P2Pool truncates everything after [.]

View file

@ -17,81 +17,81 @@ cp CHANGELOG.md /tmp/${FOLDER}/skel/
## Download XMRig Binaries ## Download XMRig Binaries
# download xmrig into directory linux # download xmrig into directory linux
wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-linux-static-x64.tar.gz wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-linux-static-x64.tar.gz
tar -xf xmrig-6.21.1-linux-static-x64.tar.gz tar -xf xmrig-6.22.0-linux-static-x64.tar.gz
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/linux_b/xmrig/xmrig mv xmrig-6.22.0/xmrig /tmp/${FOLDER}/skel/linux_b/xmrig/xmrig
rm -r xmrig-6.21.1 rm -r xmrig-6.22.0
rm xmrig-6.21.1-linux-static-x64.tar.gz rm xmrig-6.22.0-linux-static-x64.tar.gz
# download xmrig into directory macos-arm64 # download xmrig into directory macos-arm64
wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-macos-arm64.tar.gz wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-macos-arm64.tar.gz
tar -xf xmrig-6.21.1-macos-arm64.tar.gz tar -xf xmrig-6.22.0-macos-arm64.tar.gz
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig mv xmrig-6.22.0/xmrig /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig
rm -r xmrig-6.21.1 rm -r xmrig-6.22.0
rm xmrig-6.21.1-macos-arm64.tar.gz rm xmrig-6.22.0-macos-arm64.tar.gz
# download xmrig into directory macos-x64 # download xmrig into directory macos-x64
wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-macos-x64.tar.gz wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-macos-x64.tar.gz
tar -xf xmrig-6.21.1-macos-x64.tar.gz tar -xf xmrig-6.22.0-macos-x64.tar.gz
mv xmrig-6.21.1/xmrig /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig mv xmrig-6.22.0/xmrig /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig/xmrig
rm -r xmrig-6.21.1 rm -r xmrig-6.22.0
rm xmrig-6.21.1-macos-x64.tar.gz rm xmrig-6.22.0-macos-x64.tar.gz
# download xmrig into directory windows # download xmrig into directory windows
wget https://github.com/xmrig/xmrig/releases/download/v6.21.1/xmrig-6.21.1-msvc-win64.zip wget https://github.com/xmrig/xmrig/releases/download/v6.22.0/xmrig-6.22.0-msvc-win64.zip
unzip xmrig-6.21.1-msvc-win64.zip unzip xmrig-6.22.0-msvc-win64.zip
mv xmrig-6.21.1/xmrig.exe /tmp/${FOLDER}/skel/windows_b/XMRig/xmrig.exe mv xmrig-6.22.0/xmrig.exe /tmp/${FOLDER}/skel/windows_b/XMRig/xmrig.exe
rm -r xmrig-6.21.1 rm -r xmrig-6.22.0
rm xmrig-6.21.1-msvc-win64.zip rm xmrig-6.22.0-msvc-win64.zip
## Download XMRig-Proxy Binaries ## Download XMRig-Proxy Binaries
wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-jammy-x64.tar.gz wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-jammy-x64.tar.gz
tar -xf xmrig-proxy-6.21.1-jammy-x64.tar.gz tar -xf xmrig-proxy-6.22.0-jammy-x64.tar.gz
mv xmrig-proxy-6.21.1/xmrig-proxy /tmp/${FOLDER}/skel/linux_b/xmrig-proxy/xmrig-proxy mv xmrig-proxy-6.22.0/xmrig-proxy /tmp/${FOLDER}/skel/linux_b/xmrig-proxy/xmrig-proxy
rm -r xmrig-proxy-6.21.1 rm -r xmrig-proxy-6.22.0
rm xmrig-proxy-6.21.1-jammy-x64.tar.gz rm xmrig-proxy-6.22.0-jammy-x64.tar.gz
## no release for arm64 mac-osx xmrig-proxy, todo make CI build it. ## no release for arm64 mac-osx xmrig-proxy, todo make CI build it.
# download xmrig into directory macos-arm64 # download xmrig into directory macos-arm64
# wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-macos-arm64.tar.gz # wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-macos-arm64.tar.gz
# tar -xf xmrig-proxy-6.21.1-macos-arm64.tar.gz # tar -xf xmrig-proxy-6.22.0-macos-arm64.tar.gz
# mv xmrig-proxy-6.21.1/xmrig-proxy /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy # mv xmrig-proxy-6.22.0/xmrig-proxy /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy
# rm -r xmrig-proxy-6.21.1 # rm -r xmrig-proxy-6.22.0
# rm xmrig-proxy-6.21.1-macos-arm64.tar.gz # rm xmrig-proxy-6.22.0-macos-arm64.tar.gz
# download xmrig into directory macos-x64 # download xmrig into directory macos-x64
wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-macos-x64.tar.gz wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-macos-x64.tar.gz
tar -xf xmrig-proxy-6.21.1-macos-x64.tar.gz tar -xf xmrig-proxy-6.22.0-macos-x64.tar.gz
mv xmrig-proxy-6.21.1/xmrig-proxy /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy mv xmrig-proxy-6.22.0/xmrig-proxy /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/xmrig-proxy/xmrig-proxy
rm -r xmrig-proxy-6.21.1 rm -r xmrig-proxy-6.22.0
rm xmrig-proxy-6.21.1-macos-x64.tar.gz rm xmrig-proxy-6.22.0-macos-x64.tar.gz
# download xmrig into directory windows # download xmrig into directory windows
wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.21.1/xmrig-proxy-6.21.1-msvc-win64.zip wget https://github.com/xmrig/xmrig-proxy/releases/download/v6.22.0/xmrig-proxy-6.22.0-msvc-win64.zip
unzip xmrig-proxy-6.21.1-msvc-win64.zip unzip xmrig-proxy-6.22.0-msvc-win64.zip
mv xmrig-proxy-6.21.1/xmrig-proxy.exe /tmp/${FOLDER}/skel/windows_b/XMRig-Proxy/xmrig-proxy.exe mv xmrig-proxy-6.22.0/xmrig-proxy.exe /tmp/${FOLDER}/skel/windows_b/XMRig-Proxy/xmrig-proxy.exe
rm -r xmrig-proxy-6.21.1 rm -r xmrig-proxy-6.22.0
rm xmrig-proxy-6.21.1-msvc-win64.zip rm xmrig-proxy-6.22.0-msvc-win64.zip
## Download P2Pool Binaries ## Download P2Pool Binaries
# download p2pool into directory linux # download p2pool into directory linux
wget https://github.com/SChernykh/p2pool/releases/download/v4.0/p2pool-v4.0-linux-x64.tar.gz wget https://github.com/SChernykh/p2pool/releases/download/v4.1/p2pool-v4.1-linux-x64.tar.gz
tar -xf p2pool-v4.0-linux-x64.tar.gz tar -xf p2pool-v4.1-linux-x64.tar.gz
mv p2pool-v4.0-linux-x64/p2pool /tmp/${FOLDER}/skel/linux_b/p2pool/p2pool mv p2pool-v4.1-linux-x64/p2pool /tmp/${FOLDER}/skel/linux_b/p2pool/p2pool
rm -r p2pool-v4.0-linux-x64 rm -r p2pool-v4.1-linux-x64
rm p2pool-v4.0-linux-x64.tar.gz rm p2pool-v4.1-linux-x64.tar.gz
# download p2pool into directory macos-arm64 # download p2pool into directory macos-arm64
wget https://github.com/SChernykh/p2pool/releases/download/v4.0/p2pool-v4.0-macos-aarch64.tar.gz wget https://github.com/SChernykh/p2pool/releases/download/v4.1/p2pool-v4.1-macos-aarch64.tar.gz
tar -xf p2pool-v4.0-macos-aarch64.tar.gz tar -xf p2pool-v4.1-macos-aarch64.tar.gz
mv p2pool-v4.0-macos-aarch64/p2pool /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool mv p2pool-v4.1-macos-aarch64/p2pool /tmp/${FOLDER}/skel/macos-arm64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool
rm -r p2pool-v4.0-macos-aarch64 rm -r p2pool-v4.1-macos-aarch64
rm p2pool-v4.0-macos-aarch64.tar.gz rm p2pool-v4.1-macos-aarch64.tar.gz
# download p2pool into directory macos-x64 # download p2pool into directory macos-x64
wget https://github.com/SChernykh/p2pool/releases/download/v4.0/p2pool-v4.0-macos-x64.tar.gz wget https://github.com/SChernykh/p2pool/releases/download/v4.1/p2pool-v4.1-macos-x64.tar.gz
tar -xf p2pool-v4.0-macos-x64.tar.gz tar -xf p2pool-v4.1-macos-x64.tar.gz
mv p2pool-v4.0-macos-x64/p2pool /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool mv p2pool-v4.1-macos-x64/p2pool /tmp/${FOLDER}/skel/macos-x64_b/Gupaxx.app/Contents/MacOS/p2pool/p2pool
rm -r p2pool-v4.0-macos-x64 rm -r p2pool-v4.1-macos-x64
rm p2pool-v4.0-macos-x64.tar.gz rm p2pool-v4.1-macos-x64.tar.gz
# download p2pool into directory windows # download p2pool into directory windows
wget https://github.com/SChernykh/p2pool/releases/download/v4.0/p2pool-v4.0-windows-x64.zip wget https://github.com/SChernykh/p2pool/releases/download/v4.1/p2pool-v4.1-windows-x64.zip
unzip p2pool-v4.0-windows-x64.zip unzip p2pool-v4.1-windows-x64.zip
mv p2pool-v4.0-windows-x64/p2pool.exe /tmp/${FOLDER}/skel/windows_b/P2Pool/p2pool.exe mv p2pool-v4.1-windows-x64/p2pool.exe /tmp/${FOLDER}/skel/windows_b/P2Pool/p2pool.exe
rm -r p2pool-v4.0-windows-x64 rm -r p2pool-v4.1-windows-x64
rm p2pool-v4.0-windows-x64.zip rm p2pool-v4.1-windows-x64.zip
set +ex set +ex