mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-auth/google-authenticator: remove 1.01_pre20160307231538
Package-Manager: Portage-2.3.14, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST google-authenticator-1.01_pre20160307231538.tar.xz 255316 BLAKE2B 3c121321c6cf3e97c3deb70b9313ed289b8edd8109396e84fee7d0ad90a76e67e95626d5cca2057ca195dc55fb674e14553cbb8c59559f35211800aea093de2b SHA512 cee3898b7afec54079968ff0690f076b78512b0b2c982ef5bedb2d6c5850b103c80191caa4b172069a83eb4d15ea4fce5b3f5eefdb36aa0426d985ba29736108
|
||||
DIST google-authenticator-1.04.tar.gz 54019 BLAKE2B 06afb1be1ceabb68bb7ba94921af415fe1dfd68b3b1ed75b58b3c5a58901ec482ae11063f487db0a7032868e833644022335ad9844f54734c2ad78c514f255a8 SHA512 e4b8ad74301312e17edd0a7f25257086fd805c8d5215b06b71d96e9a64a71b2c87d0c5a532d9eca21d6d67e30c02c2c2c77dbd338a2f49af25c32dcd355ee98e
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/google/${PN}.git"
|
||||
inherit git-r3 autotools
|
||||
S="${WORKDIR}/${P}/libpam"
|
||||
else
|
||||
MY_P=${P%_pre*}
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="PAM Module for two step verification via mobile platform"
|
||||
HOMEPAGE="https://github.com/google/google-authenticator"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/pam"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We might want to use getpam_mod_dir from pam eclass,
|
||||
# but the build already appends "/security" for us.
|
||||
econf \
|
||||
--docdir="\$(datarootdir)/doc/${PF}" \
|
||||
--htmldir='$(docdir)/html' \
|
||||
--libdir="/$(get_libdir)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u "+%Y%m%d%H%M%S")
|
||||
emake dist
|
||||
|
||||
local otar=$(echo ${PN}-*.tar.gz)
|
||||
local ntar="${otar%.tar.gz}_pre${stamp}.tar.xz"
|
||||
zcat "${otar}" | xz > "${ntar}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# Punt the pam module libtool archive.
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "For further information see"
|
||||
elog "https://wiki.gentoo.org/wiki/Google_Authenticator"
|
||||
elog ""
|
||||
elog "If you want support for QR-Codes, install media-gfx/qrencode."
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user