summaryrefslogtreecommitdiff
path: root/net-p2p/xmr-stak
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/xmr-stak')
-rw-r--r--net-p2p/xmr-stak/Manifest4
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.10.3.ebuild67
-rw-r--r--net-p2p/xmr-stak/xmr-stak-2.10.4.ebuild67
3 files changed, 138 insertions, 0 deletions
diff --git a/net-p2p/xmr-stak/Manifest b/net-p2p/xmr-stak/Manifest
index cac747ab28b9..c7e09db21e58 100644
--- a/net-p2p/xmr-stak/Manifest
+++ b/net-p2p/xmr-stak/Manifest
@@ -3,6 +3,8 @@ AUX xmr-stak-2.3.0.service 942 BLAKE2B a237a5273d6b1fc3a2dd69b121e1ca61471f9524c
DIST xmr-stak-2.10.0.tar.gz 430083 BLAKE2B 112777b075352a2fabab7fbbbfd5d9ca26d5a304846c780d9c81acf100226d402fda670fda218a228722f8e1961a4ecc1c39c094cacd23a95087246e9b5016c2 SHA512 dca324b3daf7ba212c4533466f944d627ab71bc3335d6212dbd0d30f6f101e40c3b7406303b419986c8be1adb5ea48fb3d0f12fb9275a82f61dd101045381037
DIST xmr-stak-2.10.1.tar.gz 430188 BLAKE2B c0a136c81e53d230eb95f63ead2eeb8dc380fe4692f370e39973246bf9be0c2d8c400f682c48057bb1b010e2d5a661995bedcf0be7c516f0a043f1a8cafc4613 SHA512 3d63e89200a9ce6c8666e842b934c04a2b61e2e5e40ada7ef80847835585998fd6619e520b97633333fbbd1beb4f19facdfc777d46cea296da15f7cf8c97ccff
DIST xmr-stak-2.10.2.tar.gz 430337 BLAKE2B da7fcba03d3eb92402f2cd387af7f68471fd283121f07ca871f2b16163ab80de098535d6384fc34f64245cc75f0fee11848422f8f1095997bd041247129fae41 SHA512 e9074d8d5b9d4f7a987494d9ade037ca06c8de5fde73d82fde14772a280609624c8dc8ad5128d42f1f5e4087cf65e9c9a55988c22b4bfdf5fa65e98444232bfa
+DIST xmr-stak-2.10.3.tar.gz 431659 BLAKE2B ee2aa0158af00cd52f7009a41f0355dda05bc3dbe73fca13af752ed13fc559aac03f4d6cfef3479e1fc560b8e1e46f5e6739644284e4e7b23aa2e88717f64c0a SHA512 b1fd7f510a9b17175c8551a60cd13a326055bd684837503642c0280eb42f19c46944011bbe05a393a53bbd802528322340642595811a5566dcc264715a30a5b4
+DIST xmr-stak-2.10.4.tar.gz 431952 BLAKE2B 945c27cd424b338500c726742ea71ad66931449dc0d9a03d27f1641d85030924536e9fd6be274b775d5f15fe506e0581e4d792b57b539f21f79772ee8ca15fd4 SHA512 b373f78e88f3a2647b2f195b0875220bf40e8b5ba6243f3b9ec82da6b17cc13b963da73a4e5e179a0a94521141d693af86376ebfdedf1e6b3223acc3988d46c1
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
@@ -12,6 +14,8 @@ DIST xmr-stak-2.9.0.tar.gz 411514 BLAKE2B 8016bb70bf5d6d3c5ec70534e1711b0d7607fc
EBUILD xmr-stak-2.10.0.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7
EBUILD xmr-stak-2.10.1.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7
EBUILD xmr-stak-2.10.2.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7
+EBUILD xmr-stak-2.10.3.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7
+EBUILD xmr-stak-2.10.4.ebuild 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7
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 1887 BLAKE2B 7201b3135446ebe64b22fd6cb88402aa1d8d898e5c67cddb7b22398b50aed25c2f8dcf3e1c3f6e95b8e8a09275847355324391df2b31f55a517b86c05773ae08 SHA512 0266f6bc24791060ff5b5c80e3b0b4e899b9a9880118472576782e1c212952d745c4494d118c77c630b0d44e0a4e838d16bdcf84a46e5ee06fc50084b338d5c7
diff --git a/net-p2p/xmr-stak/xmr-stak-2.10.3.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.3.ebuild
new file mode 100644
index 000000000000..3244143bb5fe
--- /dev/null
+++ b/net-p2p/xmr-stak/xmr-stak-2.10.3.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
+}
diff --git a/net-p2p/xmr-stak/xmr-stak-2.10.4.ebuild b/net-p2p/xmr-stak/xmr-stak-2.10.4.ebuild
new file mode 100644
index 000000000000..3244143bb5fe
--- /dev/null
+++ b/net-p2p/xmr-stak/xmr-stak-2.10.4.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
+}