diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-06-28 16:48:53 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-06-28 16:48:53 +0200 |
commit | 40ab0ee722f803f1a8a0d012b331199e4e495f31 (patch) | |
tree | e932ebe619164f6fed5c066d5330f08061033cd3 /dev-db | |
parent | dev-python/pylint: Version bump to 1.7.2 (diff) | |
download | gentoo-40ab0ee722f803f1a8a0d012b331199e4e495f31.tar.gz gentoo-40ab0ee722f803f1a8a0d012b331199e4e495f31.tar.bz2 gentoo-40ab0ee722f803f1a8a0d012b331199e4e495f31.zip |
dev-db/etcd: Version bump to 3.2.1
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/etcd/Manifest | 1 | ||||
-rw-r--r-- | dev-db/etcd/etcd-3.2.1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index 367c4ee8a3f8..3161fd680e94 100644 --- a/dev-db/etcd/Manifest +++ b/dev-db/etcd/Manifest @@ -2,3 +2,4 @@ DIST etcd-2.3.8.tar.gz 2206562 SHA256 6a138b2005e42b0961a12886cc641b792e991cd631 DIST etcd-3.0.17.tar.gz 2208002 SHA256 c56c68a8cd5d120a51432f3a79a2c19082a6824493e4bb08c4e440aefbf73d8f SHA512 6eb6a61210f225b6fe7e911ad135e5014f80f71a04adccc3f382ca7b5e1b1b692b12dde26335ecac176cb8b8f4586732cb6e650b32730ec68ef7fbcbba7ab160 WHIRLPOOL 102dc47d120a1f4173b67168e5e51f64025da280ca41161131a6bd2ef9521605ef19e03166848f6c32862a3adbfc0a026f547dc7764018e85f6ac28f89c8d256 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 diff --git a/dev-db/etcd/etcd-3.2.1.ebuild b/dev-db/etcd/etcd-3.2.1.ebuild new file mode 100644 index 000000000000..0def583ed0e7 --- /dev/null +++ b/dev-db/etcd/etcd-3.2.1.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 +} |