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 4525F1382C5 for ; Wed, 7 Feb 2018 20:15:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72BB5E0900; Wed, 7 Feb 2018 20:15:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 43CF0E0900 for ; Wed, 7 Feb 2018 20:15:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9F75B335C4E for ; Wed, 7 Feb 2018 20:15:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A09301E5 for ; Wed, 7 Feb 2018 20:15:37 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1518034485.2f73d8f7fc0809a58dbe71355bd8c6756042c737.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/browserpass/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-plugins/browserpass/Manifest www-plugins/browserpass/browserpass-2.0.11.ebuild www-plugins/browserpass/metadata.xml X-VCS-Directories: www-plugins/browserpass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2f73d8f7fc0809a58dbe71355bd8c6756042c737 X-VCS-Branch: master Date: Wed, 7 Feb 2018 20:15:37 +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-Archives-Salt: b5d61aba-f29e-4950-b67c-95c745b58d4f X-Archives-Hash: 6acc1f631d71226bad8b8c51a5757e91 commit: 2f73d8f7fc0809a58dbe71355bd8c6756042c737 Author: Aric Belsito gmail com> AuthorDate: Thu Feb 1 00:59:04 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 7 20:14:45 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f73d8f7 www-plugins/browserpass: new package The Browserpass package provides the host binary necessary for the (Firefox or Chrome) browser extension to read your app-admin/pass password store to authenticate websites. Closes: https://github.com/gentoo/gentoo/pull/5836 www-plugins/browserpass/Manifest | 1 + www-plugins/browserpass/browserpass-2.0.11.ebuild | 48 +++++++++++++++++++++++ www-plugins/browserpass/metadata.xml | 12 ++++++ 3 files changed, 61 insertions(+) diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest new file mode 100644 index 00000000000..7bb299c0901 --- /dev/null +++ b/www-plugins/browserpass/Manifest @@ -0,0 +1 @@ +DIST browserpass-2.0.11.tar.gz 176787 BLAKE2B 271c3cf340ecc78c3358f21bc0e6bbcaf857b4ca39c7b0dcf58b1fcef62ea5df4f48adb4ac0bf7c884853f359fdb9ca00300e2f99efa48a1fdc0ba99ce7bd172 SHA512 baa362b63c1743273f56cb7576f96c29ca365fb217d3016824cdb1ce215e36b7f98fc7c3340a5a34853bde7c25283c84ceda570d149a8119bc54be2f0194034b diff --git a/www-plugins/browserpass/browserpass-2.0.11.ebuild b/www-plugins/browserpass/browserpass-2.0.11.ebuild new file mode 100644 index 00000000000..6abafb5c213 --- /dev/null +++ b/www-plugins/browserpass/browserpass-2.0.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN=github.com/dannyvankooten/browserpass + +if [[ ${PV} == 9999 ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="WebExtension host binary for pass, a UNIX password manager" +HOMEPAGE="https://github.com/dannyvankooten/browserpass" +LICENSE="MIT" +SLOT="0" +RDEPEND="app-crypt/gnupg" +DEPEND="${RDEPEND} + dev-go/twofactor:= + dev-go/zglob:=" + +DOCS=( CONTRIBUTING.md README.md ) + +src_compile() { + EGO_PN="${EGO_PN}/cmd/browserpass" golang-build_src_compile + + pushd "src/${EGO_PN}" >/dev/null || die + sed -e 's|%%replace%%|'${EPREFIX}'/usr/bin/browserpass|' \ + -i firefox/host.json chrome/host.json || die + popd >/dev/null || die +} + +src_install() { + dobin browserpass + + pushd "src/${EGO_PN}" >/dev/null || die + insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts + newins firefox/host.json com.dannyvankooten.browserpass.json + + insinto /etc/chromium/native-messaging-hosts + newins chrome/host.json com.dannyvankooten.browserpass.json + + einstalldocs + popd >/dev/null || die +} diff --git a/www-plugins/browserpass/metadata.xml b/www-plugins/browserpass/metadata.xml new file mode 100644 index 00000000000..004ae50f4a5 --- /dev/null +++ b/www-plugins/browserpass/metadata.xml @@ -0,0 +1,12 @@ + + + + + lluixhi@gmail.com + Aric Belsito + + + proxy-maint@gentoo.org + Proxy Maintainers + +