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 C5CEC1382C5 for ; Thu, 24 Jun 2021 15:16:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08443E083E; Thu, 24 Jun 2021 15:16:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 DE612E083E for ; Thu, 24 Jun 2021 15:16:48 +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 A8F3E335C7D for ; Thu, 24 Jun 2021 15:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46A01797 for ; Thu, 24 Jun 2021 15:16:46 +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: <1624547802.27f1741c077550b24bcf7df58a9ef2eaa72236fc.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.4.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 27f1741c077550b24bcf7df58a9ef2eaa72236fc X-VCS-Branch: master Date: Thu, 24 Jun 2021 15:16:46 +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: 3817529c-970c-4802-b3f8-e8bfcd905b32 X-Archives-Hash: b84f961764a1b5ad11c9d7ffc733d291 commit: 27f1741c077550b24bcf7df58a9ef2eaa72236fc Author: Craig Andrews gentoo org> AuthorDate: Thu Jun 24 15:15:56 2021 +0000 Commit: Craig Andrews gentoo org> CommitDate: Thu Jun 24 15:16:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f1741c net-p2p/cpuminer-opt: 3.16.4 version bump Package-Manager: Portage-3.0.20, 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.4.ebuild | 49 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 6d3c6b02608..4bcaa3be23b 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1 +1,2 @@ DIST cpuminer-opt-3.16.3.tar.gz 1829694 BLAKE2B 2cf8f7f03a60956d7c84e55fd4bbee27025488bfcda2b6f02d7defe4983cc78fcf827591d1ed7998e859ffe67ce4baeb6ab53abc2f5c7552e5c3b19e66740501 SHA512 28d361c7889073b4b67981676183e114d9ccdda3529e2f8703948169d6edf91b9fe9cbe152edafbefa3d7b285dadf415cdea130df48af86323453c66a07d6513 +DIST cpuminer-opt-3.16.4.tar.gz 1830534 BLAKE2B c9fa07c36b634b0d1250b847baa4a971aad0b249aaf7792b4a69c42c5c98cc6b3e4fe20c95fdab9884520decc6e9d7071158a641863f1c0d2443dd096e372f2b SHA512 7459a9c6ad7afd85fdb8f7ff62c9deae2a2fc8341e3cf39da0f72e81bff8829e094bb830fb614fbce9665bbb259d764eb64b6d2a44ac45ecdd9ee870190d6539 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.16.4.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.16.4.ebuild new file mode 100644 index 00000000000..fb5ffe94cd2 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.16.4.ebuild @@ -0,0 +1,49 @@ +# 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" +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] + dev-libs/openssl: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 +}