diff options
Diffstat (limited to 'app-emulation/docker-credential-helpers')
-rw-r--r-- | app-emulation/docker-credential-helpers/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/app-emulation/docker-credential-helpers/Manifest b/app-emulation/docker-credential-helpers/Manifest index a618470c6d0a..5f7ddd5b0d81 100644 --- a/app-emulation/docker-credential-helpers/Manifest +++ b/app-emulation/docker-credential-helpers/Manifest @@ -1,3 +1,5 @@ DIST docker-credential-helpers-0.6.0.tar.gz 27441 BLAKE2B 6517f069782d5a496d3f140d86e5b1f32f197e9209ed61f75bfb9ba29cf0e1fa509bdbbbce2defc14ad0abe316632683cfad25e7ac9a6a1d70c3289e0ad489f5 SHA512 359e8ec700f423ce0687f13ce02946007f90456abe86659a87c59419ebde5e79adb4d28ee5e6a9762a44cfd65648c247629a5273326abf18a8880bee637e74d8 +DIST docker-credential-helpers-0.6.3.tar.gz 28971 BLAKE2B b50e4de0f3b126e0118f24f845a94be5e932975ab54ad6e0a52129a56109ecafb021f14986569295242cb0af4ea109d8786b8a5ca8481cc48daad14671841432 SHA512 2d15be8df134bff08eef9461348f07cd57c70c15a0ab044de2e69296c400b8c0e16198c90fd064d5ce83037d0bad57520e7524b0832b7a00e69397203dc90d10 EBUILD docker-credential-helpers-0.6.0.ebuild 1239 BLAKE2B 8d4df763dff3aacfce1f28ce3165e4fc0271babfd4baf2adaabd737c8826b13741cb28e9d55f9507af8de35bb79311e296081919dfa9bf197f1faafbb36a2cb0 SHA512 df28794f01a5af1bf3390fec6bb0050f13ea93c90255800a94d5069ff7b5ea3b69b7d352e40d4a6223df9e5543c2fde8065d159af8ae24d8ddb9a1d2748060f7 +EBUILD docker-credential-helpers-0.6.3.ebuild 1238 BLAKE2B 49c02a4a5e4cb07d1ea9c425b64535d14c07b113d628a0c1db05a9e6efd0d922980a7d9bbc754e77cc649ac78cac52e2bf5ea3b36f1900404e4a69acbc3cd1d8 SHA512 4941ff7d43019d3e3e46e3804c5249e548d316ebff82f4f6bac4a6685d06d465e9fe1d01fbe1cebbcb4b2e454d52d686959868c9087f5fbfc66ff2b6a28a66d0 MISC metadata.xml 847 BLAKE2B 7fff76aa67ee9868506860bb8a6812d0412cc9d5e8e6b4ef2906af3a761133fc299f5deb6ac48a5258a0d1b250611770042627f1dc667acab3a974960a2e1ca7 SHA512 f4cfd994d789f493ac2dba0699370fad8253121028ea4f25f882e406d7d6846cbea505149fff090cc6d898b5d4634472e4afe6ccb6f1177a5a23e7ba5136470f diff --git a/app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild b/app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild new file mode 100644 index 000000000000..3f46440c7bba --- /dev/null +++ b/app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 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" +HOMEPAGE="https://github.com/docker/docker-credential-helpers" +EGO_PN=github.com/docker/docker-credential-helpers + +LICENSE="MIT" +SLOT="0" + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="v${PV}" + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +IUSE="gnome-keyring pass" +REQUIRED_USE="|| ( gnome-keyring pass )" +RESTRICT="test" + +DEPEND="gnome-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 pass && emake pass +} + +src_install() { + dobin bin/* + dodoc CHANGELOG.md MAINTAINERS README.md +} + +pkg_postinst() { + if use gnome-keyring; then + elog "For gnome-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" +} |