summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-10-09 16:12:39 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-10-09 16:12:39 +0200
commit27514d5734b743d9220e51c8e69e8f6e487478f1 (patch)
tree53774e09d0388c4fef743e24fe6c08baf389b2b0 /dev-db/etcd
parentx11-misc/sddm: Version bump to 0.16.0 (diff)
downloadgentoo-27514d5734b743d9220e51c8e69e8f6e487478f1.tar.gz
gentoo-27514d5734b743d9220e51c8e69e8f6e487478f1.tar.bz2
gentoo-27514d5734b743d9220e51c8e69e8f6e487478f1.zip
dev-db/etcd: Version bump to 3.2.9
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-db/etcd')
-rw-r--r--dev-db/etcd/Manifest1
-rw-r--r--dev-db/etcd/etcd-3.2.9.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 79e2aef39319..ff8b9443a34e 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,3 +3,4 @@ DIST etcd-3.0.17.tar.gz 2208002 SHA256 c56c68a8cd5d120a51432f3a79a2c19082a682449
DIST etcd-3.1.10.tar.gz 2532936 SHA256 22b25185571cf72409d35e28b9f15ea12cef02cffb552bc4efb7b74ffb62c0e7 SHA512 feb0745c2377248f9ad62359fbd6c2f0b3afbd94f89919963edf56965c98b5666f7b24fcf698599b35483b89b773dcbd647696eabc0436db6a88c68dbfc6dd6b WHIRLPOOL 0c922f1114753e126063689ebe722db59dace7715f7631ec6ca2f92438c405d9184bdebe277f2b808f5194bf2cf42904180bc7b80da051941ee3db2620b82ab7
DIST etcd-3.2.7.tar.gz 2886948 SHA256 b91a40102b944ba8e4dad439721c7068eccbc1d0cb0e7f2ded9dad134d2875ce SHA512 75d602d985d829455e7a10a0b347336104a0b8320949a73abd7963b08ab095e9b7cff58999ed2d365b965ba49705dff5e056e61e9a5018970a49e68278701618 WHIRLPOOL 6293415746bd6e4b943694d8a067acce59cb2850791fcef8e1a858a5b7199b9e7281228448783f1540be956e795a7a8fc729a6a4fe406b28cb1dfd5102b81cc7
DIST etcd-3.2.8.tar.gz 2889040 SHA256 800dff80c28fdcf753d8819f0a531ad974742e204489ad0050e2601fd1379ee8 SHA512 7ef172e4e864ccfe07a3f93e31ef77fe9e225e30ca49ecda85038c36f775def0c2633c998fe840cfd665ac912c00ba238a3ded09cff616c1e7faae0dbd5d4152 WHIRLPOOL 4d8d8d2177c2d0cc90377872a8bb8e3a810b5770fba4b43acbd83bbd76f7dd8fdcae2f6403b1d6245dd8fb1b28a5003f2a0acc0c8a963c8bf6ade66196117fe4
+DIST etcd-3.2.9.tar.gz 2889569 SHA256 7ad70d9b0d206fe09abc40e82d29ac748d09c0423ddf255ddf4334d21867eb6f SHA512 c194365e388fda8f796af70ff4b575b6ccabac0ca9ae3d84d55718e3914b927d5a6ba10b48eddc897139918880fcfa29d7a329463d20ce72f62115a0a41b6d4d WHIRLPOOL 4e6eb6b7b6d9ac68f0b1c8c2e5cc677ce9815ffd70c27901ef9a416ad73d9578b20592374e4e85a3aea11092b671832e8cdefc9781edd500e5d3bcd14f65cbc3
diff --git a/dev-db/etcd/etcd-3.2.9.ebuild b/dev-db/etcd/etcd-3.2.9.ebuild
new file mode 100644
index 000000000000..9de03c3233bf
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+EGO_PN="github.com/coreos/etcd"
+DESCRIPTION="Highly-available key value store for shared configuration and service discovery"
+HOMEPAGE="https://github.com/coreos/etcd"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc"
+DEPEND=">=dev-lang/go-1.8:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+ default
+ sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
+ -i "${S}"/src/${EGO_PN}/build || die
+}
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+}
+
+src_compile() {
+ export GOPATH=${S}
+ pushd src/${EGO_PN} || die
+ ./build || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ 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}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${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}
+ popd || die
+}
+
+src_test() {
+ pushd src/${EGO_PN} || die
+ ./test || die
+ popd || die
+}