forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-auth/pam_yubico: Bump to version 2.25
Package-Manager: Portage-2.3.28, Repoman-2.3.9
- Loading branch information
Lars Wendler
committed
Apr 5, 2018
1 parent
5237185
commit 2f6fff4
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST pam_yubico-2.23.tar.gz 418567 BLAKE2B 9df6a35d7ef314b58912c91ba9ad4ae792f2931fedbf4617572d06a6a0cce5cd2190002e26891a524379b8cc886a3e5e16330a03ac617aa7efc6db58b281c400 SHA512 435a5013ef7d020f8fe6d54614b22a4d3df6295adeb8e1fd26722246d105375b8d19940098b62956a18f439dad82f67e3996a7067af3357fddff380d20fa4728 | ||
DIST pam_yubico-2.24.tar.gz 418419 BLAKE2B 5ae988a3ba3244761d1fcadfc25f67a6c8cefd78d24535f4644ca469a5a1fb274832fb17e76d18376645960f532bf1107e6eb08112b4eacf1c797faf0349b5ca SHA512 3554b40d97ede9d02102a0661e732347a0ab2cb012fa4330cc8227289a03398a7b974ee9d170604dce53ebef1bedade5c7ab9d5657560b0ba8e4c65432c1112c | ||
DIST pam_yubico-2.25.tar.gz 422192 BLAKE2B 54f27f9a0ff64c529c74415cf4530cdd1c359325beeda4d8ce2b51af4f9b53c69284696de21a5c1e3b4eed5102571e320cf068693fbd43d144ad2c9f40c39b72 SHA512 c561bedd35d3a84cc2129f12e358b77ac425520acf13444c2918cb17c9c4158d29dc5049b2e03dd30a1f04e8568980d80af13a6a0cfd9cc8e70eee8738727d70 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |