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

Contents of /sys-auth/pam_yubico/pam_yubico-2.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 4 03:15:16 2015 UTC (4 years, 8 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
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-2014 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/ykclient-2.12
21 >=sys-auth/ykpers-1.6
22 ldap? ( net-nds/openldap )"
23 DEPEND="${RDEPEND}
24 app-text/asciidoc"
25
26 #src_prepare() {
27 # epatch "${FILESDIR}/2.11-drop_privs.patch"
28 # eautoreconf
29 #}
30
31 src_configure() {
32 #challenge response could be optional but that seems horribly dangerous to me
33 econf \
34 --with-cr \
35 $(use_with ldap) \
36 --with-pam-dir=/$(get_libdir)/security
37 }
38
39 src_install() {
40 default
41 dodoc doc/*
42 #prune_libtool_files #why doesn't this work?
43 find "${D}" -name '*.la' -delete || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20