Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libnitrokey/
Date: Sun, 03 Jul 2022 09:35:45
Message-Id: 1656840930.991ac772d4fdcf62a35ba2aafb2d2db9564e566b.soap@gentoo
1 commit: 991ac772d4fdcf62a35ba2aafb2d2db9564e566b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 3 09:35:30 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 09:35:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=991ac772
7
8 app-crypt/libnitrokey: call udev_reload in pkg_postinst/pkg_postrm
9
10 Closes: https://bugs.gentoo.org/854243
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-crypt/libnitrokey/libnitrokey-3.6.ebuild | 10 +++++++++-
14 app-crypt/libnitrokey/libnitrokey-9999.ebuild | 10 +++++++++-
15 2 files changed, 18 insertions(+), 2 deletions(-)
16
17 diff --git a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild
18 index ecef8c9b5c2d..dd6d0126cf31 100644
19 --- a/app-crypt/libnitrokey/libnitrokey-3.6.ebuild
20 +++ b/app-crypt/libnitrokey/libnitrokey-3.6.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -45,3 +45,11 @@ src_configure() {
28 )
29 cmake_src_configure
30 }
31 +
32 +pkg_postinst() {
33 + udev_reload
34 +}
35 +
36 +pkg_postrm() {
37 + udev_reload
38 +}
39
40 diff --git a/app-crypt/libnitrokey/libnitrokey-9999.ebuild b/app-crypt/libnitrokey/libnitrokey-9999.ebuild
41 index 8687d0d1b4e3..a9135e08d5d4 100644
42 --- a/app-crypt/libnitrokey/libnitrokey-9999.ebuild
43 +++ b/app-crypt/libnitrokey/libnitrokey-9999.ebuild
44 @@ -1,4 +1,4 @@
45 -# Copyright 1999-2021 Gentoo Authors
46 +# Copyright 1999-2022 Gentoo Authors
47 # Distributed under the terms of the GNU General Public License v2
48
49 EAPI=7
50 @@ -45,3 +45,11 @@ src_configure() {
51 )
52 cmake_src_configure
53 }
54 +
55 +pkg_postinst() {
56 + udev_reload
57 +}
58 +
59 +pkg_postrm() {
60 + udev_reload
61 +}