From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D8E371382C5 for ; Tue, 26 May 2020 14:20:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFFF3E090F; Tue, 26 May 2020 14:20:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C774BE090F for ; Tue, 26 May 2020 14:20:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F54234EEB7 for ; Tue, 26 May 2020 14:20:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 534869C for ; Tue, 26 May 2020 14:20:20 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1590502816.18e34db95edc7122e8c96e246005135087c85f01.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/google-authenticator/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/google-authenticator/Manifest sys-auth/google-authenticator/google-authenticator-1.09.ebuild X-VCS-Directories: sys-auth/google-authenticator/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 18e34db95edc7122e8c96e246005135087c85f01 X-VCS-Branch: master Date: Tue, 26 May 2020 14:20:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c4c4266c-3076-43ac-94cc-292aab71619a X-Archives-Hash: 3ec50a0d05b2a7bb5406ad791abd8b9a commit: 18e34db95edc7122e8c96e246005135087c85f01 Author: Craig Andrews gentoo org> AuthorDate: Tue May 26 14:19:07 2020 +0000 Commit: Craig Andrews gentoo org> CommitDate: Tue May 26 14:20:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e34db9 sys-auth/google-authenticator: 1.09 version bump Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Craig Andrews gentoo.org> sys-auth/google-authenticator/Manifest | 1 + .../google-authenticator-1.09.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/sys-auth/google-authenticator/Manifest b/sys-auth/google-authenticator/Manifest index af612807772..dc3e70fca85 100644 --- a/sys-auth/google-authenticator/Manifest +++ b/sys-auth/google-authenticator/Manifest @@ -1 +1,2 @@ DIST google-authenticator-1.08.tar.gz 62767 BLAKE2B ae1f5b1feac40da9beec28c81f39edfcc5e46df4cad4575d76deda9a183e8324ded79af9b7831c0572682749bb209b5371747b98a114af404d3225b9b0ff15f8 SHA512 f53d2fc20b5fa0f4621566509a2ef746077e3345de289bd2c9565440eb972e3a80807bf50a2cce8e2cc520df72c2e236629a921e3fce90fd635aff0c0ef36f75 +DIST google-authenticator-1.09.tar.gz 62944 BLAKE2B 85ddb0a9eec3d49eba1f9e84ca1375783fd21d19bd969ab9ca4324fd956628aea7bb937a2441bdb300ab0e157891962c9d9c979de17cc542df425f3528f00d95 SHA512 c71cec3200214f7a6c7f7f33fdc0f00e812b378940be92017785bbba82236b90d443977a2af12465285316e3dade0313f4d6df1f3d85f37f830d9877c7c33754 diff --git a/sys-auth/google-authenticator/google-authenticator-1.09.ebuild b/sys-auth/google-authenticator/google-authenticator-1.09.ebuild new file mode 100644 index 00000000000..27600a569c7 --- /dev/null +++ b/sys-auth/google-authenticator/google-authenticator-1.09.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git" + inherit git-r3 +else + SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + S="${WORKDIR}/google-authenticator-libpam-${PV}" +fi + +DESCRIPTION="PAM Module for two step verification via mobile platform" +HOMEPAGE="https://github.com/google/google-authenticator-libpam" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND="sys-libs/pam" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/1.08-remove-failing-tests.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # We might want to use getpam_mod_dir from pam eclass, + # but the build already appends "/security" for us. + econf --libdir="/$(get_libdir)" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +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 +}