* [gentoo-commits] repo/gentoo:master commit in: sys-auth/google-authenticator-libpam-hardened/
@ 2018-09-09 7:03 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2018-09-09 7:03 UTC (permalink / raw
To: gentoo-commits
commit: f3855f930fa9a63eb5f28c7cb3b40211506d0a6a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 9 07:00:31 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 9 07:03:50 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3855f93
sys-auth/google-authenticator-libpam-hardened: Initial live ebuild
Initial live ebuild for my fork of my hardened google-authenticator PAM
module. Includes support for SHA-2 HMAC and 8-digit OTP codes, removes
bundled code and the possibility of incidentally sending your secrets
over to Google.
...oogle-authenticator-libpam-hardened-9999.ebuild | 41 ++++++++++++++++++++++
.../metadata.xml | 15 ++++++++
2 files changed, 56 insertions(+)
diff --git a/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild b/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild
new file mode 100644
index 00000000000..9ce8f782e77
--- /dev/null
+++ b/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_REPO_URI="https://github.com/mgorny/google-authenticator-libpam-hardened.git"
+inherit autotools git-r3
+
+DESCRIPTION="PAM Module for two step verification via mobile platform"
+HOMEPAGE="https://github.com/mgorny/google-authenticator-libpam-hardened"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+qrcode"
+
+DEPEND="sys-auth/oath-toolkit:=
+ virtual/pam
+ qrcode? ( media-gfx/qrencode:= )"
+RDEPEND="${DEPEND}
+ !sys-auth/google-authenticator"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ # TODO: use getpam_mod_dir after fixing build system
+ --libdir="/$(get_libdir)"
+
+ $(use_enable qrcode qrencode)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/sys-auth/google-authenticator-libpam-hardened/metadata.xml b/sys-auth/google-authenticator-libpam-hardened/metadata.xml
new file mode 100644
index 00000000000..40610c9eb28
--- /dev/null
+++ b/sys-auth/google-authenticator-libpam-hardened/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name='qrcode'>Display QRcode after setup to accomodate
+ automatic setup of OTP client apps.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">mgorny/google-authenticator-libpam-hardened</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-auth/google-authenticator-libpam-hardened/
@ 2019-10-12 21:15 Mikle Kolyada
0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2019-10-12 21:15 UTC (permalink / raw
To: gentoo-commits
commit: 8706647b6110071d14334bf9a9ddad2cee81d00a
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 21:15:07 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 21:15:07 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8706647b
sys-auth/google-authenticator-libpam-hardened: migrate to sys-libs/pam
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
.../google-authenticator-libpam-hardened-9999.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild b/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild
index 9ce8f782e77..4858a2c5daa 100644
--- a/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild
+++ b/sys-auth/google-authenticator-libpam-hardened/google-authenticator-libpam-hardened-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,7 +14,7 @@ SLOT="0"
IUSE="+qrcode"
DEPEND="sys-auth/oath-toolkit:=
- virtual/pam
+ sys-libs/pam
qrcode? ( media-gfx/qrencode:= )"
RDEPEND="${DEPEND}
!sys-auth/google-authenticator"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-12 21:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-12 21:15 [gentoo-commits] repo/gentoo:master commit in: sys-auth/google-authenticator-libpam-hardened/ Mikle Kolyada
-- strict thread matches above, loose matches on Subject: below --
2018-09-09 7:03 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox