From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A05C015813A for ; Fri, 10 Jan 2025 10:51:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAAA2E0729; Fri, 10 Jan 2025 10:51:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5CD8E0729 for ; Fri, 10 Jan 2025 10:51:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4C4B341214 for ; Fri, 10 Jan 2025 10:51:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8488B194F for ; Fri, 10 Jan 2025 10:51:43 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1736506296.6eea76af9f86d894b0aade455682f8b38fce5214.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/docker-credential-helpers/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-containers/docker-credential-helpers/Manifest app-containers/docker-credential-helpers/docker-credential-helpers-0.8.2.ebuild X-VCS-Directories: app-containers/docker-credential-helpers/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 6eea76af9f86d894b0aade455682f8b38fce5214 X-VCS-Branch: master Date: Fri, 10 Jan 2025 10:51:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 619b570c-8709-4def-a70b-6892d7a732d8 X-Archives-Hash: 46d7c8d2cb176621ab685ac34e369929 commit: 6eea76af9f86d894b0aade455682f8b38fce5214 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jan 10 10:51:16 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jan 10 10:51:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eea76af app-containers/docker-credential-helpers: add 0.8.2 Closes: https://bugs.gentoo.org/844574 Signed-off-by: Arthur Zamarin gentoo.org> app-containers/docker-credential-helpers/Manifest | 1 + .../docker-credential-helpers-0.8.2.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/app-containers/docker-credential-helpers/Manifest b/app-containers/docker-credential-helpers/Manifest index 73b7729ba3f7..0eef5e2f8ddb 100644 --- a/app-containers/docker-credential-helpers/Manifest +++ b/app-containers/docker-credential-helpers/Manifest @@ -1 +1,2 @@ DIST docker-credential-helpers-0.6.3.tar.gz 28971 BLAKE2B b50e4de0f3b126e0118f24f845a94be5e932975ab54ad6e0a52129a56109ecafb021f14986569295242cb0af4ea109d8786b8a5ca8481cc48daad14671841432 SHA512 2d15be8df134bff08eef9461348f07cd57c70c15a0ab044de2e69296c400b8c0e16198c90fd064d5ce83037d0bad57520e7524b0832b7a00e69397203dc90d10 +DIST docker-credential-helpers-0.8.2.tar.gz 283816 BLAKE2B 334ca059b619e5e3528864a99b07eea61b98083989aa8e8b619c83d781caad97fbf5f3ed60879adacf27d81e0b991a38567e1fa2bc27b9a772d86b51437a6e03 SHA512 ca04b7fe78871389c9f968b730c18e2aca2d2a818ce87c1f138efb7dafbfdea7b83c2c16504131d04c295428debee2187036e603dba711369b5de1a3993c2e8c diff --git a/app-containers/docker-credential-helpers/docker-credential-helpers-0.8.2.ebuild b/app-containers/docker-credential-helpers/docker-credential-helpers-0.8.2.ebuild new file mode 100644 index 000000000000..d49feeba1dbc --- /dev/null +++ b/app-containers/docker-credential-helpers/docker-credential-helpers-0.8.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Suite of programs to use native stores to keep Docker credentials safe" +HOMEPAGE="https://github.com/docker/docker-credential-helpers" +SRC_URI="https://github.com/docker/docker-credential-helpers/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="keyring pass" +REQUIRED_USE="|| ( keyring pass )" +RESTRICT="test" + +DEPEND="keyring? ( app-crypt/libsecret )" +RDEPEND="${DEPEND} + pass? ( app-admin/pass ) +" + +src_compile() { + local mymakeflags=( + VERSION="${PV}" + REVISION="v${PV}" + ) + use keyring && mymakeflags+=( secretservice ) + use pass && mymakeflags+=( pass ) + emake -j1 "${mymakeflags[@]}" +} + +src_install() { + dobin bin/build/* + dodoc MAINTAINERS README.md +} + +pkg_postinst() { + if use keyring; then + elog "For keyring/kwallet add:\n" + elog ' "credStore": "secretservice"'"\n" + fi + if use pass; then + elog "For 'pass' add:\n" + elog ' "credStore": "pass"'"\n" + fi + elog "to your ~/.docker/config.json" +}