commit:     cf2f00bdb967baeeeeb47ae0e02565efbaddc690
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  9 13:22:27 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 13:22:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2f00bd

app-crypt/cfssl: Version bump to 1.3.3

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 app-crypt/cfssl/Manifest           |  1 +
 app-crypt/cfssl/cfssl-1.3.3.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/app-crypt/cfssl/Manifest b/app-crypt/cfssl/Manifest
index 34b59d2404b..026f19e5e18 100644
--- a/app-crypt/cfssl/Manifest
+++ b/app-crypt/cfssl/Manifest
@@ -1 +1,2 @@
 DIST cfssl-1.3.2.tar.gz 6867118 BLAKE2B 
775b3419ecf878d9add13faf03a3e1d4cca7b30d965f1ca55c8faa5abf679188a1ea1f80c1416f19c85bc551395628a31da8669ca647e1c1e7a1a313d68f4c7b
 SHA512 
aba27a282c8ca8e95769996aea7e5300b0c3f8fea7ae26484d19a7e1a0330f0b3a0649407062f1a10e8c93136693954e3b24c92456f69db3abee509f982ba554
+DIST cfssl-1.3.3.tar.gz 5005924 BLAKE2B 
81e7ec1f27a6597d69f16254a5ded672b9b3ac0bc8dee0f5bb00939e86147b1ed0389d38ea406fe671f3de052ac2e88fe320ffbf6065a83c2d9627ac3c497740
 SHA512 
39b42f3f8c22e254fa8ed4079308ecad1b0f77cdb56e57099e434389866e58863687307d6cf0f5ec8e4664ad4743ee8728f47a6a1375f3f74f8206a709f0ffc3

diff --git a/app-crypt/cfssl/cfssl-1.3.3.ebuild 
b/app-crypt/cfssl/cfssl-1.3.3.ebuild
new file mode 100644
index 00000000000..64942d2fca9
--- /dev/null
+++ b/app-crypt/cfssl/cfssl-1.3.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/cloudflare/${PN}"
+inherit golang-build golang-vcs-snapshot
+
+SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Cloudflare's PKI and TLS toolkit"
+HOMEPAGE="https://github.com/cloudflare/cfssl";
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="hardened"
+
+RDEPEND="!!dev-lang/mono" #File collision (bug 614364)
+
+RESTRICT="test"
+
+src_compile() {
+       pushd src || die
+       CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${S}" go install 
-v github.com/cloudflare/cfssl/cmd/... || die
+       popd || die
+}
+
+src_install() {
+       dobin bin/*
+       pushd src/${EGO_PN} || die
+       dodoc CHANGELOG README.md
+       popd || die
+}

Reply via email to