diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /app-admin/gopass | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'app-admin/gopass')
| -rw-r--r-- | app-admin/gopass/Manifest | 4 | ||||
| -rw-r--r-- | app-admin/gopass/files/gopass-1.15.3-skip-tests.patch | 45 | ||||
| -rw-r--r-- | app-admin/gopass/gopass-1.15.15.ebuild | 46 | ||||
| -rw-r--r-- | app-admin/gopass/gopass-1.16.1-r1.ebuild | 64 | ||||
| -rw-r--r-- | app-admin/gopass/metadata.xml | 11 |
5 files changed, 170 insertions, 0 deletions
diff --git a/app-admin/gopass/Manifest b/app-admin/gopass/Manifest new file mode 100644 index 000000000000..242874abdd9b --- /dev/null +++ b/app-admin/gopass/Manifest @@ -0,0 +1,4 @@ +DIST gopass-1.15.15-deps.tar.xz 132123176 BLAKE2B 9ae5d2fe422162cedfa2b0e031885efe8f2fdc03de4d9d8698033554bbbb99eb7602834f7f1e107677b054264151cf62f8ff8349713e49e55d2489c2275d47d6 SHA512 33d0d60e9f020edccffd8c2bb71d2f038dd0d5ddca012a19ab47a4efc172660ae13d77283bc2103cf7466353d52a461a15b84309f1e1781ecd00b35db4bb5b25 +DIST gopass-1.15.15.tar.gz 2335086 BLAKE2B a871decc50024cee032ed2d494da05ea6443de500138a0067120fd070c7797e03e81676edbeb71301a503a13644cc1878c702ffa72a970a835f59543941b75b0 SHA512 f5949d0e21ce7e9de9ae8d89e2371ed4fe0c2ffbb112f9529b8e6361a327c2692e1355b50f8f962c333e2ce397ba024b5ac90b4239851905c67baf3e363b1737 +DIST gopass-1.16.1-vendor.tar.xz 3518212 BLAKE2B de90973473f376e21d4f58b78bab9802827d32c0eee842d4ebf8b01d6b627018c384d3f9b024711b30b0d1fe445423985a1c7531146b949c6204e45553f2d370 SHA512 a3d84a1866bfb39c64480756460ba3da0804aad0d22c4560b6bf1ac37dd6a6e7f8eb13e323bbe68ad1b808a4d5d689239dce589f95cee2545f48d2b889637dba +DIST gopass-1.16.1.tar.gz 2932178 BLAKE2B 6a9ddbae78977f11056549bcbcdea79dfe01dcb035068fd0095b475612a552315086c97c8d298f30d76e5e8fcc8738bcca2d3a270fea76189a29f2c1117971d1 SHA512 d3bcbc3b2dea57a0a876dd873fee07a8452a3a9b877c8328dac94ba0e9c6fce23b4116a2758c1e66b8cd17ce8305b9521a9900d83b2a508e4c464467f4b61aec 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.15.ebuild b/app-admin/gopass/gopass-1.15.15.ebuild new file mode 100644 index 000000000000..eb96b9f61fc3 --- /dev/null +++ b/app-admin/gopass/gopass-1.15.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 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 ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND=">=dev-lang/go-1.18" +RDEPEND=" + dev-vcs/git + >=app-crypt/gnupg-2 +" +BDEPEND="sys-apps/which" + +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/gopass-1.16.1-r1.ebuild b/app-admin/gopass/gopass-1.16.1-r1.ebuild new file mode 100644 index 000000000000..779f3935e031 --- /dev/null +++ b/app-admin/gopass/gopass-1.16.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2026 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://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz" + +LICENSE="MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + app-alternatives/gpg + dev-vcs/git +" +BDEPEND=" + >=dev-lang/go-1.24.1 + sys-apps/which +" + +src_prepare() { + default + + # remove stripping & buildvcs from Makefile + sed -e '/ldflags/s/-s //g' \ + -e '/buildvcs/s/-buildvcs=true //g' \ + -i Makefile || die + + # Broken on dates other than 2023-01-07 + sed -e 's/TestHTML/_&/' -i internal/audit/output_test.go || die + # Trying to use gpg-agent fails in Portage tests + sed -e 's/TestCloneCheckDecryptionKeys/_&/' -i internal/action/clone_test.go || die + # Broken with portage env vars + sed -e 's/TestEnvVarsInDocs/_&/' -i internal/config/docs_test.go || die + # Flaky test (bug #891219) + sed -e 's/TestSet/_&/' -i internal/store/leaf/write_test.go || die +} + +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 new file mode 100644 index 000000000000..f8265aca21b2 --- /dev/null +++ b/app-admin/gopass/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ajak@gentoo.org</email> + <name>John Helmert III</name> + </maintainer> + <upstream> + <remote-id type="github">gopasspw/gopass</remote-id> + </upstream> +</pkgmetadata> |
