Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_yubico/
Date: Mon, 02 Dec 2019 15:34:13
Message-Id: 1575300831.0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51.zlogene@gentoo
1 commit: 0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 2 15:33:51 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 2 15:33:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbf34f0
7
8 sys-auth/pam_yubico: utilize pam eclass
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 sys-auth/pam_yubico/pam_yubico-2.26.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-auth/pam_yubico/pam_yubico-2.26.ebuild b/sys-auth/pam_yubico/pam_yubico-2.26.ebuild
17 index 0bc545bf7a9..3e76d513cb7 100644
18 --- a/sys-auth/pam_yubico/pam_yubico-2.26.ebuild
19 +++ b/sys-auth/pam_yubico/pam_yubico-2.26.ebuild
20 @@ -3,6 +3,8 @@
21
22 EAPI=6
23
24 +inherit pam
25 +
26 DESCRIPTION="Library for authenticating against PAM with a Yubikey"
27 HOMEPAGE="https://github.com/Yubico/yubico-pam"
28 SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz"
29 @@ -26,7 +28,7 @@ src_configure() {
30 #challenge response could be optional but that seems horribly dangerous to me
31 local myeconfargs=(
32 --with-cr
33 - --with-pam-dir=/$(get_libdir)/security
34 + --with-pam-dir="$(getpam_mod_dir)"
35 $(use_with ldap)
36 )
37 econf "${myeconfargs[@]}"