commit ed6134fbbdbadc0e047f8f4fc394a10a639a39bd
parent 225f8b6503119773546fcb5b5bc3ed0c065dc399
Author: parazyd <parazyd@dyne.org>
Date: Tue, 9 Feb 2021 22:16:30 +0100
net-misc/xmrig-mo: Remove from overlay.
Diffstat:
5 files changed, 0 insertions(+), 122 deletions(-)
diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
@@ -1 +0,0 @@
-DIST xmrig-mo-6.5.1.tar.gz 1648005 BLAKE2B 0ac5da703388c8cc86bb254cb7c1568f527244ed4224579bdb01a149dc7af99ae651418bdf55388ee5b0cdf2ce3a474a3ab6d86a17ae9514d42d608622bd9e07 SHA512 63bbaa7e19762e7e7efdd0b3626cfce22d6f396b1460278e918ae3e9d7c8fe6e85536caefe0f56c47e0512ff842654cd5710a532618213224d5985e9d3decaf0
diff --git a/net-misc/xmrig-mo/files/xmrig-mo-no-default-donate.patch b/net-misc/xmrig-mo/files/xmrig-mo-no-default-donate.patch
@@ -1,15 +0,0 @@
-diff --git a/src/donate.h b/src/donate.h
-index 9323dcab..7a2b1996 100644
---- a/src/donate.h
-+++ b/src/donate.h
-@@ -44,8 +44,8 @@
- * XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
- * BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT
- */
--constexpr const int kDefaultDonateLevel = 1;
--constexpr const int kMinimumDonateLevel = 1;
-+constexpr const int kDefaultDonateLevel = 0;
-+constexpr const int kMinimumDonateLevel = 0;
-
-
- #endif /* XMRIG_DONATE_H */
diff --git a/net-misc/xmrig-mo/files/xmrig-mo-nonotls.patch b/net-misc/xmrig-mo/files/xmrig-mo-nonotls.patch
@@ -1,23 +0,0 @@
-From ee98bfe01a94d021d81ed4c2bb11ec91c0bd81c8 Mon Sep 17 00:00:00 2001
-From: Matt Smith <matt@offtopica.uk>
-Date: Sun, 7 Jun 2020 13:20:04 +0100
-Subject: [PATCH] Don't suffix binary with -notls
-
----
- cmake/OpenSSL.cmake | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/cmake/OpenSSL.cmake b/cmake/OpenSSL.cmake
-index 89805301..c01c940a 100644
---- a/cmake/OpenSSL.cmake
-+++ b/cmake/OpenSSL.cmake
-@@ -54,6 +54,4 @@ else()
- src/base/net/http/HttpServer.h
- )
- endif()
--
-- set(CMAKE_PROJECT_NAME "${CMAKE_PROJECT_NAME}-notls")
- endif()
---
-2.27.0
-
diff --git a/net-misc/xmrig-mo/metadata.xml b/net-misc/xmrig-mo/metadata.xml
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>telans@posteo.de</email>
- <name>Theo Anderson</name>
- </maintainer>
- <longdescription lang="en">
- XMRig High performance, open source, cross platform RandomX,
- CryptoNight, AstroBWT and Argon2 CPU/GPU miner. Algorithm switching,
- when used with the MoneroOcean mining pool.
- </longdescription>
- <use>
- <flag name="donate">Enable a default donation value of 1% CPU time instead of 0.</flag>
- </use>
- <upstream>
- <remote-id type="github">MoneroOcean/xmrig</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-misc/xmrig-mo/xmrig-mo-6.5.1.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.5.1.ebuild
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MO_PV="mo1"
-DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT and Argon2 miner for the MoneroOcean pool"
-HOMEPAGE="https://xmrig.com https://moneroocean.stream/ https://github.com/MoneroOcean/xmrig"
-SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="donate libressl +ssl"
-REQUIRED_USE="libressl? ( ssl )"
-
-DEPEND="
- dev-libs/libuv:=
- sys-apps/hwloc:=
- ssl? (
- !libressl? ( dev-libs/openssl:= )
- libressl? ( dev-libs/libressl:= )
- )"
-
-S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
-
-PATCHES=("${FILESDIR}/${PN}-nonotls.patch")
-
-src_prepare() {
- use donate || PATCHES+=("${FILESDIR}/${PN}-no-default-donate.patch")
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- # TODO: Create expanded USE flag for all of the PoW algos.
-
- -DWITH_TLS=$(usex ssl)
-
- # TODO: opencl USE flag.
- -DWITH_OPENCL=OFF
-
- # TODO: cuda USE flag.
- -DWITH_CUDA=OFF
- )
-
- cmake_src_configure
-}
-
-src_install() {
- newbin "${BUILD_DIR}/xmrig" "xmrig-mo"
-}
-
-pkg_postinst() {
- einfo "Install sys-apps/msr-tools and load the msr kernel module so that"
- einfo "XMRig can perform CPU specific tweaks like disabling the instruction"
- einfo "prefetcher. Also remember to increase the vm.nr_hugepages sysctl"
- einfo "value so that XMRig can allocate with huge pages."
- einfo ""
- einfo "XMRig-MoneroOcean has been installed as /usr/bin/xmrig-mo"
- einfo "in order to differentiate between the original XMRig"
-}