commit: 4d5ef173167dc160a36825de393758dc4fa1fab1 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Apr 28 03:20:44 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Apr 28 03:31:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5ef173
sys-auth/thinkfinger: use udev.eclass; call udev_reload Signed-off-by: Sam James <sam <AT> gentoo.org> sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild | 10 ++++++---- 1 file 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