Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/xmr-stak/
Date: Sun, 28 Mar 2021 21:03:02
Message-Id: 1616965374.2f7d68ffeac48fc3d3427d0c6eb05616e662c390.candrews@gentoo
1 commit: 2f7d68ffeac48fc3d3427d0c6eb05616e662c390
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 28 21:02:40 2021 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 28 21:02:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7d68ff
7
8 net-p2p/xmr-stak: Cleanup old versions
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 net-p2p/xmr-stak/Manifest | 4 --
14 net-p2p/xmr-stak/xmr-stak-2.10.6.ebuild | 67 ---------------------------------
15 net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild | 67 ---------------------------------
16 net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild | 67 ---------------------------------
17 net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild | 67 ---------------------------------
18 5 files changed, 272 deletions(-)
19
20 diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest
21 index b09af8121a4..27eb5c59118 100644
22 --- a/net-p2p/xmr-stak/Manifest
23 +++ b/net-p2p/xmr-stak/Manifest
24 @@ -1,5 +1 @@
25 -DIST xmr-stak-2.10.6.tar.gz 518290 BLAKE2B 2abba8a2a142119c75e0f9cf157bcb812a62cfc84e593b1a6544b561fe5655c51de5e1546b879e40163d37b9232ec407c117dd513b7ea119bdb45ab0577fbbe8 SHA512 b209ed5b922cbbf2e9f66bc14c981ba793b6a0bbf399b13c824f5014172e680a1226f7c8d518c85fb0eaa4a03c964b97231e84528056b3e7e460644f22aafcba
26 -DIST xmr-stak-2.10.7.tar.gz 518265 BLAKE2B 9ee03fa60c37c8ca6cfb1f4ae764a2dadd952c2ea085b7c33fd98a9b1895ddb00f349682990a2c0e14f50c06b985409c96bf0949a1c1556d0e61b94142a8a516 SHA512 de2855538226fd68d8dc8a20178a5ca61dc2296d40fbe8792d062957e06c6918a9eb01d9d193ff28415c0ea7c8c6a9bd5d5c80fd5c263c95c722795914784b38
27 DIST xmr-stak-2.10.8.tar.gz 2605734 BLAKE2B 2bcc4b781748b8e823e86dcbaca2c65c9370357f16e2cdf412d6a0780900039223e830b582526cbf7cc2eda6445aae28d5d4c5162464dc70989d278ee3b138dd SHA512 5b222f647c74d4dc4ec7ae16d585672dff099572384aebee1afc60fe6e4bfffc764642f635d6f6dee35c455ee97f5ccf7604e73c502799aab00f4c2ce7b24070
28 -DIST xmr-stak-2.8.3.tar.gz 389352 BLAKE2B db4a52b99a950d81f6ae67b6a96f2cc7cbb5f86553c5a17b429ee7e7e84e486c81f62d9e45c9317d11160e86a89715102bf73281fff3e8a75cc93f68c52ee9c4 SHA512 ed930a93c59acfd086ad24403f58f4b545602f35c9641655b423657da24ed66ddff80c555d6bc364a09ba5a1015f66b20fa7f3d4bcfd75a0316f3ce30b9b9dd7
29 -DIST xmr-stak-2.9.0.tar.gz 411514 BLAKE2B 8016bb70bf5d6d3c5ec70534e1711b0d7607fc46f9c33d9f6c4a9129aae599496f7af4453eab88b5260d50f5718583ee24e9def766308987d60662aaffba3ce0 SHA512 226ab0580aaf5e6c40734fb7448ccb6ab46631ad151765c3bd4829b2151027d748c593fd97ac5cba63c631c4fc8f7de632b1e8c633d80e20e53fea2a0744f8dc
30
31 diff --git a/net-p2p/xmr-stak/xmr-stak-2.10.6.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.6.ebuild
32 deleted file mode 100644
33 index 74eeed32f73..00000000000
34 --- a/net-p2p/xmr-stak/xmr-stak-2.10.6.ebuild
35 +++ /dev/null
36 @@ -1,67 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -inherit cmake systemd
43 -
44 -if [[ ${PV} == "9999" ]] ; then
45 - EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
46 - EGIT_BRANCH="dev"
47 - inherit git-r3
48 - SRC_URI=""
49 -else
50 - SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 - KEYWORDS="~amd64"
52 -fi
53 -
54 -DESCRIPTION="Unified all-in-one Monero miner"
55 -HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
56 -LICENSE="GPL-3"
57 -SLOT="0"
58 -IUSE="cuda devfee hwloc opencl ssl webserver"
59 -
60 -DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
61 - hwloc? ( sys-apps/hwloc )
62 - opencl? ( virtual/opencl )
63 - ssl? ( dev-libs/openssl:0= )
64 - webserver? ( net-libs/libmicrohttpd )"
65 -RDEPEND="${DEPEND}"
66 -
67 -src_prepare() {
68 - cmake_src_prepare
69 - if ! use devfee; then
70 - sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
71 - fi
72 -}
73 -
74 -src_configure() {
75 - local mycmakeargs=(
76 - -DCUDA_ENABLE=$(usex cuda)
77 - -DHWLOC_ENABLE=$(usex hwloc)
78 - -DMICROHTTPD_ENABLE=$(usex webserver)
79 - -DOpenCL_ENABLE=$(usex opencl)
80 - -DOpenSSL_ENABLE=$(usex ssl)
81 - -DLIBRARY_OUTPUT_PATH=$(get_libdir)
82 - )
83 - cmake_src_configure
84 -}
85 -
86 -src_install() {
87 - cmake_src_install
88 - systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
89 - doinitd "${FILESDIR}"/${PN}
90 - dodir /etc/xmr-stak
91 -}
92 -
93 -pkg_postinst() {
94 - if [ ! -e "${ROOT}/etc/xmr-stak/main.config" ]; then
95 - ewarn "To use xmr-stack:"
96 - if use cuda || use opencl; then
97 - ewarn "As root or as a user that is a member of the 'video' group,"
98 - fi
99 - ewarn "run:"
100 - ewarn "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
101 - ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
102 - fi
103 -}
104
105 diff --git a/net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild
106 deleted file mode 100644
107 index 74eeed32f73..00000000000
108 --- a/net-p2p/xmr-stak/xmr-stak-2.10.7.ebuild
109 +++ /dev/null
110 @@ -1,67 +0,0 @@
111 -# Copyright 1999-2020 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -
116 -inherit cmake systemd
117 -
118 -if [[ ${PV} == "9999" ]] ; then
119 - EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
120 - EGIT_BRANCH="dev"
121 - inherit git-r3
122 - SRC_URI=""
123 -else
124 - SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
125 - KEYWORDS="~amd64"
126 -fi
127 -
128 -DESCRIPTION="Unified all-in-one Monero miner"
129 -HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
130 -LICENSE="GPL-3"
131 -SLOT="0"
132 -IUSE="cuda devfee hwloc opencl ssl webserver"
133 -
134 -DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
135 - hwloc? ( sys-apps/hwloc )
136 - opencl? ( virtual/opencl )
137 - ssl? ( dev-libs/openssl:0= )
138 - webserver? ( net-libs/libmicrohttpd )"
139 -RDEPEND="${DEPEND}"
140 -
141 -src_prepare() {
142 - cmake_src_prepare
143 - if ! use devfee; then
144 - sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
145 - fi
146 -}
147 -
148 -src_configure() {
149 - local mycmakeargs=(
150 - -DCUDA_ENABLE=$(usex cuda)
151 - -DHWLOC_ENABLE=$(usex hwloc)
152 - -DMICROHTTPD_ENABLE=$(usex webserver)
153 - -DOpenCL_ENABLE=$(usex opencl)
154 - -DOpenSSL_ENABLE=$(usex ssl)
155 - -DLIBRARY_OUTPUT_PATH=$(get_libdir)
156 - )
157 - cmake_src_configure
158 -}
159 -
160 -src_install() {
161 - cmake_src_install
162 - systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
163 - doinitd "${FILESDIR}"/${PN}
164 - dodir /etc/xmr-stak
165 -}
166 -
167 -pkg_postinst() {
168 - if [ ! -e "${ROOT}/etc/xmr-stak/main.config" ]; then
169 - ewarn "To use xmr-stack:"
170 - if use cuda || use opencl; then
171 - ewarn "As root or as a user that is a member of the 'video' group,"
172 - fi
173 - ewarn "run:"
174 - ewarn "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
175 - ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
176 - fi
177 -}
178
179 diff --git a/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild b/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild
180 deleted file mode 100644
181 index 74eeed32f73..00000000000
182 --- a/net-p2p/xmr-stak/xmr-stak-2.8.3.ebuild
183 +++ /dev/null
184 @@ -1,67 +0,0 @@
185 -# Copyright 1999-2020 Gentoo Authors
186 -# Distributed under the terms of the GNU General Public License v2
187 -
188 -EAPI=7
189 -
190 -inherit cmake systemd
191 -
192 -if [[ ${PV} == "9999" ]] ; then
193 - EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
194 - EGIT_BRANCH="dev"
195 - inherit git-r3
196 - SRC_URI=""
197 -else
198 - SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
199 - KEYWORDS="~amd64"
200 -fi
201 -
202 -DESCRIPTION="Unified all-in-one Monero miner"
203 -HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
204 -LICENSE="GPL-3"
205 -SLOT="0"
206 -IUSE="cuda devfee hwloc opencl ssl webserver"
207 -
208 -DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
209 - hwloc? ( sys-apps/hwloc )
210 - opencl? ( virtual/opencl )
211 - ssl? ( dev-libs/openssl:0= )
212 - webserver? ( net-libs/libmicrohttpd )"
213 -RDEPEND="${DEPEND}"
214 -
215 -src_prepare() {
216 - cmake_src_prepare
217 - if ! use devfee; then
218 - sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
219 - fi
220 -}
221 -
222 -src_configure() {
223 - local mycmakeargs=(
224 - -DCUDA_ENABLE=$(usex cuda)
225 - -DHWLOC_ENABLE=$(usex hwloc)
226 - -DMICROHTTPD_ENABLE=$(usex webserver)
227 - -DOpenCL_ENABLE=$(usex opencl)
228 - -DOpenSSL_ENABLE=$(usex ssl)
229 - -DLIBRARY_OUTPUT_PATH=$(get_libdir)
230 - )
231 - cmake_src_configure
232 -}
233 -
234 -src_install() {
235 - cmake_src_install
236 - systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
237 - doinitd "${FILESDIR}"/${PN}
238 - dodir /etc/xmr-stak
239 -}
240 -
241 -pkg_postinst() {
242 - if [ ! -e "${ROOT}/etc/xmr-stak/main.config" ]; then
243 - ewarn "To use xmr-stack:"
244 - if use cuda || use opencl; then
245 - ewarn "As root or as a user that is a member of the 'video' group,"
246 - fi
247 - ewarn "run:"
248 - ewarn "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
249 - ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
250 - fi
251 -}
252
253 diff --git a/net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild b/net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild
254 deleted file mode 100644
255 index 74eeed32f73..00000000000
256 --- a/net-p2p/xmr-stak/xmr-stak-2.9.0.ebuild
257 +++ /dev/null
258 @@ -1,67 +0,0 @@
259 -# Copyright 1999-2020 Gentoo Authors
260 -# Distributed under the terms of the GNU General Public License v2
261 -
262 -EAPI=7
263 -
264 -inherit cmake systemd
265 -
266 -if [[ ${PV} == "9999" ]] ; then
267 - EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
268 - EGIT_BRANCH="dev"
269 - inherit git-r3
270 - SRC_URI=""
271 -else
272 - SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
273 - KEYWORDS="~amd64"
274 -fi
275 -
276 -DESCRIPTION="Unified all-in-one Monero miner"
277 -HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
278 -LICENSE="GPL-3"
279 -SLOT="0"
280 -IUSE="cuda devfee hwloc opencl ssl webserver"
281 -
282 -DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
283 - hwloc? ( sys-apps/hwloc )
284 - opencl? ( virtual/opencl )
285 - ssl? ( dev-libs/openssl:0= )
286 - webserver? ( net-libs/libmicrohttpd )"
287 -RDEPEND="${DEPEND}"
288 -
289 -src_prepare() {
290 - cmake_src_prepare
291 - if ! use devfee; then
292 - sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
293 - fi
294 -}
295 -
296 -src_configure() {
297 - local mycmakeargs=(
298 - -DCUDA_ENABLE=$(usex cuda)
299 - -DHWLOC_ENABLE=$(usex hwloc)
300 - -DMICROHTTPD_ENABLE=$(usex webserver)
301 - -DOpenCL_ENABLE=$(usex opencl)
302 - -DOpenSSL_ENABLE=$(usex ssl)
303 - -DLIBRARY_OUTPUT_PATH=$(get_libdir)
304 - )
305 - cmake_src_configure
306 -}
307 -
308 -src_install() {
309 - cmake_src_install
310 - systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
311 - doinitd "${FILESDIR}"/${PN}
312 - dodir /etc/xmr-stak
313 -}
314 -
315 -pkg_postinst() {
316 - if [ ! -e "${ROOT}/etc/xmr-stak/main.config" ]; then
317 - ewarn "To use xmr-stack:"
318 - if use cuda || use opencl; then
319 - ewarn "As root or as a user that is a member of the 'video' group,"
320 - fi
321 - ewarn "run:"
322 - ewarn "/usr/bin/xmr-stak --cpu /etc/xmr-stak/cpu.config --amd /etc/xmr-stak/amd.config --nvidia /etc/xmr-stak/nvidia.config -c /etc/xmr-stak/main.config -C /etc/xmr-stak/pools.txt"
323 - ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
324 - fi
325 -}