Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/xmrig-mo/
Date: Wed, 28 Apr 2021 08:08:20
Message-Id: 1619574606.bef9f4f979d07c3ae8eebca0b3f7853188867644.andrewammerlaan@gentoo
1 commit: bef9f4f979d07c3ae8eebca0b3f7853188867644
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Wed Apr 28 01:50:06 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Wed Apr 28 01:50:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bef9f4f9
7
8 net-misc/xmrig-mo: drop 6.8.2, 6.9.0
9
10 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
11
12 net-misc/xmrig-mo/Manifest | 2 --
13 net-misc/xmrig-mo/xmrig-mo-6.8.2.ebuild | 56 ---------------------------------
14 net-misc/xmrig-mo/xmrig-mo-6.9.0.ebuild | 56 ---------------------------------
15 3 files changed, 114 deletions(-)
16
17 diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
18 index ba43952a8..007797c1e 100644
19 --- a/net-misc/xmrig-mo/Manifest
20 +++ b/net-misc/xmrig-mo/Manifest
21 @@ -1,3 +1 @@
22 DIST xmrig-mo-6.12.1-mo2.tar.gz 1684464 BLAKE2B 76422786292a59fb2cd47cb5e84a21b273fa901ca599c50571f9aab5c0c951b7525da65119402eaadbce05434d98fdaed4d429fce4f27ece614ed9100872c440 SHA512 f37d3e74705cb9f2b11d341f81c1917ca51fe2dc2d6294b901637f55239620ecc8068def08ffc4bdc8a534889c11624b06fc3293b184e045e3d9d18b779786c1
23 -DIST xmrig-mo-6.8.2-mo1.tar.gz 1676858 BLAKE2B b1723329f4370ec7f529105615409a2669a810fbfb55402db730c7a27610b8bd24524d83c9cedcd9403d6727d1016f301dd396fcf18b487ed31344131ecff0b4 SHA512 b5a6c39867b29009a161586949564968ada6ee88a570ad314826be7d67be1a4f14dd894234fd71999250523b67ef7f07239300ede9879b2e7299b47d6ecc778f
24 -DIST xmrig-mo-6.9.0-mo1.tar.gz 1678548 BLAKE2B 9d1ea56c302ac244be2bac9326e367bba3b131f07dee23cc4949ba84b4115ef99e60073eb40666e1295fca9e14b8510b323664cb3628863dff90d0c6603abc7e SHA512 125aa555323bae6275a041c5f96e85ba6c55885baaa38448b8cfd4f04ed6ed2185b42435d435d49a69ec70db7b1b21267a25f258a815a2c86aec23383959a936
25
26 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.8.2.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.8.2.ebuild
27 deleted file mode 100644
28 index d1085fc5b..000000000
29 --- a/net-misc/xmrig-mo/xmrig-mo-6.8.2.ebuild
30 +++ /dev/null
31 @@ -1,56 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit cmake optfeature
38 -
39 -MO_PV="mo1"
40 -DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT and Argon2 miner for the MoneroOcean pool"
41 -HOMEPAGE="https://moneroocean.stream/ https://github.com/MoneroOcean/xmrig"
42 -SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz"
43 -
44 -LICENSE="GPL-3+"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 -IUSE="+ssl"
48 -
49 -DEPEND="
50 - dev-libs/libuv:=
51 - sys-apps/hwloc:=
52 - ssl? ( dev-libs/openssl:= )
53 -"
54 -
55 -S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
56 -
57 -src_prepare() {
58 - cmake_src_prepare
59 - sed -i '/notls/d' cmake/OpenSSL.cmake || die
60 - sed -i 's/1;/0;/g' src/donate.h || die
61 -}
62 -
63 -src_configure() {
64 - local mycmakeargs=(
65 - # TODO: Create expanded USE flag for all of the PoW algos.
66 - -DWITH_TLS=$(usex ssl)
67 - # TODO: opencl USE flag.
68 - -DWITH_OPENCL=OFF
69 - # TODO: cuda USE flag.
70 - -DWITH_CUDA=OFF
71 - )
72 -
73 - cmake_src_configure
74 -}
75 -
76 -src_install() {
77 - newbin "${BUILD_DIR}/xmrig" xmrig-mo
78 - dodoc -r doc/*.md
79 - einstalldocs
80 -}
81 -
82 -pkg_postinst() {
83 - elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
84 - elog "XMRig-MoneroOcean has been installed as /usr/bin/xmrig-mo"
85 - elog "in order to differentiate between the original XMRig"
86 - optfeature "CPU specific performance tweaks" sys-apps/msr-tools
87 -}
88
89 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.9.0.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.9.0.ebuild
90 deleted file mode 100644
91 index d1085fc5b..000000000
92 --- a/net-misc/xmrig-mo/xmrig-mo-6.9.0.ebuild
93 +++ /dev/null
94 @@ -1,56 +0,0 @@
95 -# Copyright 1999-2021 Gentoo Authors
96 -# Distributed under the terms of the GNU General Public License v2
97 -
98 -EAPI=7
99 -
100 -inherit cmake optfeature
101 -
102 -MO_PV="mo1"
103 -DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT and Argon2 miner for the MoneroOcean pool"
104 -HOMEPAGE="https://moneroocean.stream/ https://github.com/MoneroOcean/xmrig"
105 -SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz"
106 -
107 -LICENSE="GPL-3+"
108 -SLOT="0"
109 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
110 -IUSE="+ssl"
111 -
112 -DEPEND="
113 - dev-libs/libuv:=
114 - sys-apps/hwloc:=
115 - ssl? ( dev-libs/openssl:= )
116 -"
117 -
118 -S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
119 -
120 -src_prepare() {
121 - cmake_src_prepare
122 - sed -i '/notls/d' cmake/OpenSSL.cmake || die
123 - sed -i 's/1;/0;/g' src/donate.h || die
124 -}
125 -
126 -src_configure() {
127 - local mycmakeargs=(
128 - # TODO: Create expanded USE flag for all of the PoW algos.
129 - -DWITH_TLS=$(usex ssl)
130 - # TODO: opencl USE flag.
131 - -DWITH_OPENCL=OFF
132 - # TODO: cuda USE flag.
133 - -DWITH_CUDA=OFF
134 - )
135 -
136 - cmake_src_configure
137 -}
138 -
139 -src_install() {
140 - newbin "${BUILD_DIR}/xmrig" xmrig-mo
141 - dodoc -r doc/*.md
142 - einstalldocs
143 -}
144 -
145 -pkg_postinst() {
146 - elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
147 - elog "XMRig-MoneroOcean has been installed as /usr/bin/xmrig-mo"
148 - elog "in order to differentiate between the original XMRig"
149 - optfeature "CPU specific performance tweaks" sys-apps/msr-tools
150 -}