From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig/, net-misc/xmrig-mo/
Date: Sun, 17 Jan 2021 07:51:40 +0000 (UTC) [thread overview]
Message-ID: <1610869866.cdd395846e2eade8e815b030158109f91c2d5dc7.telans@gentoo> (raw)
commit: cdd395846e2eade8e815b030158109f91c2d5dc7
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Sun Jan 17 07:51:06 2021 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun Jan 17 07:51:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cdd39584
net-misc/xmrig{,-mo}: bump to 6.7.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
net-misc/xmrig-mo/Manifest | 1 +
net-misc/xmrig-mo/xmrig-mo-6.7.2.ebuild | 56 +++++++++++++++++++++++++++++++++
net-misc/xmrig/Manifest | 1 +
net-misc/xmrig/xmrig-6.7.2.ebuild | 51 ++++++++++++++++++++++++++++++
4 files changed, 109 insertions(+)
diff --git a/net-misc/xmrig-mo/Manifest b/net-misc/xmrig-mo/Manifest
index 7ba493cc..0dc28c90 100644
--- a/net-misc/xmrig-mo/Manifest
+++ b/net-misc/xmrig-mo/Manifest
@@ -1 +1,2 @@
DIST xmrig-mo-6.7.0-mo1.tar.gz 1665109 BLAKE2B 50c7be4cc8c96df068692d02c7af4a0af9ee8d7b1be25199766970d95dbdc324945db2ba03fe5997ee8919ad55e10796d30f37d0d6e7cdad127040c5b4d8e038 SHA512 c4410935809b052210fbc1feacebc059e0c0b9951d1a38fe614dafd2c9385e439816662a18c568bba0e3cdf8cb6273131e54cc2032522dbe44d08f2337c02d14
+DIST xmrig-mo-6.7.2-mo1.tar.gz 1665361 BLAKE2B 0f2571f6b7f6946af20d132b4c1f97bad6ff841f1d71e6c36617fa99a8ebe4afcc09333db9a3c64abf15574fbf78ea94bd2f62adee7d9ca0aa3d005e944cbda0 SHA512 9f9383bfe92f7b39ed1f83f30461c25d8a76a2ae89a2bcd6b9633febcaf20e833a098d9859f92132620fd43338e532e09293f65677dba11ab03c36a0160cc945
diff --git a/net-misc/xmrig-mo/xmrig-mo-6.7.2.ebuild b/net-misc/xmrig-mo/xmrig-mo-6.7.2.ebuild
new file mode 100644
index 00000000..d1085fc5
--- /dev/null
+++ b/net-misc/xmrig-mo/xmrig-mo-6.7.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake optfeature
+
+MO_PV="mo1"
+DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT and Argon2 miner for the MoneroOcean pool"
+HOMEPAGE="https://moneroocean.stream/ https://github.com/MoneroOcean/xmrig"
+SRC_URI="https://github.com/MoneroOcean/xmrig/archive/v${PV}-${MO_PV}.tar.gz -> ${P}-${MO_PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ssl"
+
+DEPEND="
+ dev-libs/libuv:=
+ sys-apps/hwloc:=
+ ssl? ( dev-libs/openssl:= )
+"
+
+S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
+
+src_prepare() {
+ cmake_src_prepare
+ sed -i '/notls/d' cmake/OpenSSL.cmake || die
+ sed -i 's/1;/0;/g' src/donate.h || die
+}
+
+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
+ dodoc -r doc/*.md
+ einstalldocs
+}
+
+pkg_postinst() {
+ elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
+ elog "XMRig-MoneroOcean has been installed as /usr/bin/xmrig-mo"
+ elog "in order to differentiate between the original XMRig"
+ optfeature "CPU specific performance tweaks" sys-apps/msr-tools
+}
diff --git a/net-misc/xmrig/Manifest b/net-misc/xmrig/Manifest
index 8d76a8bc..d127cfb9 100644
--- a/net-misc/xmrig/Manifest
+++ b/net-misc/xmrig/Manifest
@@ -1 +1,2 @@
DIST xmrig-6.7.0.tar.gz 1570428 BLAKE2B 744266679f37a1bb0453f224b907f7c4db8be42cd6948ccb1b0ad4a499d4345b26b7f15a2f662741222570d13c9eea2353fd9e05a9734c0f3a2c7d0068827e10 SHA512 3d57b78392c95417f37a4c1c5e434e06aafa1bd7658b945768c90de69b0ff8e347f68e96523312d6b4261321b3f06026504314caf73404a294beb01875dbe1d6
+DIST xmrig-6.7.2.tar.gz 1570717 BLAKE2B 2b04a67a9beb78918e40d02e8d093d4d7ec720af8bc5126c2b6e0db8a77a4605e51a2f330431ce49e3bec15a4aabefd960d224019918a768aae72eabf88c1b6a SHA512 517983d67bda3692e45cae664a717bb491492f127acd47635fb4d58dbfb02516669a6340a0845d9ca2de461666def208422a02ee97fcaaf7c674e11ae4a027c6
diff --git a/net-misc/xmrig/xmrig-6.7.2.ebuild b/net-misc/xmrig/xmrig-6.7.2.ebuild
new file mode 100644
index 00000000..62d0c96c
--- /dev/null
+++ b/net-misc/xmrig/xmrig-6.7.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake optfeature
+
+DESCRIPTION="RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner"
+HOMEPAGE="https://github.com/xmrig/xmrig"
+SRC_URI="https://github.com/xmrig/xmrig/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ssl"
+
+DEPEND="
+ dev-libs/libuv:=
+ sys-apps/hwloc:=
+ ssl? ( dev-libs/openssl:= )
+"
+
+src_prepare() {
+ cmake_src_prepare
+ sed -i '/notls/d' cmake/OpenSSL.cmake || die
+ sed -i 's/1;/0;/g' src/donate.h || die
+}
+
+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() {
+ dobin "${BUILD_DIR}/xmrig"
+ dodoc -r doc/*.md
+ einstalldocs
+}
+
+pkg_postinst() {
+ elog "Increase the vm.nr_hugepages sysctl value so that XMRig can allocate with huge pages."
+ optfeature "CPU specific performance tweaks" sys-apps/msr-tools
+}
next reply other threads:[~2021-01-17 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 7:51 Theo Anderson [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-02 9:00 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/xmrig/, net-misc/xmrig-mo/ Theo Anderson
2021-02-15 11:57 Theo Anderson
2021-02-08 3:02 Theo Anderson
2021-01-17 7:51 Theo Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1610869866.cdd395846e2eade8e815b030158109f91c2d5dc7.telans@gentoo \
--to=telans@posteo.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox