1 |
commit: 22eeeeca7e69849ad08edc6010b424ec6150b8fd |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 26 10:21:32 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 26 10:21:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22eeeeca |
7 |
|
8 |
app-crypt/cfssl: Version bump to 1.3.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
app-crypt/cfssl/Manifest | 1 + |
13 |
app-crypt/cfssl/cfssl-1.3.1.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/cfssl/Manifest b/app-crypt/cfssl/Manifest |
17 |
index 125fa745a9b..cca90a4eb2a 100644 |
18 |
--- a/app-crypt/cfssl/Manifest |
19 |
+++ b/app-crypt/cfssl/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST cfssl-1.2.0_p20171207.tar.gz 8028127 BLAKE2B 35bb2b6fa08345dd6042742891cc0ad87ffac3cd24e8f16551e7e4e36b7f11caf4baafee961666ed95cf14e77cf4e24e11f7d8d85503abfc42a8fe3fbc2fe758 SHA512 d94f27bcc5f59fb2882f6db802baff9706461f1a823706810f7ab5911fcdd3abc9150060df0aa756478774cf3b5e06aec0b11cefce32ff3c6ff85948b8624356 |
22 |
DIST cfssl-1.3.0.tar.gz 4378109 BLAKE2B 4bc77b3aa8b47e0e5a434ff50e99cde44b750743dc58c18736acfd0115f6cb03533c0d4ff6e54111cdfc2a8c7d6d83539d07de5fddb03eda8a8a95b8b573e767 SHA512 0db85e82e10982f0c0c03fcae20fbc1936018f7252517cbd9a6150ff5d8f41c5e4719814a8a64a424065e4813b7da073e4ebb50306e1d673f0de7706a0c0e2fd |
23 |
+DIST cfssl-1.3.1.tar.gz 6865684 BLAKE2B e7ecf0f8e2f489e4e0bd9064523a90255bf2c85d0edd62f346f90aa27cd5c68bf80432fd77bb8fc64954b75c7add26b8f3230a43c3f82265632079ef699542c4 SHA512 1c33527d1d0c08cac39647e7c6237e655569c474a872b144b962af3e7c39c420d002e719875bbea1f5b502fa640483e63d9a7061bed7875c64565d3f6c15cf47 |
24 |
|
25 |
diff --git a/app-crypt/cfssl/cfssl-1.3.1.ebuild b/app-crypt/cfssl/cfssl-1.3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6b1f640b3ab |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/cfssl/cfssl-1.3.1.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
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 |
+} |