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 86D52138350 for ; Sun, 23 Feb 2020 02:12:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C47DEE090F; Sun, 23 Feb 2020 02:12:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 9DCDCE090F for ; Sun, 23 Feb 2020 02:12:23 +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 5FC6734EEA6 for ; Sun, 23 Feb 2020 02:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8B2D147 for ; Sun, 23 Feb 2020 02:12:19 +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: <1582423080.b9dc4353ee8ef0475fc95eb3c3ba16fe389553c7.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.12.4.1.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: b9dc4353ee8ef0475fc95eb3c3ba16fe389553c7 X-VCS-Branch: master Date: Sun, 23 Feb 2020 02:12:19 +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: 5cadb958-ec29-4605-9b2f-fb5a0043e843 X-Archives-Hash: 4a5449c209834d2f50eb7b54eff00069 commit: b9dc4353ee8ef0475fc95eb3c3ba16fe389553c7 Author: Craig Andrews gentoo org> AuthorDate: Sun Feb 23 01:58:00 2020 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sun Feb 23 01:58:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9dc4353 net-p2p/cpuminer-opt: 3.12.4.1 version bump Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.1.ebuild | 50 +++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index a6af048af65..846c36980d7 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -2,3 +2,4 @@ DIST cpuminer-opt-3.12.1.tar.gz 1809074 BLAKE2B 2c19cba4dc070286d7fe39b53b61177b DIST cpuminer-opt-3.12.13.tar.gz 1809807 BLAKE2B c971153fc1099dc29ae93ab341e905b3d0252d02468e0f125692a38d00121f82a2825d61e8303e45f4b41f64280d780a02f742eb61d117601a6ce47db57d4d2d SHA512 830371c4e2931101d33d124c86733e9f079ace5b4b59e3b5149db0655c93031dcbbb2dd370d4729b7e697670117c0b6874214a8aa569dcca92c6750dbc88a8b8 DIST cpuminer-opt-3.12.2.tar.gz 1809424 BLAKE2B fedec681166de95e18d41e4c61ec75a9e1ea1fc1cdb656cebcb303a637a01eb3aba9e0c5cbb5cc710be6a2191dcbef0b1a2c00f0ce349064b25471eac5035c26 SHA512 f8a9c71d673f68418164cc1f0bd7c80b4e5d246b21a8f54432ad9fc87c1962a0ab0a96372018e2d1da55d084b6ce9dcae58dd3f7a0b0e62e595a805fefdb5a10 DIST cpuminer-opt-3.12.3.1.tar.gz 1809916 BLAKE2B 5ee9f9b1bdcadf9a069fbf46cdad26331504147118b4d79c281ef8322eb3901920b89548afe4b032982668b454db58e658bbb952031fb2f5f764e7e013be006e SHA512 0e6069e7d85b6f2632da919f79183e15dc89ac8ac6c9524a59459bd0c8c4c02fd9b6669434c7f17475f713075763f8a7b939f955866ba4a0b2b1764758096635 +DIST cpuminer-opt-3.12.4.1.tar.gz 1811274 BLAKE2B 9c54bb71d62924ad80eb484ecbdd282b27b022bcbfe37c2ca95dfccbde335f77bf0e28215f77eb381c8866fd7d164b409f48404e2fc7bd09478feb26b0d2ed7f SHA512 2ba603d52d45caeab8cfc8f03c127709791fb058a549af7abb69a62023e5ecc7e51ae670afa600b1563b33dabb50931a090d4d6574fa555b1a892a86d097150f diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.1.ebuild new file mode 100644 index 00000000000..a5d436b3b8b --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 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 +}