1 |
commit: 5cd784de96947e0ab5bbfce3903765608c2ee295 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 30 19:51:12 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 19:51:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd784de |
7 |
|
8 |
net-misc/istioctl: Initial version |
9 |
|
10 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
net-misc/istioctl/Manifest | 1 + |
14 |
net-misc/istioctl/istioctl-1.0.2.ebuild | 35 +++++++++++++++++++++++++++++++++ |
15 |
net-misc/istioctl/metadata.xml | 11 +++++++++++ |
16 |
3 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/istioctl/Manifest b/net-misc/istioctl/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..5d3dc14d644 |
21 |
--- /dev/null |
22 |
+++ b/net-misc/istioctl/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST istioctl-1.0.2.tar.gz 18828091 BLAKE2B 064e9ad8b2629809c7b55514ad0a537bae8785bfebabea610a54ead0a0e665cdc718218376e07dcf5e235f8674bdd9e2eaa7a79bfd5d5485a5ddc841e1c52527 SHA512 d444dd8e0676ac9b36dc3901595f15d6504991619a82057f924141f752d2a45866df9ca388d6c63e1fbe43be4d4156f3efc748be59b565f865a0c5b3d02bda07 |
25 |
|
26 |
diff --git a/net-misc/istioctl/istioctl-1.0.2.ebuild b/net-misc/istioctl/istioctl-1.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4f3d1ba3c9a |
29 |
--- /dev/null |
30 |
+++ b/net-misc/istioctl/istioctl-1.0.2.ebuild |
31 |
@@ -0,0 +1,35 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit golang-vcs-snapshot |
38 |
+ |
39 |
+GIT_COMMIT="d639408fded355fb906ef2a1f9e8ffddc24c3d64" |
40 |
+ |
41 |
+KEYWORDS="~amd64" |
42 |
+DESCRIPTION="Istio configuration command line utility" |
43 |
+EGO_PN="istio.io/istio" |
44 |
+HOMEPAGE="https://github.com/istio/istio" |
45 |
+MY_PV=${PV/_/-} |
46 |
+SRC_URI="https://github.com/istio/istio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+IUSE="" |
50 |
+ |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+src_compile() { |
54 |
+ pushd "src/${EGO_PN}" || die |
55 |
+ BUILDINFO="istio.io/istio/pkg/version.buildVersion=${PV} |
56 |
+ istio.io/istio/pkg/version.buildGitRevision=${GIT_COMMIT} |
57 |
+ istio.io/istio/pkg/version.buildStatus=Clean" \ |
58 |
+ VERBOSE=1 GOPATH="${WORKDIR}/${P}" TAG=${PV} emake istioctl |
59 |
+ popd || die |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ dobin out/linux_amd64/release/${PN} |
64 |
+ pushd "src/${EGO_PN}" || die |
65 |
+ dodoc README.md |
66 |
+} |
67 |
|
68 |
diff --git a/net-misc/istioctl/metadata.xml b/net-misc/istioctl/metadata.xml |
69 |
new file mode 100644 |
70 |
index 00000000000..25597e3863f |
71 |
--- /dev/null |
72 |
+++ b/net-misc/istioctl/metadata.xml |
73 |
@@ -0,0 +1,11 @@ |
74 |
+<?xml version='1.0' encoding='UTF-8'?> |
75 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
76 |
+<pkgmetadata> |
77 |
+ <maintainer type="person"> |
78 |
+ <email>mrueg@g.o</email> |
79 |
+ <name>Manuel Rüger</name> |
80 |
+ </maintainer> |
81 |
+ <upstream> |
82 |
+ <remote-id type="github">istio/istio</remote-id> |
83 |
+ </upstream> |
84 |
+</pkgmetadata> |