public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/xmr-stak/
Date: Thu, 18 Oct 2018 12:53:34 +0000 (UTC)	[thread overview]
Message-ID: <1539867208.dd6a07dee9a39c6db796a7e30011677e985c1a15.candrews@gentoo> (raw)

commit:     dd6a07dee9a39c6db796a7e30011677e985c1a15
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 18 12:53:15 2018 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Oct 18 12:53:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd6a07de

net-p2p/xmr-stak: 2.5.1 version bump

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-p2p/xmr-stak/Manifest              |  1 +
 net-p2p/xmr-stak/xmr-stak-2.5.1.ebuild | 67 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest
index 5c70c1c69fc..3163c0a9229 100644
--- a/net-p2p/xmr-stak/Manifest
+++ b/net-p2p/xmr-stak/Manifest
@@ -4,3 +4,4 @@ DIST xmr-stak-2.4.5.tar.gz 338482 BLAKE2B 4f51925d86baab4a7a78803b45264ad731ac51
 DIST xmr-stak-2.4.6.tar.gz 340081 BLAKE2B 10520af3e696632c938e753acc1bd3a0439b1f240837e60eba0402a2efabc9ae493b85310a3c6ec27c6fca914955546854f12bea915c808e9b809a1b9af83653 SHA512 9f32af76f3043abee0c8bd8a46e239b07459c1ed800fa3afb4db022a9751ce7c8023fb5cbd79564323d2e625796fa6e05203501123de7a83cd9e22da951ccec2
 DIST xmr-stak-2.4.7.tar.gz 340026 BLAKE2B c6f898201ee744dea4aebf9bb3541efa7e5b78b740158c03ab044136eb8bdc768edb2118fa9f0eb48024aa70d52da7f281eb0443a42d4765bf3b7e39e98601fc SHA512 91557c88ec36cc96eaacfa71474a5d9e5ac8815904221bd588417b0b077cddef15c28bac62cadea8b7701ce87af8d8a43a911e6523a0bbad99577398e2f0056e
 DIST xmr-stak-2.5.0.tar.gz 356770 BLAKE2B faf4fe59b8038e3bdac8941a6bac8939e1244d258ea704df346252bb2b3dc9b82dc5cd3f57afda208253ddfa2be12256ff2d473729403f30c96aabc4ba9c0073 SHA512 11b59e4c11a75c9fdc500f835ce91584d71c128df1efe5170b4cf787897f729a38c4738bb20de52a78dd5d3506e31bb048f8b801cc73a6fefcc045ae0d94ee3d
+DIST xmr-stak-2.5.1.tar.gz 357295 BLAKE2B cbb91144f56abb3bb21d9b56d0e530847081698a90260e9e01f055138ff61a62e939e7546f359ac48afd3fb1d6b1bd7c10dc46c7ae628df02ec6d7a14e73f6dd SHA512 3899476430b50cf697588bce9b8b821c1cb6a5c4c24f0fa31c36030246a8092f6e3f959b8c0548fe26967d49cd0943843a53e49bf7420710382120292f1f2d2e

diff --git a/net-p2p/xmr-stak/xmr-stak-2.5.1.ebuild b/net-p2p/xmr-stak/xmr-stak-2.5.1.ebuild
new file mode 100644
index 00000000000..59442f8065c
--- /dev/null
+++ b/net-p2p/xmr-stak/xmr-stak-2.5.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils systemd
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/fireice-uk/xmr-stak.git"
+	EGIT_BRANCH="dev"
+	inherit git-r3
+	SRC_URI=""
+else
+	SRC_URI="https://github.com/fireice-uk/xmr-stak/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Unified all-in-one Monero miner"
+HOMEPAGE="https://github.com/fireice-uk/xmr-stak"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="cuda devfee hwloc opencl ssl webserver"
+
+DEPEND="cuda? ( dev-util/nvidia-cuda-toolkit )
+	hwloc? ( sys-apps/hwloc )
+	opencl? ( virtual/opencl )
+	ssl? ( dev-libs/openssl:0= )
+	webserver? ( net-libs/libmicrohttpd )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	cmake-utils_src_prepare
+	if ! use devfee; then
+		sed -i -e 's!fDevDonationLevel = .*;!fDevDonationLevel = 0.0;!' xmrstak/donate-level.hpp || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCUDA_ENABLE=$(usex cuda)
+		-DHWLOC_ENABLE=$(usex hwloc)
+		-DMICROHTTPD_ENABLE=$(usex webserver)
+		-DOpenCL_ENABLE=$(usex opencl)
+		-DOpenSSL_ENABLE=$(usex ssl)
+		-DLIBRARY_OUTPUT_PATH=$(get_libdir)
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+	systemd_newunit "${FILESDIR}"/${PN}-2.3.0.service ${PN}.service
+	doinitd "${FILESDIR}"/${PN}
+	dodir /etc/xmr-stak
+}
+
+pkg_postinst() {
+	if [ ! -e "${ROOT}etc/xmr-stak/main.config" ]; then
+		ewarn "To use xmr-stack:"
+		if use cuda || use opencl; then
+			ewarn "As root or as a user that is a member of the 'video' group,"
+		fi
+		ewarn "run:"
+		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"
+		ewarn "xmr-stak can now be terminated and 'systemctl start xmr-stak' or '/etc/init.d/xmr-stak start' can be used."
+	fi
+}


             reply	other threads:[~2018-10-18 12:53 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 12:53 Craig Andrews [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-28 21:02 [gentoo-commits] repo/gentoo:master commit in: net-p2p/xmr-stak/ Craig Andrews
2021-03-07 19:02 Andreas Sturmlechner
2019-12-03 21:38 Craig Andrews
2019-08-11 11:20 David Seifert
2019-08-01 14:15 Craig Andrews
2019-07-22 13:57 Craig Andrews
2019-06-10 13:18 Craig Andrews
2019-04-02 14:30 Craig Andrews
2019-03-29 13:41 Craig Andrews
2019-03-18 13:14 Craig Andrews
2019-03-12  0:49 Craig Andrews
2019-03-08 16:13 Craig Andrews
2019-03-04 14:53 Craig Andrews
2019-02-16 19:28 Craig Andrews
2019-02-12 14:47 Craig Andrews
2019-02-04  2:45 Craig Andrews
2018-12-10 20:51 Craig Andrews
2018-12-10 20:51 Craig Andrews
2018-12-03 21:42 Craig Andrews
2018-11-18  3:07 Craig Andrews
2018-10-26 15:05 Craig Andrews
2018-10-12 14:50 Craig Andrews
2018-07-17 20:02 Craig Andrews
2018-07-17 13:19 Craig Andrews
2018-06-11 13:20 Craig Andrews
2018-05-31 12:25 Craig Andrews
2018-04-19 21:04 Craig Andrews
2018-04-19 18:54 Craig Andrews
2018-04-19 15:32 Craig Andrews
2018-04-05 15:22 Craig Andrews
2018-04-03 15:26 Craig Andrews
2018-02-19  1:16 Craig Andrews

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=1539867208.dd6a07dee9a39c6db796a7e30011677e985c1a15.candrews@gentoo \
    --to=candrews@gentoo.org \
    --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