app-admin/certmgr: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Thu, 26 Apr 2018 01:21:38 +0000 (03:21 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Thu, 26 Apr 2018 01:21:38 +0000 (03:21 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

app-admin/certmgr/Manifest [new file with mode: 0644]
app-admin/certmgr/certmgr-1.6.0.ebuild [new file with mode: 0644]
app-admin/certmgr/metadata.xml [new file with mode: 0644]

diff --git a/app-admin/certmgr/Manifest b/app-admin/certmgr/Manifest
new file mode 100644 (file)
index 0000000..11f6a3f
--- /dev/null
@@ -0,0 +1 @@
+DIST certmgr-1.6.0.tar.gz 31187831 BLAKE2B a1269aac2817f077fa2aae3d14f692aa5c83b0f53ffe041b9436754a93c7970dcc24bed94259e05b99105de5400b3b8c5e22bde087fe365a1c21b8eaf4b3e4a3 SHA512 65b0cb8d5b7a3b76698b3b3aa8c2b9db88d08fed209044668cb19f13eca69714a7a4bc8a20bbf60af05f5c9e39b221801a36e90c8b1c647dbf07952ac385e6ea
diff --git a/app-admin/certmgr/certmgr-1.6.0.ebuild b/app-admin/certmgr/certmgr-1.6.0.ebuild
new file mode 100644 (file)
index 0000000..6951be5
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Automated certificate management using a CFSSL CA"
+HOMEPAGE="https://github.com/cloudflare/certmgr"
+LICENSE="BSD-2"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+src_compile() {
+       pushd src || die
+       GOPATH="${S}" go install -v ${EGO_PN}/cmd/... || die
+       popd || die
+}
+
+src_install() {
+       dobin bin/*
+       pushd src/${EGO_PN} || die
+       dodoc README.md
+       popd || die
+}
diff --git a/app-admin/certmgr/metadata.xml b/app-admin/certmgr/metadata.xml
new file mode 100644 (file)
index 0000000..303da7f
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mrueg@gentoo.org</email>
+               <name>Manuel Rüger</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">cloudflare/certmgr</remote-id>
+       </upstream>
+</pkgmetadata>