diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
commit | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (patch) | |
tree | 5ca737a2562d8c0a09fcfacd81d1f9004df37b00 /dev-db/etcd | |
parent | 20d8e9cfb95a9f054d654ab6405e848807186aa0 (diff) |
gentoo resync : 20.11.2017
Diffstat (limited to 'dev-db/etcd')
-rw-r--r-- | dev-db/etcd/Manifest | 2 | ||||
-rw-r--r-- | dev-db/etcd/etcd-3.2.10.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index eebc0d783c39..2cd8de0dfb27 100644 --- a/dev-db/etcd/Manifest +++ b/dev-db/etcd/Manifest @@ -5,8 +5,10 @@ AUX etcd.logrotated 104 SHA256 adc7dbb76a2a11c2bf38fe47a702ba7302128c32e44774dbf AUX etcd.service 304 SHA256 53e42ea98e8a9e2acc92c2c694099340000c2cc4fc03df6610aad509d79ad6f6 SHA512 0074f77a17afe2bb4145f12a6eb312caa3e08cfe8bf35856b79d091ad8786c4223bd91c0a865e789ee9ba180f2672b31721742bb32efd0cd383bc747eb926961 WHIRLPOOL 95c675c5ab30509070f63ae2c101b1414fe099396d812394b626455597403fb7b5e92bcffdce267728e915fd11cb16a3b8314e76a4d778cc98e7ea64dc6c1a98 AUX etcd.tmpfiles.d.conf 76 SHA256 3594bdadb402b300d560fc23db53354c0ad73a78e38ba365fa2e62726b333ac1 SHA512 7324b74dcfe050dd7fbc318ca3ce9b5d58bce8fa2ce2d2d771664ef981c834375f7cbfebcb630cd61dab2a3f6bf6c3733ad04f752beadf7bb6fedcc80ff682ce WHIRLPOOL d260b0c66bda20a61ff9703e4527c43d08ad8c4a2d8f83610d38c656cd82fe3a67e674e1082c617de0867b2377b65aa0f4ddc54d900821c42076771302652ee3 DIST etcd-2.3.8.tar.gz 2206562 SHA256 6a138b2005e42b0961a12886cc641b792e991cd631fdb502ec5c614b65231cd1 SHA512 4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc WHIRLPOOL 4db1b4fe6d0ff917adfc53bd959bb7ac2937da794483e4a4a95e5fb557cf4fbfd43d5bb3c5e21e499432f80f6606407accaa69bc03a3982621276deb529c07da +DIST etcd-3.2.10.tar.gz 3016954 SHA256 86b7afd78b3a409b23ddf9d889b74c4edecf0fec1148f83bf025911705895f08 SHA512 6d00bd47b8c76332e4d1eaa12d8db6052c19bad5e99402860875ba1d6590e0b4aa1afc7cfeb25128125d0195c408c5f4d782b75a0132fc6a8f5cfff673faab75 WHIRLPOOL de440a42fb85fa33ae9aa4f4ea5b1e7640b73fb35819a3a9f12823c4bfe88ba7f32b931a9aa74e851f0cf47d6d38c4832fe47b826e636e1d7a8d14ab0d3a5539 DIST etcd-3.2.9.tar.gz 2889569 SHA256 7ad70d9b0d206fe09abc40e82d29ac748d09c0423ddf255ddf4334d21867eb6f SHA512 c194365e388fda8f796af70ff4b575b6ccabac0ca9ae3d84d55718e3914b927d5a6ba10b48eddc897139918880fcfa29d7a329463d20ce72f62115a0a41b6d4d WHIRLPOOL 4e6eb6b7b6d9ac68f0b1c8c2e5cc677ce9815ffd70c27901ef9a416ad73d9578b20592374e4e85a3aea11092b671832e8cdefc9781edd500e5d3bcd14f65cbc3 EBUILD etcd-2.3.8.ebuild 1379 SHA256 a155c628b920b29ce72bdabf20634e4664210802b6a324b48f416b2c132b4454 SHA512 ea3065641cac36b9011238603479967c1de5ab6f0ccb61dbc54b751879ff239b43065034b17045eb9467e1870878e4837af88c922f9034899da1359b69be98f3 WHIRLPOOL 7468aa9d7ba52fd5cb2f581ec8913eceea5e4c662593dc0cbe50b27aeb3e5acdf5db54d1d56655f4552151f5df393a6fae4ec3eb55c6b7a954ecbd63f459f729 +EBUILD etcd-3.2.10.ebuild 1474 SHA256 2c5cdb3fa0460133550681acb34ba45e9ecf929831b5b623ef4efb390bdf4839 SHA512 21daa3a43edf7cdce091e376302967ca86bf3d3d09babab7bb331b7efed065c6b2d74b7eeb74e010b2d4d84595776befb037dc78391b37e5c7bab8e67b5d7cd5 WHIRLPOOL a2dad1bd9c91a266cf4992e4d917ac8072e8eecec76084c7e57de402fa1d1f8b10118c787d66370bbb5d9307ac51f94a16270f00787b9eec85ecc1521aacc014 EBUILD etcd-3.2.9.ebuild 1474 SHA256 2c5cdb3fa0460133550681acb34ba45e9ecf929831b5b623ef4efb390bdf4839 SHA512 21daa3a43edf7cdce091e376302967ca86bf3d3d09babab7bb331b7efed065c6b2d74b7eeb74e010b2d4d84595776befb037dc78391b37e5c7bab8e67b5d7cd5 WHIRLPOOL a2dad1bd9c91a266cf4992e4d917ac8072e8eecec76084c7e57de402fa1d1f8b10118c787d66370bbb5d9307ac51f94a16270f00787b9eec85ecc1521aacc014 MISC ChangeLog 3997 SHA256 89726f1d48ebcdda7143b5bc4b79bf63b875877638e70c25fd91b074393a8187 SHA512 9d92e847ae61a4a8169ecc33a535c5119a19e4a6541a830f4aee0f935fd541d27f29ac4c016cf068d876d7108b781758d7e2a9ad979446c378538cee89d10b89 WHIRLPOOL ce3a507955d0ca316a5015e8e1d5827831582c41ca9df294cdf818090768b1fc569b67dcf09e11dff1bc91980165cc05060cf9951ce505cb42604b2ec0b0fe3b MISC ChangeLog-2015 958 SHA256 148c73d433247e8711a033ffa225469e78f875d5778f60fd9685bef5d678f4ec SHA512 d96c5afde74fd863fd0c69652c3b94cd022eaaa1eab53b1ff326f8dd1677bdc9e21ab34a261d403861a6b4d86a9cf66da0d614c4007772d0d21a470b8ca9a414 WHIRLPOOL 1333d7a44902ef017dc4fe3a8685170f852f68ee8e0db433af29133455b99aae316a893de0760db30f3f093d0539162b8baa741556e894945c5c5bfa92acfc26 diff --git a/dev-db/etcd/etcd-3.2.10.ebuild b/dev-db/etcd/etcd-3.2.10.ebuild new file mode 100644 index 000000000000..9de03c3233bf --- /dev/null +++ b/dev-db/etcd/etcd-3.2.10.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 +} |