diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-07-27 15:35:28 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-07-27 15:35:28 +0200 |
commit | 20be1deddea45a9d59467058e5de39f6b71e7489 (patch) | |
tree | 24312ab0ec0b6a0f5c0e5764261e9345944e01a9 | |
parent | net-libs/wvstreams: Add patch for bug #614810. (diff) | |
download | gentoo-20be1deddea45a9d59467058e5de39f6b71e7489.tar.gz gentoo-20be1deddea45a9d59467058e5de39f6b71e7489.tar.bz2 gentoo-20be1deddea45a9d59467058e5de39f6b71e7489.zip |
dev-db/etcd: Version bump to 3.2.4
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r-- | dev-db/etcd/Manifest | 1 | ||||
-rw-r--r-- | dev-db/etcd/etcd-3.2.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index ea69c2e15814..dc1cac1f9efd 100644 --- a/dev-db/etcd/Manifest +++ b/dev-db/etcd/Manifest @@ -4,3 +4,4 @@ DIST etcd-3.1.10.tar.gz 2532936 SHA256 22b25185571cf72409d35e28b9f15ea12cef02cff DIST etcd-3.1.9.tar.gz 2524517 SHA256 94cf6a970ca707eec16e3264b8cd20ef8963d0683958ef087b52f490ab784a6f SHA512 e4727f2bafaf38c139608726947258f3ae3aa91452b145710ff527f5b57cbda18474902450581882e668befc422f6a1b9f1232a23e3eeedefae2ed2da1814cfc WHIRLPOOL c0241b76220cfccc331db3caf19c1ab33485b0219d31656a26e577c0ae9ae606f17f05b34a1c58644b24a2a712b61982429c25489923892ccb09806ac0a2eb24 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 +DIST etcd-3.2.4.tar.gz 2882024 SHA256 e0ba8e9a0f0cc9631eadfcd4def78649d22e76e2f5b3d21b378466b306708d8b SHA512 57fed2229a3d8a395bd5f797a51e2489d8e10f86ae68925e176c3ce3b2068d3c895d280cf5b51ab84b5973970536eeb645a584d729c7ec29b890aacab4c36d2c WHIRLPOOL 8d88d9cdf90c0622566e09a831b4a739e26c7f72dfa7fb8095ed5317034d3f981e677e5f5d809a7c3bfa68892cc69d590d08a6bd341fb2c097797488ef7a2686 diff --git a/dev-db/etcd/etcd-3.2.4.ebuild b/dev-db/etcd/etcd-3.2.4.ebuild new file mode 100644 index 000000000000..0def583ed0e7 --- /dev/null +++ b/dev-db/etcd/etcd-3.2.4.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 +} |