public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/browserpass/
Date: Sun,  1 Dec 2019 19:15:18 +0000 (UTC)	[thread overview]
Message-ID: <1575227245.fcf8d7aab3930f17f936cb8aff06379b24dd2e61.mattst88@gentoo> (raw)

commit:     fcf8d7aab3930f17f936cb8aff06379b24dd2e61
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  1 18:27:17 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Dec  1 19:07:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf8d7aa

www-plugins/browserpass: Port to go-module

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 www-plugins/browserpass/Manifest                   |  3 ++
 .../browserpass/browserpass-3.0.6-r1.ebuild        | 47 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest
index 0ecc5f7ed2e..fac189e8da7 100644
--- a/www-plugins/browserpass/Manifest
+++ b/www-plugins/browserpass/Manifest
@@ -1 +1,4 @@
 DIST browserpass-3.0.6.tar.gz 17055 BLAKE2B aa2881631db8cc7f54f690cd56101c3e470528d990eed51b15aab6b834f63d4b9f576ee4e101dd61a6013ce25644058bfcc3673aaa037ce182c331754b27bddb SHA512 48cc93843afed5dc0df4f72956df44b325d6c772ad232d8faa2315c4d8b716eda9b030601e011b280445e0b01528f413e5b19818ad89cd7bcb06f4a1f4f9d3f4
+DIST github.com-golang-sys-6d18c012aee9febd81bbf9806760c8c4480e870d.tar.gz 1532865 BLAKE2B 35294c250562b5338ab9367cdd1f1b536e83914b915981cf503997456be45efcc1567ac0309d4b41a5918f0fb3735e256a5496056db618b67745ffc8423383fe SHA512 18a6556545687f54b637c4631189419272c3664f48c283c8cb011aed36fad8ab297b5301b0ee268e5841781b0e6d01f2296e9746a7627196633a69b15f96b7ea
+DIST github.com-mattn-go-zglob-a8912a37f9e7.tar.gz 8030 BLAKE2B 2c7719a15f598b06d479bf35b1154b0685ee94d7c94bae9a3e3ae63b0706b63c885cd226e2749402a92d5937a5d8b03aa94ccf14fad6c8adbaf438ed131f04f4 SHA512 ebcd8096a15082f454be3d6349e1ae092696db52b843ca2cad84fb4ba8f5f9411db7b9bf40e387238e30c33495062ee711de4249e56889fa059c9c6ccd1600f0
+DIST github.com-sirupsen-logrus-v1.4.2.tar.gz 41373 BLAKE2B 3675dd82fd9c174fddf93eea87f3ca2c2671d9719ba148b03136c35ce6a3ce95866c57cb706a641a14522a522606dc9ea9ec9f0a6c7da6f8cf18f46b9f4bd3ee SHA512 c29689e5ea0ff919afc6fe1c492898d8b898e6831c442d3fc45c29508bdfda08604b1ea09d3b17db401bddca69fd5f8f744610075ee3c0577df6a537e0980a13

diff --git a/www-plugins/browserpass/browserpass-3.0.6-r1.ebuild b/www-plugins/browserpass/browserpass-3.0.6-r1.ebuild
new file mode 100644
index 00000000000..e02b6f12b69
--- /dev/null
+++ b/www-plugins/browserpass/browserpass-3.0.6-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+DESCRIPTION="WebExtension host binary for app-admin/pass, a UNIX password manager"
+HOMEPAGE="https://github.com/browserpass/browserpass-native"
+
+EGO_VENDOR=(
+	"github.com/mattn/go-zglob a8912a37f9e7" # MIT
+	"github.com/sirupsen/logrus v1.4.2" # MIT
+	"golang.org/x/sys 6d18c012aee9febd81bbf9806760c8c4480e870d github.com/golang/sys" # BSD
+)
+
+MY_PN=browserpass-native
+SRC_URI="https://github.com/browserpass/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+	$(go-module_vendor_uris)"
+
+LICENSE="BSD ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+DEPEND=""
+RDEPEND="app-crypt/gnupg"
+
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+src_compile() {
+	go build || die
+
+	sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass-native|' \
+		-i browser-files/firefox-host.json browser-files/chromium-host.json || die
+}
+
+src_install() {
+	exeinto /usr/libexec
+	doexe browserpass-native
+
+	insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts
+	newins browser-files/firefox-host.json com.github.browserpass.native.json
+
+	insinto /etc/chromium/native-messaging-hosts
+	newins browser-files/chromium-host.json com.github.browserpass.native.json
+
+	insinto /etc/opt/chrome/native-messaging-hosts
+	newins browser-files/chromium-host.json com.github.browserpass.native.json
+}


             reply	other threads:[~2019-12-01 19:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-01 19:15 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-30  3:22 [gentoo-commits] repo/gentoo:master commit in: www-plugins/browserpass/ Matt Turner
2023-04-09  2:10 Matt Turner
2022-11-10  5:06 Arthur Zamarin
2022-07-22 19:30 Matt Turner
2022-06-04 19:51 Matt Turner
2022-03-08  0:31 Matt Turner
2022-03-08  0:31 Matt Turner
2022-02-27  5:33 Matt Turner
2022-02-14  6:40 Matt Turner
2020-11-17  5:37 Matt Turner
2020-08-24 21:03 Matt Turner
2020-03-09  0:07 Matt Turner
2020-03-08 23:00 William Hubbs
2020-02-24 16:30 Matt Turner
2019-04-13 18:06 Matt Turner
2018-09-19  5:51 Matt Turner
2018-09-19  5:51 Matt Turner
2018-09-19  5:51 Matt Turner
2018-07-07 12:15 Jonas Stein
2018-03-30 18:08 Michał Górny
2018-02-07 20:15 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1575227245.fcf8d7aab3930f17f936cb8aff06379b24dd2e61.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox