summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/mkcert')
-rw-r--r--app-misc/mkcert/Manifest1
-rw-r--r--app-misc/mkcert/metadata.xml11
-rw-r--r--app-misc/mkcert/mkcert-1.0.1.ebuild28
3 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/mkcert/Manifest b/app-misc/mkcert/Manifest
new file mode 100644
index 000000000000..8c707b9f9536
--- /dev/null
+++ b/app-misc/mkcert/Manifest
@@ -0,0 +1 @@
+DIST mkcert-1.0.1.tar.gz 1695474 BLAKE2B eeef86a3e626f044c7b83d86be55082ce256752d834bf1388890db18f74678df57f2fc0050874dd4ff9ec4b849aa5b8d339e09e6af7e08a8f0b5236e0ac7aa09 SHA512 9e4ebadf19134fee7bf637fbb402df46a70d1f99ad06685a6a49da929fdd61b1ae9bea6b3f287201f488aec90505c60a58b454abb2efe584114d814023789600
diff --git a/app-misc/mkcert/metadata.xml b/app-misc/mkcert/metadata.xml
new file mode 100644
index 000000000000..696d5b96b047
--- /dev/null
+++ b/app-misc/mkcert/metadata.xml
@@ -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">FiloSottile/mkcert</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/mkcert/mkcert-1.0.1.ebuild b/app-misc/mkcert/mkcert-1.0.1.ebuild
new file mode 100644
index 000000000000..0176c20c9259
--- /dev/null
+++ b/app-misc/mkcert/mkcert-1.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/FiloSottile/mkcert"
+
+inherit golang-build golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+
+DESCRIPTION="A zero-config tool to make locally trusted development certificates"
+HOMEPAGE="https://github.com/FiloSottile/mkcert"
+SRC_URI="https://github.com/FiloSottile/mkcert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${S}" go install -v ${EGO_PN} || die
+ popd || die
+}
+
+src_install() {
+ dobin bin/mkcert
+ dodoc src/${EGO_PN}/README.md
+}