From dd03974882f85ca04e35cfbc97f7ff756f5d5c20 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 Feb 2023 20:21:39 +0000 Subject: gentoo auto-resync : 20:02:2023 - 20:21:39 --- net-misc/xmrig/Manifest | 7 +-- net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch | 70 ++++++++++++++++++++++++++ net-misc/xmrig/xmrig-6.18.1-r1.ebuild | 66 ++++++++++++++++++++++++ net-misc/xmrig/xmrig-6.18.1.ebuild | 65 ------------------------ net-misc/xmrig/xmrig-6.19.0-r1.ebuild | 66 ++++++++++++++++++++++++ net-misc/xmrig/xmrig-6.19.0.ebuild | 65 ------------------------ net-misc/xmrig/xmrig-9999.ebuild | 3 +- 7 files changed, 208 insertions(+), 134 deletions(-) create mode 100644 net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch create mode 100644 net-misc/xmrig/xmrig-6.18.1-r1.ebuild delete mode 100644 net-misc/xmrig/xmrig-6.18.1.ebuild create mode 100644 net-misc/xmrig/xmrig-6.19.0-r1.ebuild delete mode 100644 net-misc/xmrig/xmrig-6.19.0.ebuild (limited to 'net-misc/xmrig') diff --git a/net-misc/xmrig/Manifest b/net-misc/xmrig/Manifest index efb1e6c64b81..50b9a294c24b 100644 --- a/net-misc/xmrig/Manifest +++ b/net-misc/xmrig/Manifest @@ -1,8 +1,9 @@ AUX xmrig-6.12.2-nonotls.patch 578 BLAKE2B 4d71c8d35be47fd12a019d7b8cb6e1b8787e153ab543b9b1e4079c911671ff886042d90cd439552bf364208d9a4afcc7fe088b50598bbc20e347b532dfc92a2d SHA512 fea6041879c414a4fc6006a413b217801d674f7b5d849d95c119d07e191c5d7a5e99fb959d89974b68be9df132ff480f8492645ba6821b369444b102596b06f3 +AUX xmrig-6.18.1-gcc-13.patch 1910 BLAKE2B e3a097ef3d4999a84a9aa4edad1fd14dc7c62253b907d9642337859b08e41523783a642650b86fa48bd78939fff6b248aa2bffefbc07c3b8e842627a1f285531 SHA512 4182acc2fdc3949ae02319af7408ef6059a1803213a3cf0f5c1cd4df33b71a30aa6b871990ed767cb7e0ce061ee03e34bd1878ffcc1a301ebb7cbb36ebd41e3f AUX xmrig.service 946 BLAKE2B 1f3b28f8229183da528ac2b4279dd64b5c6f752720c6bdfe90fa9e127108623e4a577a274527249ee7a13969be97e9b1a4348f7c3e0798839d0ed3ee67b16188 SHA512 77da620627272113e7c77a090536b04cb5a89f4010060ffb21ea1c9edc50e0743f913a70e4fb612c23aeea2b8f1a3f9ce024a434076cf9498cce0b5f801faafa DIST xmrig-6.18.1.tar.gz 2394259 BLAKE2B 4d7ed3ce7b6c9dce9b25da7c316df4542046b014167ce090c5c2ec4dbf61607e4238ce8a8407a396f1eb47dc76cbfac08e0131835d9c4bbff8f4e5920d2f19a6 SHA512 bb297b17f820ad38f0c68aebfe1be8e82e85aede99a9e2a7692935ed57dab06a36566d13c16f850123dc6e829dfb56bc9253c46b94e6a703fe169a0126feb37b DIST xmrig-6.19.0.tar.gz 2409845 BLAKE2B 4798b40555b2ea57a76fedfc0a86dd27f035389b9709d71205c10a2da92e6738243c76d5b67ecefe3d66c597859db9191ff90893e50f8f89194c5c6454d3c02b SHA512 7dadab1c30dc76349148ab62968c999fdc01ac92e184c81b8693e90829aaff3d8be147996aae36efebb2d767f792cda30f365226942758620f6bfce3531b3f97 -EBUILD xmrig-6.18.1.ebuild 1339 BLAKE2B 9b7bcd3cf6831626278475a3b08c912da8d5cb646c928493dbcddea6b6a34dbe54a650200f2676921c7daa96b288b7654699a816d55d387174d475c6562ad786 SHA512 2d0e6334dcd30bf5a357c14089842bb00df837ea4fd37b5901687f568b2f23906da5ab2add4f15ea043ef2a56c5a022381d80c7227a0ef69131aff252f7c3824 -EBUILD xmrig-6.19.0.ebuild 1341 BLAKE2B db493c0263539534695db5ebcc4767cb8bfef9cfa78bb857abc40b6b58dde51f95352f67a73471163914e71104b62af80d84670baf6fa213cc27d9df5a765b25 SHA512 4573334068f2f06015b3b269dbe4eddd7a21c6d87730a1dcc037eb9f5a8e73fb4ca1b97804a313aade094f9afd9901c32c9f96ed3c51c27b50562c2298f76730 -EBUILD xmrig-9999.ebuild 1341 BLAKE2B 57e511706fc10b3ae13aa788cf98fc7bbae846e1993c16e30c6bee5b5ac4d65e43481542a11bdee219d5aa46be79e1d3281259bf61719f9095bd902660617748 SHA512 c2addf892f4692610fc4ff757f13b0528ebaad9aef07bd5d4c8923d97d13a493a169869fe611ea612c0e5607f8a4c67c4adf2f2845405de1f131d9e5800ddee6 +EBUILD xmrig-6.18.1-r1.ebuild 1380 BLAKE2B 19be293fb94993256abb1f94c29bb229d47cae8669ee2c88b5c2f93e792cdb35694c7642b355ff89ff0c4e6deffaf996896f70fb39e8fe7c91e5ed707ed22b07 SHA512 a5b5b4f17f5f29669ee0f712c58d044e55156102967446444f03db99b607fd158249afe4b2bf0cec0a442f45ad06b576431f6c0c239fcc63c86f92ef7aed0ca8 +EBUILD xmrig-6.19.0-r1.ebuild 1382 BLAKE2B e842e0f75c57b51801f7cd011f12726a1b44730fe2557c7f0741ab970b3ae0589d38853153be07d8e6320c253f7eb7851653754019f0372bc8284294f9fdc83f SHA512 fb9a23d6343f390d80a6584bad342b00a164d35deeac2b310abca54b791125bfc59ef2b84b1ed19c918f7e8468f7e86af67ec40449026d5a3eec83744ed5cc2b +EBUILD xmrig-9999.ebuild 1382 BLAKE2B e842e0f75c57b51801f7cd011f12726a1b44730fe2557c7f0741ab970b3ae0589d38853153be07d8e6320c253f7eb7851653754019f0372bc8284294f9fdc83f SHA512 fb9a23d6343f390d80a6584bad342b00a164d35deeac2b310abca54b791125bfc59ef2b84b1ed19c918f7e8468f7e86af67ec40449026d5a3eec83744ed5cc2b MISC metadata.xml 1023 BLAKE2B 207d4db4091e38a612d7bf060ca7f58c97454a03d39b0f49e0968f387a1d97d7624834ea0d010b650fc384ab51550693d90710808516082f14a5d51ecd42b9f4 SHA512 93dd1dc29085b6277a5787515449b67c45753cdd00de5a854522907cec0a59078327074c0f3a8577c1d505b0eb30e63267375b3ccc2cf0dcae697b56d163aa39 diff --git a/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch b/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch new file mode 100644 index 000000000000..1726c3b01523 --- /dev/null +++ b/net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch @@ -0,0 +1,70 @@ +From bd14e6034ba2de0056278c3ad9923199b7f4d20f Mon Sep 17 00:00:00 2001 +From: Matthew Smith +Date: Mon, 20 Feb 2023 16:09:19 +0000 +Subject: [PATCH] Fix build with gcc 13 + +Now some header files are not included transistively with new +libstdc++. + +Bug: https://bugs.gentoo.org/895226 +--- a/src/backend/opencl/runners/OclBaseRunner.cpp ++++ b/src/backend/opencl/runners/OclBaseRunner.cpp +@@ -23,6 +23,9 @@ + */ + + ++#include ++ ++ + #include "backend/opencl/runners/OclBaseRunner.h" + #include "backend/opencl/cl/OclSource.h" + #include "backend/opencl/OclCache.h" +--- a/src/backend/opencl/runners/OclCnRunner.cpp ++++ b/src/backend/opencl/runners/OclCnRunner.cpp +@@ -16,6 +16,9 @@ + * along with this program. If not, see . + */ + ++#include ++ ++ + #include "backend/opencl/runners/OclCnRunner.h" + #include "backend/opencl/kernels/Cn0Kernel.h" + #include "backend/opencl/kernels/Cn1Kernel.h" +--- a/src/backend/opencl/runners/OclKawPowRunner.cpp ++++ b/src/backend/opencl/runners/OclKawPowRunner.cpp +@@ -16,6 +16,9 @@ + * along with this program. If not, see . + */ + ++#include ++ ++ + #include "backend/opencl/runners/OclKawPowRunner.h" + #include "backend/common/Tags.h" + #include "3rdparty/libethash/ethash_internal.h" +--- a/src/backend/opencl/runners/OclRxJitRunner.cpp ++++ b/src/backend/opencl/runners/OclRxJitRunner.cpp +@@ -16,6 +16,9 @@ + * along with this program. If not, see . + */ + ++#include ++ ++ + #include "backend/opencl/runners/OclRxJitRunner.h" + #include "backend/opencl/cl/rx/randomx_run_gfx803.h" + #include "backend/opencl/cl/rx/randomx_run_gfx900.h" +--- a/src/base/net/http/HttpResponse.h ++++ b/src/base/net/http/HttpResponse.h +@@ -21,6 +21,7 @@ + #define XMRIG_HTTPRESPONSE_H + + ++#include + #include + #include + +-- +2.39.2 + diff --git a/net-misc/xmrig/xmrig-6.18.1-r1.ebuild b/net-misc/xmrig/xmrig-6.18.1-r1.ebuild new file mode 100644 index 000000000000..89809b2e8627 --- /dev/null +++ b/net-misc/xmrig/xmrig-6.18.1-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner" +HOMEPAGE="https://xmrig.com https://github.com/xmrig/xmrig" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 arm64" +fi + +LICENSE="Apache-2.0 GPL-3+ MIT" +SLOT="0" +IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl" + +DEPEND=" + dev-libs/libuv:= + hwloc? ( >=sys-apps/hwloc-2.5.0:= ) + opencl? ( virtual/opencl ) + ssl? ( dev-libs/openssl:= ) +" +RDEPEND=" + ${DEPEND} + !arm64? ( sys-apps/msr-tools ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.12.2-nonotls.patch + "${FILESDIR}"/${PN}-6.18.1-gcc-13.patch +) + +src_prepare() { + if ! use donate ; then + sed -i 's/1;/0;/g' src/donate.h || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1) + -DWITH_HWLOC=$(usex hwloc) + -DWITH_TLS=$(usex ssl) + -DWITH_OPENCL=$(usex opencl) + -DWITH_CUDA=OFF + ) + + cmake_src_configure +} + +src_install() { + default + keepdir /etc/xmrig + systemd_dounit "${FILESDIR}"/xmrig.service + dobin "${BUILD_DIR}/xmrig" + dobin "${S}/scripts/enable_1gb_pages.sh" + dobin "${S}/scripts/randomx_boost.sh" +} diff --git a/net-misc/xmrig/xmrig-6.18.1.ebuild b/net-misc/xmrig/xmrig-6.18.1.ebuild deleted file mode 100644 index 0f1d09c1b7a9..000000000000 --- a/net-misc/xmrig/xmrig-6.18.1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner" -HOMEPAGE="https://xmrig.com https://github.com/xmrig/xmrig" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm64" -fi - -LICENSE="Apache-2.0 GPL-3+ MIT" -SLOT="0" -IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl" - -DEPEND=" - dev-libs/libuv:= - hwloc? ( >=sys-apps/hwloc-2.5.0:= ) - opencl? ( virtual/opencl ) - ssl? ( dev-libs/openssl:= ) -" -RDEPEND=" - ${DEPEND} - !arm64? ( sys-apps/msr-tools ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.12.2-nonotls.patch -) - -src_prepare() { - if ! use donate ; then - sed -i 's/1;/0;/g' src/donate.h || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1) - -DWITH_HWLOC=$(usex hwloc) - -DWITH_TLS=$(usex ssl) - -DWITH_OPENCL=$(usex opencl) - -DWITH_CUDA=OFF - ) - - cmake_src_configure -} - -src_install() { - default - keepdir /etc/xmrig - systemd_dounit "${FILESDIR}"/xmrig.service - dobin "${BUILD_DIR}/xmrig" - dobin "${S}/scripts/enable_1gb_pages.sh" - dobin "${S}/scripts/randomx_boost.sh" -} diff --git a/net-misc/xmrig/xmrig-6.19.0-r1.ebuild b/net-misc/xmrig/xmrig-6.19.0-r1.ebuild new file mode 100644 index 000000000000..7a4ceae89308 --- /dev/null +++ b/net-misc/xmrig/xmrig-6.19.0-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner" +HOMEPAGE="https://xmrig.com https://github.com/xmrig/xmrig" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64" +fi + +LICENSE="Apache-2.0 GPL-3+ MIT" +SLOT="0" +IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl" + +DEPEND=" + dev-libs/libuv:= + hwloc? ( >=sys-apps/hwloc-2.5.0:= ) + opencl? ( virtual/opencl ) + ssl? ( dev-libs/openssl:= ) +" +RDEPEND=" + ${DEPEND} + !arm64? ( sys-apps/msr-tools ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.12.2-nonotls.patch + "${FILESDIR}"/${PN}-6.18.1-gcc-13.patch +) + +src_prepare() { + if ! use donate ; then + sed -i 's/1;/0;/g' src/donate.h || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1) + -DWITH_HWLOC=$(usex hwloc) + -DWITH_TLS=$(usex ssl) + -DWITH_OPENCL=$(usex opencl) + -DWITH_CUDA=OFF + ) + + cmake_src_configure +} + +src_install() { + default + keepdir /etc/xmrig + systemd_dounit "${FILESDIR}"/xmrig.service + dobin "${BUILD_DIR}/xmrig" + dobin "${S}/scripts/enable_1gb_pages.sh" + dobin "${S}/scripts/randomx_boost.sh" +} diff --git a/net-misc/xmrig/xmrig-6.19.0.ebuild b/net-misc/xmrig/xmrig-6.19.0.ebuild deleted file mode 100644 index 7f9e7dd2397c..000000000000 --- a/net-misc/xmrig/xmrig-6.19.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake systemd - -DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner" -HOMEPAGE="https://xmrig.com https://github.com/xmrig/xmrig" - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="Apache-2.0 GPL-3+ MIT" -SLOT="0" -IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl" - -DEPEND=" - dev-libs/libuv:= - hwloc? ( >=sys-apps/hwloc-2.5.0:= ) - opencl? ( virtual/opencl ) - ssl? ( dev-libs/openssl:= ) -" -RDEPEND=" - ${DEPEND} - !arm64? ( sys-apps/msr-tools ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.12.2-nonotls.patch -) - -src_prepare() { - if ! use donate ; then - sed -i 's/1;/0;/g' src/donate.h || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1) - -DWITH_HWLOC=$(usex hwloc) - -DWITH_TLS=$(usex ssl) - -DWITH_OPENCL=$(usex opencl) - -DWITH_CUDA=OFF - ) - - cmake_src_configure -} - -src_install() { - default - keepdir /etc/xmrig - systemd_dounit "${FILESDIR}"/xmrig.service - dobin "${BUILD_DIR}/xmrig" - dobin "${S}/scripts/enable_1gb_pages.sh" - dobin "${S}/scripts/randomx_boost.sh" -} diff --git a/net-misc/xmrig/xmrig-9999.ebuild b/net-misc/xmrig/xmrig-9999.ebuild index 5e038e700270..7a4ceae89308 100644 --- a/net-misc/xmrig/xmrig-9999.ebuild +++ b/net-misc/xmrig/xmrig-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -33,6 +33,7 @@ RDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-6.12.2-nonotls.patch + "${FILESDIR}"/${PN}-6.18.1-gcc-13.patch ) src_prepare() { -- cgit v1.2.3