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 1435E15808E for ; Thu, 28 Apr 2022 03:34:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34381E0898; Thu, 28 Apr 2022 03:34:14 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCFEFE088C for ; Thu, 28 Apr 2022 03:34:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B56893418DD for ; Thu, 28 Apr 2022 03:34:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F36C4434 for ; Thu, 28 Apr 2022 03:34:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1651116711.3749b6e7ef444608c3d93717b180179ee2eada2f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/cgminer/cgminer-4.10.0-r1.ebuild X-VCS-Directories: net-misc/cgminer/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3749b6e7ef444608c3d93717b180179ee2eada2f X-VCS-Branch: master Date: Thu, 28 Apr 2022 03:34:10 +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: f6e641e2-e64e-4f03-8f38-e977cf2c6bb9 X-Archives-Hash: a4acc0900ba9dece3b196fc99e0e8295 commit: 3749b6e7ef444608c3d93717b180179ee2eada2f Author: Sam James gentoo org> AuthorDate: Thu Apr 28 03:24:46 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 28 03:31:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3749b6e7 net-misc/cgminer: use udev.eclass; call udev_reload Signed-off-by: Sam James gentoo.org> net-misc/cgminer/cgminer-4.10.0-r1.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/net-misc/cgminer/cgminer-4.10.0-r1.ebuild b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild index 016755b9d44c..7fcba45d1770 100644 --- a/net-misc/cgminer/cgminer-4.10.0-r1.ebuild +++ b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs udev DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" HOMEPAGE="https://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" @@ -76,8 +76,7 @@ src_install() { # How about using some make install? dobin cgminer if use udev; then - insinto /lib/udev/rules.d - use udev && doins 01-cgminer.rules + udev_dorules 01-cgminer.rules fi if use doc; then @@ -91,3 +90,7 @@ src_install() { # How about using some make install? dodoc api-example.php miner.php API.java api-example.c example.conf fi } + +pkg_postinst() { + use udev && udev_reload +}