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

Contents of /sys-auth/pam_yubico/pam_yubico-2.17-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.17.ebuild,v 1.1 2014/10/06 08:12:58 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"
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
27 #src_prepare() {
28 # epatch "${FILESDIR}/2.11-drop_privs.patch"
29 # eautoreconf
30 #}
31
32 src_configure() {
33 #challenge response could be optional but that seems horribly dangerous to me
34 econf \
35 --with-cr \
36 $(use_with ldap) \
37 --with-pam-dir=/$(get_libdir)/security
38 }
39
40 src_install() {
41 default
42 dodoc doc/*
43 #prune_libtool_files #why doesn't this work?
44 find "${D}" -name '*.la' -delete || die
45 }

  ViewVC Help
Powered by ViewVC 1.1.20