From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1502099-garchives=archives.gentoo.org@lists.gentoo.org> 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 DB15E15802F for <garchives@archives.gentoo.org>; Wed, 29 Mar 2023 16:02:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF1C6E091C; Wed, 29 Mar 2023 16:02:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E1FE0E091C for <gentoo-commits@lists.gentoo.org>; Wed, 29 Mar 2023 16:02:04 +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 04860335C5A for <gentoo-commits@lists.gentoo.org>; Wed, 29 Mar 2023 16:02:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 933F49CB for <gentoo-commits@lists.gentoo.org>; Wed, 29 Mar 2023 16:02:02 +0000 (UTC) From: "Florian Schmaus" <flow@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" <flow@gentoo.org> Message-ID: <1680098511.c7a07a5a91b21e72e7781d32ff0fac7012490378.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/trezord-go/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild net-p2p/trezord-go/trezord-go-2.0.32.ebuild X-VCS-Directories: net-p2p/trezord-go/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: c7a07a5a91b21e72e7781d32ff0fac7012490378 X-VCS-Branch: master Date: Wed, 29 Mar 2023 16:02:02 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3a228bf0-f35a-4947-9baf-1efbfa65447a X-Archives-Hash: 606a024449bac53723ab06c22454068a commit: c7a07a5a91b21e72e7781d32ff0fac7012490378 Author: Michael Egger <egger.m <AT> protonmail <DOT> com> AuthorDate: Wed Mar 29 14:01:51 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Mar 29 14:01:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7a07a5a net-p2p/trezord-go: call udev_reload in pkg_postinst and pkg_postrm Closes: https://bugs.gentoo.org/843002 Signed-off-by: Michael Egger <egger.m <AT> protonmail.com> .../{trezord-go-2.0.32.ebuild => trezord-go-2.0.32-r1.ebuild} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net-p2p/trezord-go/trezord-go-2.0.32.ebuild b/net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild similarity index 94% rename from net-p2p/trezord-go/trezord-go-2.0.32.ebuild rename to net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild index ef67cdbb0..59e351172 100644 --- a/net-p2p/trezord-go/trezord-go-2.0.32.ebuild +++ b/net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit go-module systemd udev @@ -63,3 +63,11 @@ src_install() { use systemd && systemd_dounit release/linux/trezord.service use udev && udev_dorules release/linux/trezor.rules } + +pkg_postinst() { + use udev && udev_reload +} + +pkg_postrm() { + use udev && udev_reload +}