1 |
commit: 2f6fff4618a15305352948e7378d41971e352af3 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 5 09:00:21 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 5 10:18:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f6fff46 |
7 |
|
8 |
sys-auth/pam_yubico: Bump to version 2.25 |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
sys-auth/pam_yubico/Manifest | 1 + |
13 |
sys-auth/pam_yubico/pam_yubico-2.25.ebuild | 41 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest |
17 |
index 9e42a01be56..6edb78701a3 100644 |
18 |
--- a/sys-auth/pam_yubico/Manifest |
19 |
+++ b/sys-auth/pam_yubico/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pam_yubico-2.23.tar.gz 418567 BLAKE2B 9df6a35d7ef314b58912c91ba9ad4ae792f2931fedbf4617572d06a6a0cce5cd2190002e26891a524379b8cc886a3e5e16330a03ac617aa7efc6db58b281c400 SHA512 435a5013ef7d020f8fe6d54614b22a4d3df6295adeb8e1fd26722246d105375b8d19940098b62956a18f439dad82f67e3996a7067af3357fddff380d20fa4728 |
22 |
DIST pam_yubico-2.24.tar.gz 418419 BLAKE2B 5ae988a3ba3244761d1fcadfc25f67a6c8cefd78d24535f4644ca469a5a1fb274832fb17e76d18376645960f532bf1107e6eb08112b4eacf1c797faf0349b5ca SHA512 3554b40d97ede9d02102a0661e732347a0ab2cb012fa4330cc8227289a03398a7b974ee9d170604dce53ebef1bedade5c7ab9d5657560b0ba8e4c65432c1112c |
23 |
+DIST pam_yubico-2.25.tar.gz 422192 BLAKE2B 54f27f9a0ff64c529c74415cf4530cdd1c359325beeda4d8ce2b51af4f9b53c69284696de21a5c1e3b4eed5102571e320cf068693fbd43d144ad2c9f40c39b72 SHA512 c561bedd35d3a84cc2129f12e358b77ac425520acf13444c2918cb17c9c4158d29dc5049b2e03dd30a1f04e8568980d80af13a6a0cfd9cc8e70eee8738727d70 |
24 |
|
25 |
diff --git a/sys-auth/pam_yubico/pam_yubico-2.25.ebuild b/sys-auth/pam_yubico/pam_yubico-2.25.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..034bfdfc453 |
28 |
--- /dev/null |
29 |
+++ b/sys-auth/pam_yubico/pam_yubico-2.25.ebuild |
30 |
@@ -0,0 +1,41 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit multilib |
37 |
+ |
38 |
+DESCRIPTION="Library for authenticating against PAM with a Yubikey" |
39 |
+HOMEPAGE="https://github.com/Yubico/yubico-pam" |
40 |
+SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="ldap test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ virtual/pam |
49 |
+ sys-auth/libyubikey |
50 |
+ >=sys-auth/ykclient-2.15 |
51 |
+ >=sys-auth/ykpers-1.6 |
52 |
+ ldap? ( net-nds/openldap )" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ app-text/asciidoc |
55 |
+ test? ( dev-perl/Net-LDAP-Server )" |
56 |
+ |
57 |
+src_configure() { |
58 |
+ #challenge response could be optional but that seems horribly dangerous to me |
59 |
+ local myeconfargs=( |
60 |
+ --with-cr |
61 |
+ --with-pam-dir=/$(get_libdir)/security |
62 |
+ $(use_with ldap) |
63 |
+ ) |
64 |
+ econf "${myeconfargs[@]}" |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ default |
69 |
+ dodoc doc/* |
70 |
+ find "${D}" -name '*.la' -delete || die |
71 |
+} |