commit: 9d13f1dc9a801c544d46712017f638ea7760b580 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Feb 7 03:49:11 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 7 03:49:11 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d13f1dc
www-plugins/browserpass: switch to dist tarball; wire up verify-sig The dist tarball includes vendor/ too. Closes: https://bugs.gentoo.org/969224 Signed-off-by: Sam James <sam <AT> gentoo.org> www-plugins/browserpass/Manifest | 2 + .../browserpass/browserpass-3.1.2-r1.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest index 016420033c93..d3a5e795c386 100644 --- a/www-plugins/browserpass/Manifest +++ b/www-plugins/browserpass/Manifest @@ -1,2 +1,4 @@ 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 +DIST browserpass-native-3.1.2-src.tar.gz 27980150 BLAKE2B baa1d900a7190f7c5e4422d353dd54d7fe3a7819ed49319fd646b49f66c77287ee452e9eda379f8937211b3359e0b97f5aa36b8b52acbdf85fd1d20342788aa0 SHA512 49e1459e235dec5c4f4419922724d0aabad74188cc716b869e8a16d07bcb394d65a13eea0ec1a93653035e0c137063f8604c71d6dd07d6ea3639dfa9e466dd40 +DIST browserpass-native-3.1.2-src.tar.gz.asc 228 BLAKE2B 8dfa3c2ca63e649a0d20bfd8276dfff3ffe031a9cce7c723d64e2e926fde3b6f3aebeab31efcccfeef1eb20d8bda78f681cafc872ffda30aca82c0c53dc3ac03 SHA512 5943fc22b125bd7f3b8a00d7f80defb11747cc65866030ddf27f1aff09eb7e25c9e9f05fe80d468c9dd4dff7bbca5dda1cdfa3a21c631eae045f351a44723b80 diff --git a/www-plugins/browserpass/browserpass-3.1.2-r1.ebuild b/www-plugins/browserpass/browserpass-3.1.2-r1.ebuild new file mode 100644 index 000000000000..1f14a2962bab --- /dev/null +++ b/www-plugins/browserpass/browserpass-3.1.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/maxbaz.asc +inherit go-module verify-sig +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/browserpass-native/releases/download/v${PV}/${MY_PN}-3.1.2-src.tar.gz + verify-sig? ( + https://github.com/browserpass/browserpass-native/releases/download/v${PV}/${MY_PN}-3.1.2-src.tar.gz.asc + ) +" +S="${WORKDIR}"/${MY_PN}-${PV} + +LICENSE="BSD ISC MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="app-crypt/gnupg" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-maxbaz )" + +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 +}
