diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-05-01 08:50:30 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-05-01 08:50:30 +0000 |
commit | 5a9200da8c30ea6e1d11210a233bcfd43da66bce (patch) | |
tree | eaa7a60dc05c6dabeebed53701397c135d1d1e2c /app-crypt/etcd-ca | |
parent | 2.0.0 version bump (diff) | |
download | gentoo-2-5a9200da8c30ea6e1d11210a233bcfd43da66bce.tar.gz gentoo-2-5a9200da8c30ea6e1d11210a233bcfd43da66bce.tar.bz2 gentoo-2-5a9200da8c30ea6e1d11210a233bcfd43da66bce.zip |
0_p20150423 version bump
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'app-crypt/etcd-ca')
-rw-r--r-- | app-crypt/etcd-ca/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/etcd-ca/etcd-ca-0_p20150423.ebuild | 38 |
2 files changed, 45 insertions, 2 deletions
diff --git a/app-crypt/etcd-ca/ChangeLog b/app-crypt/etcd-ca/ChangeLog index fb775196e750..5abc690b6fe3 100644 --- a/app-crypt/etcd-ca/ChangeLog +++ b/app-crypt/etcd-ca/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/etcd-ca -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/etcd-ca/ChangeLog,v 1.1 2014/10/16 23:58:42 zmedico Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/etcd-ca/ChangeLog,v 1.2 2015/05/01 08:50:30 zmedico Exp $ + +*etcd-ca-0_p20150423 (01 May 2015) + + 01 May 2015; Zac Medico <zmedico@gentoo.org> +etcd-ca-0_p20150423.ebuild: + 0_p20150423 version bump *etcd-ca-0_p20140903 (16 Oct 2014) diff --git a/app-crypt/etcd-ca/etcd-ca-0_p20150423.ebuild b/app-crypt/etcd-ca/etcd-ca-0_p20150423.ebuild new file mode 100644 index 000000000000..017c109d9ab4 --- /dev/null +++ b/app-crypt/etcd-ca/etcd-ca-0_p20150423.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/etcd-ca/etcd-ca-0_p20150423.ebuild,v 1.1 2015/05/01 08:50:30 zmedico Exp $ + +EAPI=5 + +KEYWORDS="~amd64" +DESCRIPTION="A simple certificate manager written in Go. Easy to use with limited capability" +HOMEPAGE="https://github.com/coreos/etcd-ca" +EGIT_COMMIT="31fef42f75294cf8bf1e7facf82648de0c2d87a3" +SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="doc" +DEPEND=">=dev-lang/go-1.2" +RDEPEND="" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} + +src_prepare() { + sed -e "s:^\(go install\)\(.*\)$:\\1 -x -ldflags=\"-v -linkmode=external -extldflags '${LDFLAGS}'\" \\2:" \ + -i build || die +} + +src_compile() { + CGO_CFLAGS="${CFLAGS}" ./build || die +} + +# go tool: no such tool "cover"; to install: +# go get code.google.com/p/go.tools/cmd/cover +#src_test() { +# ./test || die +#} + +src_install() { + dobin "${S}"/bin/${PN} + dodoc README.md + use doc && dodoc -r Documentation +} |