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 C06EF13835A for ; Fri, 9 Apr 2021 00:11:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DA5FE0936; Fri, 9 Apr 2021 00:11:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 EACD9E0936 for ; Fri, 9 Apr 2021 00:11:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 BEFAC335D64 for ; Fri, 9 Apr 2021 00:11:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DE13640 for ; Fri, 9 Apr 2021 00:11:27 +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: <1617927083.b0a0123c1905cdfaae596c61c993b06e8607e250.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.16.2.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: b0a0123c1905cdfaae596c61c993b06e8607e250 X-VCS-Branch: master Date: Fri, 9 Apr 2021 00:11:27 +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: 3385fe54-9177-48d3-ae2a-254084f15318 X-Archives-Hash: d3e823b2aa424e2f26c5835e5af98f36 commit: b0a0123c1905cdfaae596c61c993b06e8607e250 Author: Craig Andrews gentoo org> AuthorDate: Fri Apr 9 00:10:44 2021 +0000 Commit: Craig Andrews gentoo org> CommitDate: Fri Apr 9 00:11:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0a0123c net-p2p/cpuminer-opt: 3.16.2 version bump Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.16.2.ebuild | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 4f124dcda63..2a10bfe1dc6 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1 +1,2 @@ DIST cpuminer-opt-3.14.3.tar.gz 1822560 BLAKE2B 82e632577b0bd910c8a5bf1fa37bacc27c45ade178456113b986d070b46b7394eddaebcbff675d3cf842dc4f63253133244af1a706159a714ab8c043cd762e8c SHA512 ad8700a1ca0eca34cf9b15235e8c413ab7250dd47c6e1eba6a0b8c81665e7fa4aaef981f601a876d3973ef06cdbe7df56ce2d3827a5bac6de63434f1faf1d771 +DIST cpuminer-opt-3.16.2.tar.gz 1829567 BLAKE2B 01f0383f1e6f46bb71c548df5f69e808e7ccaa3aa7217530464b86bc629843f632405f9ca57f9201cd337e774ebe8ca6fa2fe8b8ec0e0042bb0844d8bd9f6c0c SHA512 bc0d9970afee6f6d5cdfbe7517c7d201fccb9ef133dc51494b03bfa1b4e0e8e40927cffee8ff811b077f6d39b2bc61e96bba1c162f68470fd702e1b3383a6357 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.16.2.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.16.2.ebuild new file mode 100644 index 00000000000..b82ff43b0b8 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.16.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 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 +}