summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2016-06-27 18:34:09 +0200
committerUltrabug <ultrabug@gentoo.org>2016-06-27 18:34:09 +0200
commitfe4d38e4aff0dc1e6321eab78a5022be6e26f872 (patch)
tree95ed1d68eb468596e5ddfac84658398c2cb0196a /dev-db/etcd
parentmedia-gfx/iscan: Migrate from LINGUAS to L10N. (diff)
downloadgentoo-fe4d38e4aff0dc1e6321eab78a5022be6e26f872.tar.gz
gentoo-fe4d38e4aff0dc1e6321eab78a5022be6e26f872.tar.bz2
gentoo-fe4d38e4aff0dc1e6321eab78a5022be6e26f872.zip
dev-db/etcd: version bump
Diffstat (limited to 'dev-db/etcd')
-rw-r--r--dev-db/etcd/Manifest1
-rw-r--r--dev-db/etcd/etcd-2.3.7.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index eaaa219de627..86c80a96cfcb 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
DIST etcd-2.0.10.tar.gz 450581 SHA256 6029113d9870e5c6f0d10adbd2b6670958a46575114a094b86b607771a0e5ff3 SHA512 825524ee4c435b8f369970cfe39158443b8e29f6fba5ab86ae8be2d91f6faa0674d15f311bc863092fb6c77b054b8f3b69e163610b546e3c5cf59a111b38a3ed WHIRLPOOL a2b4c160cbc9cde5ebf64fa2fe41f6bc6ac5dc851551778b681d658e511f0dbc7241a4c74a6b520d43fe8e9cee65fa28f94655d64caf6f3c99cbd4ba84a57b65
DIST etcd-2.2.1.tar.gz 1844265 SHA256 1c0ce63812ef951f79c0a544c91f9f1ba3c6b50cb3e8197de555732454864d05 SHA512 4a96ed12c1f23ac4c9ea7ffeb17853f10a5eb04365b0fdfa765fa9f3acf12d32f7b4bfaa05de78bc17620808ae97f61425d2956a0d1cd817e501106e39498950 WHIRLPOOL edcb6f837b83f83a658717ceaf79c7304f5d4df34d2a15bbf9d82d370612f31ee8e5e248e9b143ff15df666ce25ab8c47d7dc5c62a3d7365a8bde0153d5e79a7
DIST etcd-2.2.5.tar.gz 2151517 SHA256 a7fb7998ada620fda74e517c100891d25a15a6fa20b627df52da7cd29328e6d5 SHA512 4436180c564ba2122cb346033ccf3de90e1f9cf17c12f62635c41cd0617c16e1a5705bbcfce64d74702ee378e89bc6663f208a99d64e819ddf449c3f442a38e0 WHIRLPOOL f5706c1eb25750fea89556d803bf8a9915569a197bf676c06c016652905d559e3ec60e7bcf682a341aa36115b91b892529a035f96b4a63e0403ee13e492c55a3
+DIST etcd-2.3.7.tar.gz 2209051 SHA256 aa3a6340bb08d072d1d2ecfbe3c1e02235251760d031a2b699ee1710510ee883 SHA512 a551287ebf6e881e2c6a56a7e75c273d125ed2b4b3ea58533e4481bc12ca21167de02820aaa1f4775b81385e96e65f882e97121920be02d72abe82f43652daf9 WHIRLPOOL e01bf51978b9287e9e662f8689630d80eb79aace43fe0c81f1898718ccec1a0a93e53543c3df001dfc12dac2a3844f5a4fe2de28d97654b671648ad93681185a
diff --git a/dev-db/etcd/etcd-2.3.7.ebuild b/dev-db/etcd/etcd-2.3.7.ebuild
new file mode 100644
index 000000000000..0b5a7bf31312
--- /dev/null
+++ b/dev-db/etcd/etcd-2.3.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit user systemd
+
+KEYWORDS="~amd64"
+DESCRIPTION="A highly-available key value store for shared configuration and service discovery"
+HOMEPAGE="https://github.com/coreos/etcd/"
+SRC_URI="https://github.com/coreos/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc"
+DEPEND=">=dev-lang/go-1.4:="
+RDEPEND="!dev-db/etcdctl"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+}
+
+src_prepare() {
+ sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
+ -e 's|-ldflags "-s.*"|-v -x|' \
+ -e 's|-ldflags "-s|-v -x "|' \
+ -i build || die
+ sed -e 's|go test|\0 -v|'\
+ -i test || die
+}
+
+src_compile() {
+ ./build || die
+}
+
+src_install() {
+ insinto /etc/${PN}
+ doins "${FILESDIR}/${PN}.conf"
+ dobin bin/*
+ dodoc README.md
+ use doc && dodoc -r Documentation
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ dodir /var/lib/${PN}
+ fowners ${PN}:${PN} /var/lib/${PN}
+ fperms 755 /var/lib/${PN}
+ dodir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+ fperms 755 /var/log/${PN}
+}
+
+src_test() {
+ ./test || die
+}