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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCAD215864F for ; Mon, 27 Mar 2023 04:46:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B860AE0893; Mon, 27 Mar 2023 04:46:57 +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 540B2E0893 for ; Mon, 27 Mar 2023 04:46:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3396F33BE3B for ; Mon, 27 Mar 2023 04:46:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C45248E4 for ; Mon, 27 Mar 2023 04:46:53 +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: <1679892362.6c9bff0052ab39a8fde4f5ab9df64be32839d76f.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.19.1.ebuild X-VCS-Directories: net-misc/xmrig-mo/ X-VCS-Committer: me X-VCS-Committer-Name: Kevin Thomas X-VCS-Revision: 6c9bff0052ab39a8fde4f5ab9df64be32839d76f X-VCS-Branch: dev Date: Mon, 27 Mar 2023 04:46:53 +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: 62bc5907-7834-4d8f-addb-5bc132eb84b8 X-Archives-Hash: a7ffaa763458931585a8174365196aa0 commit: 6c9bff0052ab39a8fde4f5ab9df64be32839d76f Author: Kevin Thomas kevinthomas dev> AuthorDate: Mon Mar 27 04:46:02 2023 +0000 Commit: Kevin Thomas kevinthomas dev> CommitDate: Mon Mar 27 04:46:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c9bff00 net-misc/xmrig-mo: add 6.19.1 Signed-off-by: Kevin Thomas kevinthomas.dev> net-misc/xmrig-mo/Manifest | 1 + net-misc/xmrig-mo/xmrig-mo-6.19.1.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest index 25c201928..a36210b94 100644 --- a/net-misc/xmrig-mo/Manifest +++ b/net-misc/xmrig-mo/Manifest @@ -5,3 +5,4 @@ DIST xmrig-mo-6.16.5-mo1.tar.gz 2503078 BLAKE2B 24f9b4af7b55c27926b0c7a643b560e1 DIST xmrig-mo-6.18.0-mo1.tar.gz 2445451 BLAKE2B 0234a4fb15e0271091c5700f047751b9ab245c4a894937ed2b17c52747f66e26e5d276063b6593fb3a60b4f43a4d30cb2607d64ccdaff04e621cc15c4b45d100 SHA512 f60fba0c230ec8a6307e55ddb1eca4801d6e036f3810c36edfcfd53c72185773f2c83745af39a8648db7a1ac37e78cecfcb408913a76ec4061441c07cafc6f5f DIST xmrig-mo-6.18.1-mo1.tar.gz 2452916 BLAKE2B bd52bfb1a83b5efeee713f376040cd8b897d1595cfc2a7821476c1b6c2ec243c4fa64f8c3d46306c301729178c4b3198e2ff81e6e8cb6c21111fc9cee5eecedf SHA512 28423bfd9b78f0291f0b75e7c59ac73928363a9f77d1f7be029e6f8d406f3a75bc6d4dc9db20f0be20ea13b945256d61f0901151ae7ce0f145ea6a90986e5518 DIST xmrig-mo-6.19.0-mo1.tar.gz 2468314 BLAKE2B 612bc689b5c8c3bba63ea4fa55edad4b36aebf8e35cdd2d2ea33eab865bc9c6c923d2f770b0bc15a71dfc95781942fcb388cf1d82d78c25f03de57af8ea6427f SHA512 d1e8140530bf847f667ba89a49b1803cf6140cc2a1678a6df1f7b6a1c1f99eb966506a8d8398f65a9f829bb527e3476f427f3203a9692dd89efa7bd879b75c5c +DIST xmrig-mo-6.19.1-mo1.tar.gz 2468434 BLAKE2B b60767cfecb25ad526b025f81d8565c97ff2e7deebcd04f3aa466782e2c85d0a52e2878e6597de688f87db7b43ef8a1c91b70053e4bceec2022db9acfc87d8c7 SHA512 33c197a37de981510d3ace619aa4d55b5cd8ad74e918cc93d0be453e2b707f6437d67e3110f16db13e98b6a345c50f50455b4be9ebbb47de30cc7e95221961c3 diff --git a/net-misc/xmrig-mo/xmrig-mo-6.19.1.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.19.1.ebuild new file mode 100644 index 000000000..93bea0a1a --- /dev/null +++ b/net-misc/xmrig-mo/xmrig-mo-6.19.1.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 +}