blob: 9711b249e9c215a467133805808a2f80beb4c82a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic pam
DESCRIPTION="PAM module for FIDO2 and U2F keys"
HOMEPAGE="https://github.com/Yubico/pam-u2f"
SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
LICENSE="BSD ISC"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE="debug"
DEPEND="
dev-libs/libfido2:=
dev-libs/openssl:=
sys-libs/pam"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
econf --with-pam-dir=$(getpam_mod_dir)
}
|