summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/google-authenticator/google-authenticator-1.0.ebuild')
-rw-r--r--sys-auth/google-authenticator/google-authenticator-1.0.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/sys-auth/google-authenticator/google-authenticator-1.0.ebuild b/sys-auth/google-authenticator/google-authenticator-1.0.ebuild
deleted file mode 100644
index ae869957d..000000000
--- a/sys-auth/google-authenticator/google-authenticator-1.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils toolchain-funcs pam
-
-DESCRIPTION="PAM Module for two step verification via mobile platform"
-HOMEPAGE="http://code.google.com/p/google-authenticator/"
-SRC_URI="http://${PN}.googlecode.com/files/libpam-${P}-source.tar.bz2"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="virtual/pam"
-
-RDEPEND="${DEPEND}"
-
-RESTRICT="test"
-# Test fails with:
-# pam_google_authenticator_unittest: pam_google_authenticator_unittest.c:317: main: Assertion `pam_sm_open_session(((void *)0), 0, targc, targv) == 0' failed.
-# No user name available when checking verification code
-
-S=${WORKDIR}/libpam-${P}
-
-src_prepare(){
- epatch "${FILESDIR}"/${P}-Makefile.patch
- tc-export CC
-}
-
-src_install(){
- dopammod pam_google_authenticator.so
- dobin google-authenticator
- dodoc README
- dohtml totp.html
-}
-
-pkg_postinst(){
- elog "For further information see"
- elog "http://wiki.gentoo.org/wiki/Google_Authenticator"
- elog ""
- elog "If you want support for QR-Codes, install media-gfx/qrencode."
-}