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 76EDA138331 for ; Wed, 17 Jan 2018 14:15:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66C4FE09B8; Wed, 17 Jan 2018 14:15:58 +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 37DB9E09B8 for ; Wed, 17 Jan 2018 14:15:58 +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 824AB335C0C for ; Wed, 17 Jan 2018 14:15:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7E2F1A6 for ; Wed, 17 Jan 2018 14:15:54 +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: <1516198547.6f064678ff678d2bd6ff87173071c5bb26d3836f.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.7.10.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 6f064678ff678d2bd6ff87173071c5bb26d3836f X-VCS-Branch: master Date: Wed, 17 Jan 2018 14:15:54 +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-Archives-Salt: a260f0ae-0b12-4959-b998-882c5e46e6a2 X-Archives-Hash: 619bbf0273481ed3855dd303e69276e7 commit: 6f064678ff678d2bd6ff87173071c5bb26d3836f Author: Craig Andrews gentoo org> AuthorDate: Wed Jan 17 14:14:55 2018 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Jan 17 14:15:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f064678 net-p2p/cpuminer-opt: 3.7.10 version bump Package-Manager: Portage-2.3.19, Repoman-2.3.6 net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.7.10.ebuild | 47 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 18bbc514037..47f469f6d9a 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1,3 +1,4 @@ +DIST cpuminer-opt-3.7.10.tar.gz 1629412 BLAKE2B 7ac3144345aad4b7616a5293092452b4206c820ae4d316ca8a5ed6f0303a10fec0d231eeb5d5064fea032ace2110425cd6127f1735a14a9d551100438ad6baeb SHA512 9845e09ffd9f4c0c27a0ead1d12578b9f29cdb9377cca14b06f762e3885c5cfb401344406312737b18b656535079e59ed214b5035e2f67bba6e2cb2f644aa62b DIST cpuminer-opt-3.7.7.tar.gz 1602520 BLAKE2B 059afdbd90ff062c698432d352fbb9f32807219a24659f5e27990a32b791d868147cf6fa027dff60d2e16d5f43b36b826dbabdc971e4dae4e1473aaf8795b222 SHA512 85989257ef8ee945000621598f6a9c4ed1b8099c57902d570db3038617b787254a925865567541d75e4433aaff564ffc82bd659f645ca812f809602bef8bc7c7 DIST cpuminer-opt-3.7.8.tar.gz 1611178 BLAKE2B 12082a378fa4656a38e634d692b182a7b5fa09aae24ba4d0226968e35680ed6175999e2daf789cdc7bda960ddd246a663ff54ff6b15435798a84268cfcff4fcc SHA512 19dcfde77405eef78061c13600dfef9ee69f62443e64c4019bdc18f98658ac1c41517f2c12f383edfd94ebcc35a58fbd2fe34037e530705bd2d1465f0355a9ab DIST cpuminer-opt-3.7.9.tar.gz 1623402 BLAKE2B f9e225989bf1f2dd249de1ed43e7e1532c8e825f6fb25e54020a0f4382ab156a9fd7463e82510a90c5c6f71b8a9749c94cc4acc01d05b6f189766099a5772fec SHA512 17457900cad97b57d92160aba8d22256a39660dc29afbcd5be35b3e9c9045f81cd43332c7890cbde44427345eff61a6a1346ce31620e281160b5acaf729863d3 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.7.10.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.7.10.ebuild new file mode 100644 index 00000000000..912415ee00c --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.7.10.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Optimized multi algo CPU miner" +HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" +IUSE="cpu_flags_x86_avx2 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 + curl? ( >=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 + use cpu_flags_x86_avx2 && append-cflags "-DFOUR_WAY" + econf --with-crypto $(use_with curl) +} + +src_install() { + default + systemd_dounit "${FILESDIR}"/${PN}.service + insinto "/etc/${PN}" + doins cpuminer-conf.json +}