1 |
commit: cf2f00bdb967baeeeeb47ae0e02565efbaddc690 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 9 13:22:27 2019 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 9 13:22:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2f00bd |
7 |
|
8 |
app-crypt/cfssl: Version bump to 1.3.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
12 |
|
13 |
app-crypt/cfssl/Manifest | 1 + |
14 |
app-crypt/cfssl/cfssl-1.3.3.ebuild | 33 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/cfssl/Manifest b/app-crypt/cfssl/Manifest |
18 |
index 34b59d2404b..026f19e5e18 100644 |
19 |
--- a/app-crypt/cfssl/Manifest |
20 |
+++ b/app-crypt/cfssl/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST cfssl-1.3.2.tar.gz 6867118 BLAKE2B 775b3419ecf878d9add13faf03a3e1d4cca7b30d965f1ca55c8faa5abf679188a1ea1f80c1416f19c85bc551395628a31da8669ca647e1c1e7a1a313d68f4c7b SHA512 aba27a282c8ca8e95769996aea7e5300b0c3f8fea7ae26484d19a7e1a0330f0b3a0649407062f1a10e8c93136693954e3b24c92456f69db3abee509f982ba554 |
23 |
+DIST cfssl-1.3.3.tar.gz 5005924 BLAKE2B 81e7ec1f27a6597d69f16254a5ded672b9b3ac0bc8dee0f5bb00939e86147b1ed0389d38ea406fe671f3de052ac2e88fe320ffbf6065a83c2d9627ac3c497740 SHA512 39b42f3f8c22e254fa8ed4079308ecad1b0f77cdb56e57099e434389866e58863687307d6cf0f5ec8e4664ad4743ee8728f47a6a1375f3f74f8206a709f0ffc3 |
24 |
|
25 |
diff --git a/app-crypt/cfssl/cfssl-1.3.3.ebuild b/app-crypt/cfssl/cfssl-1.3.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..64942d2fca9 |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/cfssl/cfssl-1.3.3.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+EGO_PN="github.com/cloudflare/${PN}" |
37 |
+inherit golang-build golang-vcs-snapshot |
38 |
+ |
39 |
+SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+KEYWORDS="~amd64" |
41 |
+ |
42 |
+DESCRIPTION="Cloudflare's PKI and TLS toolkit" |
43 |
+HOMEPAGE="https://github.com/cloudflare/cfssl" |
44 |
+LICENSE="BSD-2" |
45 |
+SLOT="0" |
46 |
+IUSE="hardened" |
47 |
+ |
48 |
+RDEPEND="!!dev-lang/mono" #File collision (bug 614364) |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ pushd src || die |
54 |
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${S}" go install -v github.com/cloudflare/cfssl/cmd/... || die |
55 |
+ popd || die |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin bin/* |
60 |
+ pushd src/${EGO_PN} || die |
61 |
+ dodoc CHANGELOG README.md |
62 |
+ popd || die |
63 |
+} |