diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-08-08 14:58:04 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-08-08 14:58:04 +0200 |
commit | ace8306a3ba9eeebef7b208c29600b9c66dd82e0 (patch) | |
tree | 8a6778b7566ef2c1bd2bd764c314e5c207388a98 /dev-db/etcd | |
parent | package.mask: Mask old PEAR packages for removal (diff) | |
download | gentoo-ace8306a3ba9eeebef7b208c29600b9c66dd82e0.tar.gz gentoo-ace8306a3ba9eeebef7b208c29600b9c66dd82e0.tar.bz2 gentoo-ace8306a3ba9eeebef7b208c29600b9c66dd82e0.zip |
dev-db/etcd: Version bump to 3.2.5
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-db/etcd')
-rw-r--r-- | dev-db/etcd/Manifest | 1 | ||||
-rw-r--r-- | dev-db/etcd/etcd-3.2.5.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index dc1cac1f9efd..b670a3944654 100644 --- a/dev-db/etcd/Manifest +++ b/dev-db/etcd/Manifest @@ -5,3 +5,4 @@ DIST etcd-3.1.9.tar.gz 2524517 SHA256 94cf6a970ca707eec16e3264b8cd20ef8963d06839 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 +DIST etcd-3.2.5.tar.gz 2887261 SHA256 dcb183ebc4a09aec24d33179253f930ef35e23ad51ed1324c14e55b049edf3f9 SHA512 189d254603672479b03bf1392694ddcbec876143b6c0726ec7b31f594e6939c0010d04d3ce706992f736983df9463bd920ba5b7157c2207f956f676fc913b489 WHIRLPOOL 4fa40cfb41dc0118f5b6153f34548824e281e80b06c3444b361216c3210249e4e2e5270b979a8db7827eacb2a0c9782d0dc88b3c3097fcda5ba033fe6fce2a20 diff --git a/dev-db/etcd/etcd-3.2.5.ebuild b/dev-db/etcd/etcd-3.2.5.ebuild new file mode 100644 index 000000000000..0def583ed0e7 --- /dev/null +++ b/dev-db/etcd/etcd-3.2.5.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 +} |