diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-07-16 12:17:22 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-07-16 12:20:53 +0200 |
commit | b826d9f3dc489a2213cbac778510abfaa6611dc7 (patch) | |
tree | 47606048e5c1379e8d93f81d9c243df92b2fc0b5 /dev-db/etcd | |
parent | media-sound/terminatorx: Fix build failure, bug #604288 (diff) | |
download | gentoo-b826d9f3dc489a2213cbac778510abfaa6611dc7.tar.gz gentoo-b826d9f3dc489a2213cbac778510abfaa6611dc7.tar.bz2 gentoo-b826d9f3dc489a2213cbac778510abfaa6611dc7.zip |
dev-db/etcd: Version bump to 3.2.3
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-db/etcd')
-rw-r--r-- | dev-db/etcd/Manifest | 1 | ||||
-rw-r--r-- | dev-db/etcd/etcd-3.2.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index 3161fd680e94..0a4888d95381 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.9.tar.gz 2524517 SHA256 94cf6a970ca707eec16e3264b8cd20ef8963d0683958ef087b52f490ab784a6f SHA512 e4727f2bafaf38c139608726947258f3ae3aa91452b145710ff527f5b57cbda18474902450581882e668befc422f6a1b9f1232a23e3eeedefae2ed2da1814cfc WHIRLPOOL c0241b76220cfccc331db3caf19c1ab33485b0219d31656a26e577c0ae9ae606f17f05b34a1c58644b24a2a712b61982429c25489923892ccb09806ac0a2eb24 DIST etcd-3.2.0.tar.gz 2869095 SHA256 b047756eea4d1592d373582e3300c0aec58c508e6a08bf6582c08d3571f3578d SHA512 a5d119eace3ffb441b847613bed0f011f53666eba0130b0da48b4511b61918228412f1caa93775c5b4e32f9c9cb549382f922257fd1b93f844967521686b86c6 WHIRLPOOL 95df6f3f271016bdf8288a6cd3424f7706a8695e473a7828eac625b1b810af9d9e10b2e164755659d989744e7d041db96839e94d748152184a65c6e8391565bc DIST etcd-3.2.1.tar.gz 2872401 SHA256 de5064e6ed2902b2fbc177726eafe6023ce7cebc9f0ce68c633eae61c4b86934 SHA512 cf2f6e1633b43739edae74daaf2550c665b6fed0c94bac57636e3f02f9d54f467d674a70972649443ae9545abc0f3ba11675a478293f678812f4fe722d8c0964 WHIRLPOOL 1ddce741de5a58d79947b6d8af891f35efeacf2c9965704438007cf2a6b62ec0b8e9bb00b438296aec3db847be8ea17cc414ef78fa8251b5ceb15f6b99fb2890 +DIST etcd-3.2.3.tar.gz 2881665 SHA256 f7f70ec0a5d32522ed2599444671554aa4116196cb5298f89b5c34beae45f54b SHA512 645c88a344d0b85071974f0983dd0496080030121505dab583383afb841d49fb71f545e5cc4a491ba876cbca5c6414b980c5c644c7cde76dc877047c5551187c WHIRLPOOL 8412e93aa15dcca280dbd88cf353b3e89ea446a18edd002ee33b963051440cef7229e643963d44079312724453774db17716347b876badd1e4002e05df320412 diff --git a/dev-db/etcd/etcd-3.2.3.ebuild b/dev-db/etcd/etcd-3.2.3.ebuild new file mode 100644 index 000000000000..0def583ed0e7 --- /dev/null +++ b/dev-db/etcd/etcd-3.2.3.ebuild @@ -0,0 +1,60 @@ +# 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.6:=" +RDEPEND="!dev-db/etcdctl" + +src_prepare() { + eapply_user + 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} + cd "${S}"/src/${EGO_PN} || die + ./build || die +} + +src_install() { + cd "${S}"/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} +} + +src_test() { + cd "${S}"/src/${EGO_PN} || die + ./test || die +} |