diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /www-plugins/browserpass | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'www-plugins/browserpass')
-rw-r--r-- | www-plugins/browserpass/Manifest | 2 | ||||
-rw-r--r-- | www-plugins/browserpass/browserpass-3.0.6.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/www-plugins/browserpass/Manifest b/www-plugins/browserpass/Manifest index 4d07a612152a..506bb1ed9dcb 100644 --- a/www-plugins/browserpass/Manifest +++ b/www-plugins/browserpass/Manifest @@ -1,5 +1,7 @@ DIST browserpass-2.0.13.tar.gz 180424 BLAKE2B e2a1796edf3b037553cb9bd33f072cd25953d8262fa584c371c3df638c77fc352953c698963325a5cee9b29c81cc010ded72bb31abac9460603796f4a95267ed SHA512 8d28144aef061770f11d7ba288dfa82f8873a263b8ccff235e26e83c55700e5ed0210dec2c2fb45751f3ad15d1894503407ec901d272783b98c466d74d9156f0 DIST browserpass-2.0.22.tar.gz 49730 BLAKE2B a37d55a7b2a162a54931a3dde53b16e6c4d067f92dad129e92664dac726c3171938d5da94fe45c64227f4e4a860a12d0cdbb1aa147942f0199c2f4b9bed5fd7a SHA512 f3c19df72afd1387d7142b5e818dfe95a730c906277be0f16522986f387f659eb4a9decaf54eef5b6649ddc618d93b055c99b594fc4b949ce09a38cf2e6d9525 +DIST browserpass-3.0.6.tar.gz 17055 BLAKE2B aa2881631db8cc7f54f690cd56101c3e470528d990eed51b15aab6b834f63d4b9f576ee4e101dd61a6013ce25644058bfcc3673aaa037ce182c331754b27bddb SHA512 48cc93843afed5dc0df4f72956df44b325d6c772ad232d8faa2315c4d8b716eda9b030601e011b280445e0b01528f413e5b19818ad89cd7bcb06f4a1f4f9d3f4 EBUILD browserpass-2.0.13.ebuild 1267 BLAKE2B 1e6c1480fd6d34c5e7c3f29fe81e354c69d3772f46a286e533341a5b67bc0417c28d80d0d8e714ff0003eda2f059d212264d088b8616f239a8de2471d584d60c SHA512 ccd9d82e7bd208b1149c08e599bd17cead1dfe65fc6614475e9a08196b96e00294d3c9e56690126716a6c6be15f49889f6dabefdad33bca6115b07bb6f0281b8 EBUILD browserpass-2.0.22.ebuild 1377 BLAKE2B 417aede03579d7acc5cd984d777f68e03df21f67874e2d45fbbc261b77eeea0b6d4051c911a0cb3c169da38b745609b581a3d74d8e72b51c7d5248d58bfa1bde SHA512 4e68e4225979f9209d6b055b1fd2559be64a7032a663d0a6ff5c7bc86ae7cbc30f41084d533c598d646134381647728944f9283ac7c404bc81d1a0b42c6a6e1d +EBUILD browserpass-3.0.6.ebuild 1452 BLAKE2B d7125291725c1b5580c2d790e9294cfb69dae8fc0b69fd7eb9473ff2a74b5122b2b96fb224122e8365a017346d1a37ebeb5982f193fef6164a6301255bbfef16 SHA512 4f12769490c6bd3efad5ab211de01c1fa1387a0b9905fe792500c92bb504a8f22aae40bf152176a5edeea4a9cd6eaf49939772891b171f22164b5dea5493693b MISC metadata.xml 246 BLAKE2B c7559c694569e2eb079aa44ab82aac05dd7218624519133b1d1de233f6d4bce0872ada012e00dc369051e9685d9a25d314c05318d1b109ee81945dd739da51df SHA512 0d07f784095273f14c7d63a215a76c84fec302e6e52717f0e47c29916aa90149239dfe7ed3227a42e2863226e4448d8a2e8321ccc589ad6d9f725731b45559a2 diff --git a/www-plugins/browserpass/browserpass-3.0.6.ebuild b/www-plugins/browserpass/browserpass-3.0.6.ebuild new file mode 100644 index 000000000000..9792a5fd8f33 --- /dev/null +++ b/www-plugins/browserpass/browserpass-3.0.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=browserpass-native +EGO_PN=github.com/browserpass/${MY_PN} + +if [[ ${PV} == 9999 ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" +# MY_P="${MY_PN}-${PV}" +# S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/browserpass/${MY_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/browserpass/browserpass-native" +LICENSE="ISC" +SLOT="0" +RDEPEND="app-crypt/gnupg" +DEPEND="${RDEPEND} + dev-go/logrus:= + dev-go/zglob:=" + +src_compile() { + golang-build_src_compile + + pushd "src/${EGO_PN}" >/dev/null || die + sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass-native|' \ + -i browser-files/firefox-host.json browser-files/chromium-host.json || die + popd >/dev/null || die +} + +src_install() { + exeinto /usr/libexec + doexe browserpass-native + + pushd "src/${EGO_PN}" >/dev/null || die + 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 + + popd >/dev/null || die +} |