Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-plugins/browserpass/
Date: Sat, 04 Jun 2022 19:51:56
Message-Id: 1654372307.dd42de0ac137bfc944c7dc9c9862e36d61f5aa55.mattst88@gentoo
1 commit: dd42de0ac137bfc944c7dc9c9862e36d61f5aa55
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 4 19:49:31 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 19:51:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd42de0a
7
8 www-plugins/browserpass: Version bump to 3.0.10
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 www-plugins/browserpass/Manifest | 2 ++
13 www-plugins/browserpass/browserpass-3.0.10.ebuild | 43 +++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest
17 index 343d276c7a1c..ee6544ebdf72 100644
18 --- a/www-plugins/browserpass/Manifest
19 +++ b/www-plugins/browserpass/Manifest
20 @@ -1,2 +1,4 @@
21 +DIST browserpass-3.0.10-deps.tar.xz 2508704 BLAKE2B 893aa8116bf6d021a9a8ca2b2fd7bcdc4686e8d3060a42255f702881b65c4cf20971e4c69b2f92520b9ad73439ffb92b73bc1013947a317840e4bdf090ea6439 SHA512 44e48d60e9656ef7b4ad74aebb9d2aa38ad42c77873143f857a1908daa81089544ef1b9cbc367e2566c910243e869a17203a8ecddd06650ff63c830defdf8244
22 +DIST browserpass-3.0.10.tar.gz 19242 BLAKE2B 822fb82b30b3f0faab5aad40af534f94b12636b476c9f704d8e1bd874e4dde2b2f4645553a43fcc79741aa06e30eac48bd26af8d6f868db0901330ecfaee6d35 SHA512 c8be34d3b0bd53f0d14f620826a223df44847ec7a2d6ee9fd9af776e640157bac2064a5eb21116942701d97e385f1d0bbf2c705a043e03ca62448db872c97c38
23 DIST browserpass-3.0.9-deps.tar.xz 2502124 BLAKE2B 8d54b5a5f7b3852d9ad2053795e7d211911e97a1182b60797a18fe1b4300b9f69256ffca7539324bd1f6f345d58546696337070f1eb96bb3155c72ed93e426df SHA512 226334f6cccc48bdc04b38909dbd4127300f74b71884a0abce4c2678046e55cf4feed43634a3544a870ca98a908bf83d96c331f422b9c314516c45d0e5e5f790
24 DIST browserpass-3.0.9.tar.gz 19260 BLAKE2B 51e99ba90e9c4e068e409a4a2c1811e4c95e87dee3d2d6ae58763b49065145e81ec90452496aecbd5595e8c9ba61fdfbd30790da9fbd92d48f0a80d8c43f8489 SHA512 967091176ff1a8ee184b61fcaa386a59f134e02dd7a064b3c16cb963d1334ca0a0d3281f1bfc150c69ec5d7f082abce9b811731902645d377a44f8fe4a31bc8f
25
26 diff --git a/www-plugins/browserpass/browserpass-3.0.10.ebuild b/www-plugins/browserpass/browserpass-3.0.10.ebuild
27 new file mode 100644
28 index 000000000000..086dfb387890
29 --- /dev/null
30 +++ b/www-plugins/browserpass/browserpass-3.0.10.ebuild
31 @@ -0,0 +1,43 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +inherit go-module
37 +MY_PN=browserpass-native
38 +
39 +DESCRIPTION="WebExtension host binary for app-admin/pass, a UNIX password manager"
40 +HOMEPAGE="https://github.com/browserpass/browserpass-native"
41 +
42 +SRC_URI="https://github.com/browserpass/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
43 + https://dev.gentoo.org/~mattst88/distfiles/${P}-deps.tar.xz"
44 +
45 +LICENSE="BSD ISC MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +RDEPEND="app-crypt/gnupg"
49 +
50 +S="${WORKDIR}"/${MY_PN}-${PV}
51 +
52 +src_compile() {
53 + ego build || die
54 +
55 + sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass-native|' \
56 + -i browser-files/firefox-host.json browser-files/chromium-host.json || die
57 +}
58 +
59 +src_install() {
60 + exeinto /usr/libexec
61 + doexe browserpass-native
62 +
63 + insinto /usr/lib/mozilla/native-messaging-hosts
64 + newins browser-files/firefox-host.json com.github.browserpass.native.json
65 +
66 + insinto /usr/lib64/mozilla/native-messaging-hosts
67 + newins browser-files/firefox-host.json com.github.browserpass.native.json
68 +
69 + insinto /etc/chromium/native-messaging-hosts
70 + newins browser-files/chromium-host.json com.github.browserpass.native.json
71 +
72 + insinto /etc/opt/chrome/native-messaging-hosts
73 + newins browser-files/chromium-host.json com.github.browserpass.native.json
74 +}