From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67435158087 for ; Sat, 5 Feb 2022 00:25:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AE242BC001; Sat, 5 Feb 2022 00:25:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E690C2BC001 for ; Sat, 5 Feb 2022 00:25:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CA14343100 for ; Sat, 5 Feb 2022 00:25:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A82B31EF for ; Sat, 5 Feb 2022 00:25:36 +0000 (UTC) From: "Kevin Thomas" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kevin Thomas" Message-ID: <1644020690.82e15110de34bf13b8c37cf3ede692821985ca4b.me@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig-mo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/xmrig-mo/Manifest net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild X-VCS-Directories: net-misc/xmrig-mo/ X-VCS-Committer: me X-VCS-Committer-Name: Kevin Thomas X-VCS-Revision: 82e15110de34bf13b8c37cf3ede692821985ca4b X-VCS-Branch: dev Date: Sat, 5 Feb 2022 00:25:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c89b6c5d-e263-456e-b243-8ad29d18cf7e X-Archives-Hash: 5aca2018e2cf919521bedb7465d9726f commit: 82e15110de34bf13b8c37cf3ede692821985ca4b Author: Kevin Thomas kevinthomas dev> AuthorDate: Sat Feb 5 00:24:50 2022 +0000 Commit: Kevin Thomas kevinthomas dev> CommitDate: Sat Feb 5 00:24:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82e15110 net-misc/xmrig-mo: bump to 6.16.4 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Kevin Thomas kevinthomas.dev> net-misc/xmrig-mo/Manifest | 1 + net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest index c0b47e947..bfd575886 100644 --- a/net-misc/xmrig-mo/Manifest +++ b/net-misc/xmrig-mo/Manifest @@ -1,2 +1,3 @@ DIST xmrig-mo-6.16.2-mo2.tar.gz 2480342 BLAKE2B cfb1078f67913f3719dd929a1a41ef2040fdf5c7696baca990e3d9f869566e609406b4d592db50d00024adc5da05427382688e826523a9a407c0a79b554d3f5a SHA512 961e52c8ac3de9a55cbbdc11d282fc65c1827e87ac55b5f892866e5193509b23ca4bc9eeb869c019d1b025be14a877142e3b55c7485b6ded6673c832df8c36c3 DIST xmrig-mo-6.16.3-mo1.tar.gz 2481805 BLAKE2B 7d134bc4294824e5a79b2782a07a5e0513e77ecff79deb8434c3b36c3ac21053679e451cc3cde97a84908e56fa151b4cd142711c6a7d5c016b6968cec4d21e7d SHA512 e27a529315ea819d2ac41cb28ff9c5cf386e8c687aad29c170acd1d84563ca4aecf97efdbb2c5d766c63439f65aa3f44f055e0d146b365084053a139398e5608 +DIST xmrig-mo-6.16.4-mo1.tar.gz 2482875 BLAKE2B 659d4020c51c6e6c56d0fcca1e9e7e5e07b5aeb84b24cc0dfeb2d3b10c8116a9cdfb904cf82afcff7d6cf5320f54528399a0b36146a11a2c0172e2e579246da9 SHA512 dd2bb1e2279ab42116814d8e1ed04115719007a438cec5b6da36b8e60e1965e6bb94802cc079a6878f68f89c24d4af8561068a81ec316827784aaf82c30156e4 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild new file mode 100644 index 000000000..93bea0a1a --- /dev/null +++ b/net-misc/xmrig-mo/xmrig-mo-6.16.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +MO_PV="mo1" +DESCRIPTION="MoneroOcean fork of xmrig that supports algo switching" +HOMEPAGE="https://github.com/MoneroOcean/xmrig" +SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz" +KEYWORDS="~amd64 ~arm64" + +LICENSE="Apache-2.0 GPL-3+ MIT" +SLOT="0" +IUSE="cpu_flags_x86_sse4_1 donate hwloc opencl +ssl" + +DEPEND=" + dev-libs/libuv:= + hwloc? ( sys-apps/hwloc:= ) + opencl? ( virtual/opencl ) + ssl? ( dev-libs/openssl:= ) +" + +RDEPEND=" + ${DEPEND} + !arm64? ( sys-apps/msr-tools ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.12.2-nonotls.patch +) + +S="${WORKDIR}/xmrig-${PV}-${MO_PV}" + +src_prepare() { + if ! use donate ; then + sed -i 's/1;/0;/g' src/donate.h || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_SSE4_1=$(usex cpu_flags_x86_sse4_1) + -DWITH_HWLOC=$(usex hwloc) + -DWITH_TLS=$(usex ssl) + -DWITH_OPENCL=$(usex opencl) + -DWITH_CUDA=OFF + ) + + cmake_src_configure +} + +src_install() { + default + newbin "${BUILD_DIR}/xmrig" xmrig-mo +}