logo

overlay

Personnal gentoo overlay
commit: 2e2b2ac9bbebf2a25c9e3e10c4d48b87fcdc430d
parent: e90bff385ae514f26954f4b35e3da7c46f4b8181
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 29 Mar 2017 22:01:09 +0200

app-admin/pass-otp: New package, import 0.1.0 from ::wjn-overlay

Diffstat:

app-admin/pass-otp/Manifest | 2++
app-admin/pass-otp/metadata.xml | 14++++++++++++++
app-admin/pass-otp/pass-otp-0.1.0.ebuild | 28++++++++++++++++++++++++++++
app-admin/pass-otp/pass-otp-1.0.0.ebuild | 25+++++++++++++++++++++++++
4 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/app-admin/pass-otp/Manifest b/app-admin/pass-otp/Manifest @@ -0,0 +1,2 @@ +DIST pass-otp-0.1.0.tar.gz 4911 SHA256 9c82a0e60ab77ba101da8e021665b11185ff204b31c97168ea88c70be3971439 SHA512 fd11baf5c41a3b7579e5f338345166f39d9fdef585d7b374f4879ac7ae5c5df68e9914fcc6ee34ca808036638f3d693d05dff7abef411a93222d9d9453aad88b WHIRLPOOL 3cdcd53d4d8fd5c6bec50ee945c36d6ff01570d6d6d2655fda01f2ee72157bf4d11261631714acf8bc9557eaaed2144ecd65a0eecfe651c444ac404a08bbdbba +DIST pass-otp-1.0.0.tar.gz 31737 SHA256 ed409b50c417814f9feed913bb4c09916a10f635404a6d8c2f4e842319c58052 SHA512 44f7ec9eb7ca8c5d153fd520fe55c6304bad59e208f56c84b73afbea7cec04d057d267373504786665cd77c5958a48b57938c8b3641de0b0e7f255f6afa81590 WHIRLPOOL 2b4bdc71d72ff7ca7c7f3c49d23cf632f89f4b16fa200ac74c4aa4f4c65ce87cc2c3752a1fb053dac7c037bd54c21053c1bf72448e6aadeff2ccf1c1da1dd0e1 diff --git a/app-admin/pass-otp/metadata.xml b/app-admin/pass-otp/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<name>Haelwenn (lanodan) Monnier</name> +<email>contact@hacktivis.me</email> +</maintainer> +<longdescription lang="en"> +A pass extension for managing one-time-password (OTP) tokens. +</longdescription> +<use> +<flag name="qrcode">Add support for qtcodes using <pkg>media-gfx/qrencode</pkg></flag> +</use> +</pkgmetadata> diff --git a/app-admin/pass-otp/pass-otp-0.1.0.ebuild b/app-admin/pass-otp/pass-otp-0.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A pass extension for managing one-time-password (OTP) tokens." +HOMEPAGE="https://github.com/tadfisher/pass-otp" +SRC_URI="https://github.com/tadfisher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qrcode" + +COMMON_DEPEND="app-shells/bash:*" +DEPEND=${COMMON_DEPEND} +RDEPEND="${COMMON_DEPEND} + >=app-admin/pass-1.7 + qrcode? ( media-gfx/qrencode ) + sys-auth/oath-toolkit" + +src_compile() { + : +} + +pkg_postinst() { + elog "'PASSWORD_STORE_ENABLE_EXTENSIONS=true' is needed to run 'pass otp'." +} diff --git a/app-admin/pass-otp/pass-otp-1.0.0.ebuild b/app-admin/pass-otp/pass-otp-1.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A pass extension for managing one-time-password (OTP) tokens." +HOMEPAGE="https://github.com/tadfisher/pass-otp" +SRC_URI="https://github.com/tadfisher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qrcode" + +RDEPEND=">=app-admin/pass-1.7 + qrcode? ( media-gfx/qrencode ) + sys-auth/oath-toolkit" + +src_compile() { + : +} + +pkg_postinst() { + elog "'PASSWORD_STORE_ENABLE_EXTENSIONS=true' is needed to run 'pass otp'." +}