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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B1D5158008 for ; Wed, 14 Jun 2023 15:39:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72E36E096B; Wed, 14 Jun 2023 15:39:42 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 56A71E096B for ; Wed, 14 Jun 2023 15:39:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5371F340E05 for ; Wed, 14 Jun 2023 15:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9B2FA80 for ; Wed, 14 Jun 2023 15:39:39 +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: <1686757176.5568e7779a4ae6eb107a2134453aea1abd43ff9f.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.22.3.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 5568e7779a4ae6eb107a2134453aea1abd43ff9f X-VCS-Branch: master Date: Wed, 14 Jun 2023 15:39:39 +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: 268eb884-9524-457d-9db3-c8dfbc865cdb X-Archives-Hash: 837230d9f14e6531ed851ae19fd33f1b commit: 5568e7779a4ae6eb107a2134453aea1abd43ff9f Author: Craig Andrews gentoo org> AuthorDate: Wed Jun 14 15:39:16 2023 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Jun 14 15:39:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5568e777 net-p2p/cpuminer-opt: add 3.22.3 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-3.22.3.ebuild | 49 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 0bdc7703a4af..57fedf5ad9ea 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -1 +1,2 @@ DIST cpuminer-opt-3.22.1.tar.gz 1788067 BLAKE2B 38fd425cdfed4378c66be41ee5021bfaab47adc9c8c53f1b99b05efb30dd891bc8ca7feceb7eb8e5998cf0c8536eb582370f9955a0117917f18e451dbd90e1a6 SHA512 39157cd22a9923dec15e040e5aa11b28d8197fd4b906384989354d6f9f13073671264de5b8c251283ad137d778c70b36be5a3f7bc4f11555579892ee0f61cc41 +DIST cpuminer-opt-3.22.3.tar.gz 1784148 BLAKE2B 1a2fa789bcbb29c43df540d729a76f3f0d68fa2577302df3081eb2e951aad84b51f4defefa825ae8c32480a77c28a803dd1b9fc3ab4ff3141b4e479aeb107075 SHA512 230d3b3528266675bc6b1d304e36940306c389f4678ba6b092fd12d4ac3d98dfc10c334a9565319f4e39212f0a5d2f73220271ce093582f48eaa444098591de3 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.22.3.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.22.3.ebuild new file mode 100644 index 000000000000..dd862b295bd0 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.22.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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:= + 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 +}