summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-28 04:20:44 +0100
committerSam James <sam@gentoo.org>2022-04-28 04:31:46 +0100
commit4d5ef173167dc160a36825de393758dc4fa1fab1 (patch)
tree29e26faa88f967fe5c2b911e436fc8b64648ea11 /sys-auth
parentapp-emulation/qemu: restore ~arm ~riscv (diff)
downloadgentoo-4d5ef173167dc160a36825de393758dc4fa1fab1.tar.gz
gentoo-4d5ef173167dc160a36825de393758dc4fa1fab1.tar.bz2
gentoo-4d5ef173167dc160a36825de393758dc4fa1fab1.zip
sys-auth/thinkfinger: use udev.eclass; call udev_reload
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild b/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild
index d877ef488e97..b13cfa812394 100644
--- a/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild
+++ b/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools linux-info pam
+inherit autotools linux-info pam udev
DESCRIPTION="Support for the UPEK/SGS Thomson fingerprint reader, common in Thinkpads"
HOMEPAGE="http://thinkfinger.sourceforge.net/"
@@ -59,14 +59,16 @@ src_install() {
default
keepdir /etc/pam_thinkfinger
- insinto /lib/udev/rules.d
- doins "${FILESDIR}"/60-thinkfinger.rules
+
+ udev_dorules "${FILESDIR}"/60-thinkfinger.rules
# no static archives
find "${ED}" -name '*.la' -delete || die
}
pkg_postinst() {
+ udev_reload
+
fowners root:fingerprint /etc/pam_thinkfinger
fperms 710 /etc/pam_thinkfinger