summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Helmert III <ajak@gentoo.org>2023-11-25 09:54:09 -0800
committerJohn Helmert III <ajak@gentoo.org>2023-11-25 09:56:18 -0800
commit022e5b1daef9ceeb2258b4effe0e1c8c1daeb926 (patch)
treedd28f74b4f7dd35ce77555db9b91247e49c68e0f /app-admin
parentdev-util/apitrace: Update waffle USE deps (diff)
downloadgentoo-022e5b1daef9ceeb2258b4effe0e1c8c1daeb926.tar.gz
gentoo-022e5b1daef9ceeb2258b4effe0e1c8c1daeb926.tar.bz2
gentoo-022e5b1daef9ceeb2258b4effe0e1c8c1daeb926.zip
app-admin/gopass: add 1.15.10
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/gopass/Manifest2
-rw-r--r--app-admin/gopass/gopass-1.15.10.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
index 165de76c9629..9edb61989bb2 100644
--- a/app-admin/gopass/Manifest
+++ b/app-admin/gopass/Manifest
@@ -1,3 +1,5 @@
+DIST gopass-1.15.10-deps.tar.xz 287839856 BLAKE2B 46c6b5ae3dbc2117aee7235776b627fcaffe819b283a6a25c3ad841dfe32584c2d80e1799abfc98b7bad22e1fdf62cba04365ce4c328a9db94d902bec8d85735 SHA512 317747e7b7370863790b7778367e0216b367d1b5f4be1af9f2d3828e1a960b746879a9e71cd195c51acbde914b7e3deed8a35eeb60780a21275b6993f77d695a
+DIST gopass-1.15.10.tar.gz 2319168 BLAKE2B 06e8b2a69401c66975c2fde7e34c0b3987d35800c9ce9d0e9a2035b20943d8af472a267cfd66a5529458f5a311502738ab8e972647b4b8ed737680c264a88d48 SHA512 62c8395a5781ad9c10ccb235f02fb080564ca956b0999054d1838cc89387c959ea6fd0e6f3bd81e85db1fa8cf14d539498d57a3cfd978a338f9011234ec23242
DIST gopass-1.15.8-deps.tar.xz 285946172 BLAKE2B a72ee73cfec9b6b55625eda6f3737d9133f99f1b951c79f87f7e5ea94ec1819fc7f1c3c0b4e16db255839b9e6865adac900f2a03911523ef088a108819b57802 SHA512 2a6293b1ac29f0d27d39d6faf29477a15b362cdd51f6e7c4b79074f7fa7709fdf71f167a96e81ade6429821fe68a9129859b95fc64f6bc2107b434d66a73c78a
DIST gopass-1.15.8.tar.gz 2309941 BLAKE2B 940855b30b132ca664e6e838cd1b3e8713a571e84c92ea873b0a0090df369492fdda46e1e2cf1e88f8e52ebe6308805ab707e9a74d3125396b0497ed2f79db5e SHA512 8c4f6fd750fa15dba7f81acccd4360c57e2454b7162625d38b1aa0d9d9fe218d2e7664c1505ff40450aab0cd829cc156b7e5544b64c790337078c6d86758cae7
DIST gopass-1.15.9-deps.tar.xz 287822700 BLAKE2B 49d521b256f9c02263027bcea4db0cb054cc08bbc2362a7a7dde422a595272c0c65ea35dc0e6ac8ad624b758f59fe8df218a72dc73b3bd5075b8762b3d6b4fc5 SHA512 616543120dff675ef85819e4f8726462a2f9b48404c770cd2043c766c19b6e9a4e5817c88832550028d5887b0f53125ed074232993b1fb7131b2e1864daeff92
diff --git a/app-admin/gopass/gopass-1.15.10.ebuild b/app-admin/gopass/gopass-1.15.10.ebuild
new file mode 100644
index 000000000000..f85c0b12c06a
--- /dev/null
+++ b/app-admin/gopass/gopass-1.15.10.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module optfeature
+
+DESCRIPTION="a simple but powerful password manager for the terminal"
+HOMEPAGE="https://www.gopass.pw/"
+SRC_URI="https://github.com/gopasspw/gopass/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~ajak/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="MIT Apache-2.0 BSD MPL-2.0 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+
+DEPEND=">=dev-lang/go-1.18"
+RDEPEND="
+ dev-vcs/git
+ >=app-crypt/gnupg-2
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.15.3-skip-tests.patch"
+)
+
+src_test() {
+ # https://github.com/gopasspw/gopass/blob/v1.15.3/.github/workflows/build.yml#L38
+ git config --global user.name nobody || die
+ git config --global user.email foo.bar@example.org || die
+
+ default
+}
+
+src_install() {
+ emake install DESTDIR="${ED}/usr"
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "browser integration" app-admin/gopass-jsonapi
+ optfeature "git credentials helper" app-admin/git-credential-gopass
+ optfeature "haveibeenpwnd.com integration" app-admin/gopass-hibp
+ optfeature "summon secrets helper" app-admin/gopass-summon-provider
+}