net-misc/xmrig{,-mo}: bump to 6.9.0

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2021-03-02 21:55:20 +13:00
parent e18827642e
commit a32a1f6a24
4 changed files with 109 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST xmrig-mo-6.8.1-mo2.tar.gz 1676917 BLAKE2B 4302a7ad1816d6ad7a61e2003859cb1608e453f09910fb66d1d2ac2237b2ab7142fe6ded5808c29a944f531902d6841d6005fb616882683a93940c54b14d2ffe SHA512 7ebeaf2b3c6395cc681fbb3bc7563ffe50d1c4f8688a584b739eb63e1b66925d9d8a29f24876fdc82b46493da1f2947f058cd207fc245808b3d9496e7972733a
DIST xmrig-mo-6.8.2-mo1.tar.gz 1676858 BLAKE2B b1723329f4370ec7f529105615409a2669a810fbfb55402db730c7a27610b8bd24524d83c9cedcd9403d6727d1016f301dd396fcf18b487ed31344131ecff0b4 SHA512 b5a6c39867b29009a161586949564968ada6ee88a570ad314826be7d67be1a4f14dd894234fd71999250523b67ef7f07239300ede9879b2e7299b47d6ecc778f
DIST xmrig-mo-6.9.0-mo1.tar.gz 1678548 BLAKE2B 9d1ea56c302ac244be2bac9326e367bba3b131f07dee23cc4949ba84b4115ef99e60073eb40666e1295fca9e14b8510b323664cb3628863dff90d0c6603abc7e SHA512 125aa555323bae6275a041c5f96e85ba6c55885baaa38448b8cfd4f04ed6ed2185b42435d435d49a69ec70db7b1b21267a25f258a815a2c86aec23383959a936

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake optfeature
MO_PV="mo1"
DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT and Argon2 miner for the MoneroOcean pool"
HOMEPAGE="https://moneroocean.stream/ https://github.com/MoneroOcean/xmrig"
SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ssl"
DEPEND="
dev-libs/libuv:=
sys-apps/hwloc:=
ssl? ( dev-libs/openssl:= )
"
S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
src_prepare() {
cmake_src_prepare
sed -i '/notls/d' cmake/OpenSSL.cmake || die
sed -i 's/1;/0;/g' src/donate.h || die
}
src_configure() {
local mycmakeargs=(
# TODO: Create expanded USE flag for all of the PoW algos.
-DWITH_TLS=$(usex ssl)
# TODO: opencl USE flag.
-DWITH_OPENCL=OFF
# TODO: cuda USE flag.
-DWITH_CUDA=OFF
)
cmake_src_configure
}
src_install() {
newbin "${BUILD_DIR}/xmrig" xmrig-mo
dodoc -r doc/*.md
einstalldocs
}
pkg_postinst() {
elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
elog "XMRig-MoneroOcean has been installed as /usr/bin/xmrig-mo"
elog "in order to differentiate between the original XMRig"
optfeature "CPU specific performance tweaks" sys-apps/msr-tools
}

View File

@@ -1,2 +1,3 @@
DIST xmrig-6.8.1.tar.gz 1581433 BLAKE2B 5090dcbf4a0ecc93e1e88ba6693b80e21c9ba1e39e1853ded333ca0c4154868ca39fd64491183462b9c6de7f616d74f2f6fcb8a8722f8929ec2260af1135fca9 SHA512 7a5dc8d37c6193d9cdbf15451fbaca7c41396a28f1aff6f8e4ca0defa615b91eb8c653cb02d6fd9473ebe6563791d7a436ae62a36684cc3a024b71812ebe62da
DIST xmrig-6.8.2.tar.gz 1582902 BLAKE2B 7ce2cc327d07b11d1d165d9f369931d222e47c0595d09b777c7ae8b196d41f069e88567b56ff552825df9c5f333ac8a1afec0ade9d6f76b9c113b92b4081be0b SHA512 5f4c356602dcf82d5ba95d1dcde12eb7a004d75543fd5703a9d986485d3229f87e98e26e7fb3c2a6eb14a268545e2f1545fb48541ca41b66ef352ce1a2a42be4
DIST xmrig-6.9.0.tar.gz 1584717 BLAKE2B 9790b29b639fa308c3b58509de84e621cb63b895efe3f0c390a3efebf7edb7f4fc74f2017dc8d49a39e5bf5f3548eba2f05e6345cac42ad408f6a0d97371c878 SHA512 8fb65c742e0c95a92cd5068d7169a61540babba32c73fbc412e434a9ba6d2ba5299ca1477c59bdd9e06b5df1083d9ffb9d010dfc0c85b9789dda38ecc14fea86

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake optfeature
DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner"
HOMEPAGE="https://github.com/xmrig/xmrig"
SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ssl"
DEPEND="
dev-libs/libuv:=
sys-apps/hwloc:=
ssl? ( dev-libs/openssl:= )
"
src_prepare() {
cmake_src_prepare
sed -i '/notls/d' cmake/OpenSSL.cmake || die
sed -i 's/1;/0;/g' src/donate.h || die
}
src_configure() {
local mycmakeargs=(
# TODO: Create expanded USE flag for all of the PoW algos.
-DWITH_TLS=$(usex ssl)
# TODO: opencl USE flag.
-DWITH_OPENCL=OFF
# TODO: cuda USE flag.
-DWITH_CUDA=OFF
)
cmake_src_configure
}
src_install() {
dobin "${BUILD_DIR}/xmrig"
dodoc -r doc/*.md
einstalldocs
}
pkg_postinst() {
elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
optfeature "CPU specific performance tweaks" sys-apps/msr-tools
}