public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/browserpass/
Date: Fri, 30 Mar 2018 18:08:16 +0000 (UTC)	[thread overview]
Message-ID: <1522433291.2115146cc1d3ec5536d4fd4130ab50c995a54405.mgorny@gentoo> (raw)

commit:     2115146cc1d3ec5536d4fd4130ab50c995a54405
Author:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Mon Mar 19 18:53:17 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 18:08:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2115146c

www-plugins/browserpass: version bump to 2.0.13

Move binary to libexec

Closes: https://bugs.gentoo.org/650954
Closes: https://github.com/gentoo/gentoo/pull/7513

 www-plugins/browserpass/Manifest                  |  1 +
 www-plugins/browserpass/browserpass-2.0.13.ebuild | 50 +++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest
index 7bb299c0901..ddb9a53f288 100644
--- a/www-plugins/browserpass/Manifest
+++ b/www-plugins/browserpass/Manifest
@@ -1 +1,2 @@
 DIST browserpass-2.0.11.tar.gz 176787 BLAKE2B 271c3cf340ecc78c3358f21bc0e6bbcaf857b4ca39c7b0dcf58b1fcef62ea5df4f48adb4ac0bf7c884853f359fdb9ca00300e2f99efa48a1fdc0ba99ce7bd172 SHA512 baa362b63c1743273f56cb7576f96c29ca365fb217d3016824cdb1ce215e36b7f98fc7c3340a5a34853bde7c25283c84ceda570d149a8119bc54be2f0194034b
+DIST browserpass-2.0.13.tar.gz 180424 BLAKE2B e2a1796edf3b037553cb9bd33f072cd25953d8262fa584c371c3df638c77fc352953c698963325a5cee9b29c81cc010ded72bb31abac9460603796f4a95267ed SHA512 8d28144aef061770f11d7ba288dfa82f8873a263b8ccff235e26e83c55700e5ed0210dec2c2fb45751f3ad15d1894503407ec901d272783b98c466d74d9156f0

diff --git a/www-plugins/browserpass/browserpass-2.0.13.ebuild b/www-plugins/browserpass/browserpass-2.0.13.ebuild
new file mode 100644
index 00000000000..773137f9668
--- /dev/null
+++ b/www-plugins/browserpass/browserpass-2.0.13.ebuild
@@ -0,0 +1,50 @@
+# 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/fuzzy:=
+	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/libexec/browserpass|' \
+		-i firefox/host.json chrome/host.json || die
+	popd >/dev/null || die
+}
+
+src_install() {
+	exeinto /usr/libexec
+	doexe 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
+}


             reply	other threads:[~2018-03-30 18:08 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-30 18:08 Michał Górny [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-12-01 19:15 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-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=1522433291.2115146cc1d3ec5536d4fd4130ab50c995a54405.mgorny@gentoo \
    --to=mgorny@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