1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs pam
9 DESCRIPTION="PAM Module for two step verification via mobile platform"
10 HOMEPAGE="http://code.google.com/p/google-authenticator/"
11 SRC_URI="http://${PN}.googlecode.com/files/libpam-${P}-source.tar.bz2"
15 KEYWORDS="~amd64 ~x86"
24 # pam_google_authenticator_unittest: pam_google_authenticator_unittest.c:317: main: Assertion `pam_sm_open_session(((void *)0), 0, targc, targv) == 0' failed.
25 # No user name available when checking verification code
27 S=${WORKDIR}/libpam-${P}
30 epatch "${FILESDIR}"/${P}-Makefile.patch
35 dopammod pam_google_authenticator.so
36 dobin google-authenticator
42 elog "For further information see"
43 elog "http://wiki.gentoo.org/wiki/Google_Authenticator"
45 elog "If you want support for QR-Codes, install media-gfx/qrencode."