summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger (mrueg) <gentoo@rueg.eu>2012-07-28 23:12:29 +0200
committerManuel Rüger (mrueg) <gentoo@rueg.eu>2012-07-28 23:12:29 +0200
commit6ff5bc8bd96e5cfe470ec1c645f7b9386dedaea5 (patch)
treec6c776b27031a78bd85911e4c30cd58f7d3dadcd /sys-auth/google-authenticator/google-authenticator-1.0.ebuild
parentnet-dns/nsd: version bump, security release for VU#517036 / CVE-2012-2979 (diff)
downloadsunrise-6ff5bc8bd96e5cfe470ec1c645f7b9386dedaea5.tar.gz
sunrise-6ff5bc8bd96e5cfe470ec1c645f7b9386dedaea5.tar.bz2
sunrise-6ff5bc8bd96e5cfe470ec1c645f7b9386dedaea5.zip
sys-auth/google-authenticator: Use pam.eclass, link to wiki article. Thanks to floppym
Diffstat (limited to 'sys-auth/google-authenticator/google-authenticator-1.0.ebuild')
-rw-r--r--sys-auth/google-authenticator/google-authenticator-1.0.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-auth/google-authenticator/google-authenticator-1.0.ebuild b/sys-auth/google-authenticator/google-authenticator-1.0.ebuild
index 6ba264879..ae869957d 100644
--- a/sys-auth/google-authenticator/google-authenticator-1.0.ebuild
+++ b/sys-auth/google-authenticator/google-authenticator-1.0.ebuild
@@ -4,7 +4,7 @@
EAPI=4
-inherit eutils toolchain-funcs multilib
+inherit eutils toolchain-funcs pam
DESCRIPTION="PAM Module for two step verification via mobile platform"
HOMEPAGE="http://code.google.com/p/google-authenticator/"
@@ -32,15 +32,15 @@ src_prepare(){
}
src_install(){
- dodoc README
- insinto $(get_libdir)/security
- doins pam_google_authenticator.so
+ dopammod pam_google_authenticator.so
dobin google-authenticator
+ dodoc README
+ dohtml totp.html
}
pkg_postinst(){
- elog "Add this line to your PAM configuration file in /etc/pam.d:"
- elog "auth required pam_google_authenticator.so"
+ 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."
}