Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_u2f/
Date: Mon, 16 Jul 2018 23:05:06
Message-Id: 1531782286.7f1ae31ebd15c8fb5ea826965e1cf86cbd3dafb1.gokturk@gentoo
1 commit: 7f1ae31ebd15c8fb5ea826965e1cf86cbd3dafb1
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 16 23:04:20 2018 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 16 23:04:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f1ae31e
7
8 sys-auth/pam_u2f: bump to 1.0.7
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 sys-auth/pam_u2f/Manifest | 1 +
13 sys-auth/pam_u2f/pam_u2f-1.0.7.ebuild | 35 +++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest
17 index d09bbb2ded8..cddc058a24e 100644
18 --- a/sys-auth/pam_u2f/Manifest
19 +++ b/sys-auth/pam_u2f/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pam_u2f-1.0.4.tar.gz 349114 BLAKE2B 50811fe8b0076ff36af030e080593161a1f676f05d5eb970a50ea7092bac5bfe1832370d12b730be8422f7f42677ff950d5b3e932a6087a1698a4acba267c9d5 SHA512 324d1a1172eae567372f95971d9ee6bb237b47758b89c083f3cfb11275c4b0c22c4cf02a51380451f88d372dd6aaa415bdb671a43a7444062fbf8f50b658f087
22 DIST pam_u2f-1.0.6.tar.gz 375181 BLAKE2B eac1457cbfd7951fd617ea0cff4220d6e5fe6f3e33cbc960024a28a1ca09f376fced27afa8e5a23dc5bab1881c226497c41fea7041dd891a36e1be7ba18c09f3 SHA512 e169d3d251a132213c04570099164aee0cdcea4bca233432f13af47b2cc5e420e14b3fb6dcde20cb8f77f9ed677459bd641aa3f9c1da65c88cd7490e26ab25e3
23 +DIST pam_u2f-1.0.7.tar.gz 378513 BLAKE2B a5b48e7ed36052a517941bc4af2c88a9d66e0a911620832a9c6256b294b1fe291860f2d481db32ab9fdf6a4deebb8dd0c31de97ac52ff2411d707679d7a997d1 SHA512 5b8fe116782684e5da395a4923b4c300b0d4b6d9e297c8de5cc4ca2ed633fda30cdbc4ae6bbb8a582faf8068dbed13048a2b2f742ebe9eea208fbb7a407caf0a
24
25 diff --git a/sys-auth/pam_u2f/pam_u2f-1.0.7.ebuild b/sys-auth/pam_u2f/pam_u2f-1.0.7.ebuild
26 new file mode 100644
27 index 00000000000..c90ab12d94d
28 --- /dev/null
29 +++ b/sys-auth/pam_u2f/pam_u2f-1.0.7.ebuild
30 @@ -0,0 +1,35 @@
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 autotools flag-o-matic pam
37 +
38 +DESCRIPTION="Library for authenticating against PAM with a Yubikey"
39 +HOMEPAGE="https://github.com/Yubico/pam-u2f"
40 +SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="debug"
46 +
47 +RDEPEND="
48 + app-crypt/libu2f-host
49 + app-crypt/libu2f-server:=
50 + virtual/pam"
51 +
52 +DEPEND="${RDEPEND}
53 + virtual/pkgconfig"
54 +
55 +PATCHES=( "${FILESDIR}/${PN}-1.0.2-fix-Makefile.patch" )
56 +
57 +src_prepare() {
58 + default
59 + use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
60 + eautoreconf
61 +}
62 +
63 +src_configure() {
64 + econf --with-pam-dir=$(getpam_mod_dir)
65 +}