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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD0B715812D for ; Fri, 03 Jan 2025 17:42:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FC07E0835; Fri, 03 Jan 2025 17:42:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 363AAE083B for ; Fri, 03 Jan 2025 17:42:15 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A7E533BDFF for ; Fri, 03 Jan 2025 17:42:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59F77AED for ; Fri, 03 Jan 2025 17:42:12 +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: <1735926127.eeaf7f21fc6ee1322f24fd3e53bc7e6679e5b3b5.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-25.1.ebuild X-VCS-Directories: net-p2p/cpuminer-opt/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: eeaf7f21fc6ee1322f24fd3e53bc7e6679e5b3b5 X-VCS-Branch: master Date: Fri, 03 Jan 2025 17:42:12 +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: d90415e4-b6ec-4d11-9123-239590fced74 X-Archives-Hash: 67067cb36e7457bc79b5802cc49b80fe commit: eeaf7f21fc6ee1322f24fd3e53bc7e6679e5b3b5 Author: Craig Andrews gentoo org> AuthorDate: Tue Dec 31 22:38:19 2024 +0000 Commit: Craig Andrews gentoo org> CommitDate: Fri Jan 3 17:42:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeaf7f21 net-p2p/cpuminer-opt: add 25.1 Signed-off-by: Craig Andrews gentoo.org> net-p2p/cpuminer-opt/Manifest | 1 + net-p2p/cpuminer-opt/cpuminer-opt-25.1.ebuild | 48 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index f6ac3a2c95f9..bcb602028bf8 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -2,3 +2,4 @@ DIST cpuminer-opt-24.4.tar.gz 1787907 BLAKE2B 73f1da98f64ab7048f12d22f16ea2c94e2 DIST cpuminer-opt-24.5.tar.gz 1792866 BLAKE2B b9eba21088d967ecf85657f14873bb4b13214b4172071d22869d01d1b9f5acf9d7de56f20ed80ddce9c4cee1fbb59c65fab70893580e38978258b955a096eb80 SHA512 a29d9d479644511204534b680c0feaff6d232f24f70ceb77f5260f3aae35275a4823d0f75c6286013bbef5b30162e3807919e8c19a4c0ad932e1b091ce8c5428 DIST cpuminer-opt-24.6.tar.gz 1794289 BLAKE2B 1d6fef86ec38351a88a98b5f2d574521ce9997ce9a11ffc709110ad906026f5a487dce8980550b182c066cc3c960ecf31571e884b04d523c90a91714cd71b6e7 SHA512 2c33a48827c3fe34222bc13e58f1a9582a4f77563047a48d386aa75f5364031f1bcc8561a5f7f1aed95138291417506e6f142b90bbb12fcfb3552935afb34035 DIST cpuminer-opt-24.8.tar.gz 1796451 BLAKE2B 068eeab032c4539fa1d836f1f91467bc13f29a460263af1178fce74c150f9b4a6808368d6a30012eac8dfa83ce7f275327e7748bee175752563b738252c7bf7f SHA512 59b841e11c8ac784392b006e8edf0f3d3627abd65fc48aee73397abec4ea7f2723e7a5637735e4b5c5a87f7c0bcfd5e9c2c311021b9e756ab80acdcd73106310 +DIST cpuminer-opt-25.1.tar.gz 1782054 BLAKE2B 9f7c90096e332c8c0419e1d9851ceea06ad3537a6c69bf991236a5db0660a7f3aeaa217d9be862d4f3bf7a6807d71a530a69c740e0e7e6fbf9d699f9ccbee860 SHA512 bda22f5887fc106491181d375433f588504f498f5d5a1a7b631f66f1b95a80db4af58d1f23a3ec373ef8763752d4f1e21a2fbd9c6f57c52a0d9330bee40f67b7 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-25.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-25.1.ebuild new file mode 100644 index 000000000000..2683d4bdc544 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-25.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 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] +" +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}" + newins config-template.json cpuminer-conf.json +} + +src_test() { + ./cpuminer --cputest || die +}