app-containers/docker-credential-helpers - 0.9.7 (gentoo)

Search

Install

Install this version:

emerge -a =app-containers/docker-credential-helpers-0.9.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-containers/docker-credential-helpers-0.9.7

Or alternatively:

emerge --autounmask-write -a =app-containers/docker-credential-helpers-0.9.7

Package Information

Description:
Suite of programs to use native stores to keep Docker credentials safe
Homepage:
https://github.com/docker/docker-credential-helpers
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.9.7 9 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

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_prepare() {
	default
	sed -e '/GO_LDFLAGS/s/ -s / /' -i Makefile || die
}

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"
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-containers/docker-credential-helpers | euse -E <flag> -p app-containers/docker-credential-helpers | euse -D <flag> -p app-containers/docker-credential-helpers

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

keyring? ( app-crypt/libsecret )

RDEPEND

keyring? ( app-crypt/libsecret )
	pass? ( app-admin/pass )

Manifest for 0.9.7

Type File Size Source URLs
DIST docker-credential-helpers-0.9.7.tar.gz 295449 bytes https://github.com/docker/docker-credential-helpers/archive/v0.9.7.tar.gz