Lines 1-26
Link Here
|
1 |
# Copyright 1999-2020 Gentoo Authors |
1 |
# Copyright 1999-2020 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
inherit autotools flag-o-matic pam |
6 |
inherit autotools flag-o-matic pam |
7 |
|
7 |
|
8 |
DESCRIPTION="Library for authenticating against PAM with a Yubikey" |
8 |
DESCRIPTION="Library for authenticating against PAM with a FIDO2 or U2F token" |
9 |
HOMEPAGE="https://github.com/Yubico/pam-u2f" |
9 |
HOMEPAGE="https://github.com/Yubico/pam-u2f" |
10 |
SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz" |
10 |
SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz" |
11 |
|
11 |
|
12 |
LICENSE="BSD" |
12 |
LICENSE="BSD" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="amd64 x86" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="debug" |
15 |
IUSE="debug" |
16 |
|
16 |
|
17 |
RDEPEND=" |
17 |
RDEPEND="dev-libs/libfido2 |
18 |
app-crypt/libu2f-host |
|
|
19 |
app-crypt/libu2f-server:= |
20 |
sys-libs/pam" |
18 |
sys-libs/pam" |
21 |
|
19 |
DEPEND="${RDEPEND}" |
22 |
DEPEND="${RDEPEND} |
20 |
BDEPEND="virtual/pkgconfig" |
23 |
virtual/pkgconfig" |
|
|
24 |
|
21 |
|
25 |
PATCHES=( "${FILESDIR}/${PN}-1.0.2-fix-Makefile.patch" ) |
22 |
PATCHES=( "${FILESDIR}/${PN}-1.0.2-fix-Makefile.patch" ) |
26 |
|
23 |
|