From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- net-p2p/xmr-stak/Manifest | 2 + net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild | 67 +++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild (limited to 'net-p2p/xmr-stak') diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest index 50de3474263e..77b0e9ae82ba 100644 --- a/net-p2p/xmr-stak/Manifest +++ b/net-p2p/xmr-stak/Manifest @@ -8,6 +8,7 @@ DIST xmr-stak-2.10.4.tar.gz 431952 BLAKE2B 945c27cd424b338500c726742ea71ad669314 DIST xmr-stak-2.10.5.tar.gz 437381 BLAKE2B bedd7434ca9ba080e12174bac42b85fa3eccea6133151bbf3b99c19b95f58d495aebfe4a551aff602d46eb8fd8901d3fd1e12f0c8a7bc4b51a8c862f7e420c23 SHA512 dc634792d61bb508da6761761ec290d7ecd8f5da4d025ea49afdcd094d530e769f77070d544af2f0bff2aaf22363688b064427461e92a7affd909e58f0e65dfa DIST xmr-stak-2.10.6.tar.gz 518290 BLAKE2B 2abba8a2a142119c75e0f9cf157bcb812a62cfc84e593b1a6544b561fe5655c51de5e1546b879e40163d37b9232ec407c117dd513b7ea119bdb45ab0577fbbe8 SHA512 b209ed5b922cbbf2e9f66bc14c981ba793b6a0bbf399b13c824f5014172e680a1226f7c8d518c85fb0eaa4a03c964b97231e84528056b3e7e460644f22aafcba DIST xmr-stak-2.10.7.tar.gz 518265 BLAKE2B 9ee03fa60c37c8ca6cfb1f4ae764a2dadd952c2ea085b7c33fd98a9b1895ddb00f349682990a2c0e14f50c06b985409c96bf0949a1c1556d0e61b94142a8a516 SHA512 de2855538226fd68d8dc8a20178a5ca61dc2296d40fbe8792d062957e06c6918a9eb01d9d193ff28415c0ea7c8c6a9bd5d5c80fd5c263c95c722795914784b38 +DIST xmr-stak-2.10.8.tar.gz 2605734 BLAKE2B 2bcc4b781748b8e823e86dcbaca2c65c9370357f16e2cdf412d6a0780900039223e830b582526cbf7cc2eda6445aae28d5d4c5162464dc70989d278ee3b138dd SHA512 5b222f647c74d4dc4ec7ae16d585672dff099572384aebee1afc60fe6e4bfffc764642f635d6f6dee35c455ee97f5ccf7604e73c502799aab00f4c2ce7b24070 DIST xmr-stak-2.7.0.tar.gz 376873 BLAKE2B 78dd64acf7fbae46bf150d97b00c8443fbd097789b6e1aef99a954d966b8a75add358c82636621bb8b5639883a6d79b17ba3691e72354034bd944fa1f44d8c1e SHA512 cb56de595225ab22f1c53f1dd971898fcb14610a11d1cbc789e144a5b34f24e56f44fb75bdefc809bde17e434a5e6d02830874b9b825af179cd4699587f5e7c7 DIST xmr-stak-2.7.1.tar.gz 376919 BLAKE2B bdbd3f7ca522e200db072679f21ee79dc99167cf512f19008ca6b591d0c7ba73f58b68e0d2d7a2622cb88438922e28a4c78e4cbf9d617e28881cc37e1db8c08a SHA512 f33afa259ffde23bd0b5dd8efceadd98e4e176ccabbb68e79eb7cfcc88af9444e897c552e1eea2e3798291309847451ebfa1c44d5310e192014cf6b2aa5eb530 DIST xmr-stak-2.8.0.tar.gz 388733 BLAKE2B cc75b2d80d7d9761b192f8d0752dde29d49c561675c63151f6cb915399dad715d133a17f2fa64c58ce8720a8de0a46bdb963c21571e29be3f99f0db3164aff40 SHA512 48803a9eb10e92763992dcbedb28b41735adf7da404312fe8358161cecef562bfc777a0b78ef90953db9c2a093adb30c4f9cd637f0613c949ff3b326662d2876 @@ -22,6 +23,7 @@ EBUILD xmr-stak-2.10.4.ebuild 1888 BLAKE2B ea64b3f1a710696bb6818f03e8a6c0abbe4f6 EBUILD xmr-stak-2.10.5.ebuild 1888 BLAKE2B ea64b3f1a710696bb6818f03e8a6c0abbe4f67a742d7f6962fbda4dd916906f2593baf48f3016d7b19e8736ec95b3f820672629daea2c68ec920bd23af7bc89b SHA512 4c3b9abc3233d20fc1f1f2b6aa6aee128d6abd27a67558defaa5d6f4efeeed8cfd8684be7b5df7c7b67a953dde6e104e8281cece2b4a18e9d3171c669d3fa232 EBUILD xmr-stak-2.10.6.ebuild 1888 BLAKE2B ea64b3f1a710696bb6818f03e8a6c0abbe4f67a742d7f6962fbda4dd916906f2593baf48f3016d7b19e8736ec95b3f820672629daea2c68ec920bd23af7bc89b SHA512 4c3b9abc3233d20fc1f1f2b6aa6aee128d6abd27a67558defaa5d6f4efeeed8cfd8684be7b5df7c7b67a953dde6e104e8281cece2b4a18e9d3171c669d3fa232 EBUILD xmr-stak-2.10.7.ebuild 1888 BLAKE2B ea64b3f1a710696bb6818f03e8a6c0abbe4f67a742d7f6962fbda4dd916906f2593baf48f3016d7b19e8736ec95b3f820672629daea2c68ec920bd23af7bc89b SHA512 4c3b9abc3233d20fc1f1f2b6aa6aee128d6abd27a67558defaa5d6f4efeeed8cfd8684be7b5df7c7b67a953dde6e104e8281cece2b4a18e9d3171c669d3fa232 +EBUILD xmr-stak-2.10.8.ebuild 1888 BLAKE2B ea64b3f1a710696bb6818f03e8a6c0abbe4f67a742d7f6962fbda4dd916906f2593baf48f3016d7b19e8736ec95b3f820672629daea2c68ec920bd23af7bc89b SHA512 4c3b9abc3233d20fc1f1f2b6aa6aee128d6abd27a67558defaa5d6f4efeeed8cfd8684be7b5df7c7b67a953dde6e104e8281cece2b4a18e9d3171c669d3fa232 EBUILD xmr-stak-2.7.0.ebuild 1887 BLAKE2B c8762738f4a5bb50a7c7583709340177a8417e98edab569d8768a92a861ae6980fc6f95e2bd553a728af8178c0d3e6347cab4196bcbaace8b546b99743cdf3c3 SHA512 67d55d31c95d2e7ce96f1618f246aed70dce2ae16f956cc6e1e0440e4d32e0abd13fe7acb414326be3ec202029029d5f1b05ecc8b89685d8ec986bf85cfc630e EBUILD xmr-stak-2.7.1.ebuild 1887 BLAKE2B c8762738f4a5bb50a7c7583709340177a8417e98edab569d8768a92a861ae6980fc6f95e2bd553a728af8178c0d3e6347cab4196bcbaace8b546b99743cdf3c3 SHA512 67d55d31c95d2e7ce96f1618f246aed70dce2ae16f956cc6e1e0440e4d32e0abd13fe7acb414326be3ec202029029d5f1b05ecc8b89685d8ec986bf85cfc630e EBUILD xmr-stak-2.8.0.ebuild 1888 BLAKE2B ea64b3f1a710696bb6818f03e8a6c0abbe4f67a742d7f6962fbda4dd916906f2593baf48f3016d7b19e8736ec95b3f820672629daea2c68ec920bd23af7bc89b SHA512 4c3b9abc3233d20fc1f1f2b6aa6aee128d6abd27a67558defaa5d6f4efeeed8cfd8684be7b5df7c7b67a953dde6e104e8281cece2b4a18e9d3171c669d3fa232 diff --git a/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild new file mode 100644 index 000000000000..07ffbf9c1036 --- /dev/null +++ b/net-p2p/xmr-stak/xmr-stak-2.10.8.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} -- cgit v1.2.3