diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-09-08 23:47:00 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-09-08 23:47:00 +0200 |
commit | f5a87176c51e3e12b08ad84317a904b006977658 (patch) | |
tree | 4a70cc1aa34d23e61d095ea67f486f4e38290d5a /dev-db | |
parent | sys-cluster/kubelet: Remove old (diff) | |
download | gentoo-f5a87176c51e3e12b08ad84317a904b006977658.tar.gz gentoo-f5a87176c51e3e12b08ad84317a904b006977658.tar.bz2 gentoo-f5a87176c51e3e12b08ad84317a904b006977658.zip |
dev-db/etcd: Version bump to 3.2.7
Package-Manager: Portage-2.3.8, 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.7.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index 7888be36d69e..f7f1a7f5d761 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.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 DIST etcd-3.2.6.tar.gz 2886557 SHA256 23ab4016bf0a057d36461cee001dc5b38d0d757fa5d9e8226833687dab06faa2 SHA512 3e26bc12cafbead201b41d7f25e247f24b3480ebcc76e94f2ae4e12e573a973b60e28f36fa012d1f7bc21edc670fd8910b33cd7e9f30c3a809a6f186af3ffc9d WHIRLPOOL 203833459801b18bd000bc1420f3ab14a7de601b3c18798c2537b75a510e720e5408424388bb7d643014a0de9870213533661bfad487ae30846969fdfa8efdf8 +DIST etcd-3.2.7.tar.gz 2886948 SHA256 b91a40102b944ba8e4dad439721c7068eccbc1d0cb0e7f2ded9dad134d2875ce SHA512 75d602d985d829455e7a10a0b347336104a0b8320949a73abd7963b08ab095e9b7cff58999ed2d365b965ba49705dff5e056e61e9a5018970a49e68278701618 WHIRLPOOL 6293415746bd6e4b943694d8a067acce59cb2850791fcef8e1a858a5b7199b9e7281228448783f1540be956e795a7a8fc729a6a4fe406b28cb1dfd5102b81cc7 diff --git a/dev-db/etcd/etcd-3.2.7.ebuild b/dev-db/etcd/etcd-3.2.7.ebuild new file mode 100644 index 000000000000..9de03c3233bf --- /dev/null +++ b/dev-db/etcd/etcd-3.2.7.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 +} |