commit: 8bb5c6bfaf2792e86afa207aef37f5939ba5cc28 Author: James Beddek <telans <AT> posteo <DOT> de> AuthorDate: Mon Oct 4 07:11:38 2021 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Mon Oct 4 07:11:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bb5c6bf
net-misc/xmrig-mo: treeclean Signed-off-by: James Beddek <telans <AT> posteo.de> net-misc/xmrig-mo/Manifest | 1 - net-misc/xmrig-mo/metadata.xml | 16 --------- net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild | 56 -------------------------------- 3 files changed, 73 deletions(-) diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest deleted file mode 100644 index 007797c1e..000000000 --- a/net-misc/xmrig-mo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xmrig-mo-6.12.1-mo2.tar.gz 1684464 BLAKE2B 76422786292a59fb2cd47cb5e84a21b273fa901ca599c50571f9aab5c0c951b7525da65119402eaadbce05434d98fdaed4d429fce4f27ece614ed9100872c440 SHA512 f37d3e74705cb9f2b11d341f81c1917ca51fe2dc2d6294b901637f55239620ecc8068def08ffc4bdc8a534889c11624b06fc3293b184e045e3d9d18b779786c1 diff --git a/net-misc/xmrig-mo/metadata.xml b/net-misc/xmrig-mo/metadata.xml deleted file mode 100644 index aa4c1e6f9..000000000 --- a/net-misc/xmrig-mo/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>tel...@posteo.de</email> - <name>James Beddek</name> - </maintainer> - <longdescription lang="en"> - XMRig High performance, open source, cross platform RandomX, - CryptoNight, AstroBWT and Argon2 CPU/GPU miner. Algorithm switching, - when used with the MoneroOcean mining pool. - </longdescription> - <upstream> - <remote-id type="github">MoneroOcean/xmrig</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild deleted file mode 100644 index 887bcedc3..000000000 --- a/net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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 -}