summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-12-02 18:33:51 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-12-02 18:33:51 +0300
commit0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51 (patch)
tree9f667c05f91ff23b6ecb819f2bfb62c3c52ab5b0 /sys-auth
parenteclass/pam.eclass: drop openpam reference (diff)
downloadgentoo-0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51.tar.gz
gentoo-0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51.tar.bz2
gentoo-0dbf34f0f47e04f27a013a98557c3f4e3e8a9f51.zip
sys-auth/pam_yubico: utilize pam eclass
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_yubico/pam_yubico-2.26.ebuild4
1 files changed, 3 insertions, 1 deletions
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[@]}"