From 0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Mon, 2 Dec 2019 18:33:51 +0300 Subject: sys-auth/pam_yubico: utilize pam eclass Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- sys-auth/pam_yubico/pam_yubico-2.26.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys-auth') diff --git a/sys-auth/pam_yubico/pam_yubico-2.26.ebuild b/sys-auth/pam_yubico/pam_yubico-2.26.ebuild index 0bc545bf7a9c..3e76d513cb70 100644 --- a/sys-auth/pam_yubico/pam_yubico-2.26.ebuild +++ b/sys-auth/pam_yubico/pam_yubico-2.26.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit pam + DESCRIPTION="Library for authenticating against PAM with a Yubikey" HOMEPAGE="https://github.com/Yubico/yubico-pam" SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz" @@ -26,7 +28,7 @@ src_configure() { #challenge response could be optional but that seems horribly dangerous to me local myeconfargs=( --with-cr - --with-pam-dir=/$(get_libdir)/security + --with-pam-dir="$(getpam_mod_dir)" $(use_with ldap) ) econf "${myeconfargs[@]}" -- cgit v1.2.3-65-gdbad