blob: 3a37255ed12a039e33385a3f456b8e9a1782de8c (
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
28
29
30
31
32
33
34
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit pam
DESCRIPTION="PAM module implementing authentication via OpenPGP smartcards"
HOMEPAGE="http://www.gnupg.org/"
SRC_URI="ftp://ftp.gnupg.org/gcrypt/alpha/poldi/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="usb"
DEPEND="dev-libs/libgcrypt
virtual/pam
>=dev-libs/libgpg-error-0.7
usb? ( >=dev-libs/libusb-0.1.10a )"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/*.diff
}
src_install() {
default
dopammod "${S}"/src/pam/pam_poldi.so
#ChangeLog and INSTALL are not usefull
dodoc AUTHORS NEWS README THANKS
dodir /etc/poldi
cp "${FILESDIR}"/poldi.conf.example "${D}"/etc/poldi
}
|