Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig-mo/
Date: Mon, 04 Oct 2021 08:11:33
Message-Id: 1633331498.8bb5c6bfaf2792e86afa207aef37f5939ba5cc28.telans@gentoo
1 commit: 8bb5c6bfaf2792e86afa207aef37f5939ba5cc28
2 Author: James Beddek <telans <AT> posteo <DOT> de>
3 AuthorDate: Mon Oct 4 07:11:38 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Mon Oct 4 07:11:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bb5c6bf
7
8 net-misc/xmrig-mo: treeclean
9
10 Signed-off-by: James Beddek <telans <AT> posteo.de>
11
12 net-misc/xmrig-mo/Manifest | 1 -
13 net-misc/xmrig-mo/metadata.xml | 16 ---------
14 net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild | 56 --------------------------------
15 3 files changed, 73 deletions(-)
16
17 diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
18 deleted file mode 100644
19 index 007797c1e..000000000
20 --- a/net-misc/xmrig-mo/Manifest
21 +++ /dev/null
22 @@ -1 +0,0 @@
23 -DIST xmrig-mo-6.12.1-mo2.tar.gz 1684464 BLAKE2B 76422786292a59fb2cd47cb5e84a21b273fa901ca599c50571f9aab5c0c951b7525da65119402eaadbce05434d98fdaed4d429fce4f27ece614ed9100872c440 SHA512 f37d3e74705cb9f2b11d341f81c1917ca51fe2dc2d6294b901637f55239620ecc8068def08ffc4bdc8a534889c11624b06fc3293b184e045e3d9d18b779786c1
24
25 diff --git a/net-misc/xmrig-mo/metadata.xml b/net-misc/xmrig-mo/metadata.xml
26 deleted file mode 100644
27 index aa4c1e6f9..000000000
28 --- a/net-misc/xmrig-mo/metadata.xml
29 +++ /dev/null
30 @@ -1,16 +0,0 @@
31 -<?xml version="1.0" encoding="UTF-8"?>
32 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 -<pkgmetadata>
34 - <maintainer type="person">
35 - <email>telans@××××××.de</email>
36 - <name>James Beddek</name>
37 - </maintainer>
38 - <longdescription lang="en">
39 - XMRig High performance, open source, cross platform RandomX,
40 - CryptoNight, AstroBWT and Argon2 CPU/GPU miner. Algorithm switching,
41 - when used with the MoneroOcean mining pool.
42 - </longdescription>
43 - <upstream>
44 - <remote-id type="github">MoneroOcean/xmrig</remote-id>
45 - </upstream>
46 -</pkgmetadata>
47
48 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild
49 deleted file mode 100644
50 index 887bcedc3..000000000
51 --- a/net-misc/xmrig-mo/xmrig-mo-6.12.1.ebuild
52 +++ /dev/null
53 @@ -1,56 +0,0 @@
54 -# Copyright 1999-2021 Gentoo Authors
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=7
58 -
59 -inherit cmake optfeature
60 -
61 -MO_PV="mo2"
62 -DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT and Argon2 miner for the MoneroOcean pool"
63 -HOMEPAGE="https://moneroocean.stream/ https://github.com/MoneroOcean/xmrig"
64 -SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz"
65 -
66 -LICENSE="GPL-3+"
67 -SLOT="0"
68 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
69 -IUSE="+ssl"
70 -
71 -DEPEND="
72 - dev-libs/libuv:=
73 - sys-apps/hwloc:=
74 - ssl? ( dev-libs/openssl:= )
75 -"
76 -
77 -S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
78 -
79 -src_prepare() {
80 - cmake_src_prepare
81 - sed -i '/notls/d' cmake/OpenSSL.cmake || die
82 - sed -i 's/1;/0;/g' src/donate.h || die
83 -}
84 -
85 -src_configure() {
86 - local mycmakeargs=(
87 - # TODO: Create expanded USE flag for all of the PoW algos.
88 - -DWITH_TLS=$(usex ssl)
89 - # TODO: opencl USE flag.
90 - -DWITH_OPENCL=OFF
91 - # TODO: cuda USE flag.
92 - -DWITH_CUDA=OFF
93 - )
94 -
95 - cmake_src_configure
96 -}
97 -
98 -src_install() {
99 - newbin "${BUILD_DIR}/xmrig" xmrig-mo
100 - dodoc -r doc/*.md
101 - einstalldocs
102 -}
103 -
104 -pkg_postinst() {
105 - elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
106 - elog "XMRig-MoneroOcean has been installed as /usr/bin/xmrig-mo"
107 - elog "in order to differentiate between the original XMRig"
108 - optfeature "CPU specific performance tweaks" sys-apps/msr-tools
109 -}