1 |
commit: e36ad411d55f2a6ad5112e60c630f08e6e6be595 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 15:48:03 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 15:49:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e36ad411 |
7 |
|
8 |
sys-auth/google-authenticator: 1.08 version bump |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/14197/ |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
13 |
|
14 |
sys-auth/google-authenticator/Manifest | 1 + |
15 |
.../google-authenticator-1.08.ebuild | 52 ++++++++++++++++++++++ |
16 |
2 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/sys-auth/google-authenticator/Manifest b/sys-auth/google-authenticator/Manifest |
19 |
index 660c726c269..a3941dbddba 100644 |
20 |
--- a/sys-auth/google-authenticator/Manifest |
21 |
+++ b/sys-auth/google-authenticator/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST google-authenticator-1.05.tar.gz 57778 BLAKE2B c31d7929e2aacffc159ee5384f6f31498585819b848f4f8b026519cf2f2fc566b8533e007844c64d348f1cf423a7175b3221f879c5c1ead360c4f1b3acea57ed SHA512 d97b26c6181dbce0612628484db37b1bf61e984fb2fb3d4974d04038e564404aa17415368dba524f0d17d96ec8d57ae4129b27f0c672d849d16ef03941d87996 |
24 |
DIST google-authenticator-1.06.tar.gz 62292 BLAKE2B 4eb7d6068a1b824c2299fb8d430b2deb04223690fee74a25c8e917e34200630628c3518a5aecc9fd1537d14d86062dc126191c086464b1c6b3d0207676155dc8 SHA512 a278360be1a3c5a03ddb38d40be45dbba16b6f565ee919377a918565bd8c567ce261890dc10d277edea4f469cf1da1d9cf2c9f3ccfeef8c6887d713c785a5440 |
25 |
DIST google-authenticator-1.07.tar.gz 62764 BLAKE2B 89fa794956bd39f6e1387b0a6ffbdee6b19496771d0e5c47c61c20fc02abaa7c9cd780595556a07cda01d9a6cf6e530752de6f9ac15157213dbb873cadaac010 SHA512 3e2bc9bfc3759f9004d08b1557868a33b628290b62aa9051d21072a66e18ca4b09cdef0fc8303943cb36ac5b61fe864a9de9fe0a1d8677ee86403cfd4c89c1fb |
26 |
+DIST google-authenticator-1.08.tar.gz 62767 BLAKE2B ae1f5b1feac40da9beec28c81f39edfcc5e46df4cad4575d76deda9a183e8324ded79af9b7831c0572682749bb209b5371747b98a114af404d3225b9b0ff15f8 SHA512 f53d2fc20b5fa0f4621566509a2ef746077e3345de289bd2c9565440eb972e3a80807bf50a2cce8e2cc520df72c2e236629a921e3fce90fd635aff0c0ef36f75 |
27 |
|
28 |
diff --git a/sys-auth/google-authenticator/google-authenticator-1.08.ebuild b/sys-auth/google-authenticator/google-authenticator-1.08.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..a087b7c5550 |
31 |
--- /dev/null |
32 |
+++ b/sys-auth/google-authenticator/google-authenticator-1.08.ebuild |
33 |
@@ -0,0 +1,52 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit autotools |
40 |
+ |
41 |
+if [[ ${PV} == 9999 ]] ; then |
42 |
+ EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
47 |
+ S="${WORKDIR}/google-authenticator-libpam-${PV}" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="PAM Module for two step verification via mobile platform" |
51 |
+HOMEPAGE="https://github.com/google/google-authenticator-libpam" |
52 |
+ |
53 |
+LICENSE="Apache-2.0" |
54 |
+SLOT="0" |
55 |
+IUSE="" |
56 |
+ |
57 |
+DEPEND="sys-libs/pam" |
58 |
+RDEPEND="${DEPEND}" |
59 |
+ |
60 |
+RESTRICT="test" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ eautoreconf |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ # We might want to use getpam_mod_dir from pam eclass, |
69 |
+ # but the build already appends "/security" for us. |
70 |
+ econf --libdir="/$(get_libdir)" |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ find "${D}" -name '*.la' -delete || die |
76 |
+} |
77 |
+ |
78 |
+pkg_postinst() { |
79 |
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then |
80 |
+ elog "For further information see" |
81 |
+ elog "https://wiki.gentoo.org/wiki/Google_Authenticator" |
82 |
+ elog "" |
83 |
+ elog "If you want support for QR-Codes, install media-gfx/qrencode." |
84 |
+ fi |
85 |
+} |