diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-03-31 02:23:10 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-03-31 02:23:52 +0200 |
commit | 252aad347a9673557ae73ad92e44b5ac656e124b (patch) | |
tree | f3804cdca512d322c2f51ac8dee66a7a644a0526 /app-crypt/cfssl | |
parent | net-misc/ntp: Add patch to build 4.2.8_p10 with libressl (diff) | |
download | gentoo-252aad347a9673557ae73ad92e44b5ac656e124b.tar.gz gentoo-252aad347a9673557ae73ad92e44b5ac656e124b.tar.bz2 gentoo-252aad347a9673557ae73ad92e44b5ac656e124b.zip |
app-crypt/cfssl: Initial version
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'app-crypt/cfssl')
-rw-r--r-- | app-crypt/cfssl/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/cfssl/cfssl-1.2.0_p20170322.ebuild | 34 | ||||
-rw-r--r-- | app-crypt/cfssl/metadata.xml | 13 |
3 files changed, 49 insertions, 0 deletions
diff --git a/app-crypt/cfssl/Manifest b/app-crypt/cfssl/Manifest new file mode 100644 index 000000000000..858d654087c5 --- /dev/null +++ b/app-crypt/cfssl/Manifest @@ -0,0 +1,2 @@ +DIST cfssl-1.2.0_p20170322.tar.gz 8150942 SHA256 b1f70ecddc3f609ad2b12fd550b318e09119372130e978bfae8c3b6e04e2ed85 SHA512 69ef4418a485fe0317aec7d51f32670ff9603bb0fc8cce175ec4b98f79155538de0d3189a589c179d900ad1c4e486c3ad50b12c7345ba7771abf3f948f98a138 WHIRLPOOL da2bf58248a6cba0a004f71476f0c460dfe0fa2ea5da211343560faf9c7e295733de57bb7f22311af9be230ef96c5182777550473383550f6c6c401a1da881be +DIST github.com-juju-ratelimit-acf38b000a03e4ab89e40f20f1e548f4e6ac7f72.tar.gz 7980 SHA256 d3de61697c62b643d7b63b80d0eee853193f0379ea12b1371000c84c4dcdf0f1 SHA512 e26bbe1ba705718e919d99061a44de76ed6950666b07185e295860fb5f0e7d94f1be91d616737aecb4652e4e32b7066d94c0ffaaeb07e916cb09aac2b519754d WHIRLPOOL 89b621b810c00f6a7fa0468e7ca80556a3084f5e78d6afe6a44e9079fe3b56e4a472b9247470026300ed8c4ad3e1e652f69fa089e5efc47e41a74ffd55726b6f diff --git a/app-crypt/cfssl/cfssl-1.2.0_p20170322.ebuild b/app-crypt/cfssl/cfssl-1.2.0_p20170322.ebuild new file mode 100644 index 000000000000..251a09ed7bcd --- /dev/null +++ b/app-crypt/cfssl/cfssl-1.2.0_p20170322.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/cloudflare/${PN}/..." +EGIT_COMMIT="1a5ac2e68991e01380068b96f50f5ff982d9bb14" +EGO_VENDOR=( "github.com/juju/ratelimit acf38b000a03e4ab89e40f20f1e548f4e6ac7f72" ) +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Cloudflare's PKI and TLS toolkit" +HOMEPAGE="https://github.com/cloudflare/cfssl" +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" +LICENSE="BSD-2" +SLOT="0" +IUSE="hardened" + +src_compile() { + export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" + pushd src || die + GOPATH="${S}" go install github.com/cloudflare/cfssl/cmd/... || die + popd || die +} + +src_install() { + dobin bin/* + pushd src/${EGO_PN%/*} || die + dodoc CHANGELOG README.md + popd || die +} diff --git a/app-crypt/cfssl/metadata.xml b/app-crypt/cfssl/metadata.xml new file mode 100644 index 000000000000..c0434a752b51 --- /dev/null +++ b/app-crypt/cfssl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + </longdescription> + <maintainer type="person"> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> + <upstream> + <remote-id type="github">cloudflare/cfssl</remote-id> + </upstream> +</pkgmetadata> |