diff options
author | Aric Belsito <lluixhi@gmail.com> | 2018-01-31 16:56:47 -0800 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-07 21:14:10 +0100 |
commit | a69aaa6e5ed446ba08db584b4c61d577f565d29f (patch) | |
tree | 341501d6d6786ff20b92a0aa83456e8e41f52ad1 /dev-go/twofactor | |
parent | dev-go/qr: new package (diff) | |
download | gentoo-a69aaa6e5ed446ba08db584b4c61d577f565d29f.tar.gz gentoo-a69aaa6e5ed446ba08db584b4c61d577f565d29f.tar.bz2 gentoo-a69aaa6e5ed446ba08db584b4c61d577f565d29f.zip |
dev-go/twofactor: new package
dependency of www-plugins/browserpass
Diffstat (limited to 'dev-go/twofactor')
-rw-r--r-- | dev-go/twofactor/Manifest | 1 | ||||
-rw-r--r-- | dev-go/twofactor/metadata.xml | 12 | ||||
-rw-r--r-- | dev-go/twofactor/twofactor-0_p20170917.ebuild | 23 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-go/twofactor/Manifest b/dev-go/twofactor/Manifest new file mode 100644 index 000000000000..dc808c9ab837 --- /dev/null +++ b/dev-go/twofactor/Manifest @@ -0,0 +1 @@ +DIST twofactor-0_p20170917.tar.gz 6637 BLAKE2B e6090a420f7d98063aa01f1c88c1dbe20103cdc4fa30d8fa9b235431f2d8cdcf1aee3cf7773a97916716aa8d0e257adc3f854db138da7c2541eef7cf1ebd493b SHA512 d3cd43d7fe2c819fa9a4ea1eacdb9508d20d54d638239c379fa8ca6ca83ecd67a06aff054c023b55e4555a227a725fd21caace55159a544fd389e30e67c363ad diff --git a/dev-go/twofactor/metadata.xml b/dev-go/twofactor/metadata.xml new file mode 100644 index 000000000000..004ae50f4a5f --- /dev/null +++ b/dev-go/twofactor/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" > + <email>lluixhi@gmail.com</email> + <name>Aric Belsito</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/dev-go/twofactor/twofactor-0_p20170917.ebuild b/dev-go/twofactor/twofactor-0_p20170917.ebuild new file mode 100644 index 000000000000..7a71738b87b3 --- /dev/null +++ b/dev-go/twofactor/twofactor-0_p20170917.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN=github.com/gokyle/twofactor + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT=eaad1884d40f9cabff98a57a524c17afd00c9fe7 + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Two-factor authentication library for Go" +HOMEPAGE="https://github.com/gokyle/twofactor" +LICENSE="MIT" +SLOT="0/${PVR}" +RDEPEND="" +DEPEND="${RDEPEND} + dev-go/qr:=" |