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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 14 07:28:13 2015 UTC (4 years, 9 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version Bump; drop old

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

1 # Copyright 1999-2013 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.13.ebuild,v 1.2 2013/04/22 14:04:54 zerochaos Exp $
4
5 EAPI=5
6 inherit eutils autotools
7
8 DESCRIPTION="Library for authenticating against PAM with a Yubikey"
9 HOMEPAGE="https://code.google.com/p/yubico-pam/"
10 SRC_URI="http://yubico-pam.googlecode.com/files/${P}.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="ldap"
16
17 DEPEND="virtual/pam
18 >=sys-auth/ykclient-2.4
19 >=sys-auth/ykpers-1.6
20 ldap? ( net-nds/openldap )"
21 RDEPEND="${DEPEND}"
22
23 src_prepare() {
24 epatch "${FILESDIR}/2.11-drop_privs.patch"
25 eautoreconf
26 }
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 emake DESTDIR="${D}" install
38 dodoc AUTHORS ChangeLog NEWS README 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