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 AC439138334 for ; Fri, 14 Jun 2019 14:35:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 848DFE0788; Fri, 14 Jun 2019 14:35:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 54CD3E0788 for ; Fri, 14 Jun 2019 14:35:12 +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 931903460D4 for ; Fri, 14 Jun 2019 14:35:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52B3A5E6 for ; Fri, 14 Jun 2019 14:35:05 +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: <1560522900.cf60155a24050ab6d1237aa2069b9edcd51d9005.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.9.3.1.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: cf60155a24050ab6d1237aa2069b9edcd51d9005 X-VCS-Branch: master Date: Fri, 14 Jun 2019 14:35:05 +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: f7aba636-30ef-4420-ace4-9fa7d7f011c8 X-Archives-Hash: c5a047e881d6519a9da82c27297fbb12 commit: cf60155a24050ab6d1237aa2069b9edcd51d9005 Author: Craig Andrews gentoo org> AuthorDate: Fri Jun 14 14:33:39 2019 +0000 Commit: Craig Andrews gentoo org> CommitDate: Fri Jun 14 14:35:00 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf60155a net-p2p/cpuminer-opt: 3.9.3.1 version bump Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.9.3.1.ebuild | 50 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 3500e66b1be..feb5f1b80d0 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -8,3 +8,4 @@ DIST cpuminer-opt-3.9.2.3.tar.gz 1777161 BLAKE2B add68199a46ef4989bb062e52fc64ed DIST cpuminer-opt-3.9.2.4.tar.gz 1777767 BLAKE2B 47269d66576f7920564f18244f857c1de46dd43d656c7b150ebc8a24b0302598c3efa89c01e6ae6a07d34942e71e5a8dc4af49fd35840abd560f63dc93176c58 SHA512 ec74abad31059a31b7c16b30a06b759563730c0f0cbfd5d5be84ff0dbb167c2e5b794b1531fbd8735aa87fa4a7f624cec6a496ed1f4627073f70d59366495995 DIST cpuminer-opt-3.9.2.5.tar.gz 1781488 BLAKE2B cd79f8cc363918d6db62b1970086a5758a717ca7f7fed6d204f8e83db43b777d3d5915c3195fcc3256d79dd7d849ca5cac96c47d844ea5129a2823e96a5ca806 SHA512 3ad01cfbda9cd6ecf1e2a2f178989da2c18f6fa7add940be7176bab65b0adafdc87f0f1dec77ddfc36a939940867a58188618ba0881fc08baa0125e240501366 DIST cpuminer-opt-3.9.2.tar.gz 1770769 BLAKE2B 75413f98b522e30647c9e312e1a23ee5dd3d761780dad7617b68b20d08e123ddd256f70f1494f565abe67997bb1c5fd1401ccd21e7f5492182c7ec2619bc8e00 SHA512 ce12c867706a3caed0104859a8f2366af85497b493f8c2a8c87a45f430abb45a29c415889c8f219450ac2f4e10bd4482f6dbe9dd125e1dde98c8a25e3fdad8c8 +DIST cpuminer-opt-3.9.3.1.tar.gz 1781503 BLAKE2B 3f5df07d6d68343bb074367e3296e08c7e958edfcd3c2d63da83b98e8ce635a8b27d0c871061087908840b665a27556833de8d8106557f6794e9ad35d5a9d53e SHA512 d8f0c298c03e4f309f28a2b555f039212d66e6a9804fa2a1f7d0a8bd3d69969c48f1ac51570b10d5bf9bc695f7a9f91e884298d85d1b6a876d5d3a8974d3b890 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.3.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.3.1.ebuild new file mode 100644 index 00000000000..666d27ee1c0 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.3.1.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 +}