* [gentoo-commits] repo/gentoo:master commit in: app-admin/gopass/files/, app-admin/gopass/
@ 2019-02-05 0:20 Tim Harder
0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder @ 2019-02-05 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 365e33ca24998415fd62bea5db87337d8cb7c69f
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 31 19:49:19 2019 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Feb 5 00:17:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365e33ca
app-admin/gopass: version bump to 1.8.4
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
app-admin/gopass/Manifest | 1 +
app-admin/gopass/files/gopass-1.8.4-xc-tests.patch | 28 ++++++++++++++
app-admin/gopass/gopass-1.8.4.ebuild | 45 ++++++++++++++++++++++
3 files changed, 74 insertions(+)
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
index f87ee99549b..38d3a0f6d20 100644
--- a/app-admin/gopass/Manifest
+++ b/app-admin/gopass/Manifest
@@ -1 +1,2 @@
DIST gopass-1.8.3.tar.gz 6374004 BLAKE2B 1f3b66e8a631d94fbbb33347009a4614f180d7bd30f3d73e98f476fc81a3f5f0aef15c80705b1b4e871f333a3366cc051eb41785082bb90420a5d34f38e35e16 SHA512 bcf8e4cdb37355ae43d0d6d21e3248d3547fb3f1892bb2e8d5d8ddc47a784f75f4f404429733ac824bd66d719fe63fef7a1d58facde65a6d1820ecf14e7bd77e
+DIST gopass-1.8.4.tar.gz 6437993 BLAKE2B f01ded172ce4d39208325628e6cf9d001e6f97c23b604fd82b55c00996e3cea5f2597bab624aa333f88ac79f53ed34bc72c6b998fbded4346b36bf4131390693 SHA512 9884ddc9ec570261d4de2b873228092e0e503f47ffa62e034959a58aa475f16427944c8fe66f17f48e2f9f23ca6ea900950996b4ad7ba1e5b42dde31701839a9
diff --git a/app-admin/gopass/files/gopass-1.8.4-xc-tests.patch b/app-admin/gopass/files/gopass-1.8.4-xc-tests.patch
new file mode 100644
index 00000000000..5780f17bf34
--- /dev/null
+++ b/app-admin/gopass/files/gopass-1.8.4-xc-tests.patch
@@ -0,0 +1,28 @@
+Skip xc cli tests, 1.8.3 failed when run with no arguments for these commands
+but 1.8.4 doesn't.
+
+--- gopass-1.8.4/src/github.com/gopasspw/gopass/commands_test.go
++++ gopass-1.8.4/src/github.com/gopasspw/gopass/commands_test.go
+@@ -55,14 +55,14 @@
+ ".templates.remove": {},
+ ".templates.show": {},
+ ".unclip": {},
+- ".xc.decrypt": {},
+- ".xc.encrypt": {},
+- ".xc.export": {},
+- ".xc.export-private-key": {},
+- ".xc.generate": {},
+- ".xc.import": {},
+- ".xc.import-private-key": {},
+- ".xc.remove": {},
++ // ".xc.decrypt": {},
++ // ".xc.encrypt": {},
++ // ".xc.export": {},
++ // ".xc.export-private-key": {},
++ // ".xc.generate": {},
++ // ".xc.import": {},
++ // ".xc.import-private-key": {},
++ // ".xc.remove": {},
+ }
+
+ func TestGetCommands(t *testing.T) {
diff --git a/app-admin/gopass/gopass-1.8.4.ebuild b/app-admin/gopass/gopass-1.8.4.ebuild
new file mode 100644
index 00000000000..1733d999175
--- /dev/null
+++ b/app-admin/gopass/gopass-1.8.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/gopasspw/gopass"
+
+inherit golang-vcs-snapshot golang-build bash-completion-r1
+
+DESCRIPTION="a simple but powerful password manager for the terminal"
+HOMEPAGE="https://www.gopass.pw/"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.11"
+RDEPEND="
+ dev-vcs/git
+ >=app-crypt/gnupg-2
+"
+
+PATCHES=( "${FILESDIR}"/${P}-xc-tests.patch )
+
+src_install() {
+ dobin gopass
+
+ local DOCS=( src/${EGO_PN}/{CHANGELOG,CONTRIBUTING}.md src/${EGO_PN}/docs/*.md )
+ einstalldocs
+
+ # install fish completion
+ ./gopass completion fish > "${T}"/${PN}.fish || die
+ insinto /usr/share/fish/vendor_completions.d
+ doins "${T}"/${PN}.fish
+
+ # install bash completion
+ ./gopass completion bash > "${T}"/${PN} || die
+ dobashcomp "${T}"/${PN}
+
+ # install zsh completion
+ ./gopass completion zsh > "${T}"/${PN}.zsh || die
+ insinto /usr/share/zsh/site-functions
+ newins "${T}"/${PN}.zsh _${PN}
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-admin/gopass/files/, app-admin/gopass/
@ 2023-01-17 17:10 John Helmert III
0 siblings, 0 replies; 2+ messages in thread
From: John Helmert III @ 2023-01-17 17:10 UTC (permalink / raw
To: gentoo-commits
commit: 861854ad2e1385419dbb873711a1ace3d964c43c
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 17 16:21:08 2023 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 17:03:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=861854ad
app-admin/gopass: add 1.15.3, take maintainership
Closes: https://bugs.gentoo.org/844265
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
app-admin/gopass/Manifest | 2 +
.../gopass/files/gopass-1.15.3-skip-tests.patch | 45 ++++++++++++++++++++++
app-admin/gopass/gopass-1.15.3.ebuild | 45 ++++++++++++++++++++++
app-admin/gopass/metadata.xml | 5 ++-
4 files changed, 96 insertions(+), 1 deletion(-)
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest
index 2d26000f4a5b..eaf414350dbf 100644
--- a/app-admin/gopass/Manifest
+++ b/app-admin/gopass/Manifest
@@ -557,6 +557,8 @@ DIST google.golang.org%2Fprotobuf%2F@v%2Fv1.28.1.mod 124 BLAKE2B a5348258c468348
DIST google.golang.org%2Fprotobuf%2F@v%2Fv1.28.1.zip 1574540 BLAKE2B 3d93abc809895c9eb1651263b82290dff5e9a228c7d27b8b00495fa870449bde17478763198d7f77a09fddb7a22507ef0ec053efd6479e272046a5359f36815d SHA512 964ccc7019a964baffecea1fe739925952391e272b8d307a1716b275354383886c82eab887595f655490d907fe2bbdee7923ce9e4d4822a9905f622a94003ca5
DIST gopass-1.12.6.tar.gz 2172823 BLAKE2B 6f07d3b43653dd0e0028fdd9df16fe3438a5c16c7d268bae90430d445f4db7cb5cb2ff01a8be22543891fe6ad5f438191923416b7d4fdf8a7e2ad004ee9c47f4 SHA512 2e237d1135e79e0236091dac38329ce39aad901fa016366f618d92ddc61246f7496d73d8b7fc4e9e5cb723b60c7798736eb2359a3da5ac1a7dce6fa9bb63ae1b
DIST gopass-1.14.4.tar.gz 2246807 BLAKE2B ca9fc3f9b89c6f6fd71ad2a47f1ff20ebb5da986e71e8ba6abdf46ff42e521c47fa7aad72fa1ce8d1a127f3fbff0b5e550ab95fd86fedf275714947f225fa279 SHA512 f9bf3ff4d4cf842aeed8376eea440b646869d89158c4f2101a16359d217702845a2b1c5a807695fa9a5964640554e0995baf014c41cf95b4674f2296eb947a0d
+DIST gopass-1.15.3-deps.tar.xz 36970888 BLAKE2B e338ba7a6a248694d33116a68aefc3abbe3b6b3a9a86896b5a0c5286824bffb94bb2715c8e9c1fc6ad0715897fa39e8fd46c0734adaafe5318dcdbc0eb0ac4b2 SHA512 2a5a011b170cf2635ab33399dec5661bb7ce297508878a82f38a3b6090c4b75086592da59ff07b81873ee67786be345d3092c69730b7e3c4234b048df1898ae4
+DIST gopass-1.15.3.tar.gz 2293686 BLAKE2B f6a5191dbb6642f448103d0b5017d792be2d7ab7d1156ceeebe52dc7bdaf9b027bf417982f0eb7a189ad09a8df06eab1fc2a637c8219a72721d583542ab51372 SHA512 1638c681c4343ff42247d7de5c153e9f992d34fc46b97a5199047c38f2658d968e8bd81029447f7768b39bf432464eb2a24d25215a7cff228e108b3ca4536220
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20180628173108-788fd7840127.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
DIST gopkg.in%2Fcheck.v1%2F@v%2Fv1.0.0-20200227125254-8fa46927fb4f.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2
diff --git a/app-admin/gopass/files/gopass-1.15.3-skip-tests.patch b/app-admin/gopass/files/gopass-1.15.3-skip-tests.patch
new file mode 100644
index 000000000000..b62e013eeb96
--- /dev/null
+++ b/app-admin/gopass/files/gopass-1.15.3-skip-tests.patch
@@ -0,0 +1,45 @@
+commit 51d636df06aac4cae32ada625f0f1bb6dda4821d
+Author: John Helmert III <ajak@gentoo.org>
+Date: Tue Jan 17 09:39:32 2023 -0600
+
+ output_test: skip test broken on dates other than 2023-01-07
+
+ Confusingly, doesn't seem reproducible from a local checkout.
+
+ Signed-off-by: John Helmert III <ajak@gentoo.org>
+
+diff --git a/internal/audit/output_test.go b/internal/audit/output_test.go
+index 027aa3a5..34ef5387 100644
+--- a/internal/audit/output_test.go
++++ b/internal/audit/output_test.go
+@@ -10,6 +10,8 @@ import (
+ )
+
+ func TestHTML(t *testing.T) {
++ t.Skip("Broken on dates other than 2023-01-07")
++
+ r := newReport()
+
+ r.AddPassword("foo", "bar")
+
+commit 452fac08c13a7792fdad2eae404f27bd668b2fb1
+Author: John Helmert III <ajak@gentoo.org>
+Date: Tue Jan 17 09:39:13 2023 -0600
+
+ clone_test: skip test which tries to run gpg-agent
+
+ Signed-off-by: John Helmert III <ajak@gentoo.org>
+
+diff --git a/internal/action/clone_test.go b/internal/action/clone_test.go
+index c2757207..a5c4a21b 100644
+--- a/internal/action/clone_test.go
++++ b/internal/action/clone_test.go
+@@ -141,6 +141,8 @@ func TestCloneGetGitConfig(t *testing.T) {
+ }
+
+ func TestCloneCheckDecryptionKeys(t *testing.T) {
++ t.Skip("TODO: Trying to use gpg-agent fails in Portage tests")
++
+ u := gptest.NewUnitTester(t)
+
+ buf := &bytes.Buffer{}
diff --git a/app-admin/gopass/gopass-1.15.3.ebuild b/app-admin/gopass/gopass-1.15.3.ebuild
new file mode 100644
index 000000000000..c54c2b1d89a1
--- /dev/null
+++ b/app-admin/gopass/gopass-1.15.3.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
+ 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
+}
diff --git a/app-admin/gopass/metadata.xml b/app-admin/gopass/metadata.xml
index 33c302268961..f8265aca21b2 100644
--- a/app-admin/gopass/metadata.xml
+++ b/app-admin/gopass/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>ajak@gentoo.org</email>
+ <name>John Helmert III</name>
+ </maintainer>
<upstream>
<remote-id type="github">gopasspw/gopass</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-17 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-05 0:20 [gentoo-commits] repo/gentoo:master commit in: app-admin/gopass/files/, app-admin/gopass/ Tim Harder
-- strict thread matches above, loose matches on Subject: below --
2023-01-17 17:10 John Helmert III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox