1 |
commit: 967e6e8779995d82dfcee5313447ba9dc72280ac |
2 |
Author: Rafael Kitover <rkitover <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 9 19:55:21 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 10 05:06:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967e6e87 |
7 |
|
8 |
app-emulation/docker-credential-helpers: add 0.6.3 |
9 |
|
10 |
Both stores tested to work correctly. |
11 |
|
12 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
13 |
Signed-off-by: Rafael Kitover <rkitover <AT> gmail.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/12637 |
15 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
16 |
|
17 |
app-emulation/docker-credential-helpers/Manifest | 1 + |
18 |
.../docker-credential-helpers-0.6.3.ebuild | 58 ++++++++++++++++++++++ |
19 |
2 files changed, 59 insertions(+) |
20 |
|
21 |
diff --git a/app-emulation/docker-credential-helpers/Manifest b/app-emulation/docker-credential-helpers/Manifest |
22 |
index 487217d743a..8e9ab64e45b 100644 |
23 |
--- a/app-emulation/docker-credential-helpers/Manifest |
24 |
+++ b/app-emulation/docker-credential-helpers/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST docker-credential-helpers-0.6.0.tar.gz 27441 BLAKE2B 6517f069782d5a496d3f140d86e5b1f32f197e9209ed61f75bfb9ba29cf0e1fa509bdbbbce2defc14ad0abe316632683cfad25e7ac9a6a1d70c3289e0ad489f5 SHA512 359e8ec700f423ce0687f13ce02946007f90456abe86659a87c59419ebde5e79adb4d28ee5e6a9762a44cfd65648c247629a5273326abf18a8880bee637e74d8 |
27 |
+DIST docker-credential-helpers-0.6.3.tar.gz 28971 BLAKE2B b50e4de0f3b126e0118f24f845a94be5e932975ab54ad6e0a52129a56109ecafb021f14986569295242cb0af4ea109d8786b8a5ca8481cc48daad14671841432 SHA512 2d15be8df134bff08eef9461348f07cd57c70c15a0ab044de2e69296c400b8c0e16198c90fd064d5ce83037d0bad57520e7524b0832b7a00e69397203dc90d10 |
28 |
|
29 |
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 |
30 |
new file mode 100644 |
31 |
index 00000000000..3f46440c7bb |
32 |
--- /dev/null |
33 |
+++ b/app-emulation/docker-credential-helpers/docker-credential-helpers-0.6.3.ebuild |
34 |
@@ -0,0 +1,58 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+DESCRIPTION="A suite of programs to use native stores to keep Docker credentials safe" |
41 |
+HOMEPAGE="https://github.com/docker/docker-credential-helpers" |
42 |
+EGO_PN=github.com/docker/docker-credential-helpers |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+ |
47 |
+if [[ ${PV} = *9999* ]]; then |
48 |
+ inherit golang-vcs |
49 |
+else |
50 |
+ KEYWORDS="~amd64" |
51 |
+ EGIT_COMMIT="v${PV}" |
52 |
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
53 |
+ inherit golang-vcs-snapshot |
54 |
+fi |
55 |
+inherit golang-build |
56 |
+ |
57 |
+IUSE="gnome-keyring pass" |
58 |
+REQUIRED_USE="|| ( gnome-keyring pass )" |
59 |
+RESTRICT="test" |
60 |
+ |
61 |
+DEPEND="gnome-keyring? ( app-crypt/libsecret )" |
62 |
+ |
63 |
+RDEPEND="( |
64 |
+ ${DEPEND} |
65 |
+ pass? ( app-admin/pass ) |
66 |
+) |
67 |
+" |
68 |
+ |
69 |
+S="${WORKDIR}/${P}/src/${EGO_PN}" |
70 |
+ |
71 |
+src_compile() { |
72 |
+ local -x GOPATH="${WORKDIR}/${P}" |
73 |
+ use gnome-keyring && emake secretservice |
74 |
+ use pass && emake pass |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ dobin bin/* |
79 |
+ dodoc CHANGELOG.md MAINTAINERS README.md |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ if use gnome-keyring; then |
84 |
+ elog "For gnome-keyring/kwallet add:\n" |
85 |
+ elog ' "credStore": "secretservice"'"\n" |
86 |
+ fi |
87 |
+ if use pass; then |
88 |
+ elog "For 'pass' add:\n" |
89 |
+ elog ' "credStore": "pass"'"\n" |
90 |
+ fi |
91 |
+ elog "to your ~/.docker/config.json" |
92 |
+} |