From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 319ED138335 for ; Tue, 3 Dec 2019 21:38:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74A83E0866; Tue, 3 Dec 2019 21:38:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 519F7E0856 for ; Tue, 3 Dec 2019 21:38:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32C7634C8AB for ; Tue, 3 Dec 2019 21:38:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9C758B8 for ; Tue, 3 Dec 2019 21:38:47 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1575409121.06cbf0ba307cb55f5c8e430017cfcb1f1e70acf8.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/cpuminer-opt/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/cpuminer-opt/Manifest net-p2p/cpuminer-opt/cpuminer-opt-3.10.0.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 06cbf0ba307cb55f5c8e430017cfcb1f1e70acf8 X-VCS-Branch: master Date: Tue, 3 Dec 2019 21:38:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd342fef-093c-4f11-9e7d-c3c83e7c87d5 X-Archives-Hash: cc8a903d7fdb483edf7f55e70612a1cb commit: 06cbf0ba307cb55f5c8e430017cfcb1f1e70acf8 Author: Craig Andrews gentoo org> AuthorDate: Tue Dec 3 21:33:21 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Tue Dec 3 21:38:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cbf0ba net-p2p/cpuminer-opt: 3.10.0 version bump Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.10.0.ebuild | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 095a66a7060..0fbdd72876b 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1,3 +1,4 @@ +DIST cpuminer-opt-3.10.0.tar.gz 1909417 BLAKE2B 49b60bc50224c9843e2c5ba3d712d930a6ab1e5bcf486e481cf5a3f10e6b0813ea76534a28ec7113da544440f05cfcebaf95f6d70a51fad53ca5bc2c7e8511dc SHA512 d5820f65458b5281fdcb4fb0dc2f33785de2d8dfb0965e56720bb336035c2e03db4ae0bbc536952309c81df00792327ce20e73a5536b73c73690dd14bc669212 DIST cpuminer-opt-3.9.10.tar.gz 1818868 BLAKE2B aa29c101af2f17b128b264c3c6639d3af9c4bfd1abf0a5139b33d06b68f9c9217d1ad19cdd53fd245fed4b5cb7a0ff81789d9929debea5b8d225c7f8b29ae940 SHA512 46da5f43df0f46a94a160310de74776880fed748ec955220544cc1ff08eada8f9dd774250913ffbaeed8a6237e69bae730c8f18c48e87b8600b9407a6de03cc4 DIST cpuminer-opt-3.9.11.tar.gz 1903437 BLAKE2B dd15fbdcefa89bd314d6ec174b8556a7157ca9347346d012d198b34961f6f0fc1b4d313ce040cd0bd36ef053897f2b2d6da4e086e780895efc5af2969039be95 SHA512 4a3589fe4d4990b78996516df91d81ae2ac6708cffd0b8342a94adfcc5eacc7b810a49efb5e4821912ca0e703e7342a70d6a97a847a92b11925475767ed357a6 DIST cpuminer-opt-3.9.6.2.tar.gz 1796238 BLAKE2B 5c9ef9e04897ac8e62196bb54606b407ae5df7f48074f91c202a7323f9ebfa5c44361df99ed83f9c67e69080580c9bf1e29607b491c872a2f1385c8c42444940 SHA512 92e96724fc40d974cd80d61c19c7d46b6581ec0e63328bf940cade12231240fa17f26639a6c344cf19c20ea6e6f7dc4178dea7db51a4c7ec85a66ab5e4a5e59d diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.10.0.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.10.0.ebuild new file mode 100644 index 00000000000..666d27ee1c0 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.10.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Optimized multi algo CPU miner" +HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" +IUSE="cpu_flags_x86_sse2 curl libressl" +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="cpu_flags_x86_sse2" +DEPEND=" + dev-libs/gmp:0 + dev-libs/jansson + >=net-misc/curl-7.15[ssl] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) +" +RDEPEND="${DEPEND}" +if [[ ${PV} == "9999" ]] ; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" + inherit git-r3 +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-ldflags -Wl,-z,noexecstack + econf --with-crypto --with-curl +} + +src_install() { + default + systemd_dounit "${FILESDIR}"/${PN}.service + insinto "/etc/${PN}" + doins cpuminer-conf.json +} + +src_test() { + ./cpuminer --cputest || die +}