1 |
commit: 4d5ef173167dc160a36825de393758dc4fa1fab1 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 03:20:44 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 03:31:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5ef173 |
7 |
|
8 |
sys-auth/thinkfinger: use udev.eclass; call udev_reload |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild | 10 ++++++---- |
13 |
1 file changed, 6 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild b/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild |
16 |
index d877ef488e97..b13cfa812394 100644 |
17 |
--- a/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild |
18 |
+++ b/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
-inherit autotools linux-info pam |
27 |
+inherit autotools linux-info pam udev |
28 |
|
29 |
DESCRIPTION="Support for the UPEK/SGS Thomson fingerprint reader, common in Thinkpads" |
30 |
HOMEPAGE="http://thinkfinger.sourceforge.net/" |
31 |
@@ -59,14 +59,16 @@ src_install() { |
32 |
default |
33 |
|
34 |
keepdir /etc/pam_thinkfinger |
35 |
- insinto /lib/udev/rules.d |
36 |
- doins "${FILESDIR}"/60-thinkfinger.rules |
37 |
+ |
38 |
+ udev_dorules "${FILESDIR}"/60-thinkfinger.rules |
39 |
|
40 |
# no static archives |
41 |
find "${ED}" -name '*.la' -delete || die |
42 |
} |
43 |
|
44 |
pkg_postinst() { |
45 |
+ udev_reload |
46 |
+ |
47 |
fowners root:fingerprint /etc/pam_thinkfinger |
48 |
fperms 710 /etc/pam_thinkfinger |