diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 20:02:04 +0100 |
commit | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch) | |
tree | 852c90a4bf354c30ea66504f70bfab5401fba18d /sys-auth/pam_yubico/pam_yubico-2.26.ebuild | |
parent | 5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff) |
gentoo resync : 28.04.2018
Diffstat (limited to 'sys-auth/pam_yubico/pam_yubico-2.26.ebuild')
-rw-r--r-- | sys-auth/pam_yubico/pam_yubico-2.26.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-auth/pam_yubico/pam_yubico-2.26.ebuild b/sys-auth/pam_yubico/pam_yubico-2.26.ebuild new file mode 100644 index 000000000000..034bfdfc4539 --- /dev/null +++ b/sys-auth/pam_yubico/pam_yubico-2.26.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib + +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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ldap test" + +RDEPEND=" + virtual/pam + sys-auth/libyubikey + >=sys-auth/ykclient-2.15 + >=sys-auth/ykpers-1.6 + ldap? ( net-nds/openldap )" +DEPEND="${RDEPEND} + app-text/asciidoc + test? ( dev-perl/Net-LDAP-Server )" + +src_configure() { + #challenge response could be optional but that seems horribly dangerous to me + local myeconfargs=( + --with-cr + --with-pam-dir=/$(get_libdir)/security + $(use_with ldap) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + dodoc doc/* + find "${D}" -name '*.la' -delete || die +} |