commit:     ea27daf8ff611cf5c99efa230e2357689535c8f9
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  1 01:35:55 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Oct  1 01:37:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea27daf8

www-plugins/browserpass: Version bump to 3.1.2

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

 www-plugins/browserpass/Manifest                 |  2 ++
 www-plugins/browserpass/browserpass-3.1.2.ebuild | 45 ++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest
index 7e891f3715b9..a73a98b7714d 100644
--- a/www-plugins/browserpass/Manifest
+++ b/www-plugins/browserpass/Manifest
@@ -1,2 +1,4 @@
 DIST browserpass-3.1.0-deps.tar.xz 2416968 BLAKE2B 
e591c9dac93efea35daeeac6935319b6e6e1e5145a5eaeea1cec1252b24c6c036f54f11e552400a146e883c6f7efcaa3b1dd2fca023a84b632be8facfc253644
 SHA512 
27cdac3d42009cad45f58b3501eeeaca0daa921c071a675c11048951a0843656225f35772e3101a9149275afafa6567989072df4de20a0c49e2c693b41554131
 DIST browserpass-3.1.0.tar.gz 21835 BLAKE2B 
a6551f25681a2895a26654e2cc54451b3a08c6ab4cc5376e01fe1273f0866ebe44dec04de5ac113a1902b153884b3b7693a2675c8188d31360e83e860966fadf
 SHA512 
ca5b1c7b805e66e1ccea7c0a69b26ccceb307ae4707b7b284e79169d810e79c118ac174d893b589ca82051cddd08ae0e047dc339960c2faf261075cdaef25a3f
+DIST browserpass-3.1.2-deps.tar.xz 741508 BLAKE2B 
797c24cd0abccf8da423205664933ab8c1531099e91f7ef8221da973745cc740e755a2bc5154a654e257fc8c4148fed7a97455da985b834a5ae36d7bdc581a36
 SHA512 
6fbf1351dcf5643de0278f168cc9d2ae7e540b463cd64bd7fd73b5b1dffb8b6e84654096b6ad918eb279c1ac35a2f41198fed8a1016eea5f93e249f452b55833
+DIST browserpass-3.1.2.tar.gz 23030 BLAKE2B 
39530f2f29011c1574c2308549ca4298a2c9b3eb09b3008819b747e70c792bfa530ba2b430f001aa6c212b30de24cbf7ad7f59b407712f874e3dc95484d2e87f
 SHA512 
d715897198776a9aac37578fedf39cb6a9353ef7cf8cd98d7264255db919a636816f721c3f4baed7fa3f4ceebc6cce59d775677bed4f5684fccb36cdc330a344

diff --git a/www-plugins/browserpass/browserpass-3.1.2.ebuild 
b/www-plugins/browserpass/browserpass-3.1.2.ebuild
new file mode 100644
index 000000000000..2dcc265c1d99
--- /dev/null
+++ b/www-plugins/browserpass/browserpass-3.1.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+MY_PN=browserpass-native
+
+DESCRIPTION="WebExtension host binary for app-admin/pass, a UNIX password 
manager"
+HOMEPAGE="https://github.com/browserpass/browserpass-native";
+
+SRC_URI="https://github.com/browserpass/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+       https://dev.gentoo.org/~mattst88/distfiles/${P}-deps.tar.xz";
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+LICENSE="BSD ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="app-crypt/gnupg"
+
+src_compile() {
+       ego 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/lib/mozilla/native-messaging-hosts
+       newins browser-files/firefox-host.json 
com.github.browserpass.native.json
+
+       insinto /usr/lib64/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
+
+       insinto /etc/opt/vivaldi/native-messaging-hosts
+       newins browser-files/chromium-host.json 
com.github.browserpass.native.json
+}

Reply via email to