mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-containers/docker-credential-helpers: USE=gnome-keyring -> keyring
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A suite of programs to use native stores to keep Docker credentials safe"
|
||||
DESCRIPTION="Suite of programs to use native stores to keep Docker credentials safe"
|
||||
HOMEPAGE="https://github.com/docker/docker-credential-helpers"
|
||||
EGO_PN=github.com/docker/docker-credential-helpers
|
||||
|
||||
@@ -20,23 +20,20 @@ else
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
IUSE="gnome-keyring pass"
|
||||
REQUIRED_USE="|| ( gnome-keyring pass )"
|
||||
IUSE="keyring pass"
|
||||
REQUIRED_USE="|| ( keyring pass )"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="gnome-keyring? ( app-crypt/libsecret )"
|
||||
|
||||
RDEPEND="(
|
||||
${DEPEND}
|
||||
DEPEND="keyring? ( app-crypt/libsecret )"
|
||||
RDEPEND="${DEPEND}
|
||||
pass? ( app-admin/pass )
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
src_compile() {
|
||||
local -x GOPATH="${WORKDIR}/${P}"
|
||||
use gnome-keyring && emake secretservice
|
||||
use keyring && emake secretservice
|
||||
use pass && emake pass
|
||||
}
|
||||
|
||||
@@ -46,8 +43,8 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gnome-keyring; then
|
||||
elog "For gnome-keyring/kwallet add:\n"
|
||||
if use keyring; then
|
||||
elog "For keyring/kwallet add:\n"
|
||||
elog ' "credStore": "secretservice"'"\n"
|
||||
fi
|
||||
if use pass; then
|
||||
|
||||
@@ -16,10 +16,6 @@
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gnome-keyring">
|
||||
Build secretservice helper which works with gnome-keyring or kwallet
|
||||
using D-Bus.
|
||||
</flag>
|
||||
<flag name="pass">
|
||||
Build pass helper for the pass utility.
|
||||
</flag>
|
||||
|
||||
Reference in New Issue
Block a user