/[gentoo-x86]/sys-auth/pam_yubico/pam_yubico-2.19-r1.ebuild
Gentoo

Contents of /sys-auth/pam_yubico/pam_yubico-2.19-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 4 03:15:16 2015 UTC (4 years, 8 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
add missing dep, fix tests in 2.19

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_yubico/pam_yubico-2.19.ebuild,v 1.1 2015/04/14 07:28:13 jlec Exp $
4
5 EAPI=5
6
7 inherit multilib
8
9 DESCRIPTION="Library for authenticating against PAM with a Yubikey"
10 HOMEPAGE="https://github.com/Yubico/yubico-pam"
11 SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="ldap test"
17
18 RDEPEND="
19 virtual/pam
20 sys-auth/libyubikey
21 >=sys-auth/ykclient-2.12
22 >=sys-auth/ykpers-1.6
23 ldap? ( net-nds/openldap )"
24 DEPEND="${RDEPEND}
25 app-text/asciidoc
26 test? ( dev-perl/Net-LDAP-Server )"
27
28 src_configure() {
29 #challenge response could be optional but that seems horribly dangerous to me
30 econf \
31 --with-cr \
32 $(use_with ldap) \
33 --with-pam-dir=/$(get_libdir)/security
34 }
35
36 src_install() {
37 default
38 dodoc doc/*
39 #prune_libtool_files #why doesn't this work?
40 find "${D}" -name '*.la' -delete || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20