mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-misc/xmrig{,-mo}: bump to 6.8.1
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST xmrig-mo-6.7.2-mo1.tar.gz 1665361 BLAKE2B 0f2571f6b7f6946af20d132b4c1f97bad6ff841f1d71e6c36617fa99a8ebe4afcc09333db9a3c64abf15574fbf78ea94bd2f62adee7d9ca0aa3d005e944cbda0 SHA512 9f9383bfe92f7b39ed1f83f30461c25d8a76a2ae89a2bcd6b9633febcaf20e833a098d9859f92132620fd43338e532e09293f65677dba11ab03c36a0160cc945
|
||||
DIST xmrig-mo-6.8.1-mo2.tar.gz 1676917 BLAKE2B 4302a7ad1816d6ad7a61e2003859cb1608e453f09910fb66d1d2ac2237b2ab7142fe6ded5808c29a944f531902d6841d6005fb616882683a93940c54b14d2ffe SHA512 7ebeaf2b3c6395cc681fbb3bc7563ffe50d1c4f8688a584b739eb63e1b66925d9d8a29f24876fdc82b46493da1f2947f058cd207fc245808b3d9496e7972733a
|
||||
|
||||
56
net-misc/xmrig-mo/xmrig-mo-6.8.1.ebuild
Normal file
56
net-misc/xmrig-mo/xmrig-mo-6.8.1.ebuild
Normal 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="mo2"
|
||||
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
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST xmrig-6.7.2.tar.gz 1570717 BLAKE2B 2b04a67a9beb78918e40d02e8d093d4d7ec720af8bc5126c2b6e0db8a77a4605e51a2f330431ce49e3bec15a4aabefd960d224019918a768aae72eabf88c1b6a SHA512 517983d67bda3692e45cae664a717bb491492f127acd47635fb4d58dbfb02516669a6340a0845d9ca2de461666def208422a02ee97fcaaf7c674e11ae4a027c6
|
||||
DIST xmrig-6.8.1.tar.gz 1581433 BLAKE2B 5090dcbf4a0ecc93e1e88ba6693b80e21c9ba1e39e1853ded333ca0c4154868ca39fd64491183462b9c6de7f616d74f2f6fcb8a8722f8929ec2260af1135fca9 SHA512 7a5dc8d37c6193d9cdbf15451fbaca7c41396a28f1aff6f8e4ca0defa615b91eb8c653cb02d6fd9473ebe6563791d7a436ae62a36684cc3a024b71812ebe62da
|
||||
|
||||
51
net-misc/xmrig/xmrig-6.8.1.ebuild
Normal file
51
net-misc/xmrig/xmrig-6.8.1.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user