[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-10-24 Thread Zac Medico
commit: 188a8114d9061a6852e62661f4be6125885eddfb
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Oct 24 19:58:21 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Oct 24 19:58:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=188a8114

dev-db/etcd: drop 3.4.26, 3.5.13

Bug: https://bugs.gentoo.org/918419
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  4 ---
 dev-db/etcd/etcd-3.4.26.ebuild | 79 
 dev-db/etcd/etcd-3.5.13.ebuild | 81 --
 3 files changed, 164 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 7026f6c82c27..153669726b20 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,10 +1,6 @@
-DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9491bab54d4d74c6525c519e5297a1e8e2a97f70a50a5681cf8941d2e4978d5c3717fccb552042bcd42e7c4bd2b29a8
 SHA512 
eb3af2910030a165699158a3dfe7e1267f29c0720865026da2a95941c7e1e19db793e177e9ca5a9f3b134c1a9a83b4a0613a32a30282b68fe3aef75b8dacae59
-DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47
 DIST etcd-3.4.31-deps.tar.xz 2212704 BLAKE2B 
8b30941eefdb3811fb331014b69eb8d5b9c691b8ace1004432e5b05bb787bb3ba3ce872f881af2a559d7b955fae890a4ec0e8b10daa06cf388447af1b6a92679
 SHA512 
85915f5738493bfe3c09208649e26cfdc612df900916686006a437c44aad5afb2ab69b0840550e37544a50b79d2d3718e2cbdfd037e47bcaa8e33a8a6a95105f
 DIST etcd-3.4.31.tar.gz 6072806 BLAKE2B 
30aa5b79d2fd0ba639bc766c104d5df28af50ae5398d860af3b3aff91c143ccd899538b341501386bac55dedc00086654de6e4ab9b237053b199a8de2fa509ec
 SHA512 
4a7e366ced86ea86a324ab972ea47be56456c0aa8744e5ec07d499a56bdc9179ebc3bc2f33bd67c2d341181a5bcc703abc5a7c2e57879169a351457b4a0274f3
 DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B 
c043cc55f59549734f38b1a734106bd25a1bbeb47f84e00a6b4308bad6086a6f0e0f3dee151bf1708bac269be124c782ea48c3761ee5e1d130a002989f99f2d3
 SHA512 
caae360e315756fe933bd87a7ce543d904084a745b5e42844a293bbf17c121d245f9f3645cd9992de5203c9efe4efcd4226ba294afb5a3550c114de78dad3110
 DIST etcd-3.5.12.tar.gz 4083299 BLAKE2B 
85615cf9095a440ef73aa59f5582293de543f7e473c8049712ff13646276c9441039c96c4e42aaedfddcfb3baede8d37f0ef68bb5ddabdb3f4833c8591ee1c8c
 SHA512 
6fc8bd64ad63cff71c7645253273418fb3fa262c2da1742dc345576caa733af7cd75acad2f57610c5883e6bf16cffd36bc5a0c89cbbb0793c00c2a4db1c6d14b
-DIST etcd-3.5.13-deps.tar.xz 5004004 BLAKE2B 
effc3c3fb8e6fff789f96030e485fb887b0f973e5943e66f744ce2d41c65c0756a81850be8f8cca96f50214a59e0eeac694c4669d809ddcee0771acc1703d9ff
 SHA512 
ed80d70a14cf049e3af22757ad5cc4abd1ce563e00e0d422d38c82d66fe4381822ef1344de3ef803dedc2bfc038dabb520ad58fd489b8916529d24357628f002
-DIST etcd-3.5.13.tar.gz 4089792 BLAKE2B 
be7a46af3978108b7e25adabe736ac111a01ab7fcb8e142b75c0c87aa33905d42d10b721ebc982e834110388669d028e6a612c9745e2f5c93210dd05ffccba7d
 SHA512 
dc85d80079b61e96eb06eb573d41d8972060392e49140a2414c283ea9edfef7b01d5554e50c7ab37c6ad079b373ae12a1b84dbcc533addc1d4d30a2a5abf7b7b
 DIST etcd-3.5.15-deps.tar.xz 5885840 BLAKE2B 
378d8136da0ca3486433ee2d55f2d65e569de3807bd41ea9dbb69e2a220a75ad3b2b1efd971738de84a21ac7a2fa1cb9703982ba571d4f115a88feddf9a1
 SHA512 
65810da4852df376b29b6023594af8da01fbdd63b3c25c4b95e2e643f327b15274750ed8db2f71da2d8a3223d00c603db5ed84ba13dce72303758e043ac62f19
 DIST etcd-3.5.15.tar.gz 4113649 BLAKE2B 
b65ae93875cefffc09ff0c61eda485abd3a32691b0b8bb2d957c109c2e43cb36d26a51c4d81b7dadb9e96452dfdbfb626dfc5a151678154339d7e08324c15efb
 SHA512 
1b22376fcda4c182ea0388b97f3b5a6a2fd62f753c2f4c13d06c3b53e9b7fb8efb2b20177f1724a5775f5ecc13bfcaabe6b308d4ee205dea86f7311fbe3a2900

diff --git a/dev-db/etcd/etcd-3.4.26.ebuild b/dev-db/etcd/etcd-3.4.26.ebuild
deleted file mode 100644
index 691f72f29383..
--- a/dev-db/etcd/etcd-3.4.26.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd tmpfiles
-GIT_COMMIT=a603c0798
-
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~loong ~riscv"
-IUSE="doc +server"
-
-COMMON_DEPEND="server? (
-   acct-group/etcd
-   acct-user/etcd
-   )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-
-# Tests fail with this error:
-# fatal error: checkptr: unsafe pointer conversion
-RESTRICT="test"
-
-src_prepare() {
-   export GO_BUILD_FLAGS="-v -x"
-   default
- 

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-08-11 Thread Zac Medico
commit: 2375152baf241ddf66fa9fb667524aaad864d245
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Aug 12 05:26:23 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Aug 12 05:29:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2375152b

dev-db/etcd: add 3.5.15

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.5.15.ebuild | 80 ++
 2 files changed, 82 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index a66e5e34c31e..7026f6c82c27 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -6,3 +6,5 @@ DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B 
c043cc55f59549734f38b1a734106bd25a1
 DIST etcd-3.5.12.tar.gz 4083299 BLAKE2B 
85615cf9095a440ef73aa59f5582293de543f7e473c8049712ff13646276c9441039c96c4e42aaedfddcfb3baede8d37f0ef68bb5ddabdb3f4833c8591ee1c8c
 SHA512 
6fc8bd64ad63cff71c7645253273418fb3fa262c2da1742dc345576caa733af7cd75acad2f57610c5883e6bf16cffd36bc5a0c89cbbb0793c00c2a4db1c6d14b
 DIST etcd-3.5.13-deps.tar.xz 5004004 BLAKE2B 
effc3c3fb8e6fff789f96030e485fb887b0f973e5943e66f744ce2d41c65c0756a81850be8f8cca96f50214a59e0eeac694c4669d809ddcee0771acc1703d9ff
 SHA512 
ed80d70a14cf049e3af22757ad5cc4abd1ce563e00e0d422d38c82d66fe4381822ef1344de3ef803dedc2bfc038dabb520ad58fd489b8916529d24357628f002
 DIST etcd-3.5.13.tar.gz 4089792 BLAKE2B 
be7a46af3978108b7e25adabe736ac111a01ab7fcb8e142b75c0c87aa33905d42d10b721ebc982e834110388669d028e6a612c9745e2f5c93210dd05ffccba7d
 SHA512 
dc85d80079b61e96eb06eb573d41d8972060392e49140a2414c283ea9edfef7b01d5554e50c7ab37c6ad079b373ae12a1b84dbcc533addc1d4d30a2a5abf7b7b
+DIST etcd-3.5.15-deps.tar.xz 5885840 BLAKE2B 
378d8136da0ca3486433ee2d55f2d65e569de3807bd41ea9dbb69e2a220a75ad3b2b1efd971738de84a21ac7a2fa1cb9703982ba571d4f115a88feddf9a1
 SHA512 
65810da4852df376b29b6023594af8da01fbdd63b3c25c4b95e2e643f327b15274750ed8db2f71da2d8a3223d00c603db5ed84ba13dce72303758e043ac62f19
+DIST etcd-3.5.15.tar.gz 4113649 BLAKE2B 
b65ae93875cefffc09ff0c61eda485abd3a32691b0b8bb2d957c109c2e43cb36d26a51c4d81b7dadb9e96452dfdbfb626dfc5a151678154339d7e08324c15efb
 SHA512 
1b22376fcda4c182ea0388b97f3b5a6a2fd62f753c2f4c13d06c3b53e9b7fb8efb2b20177f1724a5775f5ecc13bfcaabe6b308d4ee205dea86f7311fbe3a2900

diff --git a/dev-db/etcd/etcd-3.5.15.ebuild b/dev-db/etcd/etcd-3.5.15.ebuild
new file mode 100644
index ..696855a8f929
--- /dev/null
+++ b/dev-db/etcd/etcd-3.5.15.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=9a5533382
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0"
+LICENSE+=" BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Unit tests attempt to download go modules.
+RESTRICT="test"
+
+src_prepare() {
+   export FORCE_HOST_GO=1 GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|" \
+   -i "${S}"/build.sh || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^  goword \\$:\\:' \
+   -e 's:^  gofmt \\$:\\:' \
+   -e 's:^  govet \\$:\\:' \
+   -e 's:^  revive \\$:\\:' \
+   -e 's:^  mod_tidy \\$:\\:' \
+   -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -e 's|PASSES=${PASSES:-"fmt bom dep build 
unit"}|PASSES=${PASSES:-"fmt dep unit"}|' \
+   -i ./test.sh || die
+}
+
+src_compile() {
+   ./build.sh || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+   keepdir /var/lib/${PN} /var/log/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN} /var/

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-05-11 Thread Arthur Zamarin
commit: 1a1cbd572aa9ae86d2471fc9739f302d6b0e89d2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 11 15:16:28 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 11 15:16:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1cbd57

dev-db/etcd: Stabilize 3.5.12 amd64, #931756

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-db/etcd/etcd-3.5.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.5.12.ebuild b/dev-db/etcd/etcd-3.5.12.ebuild
index 926be7cb76f3..e61a29b82bd5 100644
--- a/dev-db/etcd/etcd-3.5.12.ebuild
+++ b/dev-db/etcd/etcd-3.5.12.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~loong ~riscv"
+KEYWORDS="amd64 ~loong ~riscv"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-04-14 Thread Zac Medico
commit: ff000cacf061b745739cc93ce117c79b869c265a
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Apr 14 23:46:19 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Apr 14 23:47:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff000cac

dev-db/etcd: add 3.5.13

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.5.13.ebuild | 81 ++
 2 files changed, 83 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 106cc6f5dc79..a66e5e34c31e 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -4,3 +4,5 @@ DIST etcd-3.4.31-deps.tar.xz 2212704 BLAKE2B 
8b30941eefdb3811fb331014b69eb8d5b9c
 DIST etcd-3.4.31.tar.gz 6072806 BLAKE2B 
30aa5b79d2fd0ba639bc766c104d5df28af50ae5398d860af3b3aff91c143ccd899538b341501386bac55dedc00086654de6e4ab9b237053b199a8de2fa509ec
 SHA512 
4a7e366ced86ea86a324ab972ea47be56456c0aa8744e5ec07d499a56bdc9179ebc3bc2f33bd67c2d341181a5bcc703abc5a7c2e57879169a351457b4a0274f3
 DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B 
c043cc55f59549734f38b1a734106bd25a1bbeb47f84e00a6b4308bad6086a6f0e0f3dee151bf1708bac269be124c782ea48c3761ee5e1d130a002989f99f2d3
 SHA512 
caae360e315756fe933bd87a7ce543d904084a745b5e42844a293bbf17c121d245f9f3645cd9992de5203c9efe4efcd4226ba294afb5a3550c114de78dad3110
 DIST etcd-3.5.12.tar.gz 4083299 BLAKE2B 
85615cf9095a440ef73aa59f5582293de543f7e473c8049712ff13646276c9441039c96c4e42aaedfddcfb3baede8d37f0ef68bb5ddabdb3f4833c8591ee1c8c
 SHA512 
6fc8bd64ad63cff71c7645253273418fb3fa262c2da1742dc345576caa733af7cd75acad2f57610c5883e6bf16cffd36bc5a0c89cbbb0793c00c2a4db1c6d14b
+DIST etcd-3.5.13-deps.tar.xz 5004004 BLAKE2B 
effc3c3fb8e6fff789f96030e485fb887b0f973e5943e66f744ce2d41c65c0756a81850be8f8cca96f50214a59e0eeac694c4669d809ddcee0771acc1703d9ff
 SHA512 
ed80d70a14cf049e3af22757ad5cc4abd1ce563e00e0d422d38c82d66fe4381822ef1344de3ef803dedc2bfc038dabb520ad58fd489b8916529d24357628f002
+DIST etcd-3.5.13.tar.gz 4089792 BLAKE2B 
be7a46af3978108b7e25adabe736ac111a01ab7fcb8e142b75c0c87aa33905d42d10b721ebc982e834110388669d028e6a612c9745e2f5c93210dd05ffccba7d
 SHA512 
dc85d80079b61e96eb06eb573d41d8972060392e49140a2414c283ea9edfef7b01d5554e50c7ab37c6ad079b373ae12a1b84dbcc533addc1d4d30a2a5abf7b7b

diff --git a/dev-db/etcd/etcd-3.5.13.ebuild b/dev-db/etcd/etcd-3.5.13.ebuild
new file mode 100644
index ..77d02b80751b
--- /dev/null
+++ b/dev-db/etcd/etcd-3.5.13.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=c9063a0dc
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0"
+LICENSE+=" BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+PATCHES=("${S}/go-mod-sum.patch")
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|" \
+   -i "${S}"/build.sh || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build.sh || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+   keepdir /var/lib/${PN} /var/log/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
+   fperms 0700 /var/lib/${PN}
+   fp

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-04-14 Thread Zac Medico
commit: 6c2b936c0198b0da5980384b81094643a949ba93
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Apr 14 20:43:31 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Apr 14 20:43:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2b936c

dev-db/etcd: drop 3.4.28, 3.5.10

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  4 ---
 dev-db/etcd/etcd-3.4.28.ebuild | 79 --
 dev-db/etcd/etcd-3.5.10.ebuild | 79 --
 3 files changed, 162 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 84e10d8c39af..106cc6f5dc79 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,10 +1,6 @@
 DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9491bab54d4d74c6525c519e5297a1e8e2a97f70a50a5681cf8941d2e4978d5c3717fccb552042bcd42e7c4bd2b29a8
 SHA512 
eb3af2910030a165699158a3dfe7e1267f29c0720865026da2a95941c7e1e19db793e177e9ca5a9f3b134c1a9a83b4a0613a32a30282b68fe3aef75b8dacae59
 DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47
-DIST etcd-3.4.28-deps.tar.xz 66108144 BLAKE2B 
81bef927202231a7b8a1856327d371060b15aadf6189dd3950946a8274df5eb6845b6a645f27f8c231d1bf6baef40777b433e0f9f96f6faf136cef53ec66220f
 SHA512 
5cf3810309c28559a3b793a2c7e329aea13f0e1ec83a033bf8d1f34b4aa7a357446bbe654f56175b52822c08e22e335be39592955b369ddc91a276c90c582820
-DIST etcd-3.4.28.tar.gz 6052858 BLAKE2B 
8c6dbebf3570c88e53ff5d13b0192502bc93d50076b9b66bd3ef4a313e734a1dc630366203b8e5d22ce29e9e8498e5e9304a6b02973d2defd4b65425ee24becb
 SHA512 
409f82c9979ee34327f0f1f6fd171ccbeb6a044ca4e1f137dd803172e2b79f5f14d68eea67b12c90401dc93fe830b7adf77f8c06c2730f3205d367a957fc43cc
 DIST etcd-3.4.31-deps.tar.xz 2212704 BLAKE2B 
8b30941eefdb3811fb331014b69eb8d5b9c691b8ace1004432e5b05bb787bb3ba3ce872f881af2a559d7b955fae890a4ec0e8b10daa06cf388447af1b6a92679
 SHA512 
85915f5738493bfe3c09208649e26cfdc612df900916686006a437c44aad5afb2ab69b0840550e37544a50b79d2d3718e2cbdfd037e47bcaa8e33a8a6a95105f
 DIST etcd-3.4.31.tar.gz 6072806 BLAKE2B 
30aa5b79d2fd0ba639bc766c104d5df28af50ae5398d860af3b3aff91c143ccd899538b341501386bac55dedc00086654de6e4ab9b237053b199a8de2fa509ec
 SHA512 
4a7e366ced86ea86a324ab972ea47be56456c0aa8744e5ec07d499a56bdc9179ebc3bc2f33bd67c2d341181a5bcc703abc5a7c2e57879169a351457b4a0274f3
-DIST etcd-3.5.10-deps.tar.xz 95341332 BLAKE2B 
45aed0b80e5c0b3100b870b3f663a09ca8998f52e462a5a618c871d9baed898bd7bf23d2d1f33ff6eb3ad40fcd6692d4c9e5501b27cdc93a4be23aea464ac769
 SHA512 
59acb7de1a89014c75054cd06659f3220fd0a361e16a26d7bb26c2177266493808f9817dd7393df04c4ab14d46ddfd9ec9a36442e9656cf871971034ff1c99ed
-DIST etcd-3.5.10.tar.gz 4073085 BLAKE2B 
d6b6c60dee15ffc42e3510837eefc543d16bdbda532828cd6a846f9d12921e24df948b93b4951f8e660be9967e540f59ecba558094558f67ec5aa4059dee60de
 SHA512 
965e853c6012643b01fd9e1bbd3b01294590985e91c54a81ea9f6940ebdf4d6c48f04b082a094e09b4959eba92e0bfed46d364ff54d8791ab7d42d2a725c
 DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B 
c043cc55f59549734f38b1a734106bd25a1bbeb47f84e00a6b4308bad6086a6f0e0f3dee151bf1708bac269be124c782ea48c3761ee5e1d130a002989f99f2d3
 SHA512 
caae360e315756fe933bd87a7ce543d904084a745b5e42844a293bbf17c121d245f9f3645cd9992de5203c9efe4efcd4226ba294afb5a3550c114de78dad3110
 DIST etcd-3.5.12.tar.gz 4083299 BLAKE2B 
85615cf9095a440ef73aa59f5582293de543f7e473c8049712ff13646276c9441039c96c4e42aaedfddcfb3baede8d37f0ef68bb5ddabdb3f4833c8591ee1c8c
 SHA512 
6fc8bd64ad63cff71c7645253273418fb3fa262c2da1742dc345576caa733af7cd75acad2f57610c5883e6bf16cffd36bc5a0c89cbbb0793c00c2a4db1c6d14b

diff --git a/dev-db/etcd/etcd-3.4.28.ebuild b/dev-db/etcd/etcd-3.4.28.ebuild
deleted file mode 100644
index 9084f1072095..
--- a/dev-db/etcd/etcd-3.4.28.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd tmpfiles
-GIT_COMMIT=adf6bd245
-
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~loong ~riscv"
-IUSE="doc +server"
-
-COMMON_DEPEND="server? (
-   acct-group/etcd
-   acct-user/etcd
-   )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-
-# Tests fail with this error:
-# fatal error: checkptr: unsafe pointer conversion
-RESTRICT="test"
-
-src_prepare() {
-   export GO_BUILD_FLAGS="-v -x"
-   default
-   sed -e "s|GIT_SHA=.*|GIT_

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-03-24 Thread Zac Medico
commit: 5d73b3e67d868e19b2a2bce7520f5b586bdb99c4
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Mar 25 02:12:55 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 25 02:13:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d73b3e6

dev-db/etcd: add 3.4.31

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.4.31.ebuild | 79 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 70cde4974e13..84e10d8c39af 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -2,6 +2,8 @@ DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9
 DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47
 DIST etcd-3.4.28-deps.tar.xz 66108144 BLAKE2B 
81bef927202231a7b8a1856327d371060b15aadf6189dd3950946a8274df5eb6845b6a645f27f8c231d1bf6baef40777b433e0f9f96f6faf136cef53ec66220f
 SHA512 
5cf3810309c28559a3b793a2c7e329aea13f0e1ec83a033bf8d1f34b4aa7a357446bbe654f56175b52822c08e22e335be39592955b369ddc91a276c90c582820
 DIST etcd-3.4.28.tar.gz 6052858 BLAKE2B 
8c6dbebf3570c88e53ff5d13b0192502bc93d50076b9b66bd3ef4a313e734a1dc630366203b8e5d22ce29e9e8498e5e9304a6b02973d2defd4b65425ee24becb
 SHA512 
409f82c9979ee34327f0f1f6fd171ccbeb6a044ca4e1f137dd803172e2b79f5f14d68eea67b12c90401dc93fe830b7adf77f8c06c2730f3205d367a957fc43cc
+DIST etcd-3.4.31-deps.tar.xz 2212704 BLAKE2B 
8b30941eefdb3811fb331014b69eb8d5b9c691b8ace1004432e5b05bb787bb3ba3ce872f881af2a559d7b955fae890a4ec0e8b10daa06cf388447af1b6a92679
 SHA512 
85915f5738493bfe3c09208649e26cfdc612df900916686006a437c44aad5afb2ab69b0840550e37544a50b79d2d3718e2cbdfd037e47bcaa8e33a8a6a95105f
+DIST etcd-3.4.31.tar.gz 6072806 BLAKE2B 
30aa5b79d2fd0ba639bc766c104d5df28af50ae5398d860af3b3aff91c143ccd899538b341501386bac55dedc00086654de6e4ab9b237053b199a8de2fa509ec
 SHA512 
4a7e366ced86ea86a324ab972ea47be56456c0aa8744e5ec07d499a56bdc9179ebc3bc2f33bd67c2d341181a5bcc703abc5a7c2e57879169a351457b4a0274f3
 DIST etcd-3.5.10-deps.tar.xz 95341332 BLAKE2B 
45aed0b80e5c0b3100b870b3f663a09ca8998f52e462a5a618c871d9baed898bd7bf23d2d1f33ff6eb3ad40fcd6692d4c9e5501b27cdc93a4be23aea464ac769
 SHA512 
59acb7de1a89014c75054cd06659f3220fd0a361e16a26d7bb26c2177266493808f9817dd7393df04c4ab14d46ddfd9ec9a36442e9656cf871971034ff1c99ed
 DIST etcd-3.5.10.tar.gz 4073085 BLAKE2B 
d6b6c60dee15ffc42e3510837eefc543d16bdbda532828cd6a846f9d12921e24df948b93b4951f8e660be9967e540f59ecba558094558f67ec5aa4059dee60de
 SHA512 
965e853c6012643b01fd9e1bbd3b01294590985e91c54a81ea9f6940ebdf4d6c48f04b082a094e09b4959eba92e0bfed46d364ff54d8791ab7d42d2a725c
 DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B 
c043cc55f59549734f38b1a734106bd25a1bbeb47f84e00a6b4308bad6086a6f0e0f3dee151bf1708bac269be124c782ea48c3761ee5e1d130a002989f99f2d3
 SHA512 
caae360e315756fe933bd87a7ce543d904084a745b5e42844a293bbf17c121d245f9f3645cd9992de5203c9efe4efcd4226ba294afb5a3550c114de78dad3110

diff --git a/dev-db/etcd/etcd-3.4.31.ebuild b/dev-db/etcd/etcd-3.4.31.ebuild
new file mode 100644
index ..468971161050
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.31.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=950cd5fbe
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/e

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2024-03-24 Thread Zac Medico
commit: 0fca5ba6eefb64975aef368b4d6b3244b1e5066f
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Mar 25 01:54:34 2024 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Mar 25 01:57:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fca5ba6

dev-db/etcd: add 3.5.12

For the 3.5.12 dependency tarball I've reduced the size by using
`go mod vendor` for most of the dependencies (I've been doing this
since https://github.com/gentoo/gentoo/pull/35773) and then just
using a go-mod directory created like this:

GOMODCACHE="${PWD}/../go-mod" go mod download -modcacherw go.etcd.io/gofail 
 v0.1.0

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.5.12.ebuild | 80 ++
 2 files changed, 82 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 1b1dbbe68100..70cde4974e13 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -4,3 +4,5 @@ DIST etcd-3.4.28-deps.tar.xz 66108144 BLAKE2B 
81bef927202231a7b8a1856327d371060b
 DIST etcd-3.4.28.tar.gz 6052858 BLAKE2B 
8c6dbebf3570c88e53ff5d13b0192502bc93d50076b9b66bd3ef4a313e734a1dc630366203b8e5d22ce29e9e8498e5e9304a6b02973d2defd4b65425ee24becb
 SHA512 
409f82c9979ee34327f0f1f6fd171ccbeb6a044ca4e1f137dd803172e2b79f5f14d68eea67b12c90401dc93fe830b7adf77f8c06c2730f3205d367a957fc43cc
 DIST etcd-3.5.10-deps.tar.xz 95341332 BLAKE2B 
45aed0b80e5c0b3100b870b3f663a09ca8998f52e462a5a618c871d9baed898bd7bf23d2d1f33ff6eb3ad40fcd6692d4c9e5501b27cdc93a4be23aea464ac769
 SHA512 
59acb7de1a89014c75054cd06659f3220fd0a361e16a26d7bb26c2177266493808f9817dd7393df04c4ab14d46ddfd9ec9a36442e9656cf871971034ff1c99ed
 DIST etcd-3.5.10.tar.gz 4073085 BLAKE2B 
d6b6c60dee15ffc42e3510837eefc543d16bdbda532828cd6a846f9d12921e24df948b93b4951f8e660be9967e540f59ecba558094558f67ec5aa4059dee60de
 SHA512 
965e853c6012643b01fd9e1bbd3b01294590985e91c54a81ea9f6940ebdf4d6c48f04b082a094e09b4959eba92e0bfed46d364ff54d8791ab7d42d2a725c
+DIST etcd-3.5.12-deps.tar.xz 3935756 BLAKE2B 
c043cc55f59549734f38b1a734106bd25a1bbeb47f84e00a6b4308bad6086a6f0e0f3dee151bf1708bac269be124c782ea48c3761ee5e1d130a002989f99f2d3
 SHA512 
caae360e315756fe933bd87a7ce543d904084a745b5e42844a293bbf17c121d245f9f3645cd9992de5203c9efe4efcd4226ba294afb5a3550c114de78dad3110
+DIST etcd-3.5.12.tar.gz 4083299 BLAKE2B 
85615cf9095a440ef73aa59f5582293de543f7e473c8049712ff13646276c9441039c96c4e42aaedfddcfb3baede8d37f0ef68bb5ddabdb3f4833c8591ee1c8c
 SHA512 
6fc8bd64ad63cff71c7645253273418fb3fa262c2da1742dc345576caa733af7cd75acad2f57610c5883e6bf16cffd36bc5a0c89cbbb0793c00c2a4db1c6d14b

diff --git a/dev-db/etcd/etcd-3.5.12.ebuild b/dev-db/etcd/etcd-3.5.12.ebuild
new file mode 100644
index ..926be7cb76f3
--- /dev/null
+++ b/dev-db/etcd/etcd-3.5.12.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=e7b3bb6cc
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+PATCHES=("${S}/go-mod-sum.patch")
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|" \
+   -i "${S}"/build.sh || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build.sh || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-11-24 Thread Zac Medico
commit: 193ffcccd8fa0844e9abecd9968dea30e4043715
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Nov 25 07:53:04 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Nov 25 07:56:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193ffccc

dev-db/etcd: add 3.5.10

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.5.10.ebuild | 79 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index a3edcea80c78..1b1dbbe68100 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -2,3 +2,5 @@ DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9
 DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47
 DIST etcd-3.4.28-deps.tar.xz 66108144 BLAKE2B 
81bef927202231a7b8a1856327d371060b15aadf6189dd3950946a8274df5eb6845b6a645f27f8c231d1bf6baef40777b433e0f9f96f6faf136cef53ec66220f
 SHA512 
5cf3810309c28559a3b793a2c7e329aea13f0e1ec83a033bf8d1f34b4aa7a357446bbe654f56175b52822c08e22e335be39592955b369ddc91a276c90c582820
 DIST etcd-3.4.28.tar.gz 6052858 BLAKE2B 
8c6dbebf3570c88e53ff5d13b0192502bc93d50076b9b66bd3ef4a313e734a1dc630366203b8e5d22ce29e9e8498e5e9304a6b02973d2defd4b65425ee24becb
 SHA512 
409f82c9979ee34327f0f1f6fd171ccbeb6a044ca4e1f137dd803172e2b79f5f14d68eea67b12c90401dc93fe830b7adf77f8c06c2730f3205d367a957fc43cc
+DIST etcd-3.5.10-deps.tar.xz 95341332 BLAKE2B 
45aed0b80e5c0b3100b870b3f663a09ca8998f52e462a5a618c871d9baed898bd7bf23d2d1f33ff6eb3ad40fcd6692d4c9e5501b27cdc93a4be23aea464ac769
 SHA512 
59acb7de1a89014c75054cd06659f3220fd0a361e16a26d7bb26c2177266493808f9817dd7393df04c4ab14d46ddfd9ec9a36442e9656cf871971034ff1c99ed
+DIST etcd-3.5.10.tar.gz 4073085 BLAKE2B 
d6b6c60dee15ffc42e3510837eefc543d16bdbda532828cd6a846f9d12921e24df948b93b4951f8e660be9967e540f59ecba558094558f67ec5aa4059dee60de
 SHA512 
965e853c6012643b01fd9e1bbd3b01294590985e91c54a81ea9f6940ebdf4d6c48f04b082a094e09b4959eba92e0bfed46d364ff54d8791ab7d42d2a725c

diff --git a/dev-db/etcd/etcd-3.5.10.ebuild b/dev-db/etcd/etcd-3.5.10.ebuild
new file mode 100644
index ..ab2651f2f3fc
--- /dev/null
+++ b/dev-db/etcd/etcd-3.5.10.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=0223ca52b
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build.sh || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+   keepdir /var/lib/${PN} /var/log/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
+   fperms 0700 /var/lib/${PN}
+   fperms 0755 /var/log/${PN}
+   fi
+}
+
+pkg_post

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-11-24 Thread Zac Medico
commit: b760fba58a93c17e3eee678f2c5d961c08671772
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Nov 25 06:54:26 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Nov 25 06:55:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b760fba5

dev-db/etcd: add 3.4.28

Bug: https://bugs.gentoo.org/918419
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.4.28.ebuild | 79 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index ef54e978af04..a3edcea80c78 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,4 @@
 DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9491bab54d4d74c6525c519e5297a1e8e2a97f70a50a5681cf8941d2e4978d5c3717fccb552042bcd42e7c4bd2b29a8
 SHA512 
eb3af2910030a165699158a3dfe7e1267f29c0720865026da2a95941c7e1e19db793e177e9ca5a9f3b134c1a9a83b4a0613a32a30282b68fe3aef75b8dacae59
 DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47
+DIST etcd-3.4.28-deps.tar.xz 66108144 BLAKE2B 
81bef927202231a7b8a1856327d371060b15aadf6189dd3950946a8274df5eb6845b6a645f27f8c231d1bf6baef40777b433e0f9f96f6faf136cef53ec66220f
 SHA512 
5cf3810309c28559a3b793a2c7e329aea13f0e1ec83a033bf8d1f34b4aa7a357446bbe654f56175b52822c08e22e335be39592955b369ddc91a276c90c582820
+DIST etcd-3.4.28.tar.gz 6052858 BLAKE2B 
8c6dbebf3570c88e53ff5d13b0192502bc93d50076b9b66bd3ef4a313e734a1dc630366203b8e5d22ce29e9e8498e5e9304a6b02973d2defd4b65425ee24becb
 SHA512 
409f82c9979ee34327f0f1f6fd171ccbeb6a044ca4e1f137dd803172e2b79f5f14d68eea67b12c90401dc93fe830b7adf77f8c06c2730f3205d367a957fc43cc

diff --git a/dev-db/etcd/etcd-3.4.28.ebuild b/dev-db/etcd/etcd-3.4.28.ebuild
new file mode 100644
index ..9084f1072095
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.28.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=adf6bd245
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+   keepdir /var/lib/${PN} /var/log/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
+   fperms 0700 /var/lib/${PN}
+   fperms 0755 /var/log/${PN}
+   fi
+}
+
+pkg_postinst() {
+   if use server; then
+   tmpfiles_process ${PN}.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/files/, dev-db/etcd/

2023-10-19 Thread Zac Medico
commit: 8e796be5df2187467fe4e1bff71f6f085adf8f9b
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Oct 20 00:49:13 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Oct 20 00:49:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e796be5

dev-db/etcd: drop vulnerable 3.4.16-r1

Bug: https://bugs.gentoo.org/906656
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest  |  2 -
 dev-db/etcd/etcd-3.4.16-r1.ebuild | 79 ---
 dev-db/etcd/files/etcd.confd  |  7 
 dev-db/etcd/files/etcd.initd  | 36 --
 dev-db/etcd/files/etcd.service| 17 -
 5 files changed, 141 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index fa35b2130c23..ef54e978af04 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,2 @@
-DIST etcd-3.4.16-deps.tar.xz 36600528 BLAKE2B 
3c8cbaef04b673962858cde9846a6a118eec785c0fc76b6e600b1686fd6e684f4b73af4aedb5886dfca51434e5738fb9bd0a39cdb81eda922e374c7668f0c0d0
 SHA512 
9119e09fc50bb916c3e436b9a4eea4b041184384865955f9b1a0f12e1334d9a143d49cc241ee51229e04fdfaedbbce24a66159107f52519b88a1e95cd64222df
-DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
 DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9491bab54d4d74c6525c519e5297a1e8e2a97f70a50a5681cf8941d2e4978d5c3717fccb552042bcd42e7c4bd2b29a8
 SHA512 
eb3af2910030a165699158a3dfe7e1267f29c0720865026da2a95941c7e1e19db793e177e9ca5a9f3b134c1a9a83b4a0613a32a30282b68fe3aef75b8dacae59
 DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47

diff --git a/dev-db/etcd/etcd-3.4.16-r1.ebuild 
b/dev-db/etcd/etcd-3.4.16-r1.ebuild
deleted file mode 100644
index 17e8c25e01fe..
--- a/dev-db/etcd/etcd-3.4.16-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd tmpfiles
-GIT_COMMIT=cf54fab42
-
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~riscv"
-IUSE="doc +server"
-
-COMMON_DEPEND="server? (
-   acct-group/etcd
-   acct-user/etcd
-   )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-
-# Tests fail with this error:
-# fatal error: checkptr: unsafe pointer conversion
-RESTRICT="test"
-
-src_prepare() {
-   export GO_BUILD_FLAGS="-v -x"
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -e 's:^ govet_shadow \\$:\\:' \
-   -i "${S}"/test || die
-
-   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
-   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
-   -i ./test || die
-}
-
-src_compile() {
-   ./build || die
-}
-
-src_test() {
-   ./test || die
-}
-
-src_install() {
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
-   newins etcd.conf.yml.sample etcd.conf.yml
-   dobin bin/etcd
-   dodoc README.md
-   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
-   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
-   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-   keepdir /var/lib/${PN} /var/log/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
-   fperms 0700 /var/lib/${PN}
-   fperms 0755 /var/log/${PN}
-   fi
-}
-
-pkg_postinst() {
-   if use server; then
-   tmpfiles_process ${PN}.conf
-   fi
-}

diff --git a/dev-db/etcd/files/etcd.confd b/dev-db/etcd/files/etcd.confd
deleted file mode

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-10-11 Thread WANG Xuerui
commit: e235f54b1443a8003f96aa5ad94460389c51272e
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Oct 12 05:53:22 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Oct 12 05:53:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e235f54b

dev-db/etcd: keyword 3.4.26 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-db/etcd/etcd-3.4.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.4.26.ebuild b/dev-db/etcd/etcd-3.4.26.ebuild
index b4ace35c3c76..691f72f29383 100644
--- a/dev-db/etcd/etcd-3.4.26.ebuild
+++ b/dev-db/etcd/etcd-3.4.26.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="amd64 ~riscv"
+KEYWORDS="amd64 ~loong ~riscv"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-06-22 Thread Sam James
commit: 549ad13c38c75852338be9c10b1223dd6769eac4
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 23 02:14:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 23 02:14:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549ad13c

dev-db/etcd: Stabilize 3.4.26 amd64, #909006

Signed-off-by: Sam James  gentoo.org>

 dev-db/etcd/etcd-3.4.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.4.26.ebuild b/dev-db/etcd/etcd-3.4.26.ebuild
index a8328d87000f..b4ace35c3c76 100644
--- a/dev-db/etcd/etcd-3.4.26.ebuild
+++ b/dev-db/etcd/etcd-3.4.26.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-05-19 Thread Zac Medico
commit: ce12bb86f1bd6f082d51696327a14e7df5e728c7
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May 19 21:08:08 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri May 19 21:08:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce12bb86

dev-db/etcd: add 3.4.26

Bug: https://bugs.gentoo.org/906656
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 ++
 dev-db/etcd/etcd-3.4.26.ebuild | 79 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 7457405a4308..fa35b2130c23 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,4 @@
 DIST etcd-3.4.16-deps.tar.xz 36600528 BLAKE2B 
3c8cbaef04b673962858cde9846a6a118eec785c0fc76b6e600b1686fd6e684f4b73af4aedb5886dfca51434e5738fb9bd0a39cdb81eda922e374c7668f0c0d0
 SHA512 
9119e09fc50bb916c3e436b9a4eea4b041184384865955f9b1a0f12e1334d9a143d49cc241ee51229e04fdfaedbbce24a66159107f52519b88a1e95cd64222df
 DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
+DIST etcd-3.4.26-deps.tar.xz 39352316 BLAKE2B 
8b1a30d645b1ea756ac944d2d3f7e0c5b9491bab54d4d74c6525c519e5297a1e8e2a97f70a50a5681cf8941d2e4978d5c3717fccb552042bcd42e7c4bd2b29a8
 SHA512 
eb3af2910030a165699158a3dfe7e1267f29c0720865026da2a95941c7e1e19db793e177e9ca5a9f3b134c1a9a83b4a0613a32a30282b68fe3aef75b8dacae59
+DIST etcd-3.4.26.tar.gz 6043999 BLAKE2B 
03f3bd0388e59dea9300b9a811b426ce03f1001750259dcd8386566efaa64783746f0353f83c1d01960004a77cea08a194aba394d91808aad15b5d4bb8f151cf
 SHA512 
b2048070adb1df6e98c06e0e951f7940815dab238fe4ba49c36681a638f39eb7e40fed691baf70410d01467965094d70f008d0046b1b550b2ac1ed19ac89ca47

diff --git a/dev-db/etcd/etcd-3.4.26.ebuild b/dev-db/etcd/etcd-3.4.26.ebuild
new file mode 100644
index ..a8328d87000f
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.26.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=a603c0798
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+   keepdir /var/lib/${PN} /var/log/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
+   fperms 0700 /var/lib/${PN}
+   fperms 0755 /var/log/${PN}
+   fi
+}
+
+pkg_postinst() {
+   if use server; then
+   tmpfiles_process ${PN}.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-05-15 Thread Arthur Zamarin
commit: 93a165903aa5177a2d1446943fad99c60609bb5d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May 15 20:12:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May 15 20:12:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a16590

dev-db/etcd: drop 3.3.24, 3.4.16

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-db/etcd/Manifest   |  1 -
 dev-db/etcd/etcd-3.3.24.ebuild | 86 --
 dev-db/etcd/etcd-3.4.16.ebuild | 85 -
 3 files changed, 172 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index b9e3becc6222..7457405a4308 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,2 @@
-DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
 DIST etcd-3.4.16-deps.tar.xz 36600528 BLAKE2B 
3c8cbaef04b673962858cde9846a6a118eec785c0fc76b6e600b1686fd6e684f4b73af4aedb5886dfca51434e5738fb9bd0a39cdb81eda922e374c7668f0c0d0
 SHA512 
9119e09fc50bb916c3e436b9a4eea4b041184384865955f9b1a0f12e1334d9a143d49cc241ee51229e04fdfaedbbce24a66159107f52519b88a1e95cd64222df
 DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1

diff --git a/dev-db/etcd/etcd-3.3.24.ebuild b/dev-db/etcd/etcd-3.3.24.ebuild
deleted file mode 100644
index 42fa5b4fb66e..
--- a/dev-db/etcd/etcd-3.3.24.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd tmpfiles
-GIT_COMMIT=bdd57848d
-MY_PV="${PV/_rc/-rc.}"
-
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="doc +server"
-
-COMMON_DEPEND="server? (
-   acct-group/etcd
-   acct-user/etcd
-   )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   !dev-db/etcdctl"
-
-# Tests fail with this error:
-# fatal error: checkptr: unsafe pointer conversion
-RESTRICT="test"
-
-src_prepare() {
-   export GO_BUILD_FLAGS="-mod=vendor -v -x"
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -e 's:^ govet_shadow \\$:\\:' \
-   -i "${S}"/test || die
-
-   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
-   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
-   -i ./test || die
-
-   mkdir -p vendor/github.com/coreos || die
-   ln -s ../../.. vendor/github.com/coreos/etcd || die
-
-   echo 'module go.etcd.io/etcd' > go.mod || die
-}
-
-src_compile() {
-./build || die
-}
-
-src_test() {
-   ./test || die
-}
-
-src_install() {
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   systemd_dounit "${FILESDIR}/${PN}.service"
-   newtmpfiles "${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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-}
-
-pkg_postinst() {
-   if use server; then
-   tmpfiles_process ${PN}.conf
-   fi
-}

diff --git a/dev-db/etcd/etcd-3.4.16.ebuild b/dev-db/etcd/etcd-3.4.16.ebuild
deleted file mode 100644
index 00f02ff1413f..
--- a/dev-db/etcd/etcd-3.4.16.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd tmpfiles
-GIT_COMMIT=cf54fab42
-MY_PV="${PV/_rc/-rc.}"
-
-DESCRIPTION="Highly-ava

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2023-04-30 Thread Sam James
commit: c67987243fd8e359157c7e95be5e61ab8f9acf9e
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 30 23:49:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 30 23:49:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6798724

dev-db/etcd: Stabilize 3.4.16-r1 amd64, #905383

Signed-off-by: Sam James  gentoo.org>

 dev-db/etcd/etcd-3.4.16-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.4.16-r1.ebuild 
b/dev-db/etcd/etcd-3.4.16-r1.ebuild
index 2f0ad3af3b4a..17e8c25e01fe 100644
--- a/dev-db/etcd/etcd-3.4.16-r1.ebuild
+++ b/dev-db/etcd/etcd-3.4.16-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/, dev-db/etcd/files/

2023-01-19 Thread Zac Medico
commit: baecf6809f8c5569d74d816b26c997d4f0fc0726
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Thu Jan 19 15:57:57 2023 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Jan 20 07:10:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baecf680

dev-db/etcd: fixes to package

Update to EAPI8.
Update init.d/conf.d files to use correct options and new config file, update
tmpfiles.d configuration.

Closes: https://bugs.gentoo.org/891397
Closes: https://bugs.gentoo.org/829695
Closes: https://bugs.gentoo.org/766015
Closes: https://github.com/gentoo/gentoo/pull/29172
Signed-off-by: Azamat H. Hackimov  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.4.16-r1.ebuild  | 79 ++
 dev-db/etcd/files/etcd.confd-r1|  1 +
 dev-db/etcd/files/etcd.initd-r1| 27 
 dev-db/etcd/files/etcd.service-r1  | 17 
 dev-db/etcd/files/etcd.tmpfiles.d.conf |  2 +-
 dev-db/etcd/metadata.xml   |  6 +--
 6 files changed, 127 insertions(+), 5 deletions(-)

diff --git a/dev-db/etcd/etcd-3.4.16-r1.ebuild 
b/dev-db/etcd/etcd-3.4.16-r1.ebuild
new file mode 100644
index ..2f0ad3af3b4a
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.16-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd tmpfiles
+GIT_COMMIT=cf54fab42
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+}
+
+src_compile() {
+   ./build || die
+}
+
+src_test() {
+   ./test || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample 
|| die
+   newins etcd.conf.yml.sample etcd.conf.yml
+   dobin bin/etcd
+   dodoc README.md
+   systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
+   newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+   keepdir /var/lib/${PN} /var/log/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
+   fperms 0700 /var/lib/${PN}
+   fperms 0755 /var/log/${PN}
+   fi
+}
+
+pkg_postinst() {
+   if use server; then
+   tmpfiles_process ${PN}.conf
+   fi
+}

diff --git a/dev-db/etcd/files/etcd.confd-r1 b/dev-db/etcd/files/etcd.confd-r1
new file mode 100644
index ..c7913d259409
--- /dev/null
+++ b/dev-db/etcd/files/etcd.confd-r1
@@ -0,0 +1 @@
+ETCD_OPTS="--config-file=/etc/etcd/etcd.conf.yml"

diff --git a/dev-db/etcd/files/etcd.initd-r1 b/dev-db/etcd/files/etcd.initd-r1
new file mode 100644
index ..f38b977a7568
--- /dev/null
+++ b/dev-db/etcd/files/etcd.initd-r1
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile=/run/${RC_SVCNAME}.pid
+LOGPATH=/var/log/${RC_SVCNAME}
+command_user=${RC_SVCNAME}
+command=/usr/bin/etcd
+command_args="${ETCD_OPTS}"
+command_background=true
+start_stop_daemon_args="
+   -1 ${LOGPATH}/${RC_SVCNAME}.log
+   -2 ${LOGPATH}/${RC_SVCNAME}.err"
+
+depend() {
+   need net
+   need localmount
+   after bootmisc
+}
+
+start() {
+   if [ ! -d "${LOGPATH}" ] ; then
+   mkdir -p "${LOGPATH}"
+   chown "${command_user}:${command_user}" "${LOGPATH}"
+   fi
+   default_start
+}

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2022-09-27 Thread Zac Medico
commit: e32099e484f2d5ae7a397048125a49bc7ee6d803
Author: Chris Su  lesscrowds  org>
AuthorDate: Tue Sep 27 16:05:12 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Sep 27 23:39:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e32099e4

dev-db/etcd: Keyword 3.4.16 riscv, #873196

Closes: https://bugs.gentoo.org/873196
Closes: https://github.com/gentoo/gentoo/pull/27497
Signed-off-by: Chris Su  lesscrowds.org>
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.4.16.ebuild b/dev-db/etcd/etcd-3.4.16.ebuild
index 6ad0bf8f0478..00f02ff1413f 100644
--- a/dev-db/etcd/etcd-3.4.16.ebuild
+++ b/dev-db/etcd/etcd-3.4.16.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/files/

2022-05-16 Thread Zac Medico
commit: c1f660749c847e9017670f111daf21b736780758
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon May 16 06:16:22 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon May 16 14:19:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f66074

dev-db/etcd: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/25519
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/files/etcd-3.4.14-modules.patch | 58 -
 1 file changed, 58 deletions(-)

diff --git a/dev-db/etcd/files/etcd-3.4.14-modules.patch 
b/dev-db/etcd/files/etcd-3.4.14-modules.patch
deleted file mode 100644
index 4529cb07e313..
--- a/dev-db/etcd/files/etcd-3.4.14-modules.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff --git a/go.mod b/go.mod
-index 56cd96b36..6d0c879eb 100644
 a/go.mod
-+++ b/go.mod
-@@ -43,15 +43,12 @@ require (
-   go.uber.org/multierr v1.1.0 // indirect
-   go.uber.org/zap v1.10.0
-   golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
--  golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 // indirect
-   golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
-   golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456 // indirect
-   golang.org/x/text v0.3.3 // indirect
-   golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
--  golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 // indirect
-   google.golang.org/grpc v1.26.0
-   gopkg.in/cheggaaa/pb.v1 v1.0.25
-   gopkg.in/yaml.v2 v2.2.2
--  honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc // indirect
-   sigs.k8s.io/yaml v1.1.0
- )
-diff --git a/go.sum b/go.sum
-index 330532e52..55363d205 100644
 a/go.sum
-+++ b/go.sum
-@@ -52,6 +52,7 @@ github.com/golang/protobuf v1.3.2 
h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs
- github.com/golang/protobuf v1.3.2/go.mod 
h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
- github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=
- github.com/google/btree v1.0.0/go.mod 
h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
-+github.com/google/go-cmp v0.2.0 
h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
- github.com/google/go-cmp v0.2.0/go.mod 
h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
- github.com/google/gofuzz v1.0.0/go.mod 
h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
- github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA=
-@@ -152,8 +153,6 @@ golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 
h1:u+LnwYTOOW7Ukr/fppxEb1
- golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod 
h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
- golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 
h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
- golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod 
h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
--golang.org/x/crypto v0.0.0-20191002192127-34f69633bfdc 
h1:c0o/qxkaO2LF5t6fQrT4b5hzyggAkLLlCUjqfRxd8Q4=
--golang.org/x/crypto v0.0.0-20191002192127-34f69633bfdc/go.mod 
h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
- golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod 
h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
- golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod 
h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
- golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod 
h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
-@@ -190,6 +189,7 @@ golang.org/x/text v0.3.3/go.mod 
h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
- golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 
h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM=
- golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod 
h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
- golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod 
h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod 
h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
- golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod 
h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
- golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod 
h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
- golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod 
h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-@@ -202,8 +202,6 @@ google.golang.org/genproto 
v0.0.0-20190819201941-24fa4b261c55 h1:gSJIx1SDwno+2El
- google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod 
h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
- google.golang.org/grpc v1.19.0/go.mod 
h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
- google.golang.org/grpc v1.23.0/go.mod 
h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
--google.golang.org/grpc v1.24.0 h1:vb/1TCsVn3DcJlQ0Gs1yB1pKI6Do2/QNwxdKqmc/b0s=
--google.golang.org/grpc v1.24.0/go.mod 
h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA=
- goog

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2022-05-15 Thread Zac Medico
commit: 01ee90e5aecc7980fb75055cd9ab283b669c3f60
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 15 21:34:45 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun May 15 21:35:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ee90e5

dev-db/etcd: eliminate EGO_SUM

Closes: https://bugs.gentoo.org/844382
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   | 213 +--
 dev-db/etcd/etcd-3.4.16.ebuild | 220 +
 2 files changed, 3 insertions(+), 430 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 9893dc64143b..b9e3becc6222 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,214 +1,3 @@
-DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 
814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b
 SHA512 
5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
+DIST etcd-3.4.16-deps.tar.xz 36600528 BLAKE2B 
3c8cbaef04b673962858cde9846a6a118eec785c0fc76b6e600b1686fd6e684f4b73af4aedb5886dfca51434e5738fb9bd0a39cdb81eda922e374c7668f0c0d0
 SHA512 
9119e09fc50bb916c3e436b9a4eea4b041184384865955f9b1a0f12e1334d9a143d49cc241ee51229e04fdfaedbbce24a66159107f52519b88a1e95cd64222df
 DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
-DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
-DIST 
github.com%2Falecthomas%2Ftemplate%2F@v%2Fv0.0.0-20160405071501-a0175ee3bccc.mod
 38 BLAKE2B 
2e1a897393e3527f0f82e6ab9baf62558d9cf54b56ada5d79aa1b206128de30395d9082bc600c4aa2a17e81095e429cc5874de950478545319ea0b867de7
 SHA512 
072ca7ba3d5ca815f58848db201002cc572d95334aeacfe44cb226505ad20d82ce06eb2ee059650912ae499db6291822c583296cb65a66e54adce62d6d850929
-DIST 
github.com%2Falecthomas%2Funits%2F@v%2Fv0.0.0-20151022065526-2efee857e7cf.mod 
35 BLAKE2B 
873b4b9c8491117a0b99bcc183ae96fc7e392c68d7271b73b5d7876574a5c7d67580425b35445ff2fff326c5cc7f328326d5d11946699c213cb2b84e8a9a0aad
 SHA512 
7f23b8c5622c02b295646c7baf6f2ea3dd01e11e18ac9c263b853c7f771f5d098d8bcb75971f0cdc33d1c4765b563f3382ec5dc4bf20010065c3f1bc94e93175
-DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.mod 
31 BLAKE2B 
f69b0989e51b0b649f81b044169fe4309f130eba5bcc6ff33aa9666b1b754aa0e524b8c7a627a91000ccc4f93bf93cdee3e97bd3b2184b050878bc3f413f0c72
 SHA512 
f21fd002853e4435421f8396e6be016f65be1537815c60d23940caf26e3f14dd6f2caac802cb64cd586b1b1f1220b2727de347b3d1816b8e741f68d87ebcf03f
-DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.mod 40 BLAKE2B 
ce42c81a7dcb03d21a99d6240ce12f8455297722513497b1a75f2c848b5fb7ef70b577c2406638442f16beedd68806de890a5c299cf1c008c439df23df2f5bb1
 SHA512 
ec4424da8e1e3849408da7bfe83d37e21ac75edb889de8ef63be897d59678679b018f4606be78500952e7eee73a6252ee6e477b1a1612e2d036dbf72c17b9c9b
-DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.zip 14678 BLAKE2B 
3f95d78aa356a314f8da501f8085a880201766e184abb6c222c45e09c0c3b5e1e1eb7b89cc8ed46b77b09be8860fdf3e28525d9a451964ad64a96c6ee848a41d
 SHA512 
be60a4c8059a9cb07ceb12e079b1224b6f871ecb1d7953906ab303cfe86d00cb979e203299f00fe828b2f6d2a3f5d55814c50809e9b872ab6d96db73f3771498
-DIST github.com%2Fbgentry%2Fspeakeasy%2F@v%2Fv0.1.0.mod 36 BLAKE2B 
ad3bb22bde28277f26a819b093ab7392da57c027bfb91bbbab4686d225ddc4e239c0905f6eec64cda2fd47746bd625682f663a11007bdbbf64f9cbff7dd1de76
 SHA512 
f961ced2c3e902be60fb862fff6b1c4457c57bd7586375a18857863be63d9b3ea998b05fc0c9c3a7270387e9907861d6f9d6ce4024643ec84ea6a63e59e915c1
-DIST github.com%2Fbgentry%2Fspeakeasy%2F@v%2Fv0.1.0.zip 9262 BLAKE2B 
50feca006319c5a8d957976be1c02a0a6a7247441fa0e903b1a03de85859f2afd0c93cf8599f60974686f47bdb7f0c94e58c6ec01ffa3fc33cf5d04da3bfd08d
 SHA512 
0e52838ad73009c795d6a43d7d52d082b0ec134e0f07015fa51caab7d1dd141b19df7807a7ab146312848567f8635966c6ce7ac22b934a630e0131383caef9cf
-DIST github.com%2Fcensus-instrumentation%2Fopencensus-proto%2F@v%2Fv0.2.1.mod 
58 BLAKE2B 
d724c8e5ab039b227f3c437ba570398b789f53fe80db6f8e57fd2cb2199a5e7acef24d7451f9b27a4da464770660d31fc785c

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2022-05-15 Thread Zac Medico
commit: 98c0f2a721a5858032c0bfb6bed38cbea80674ad
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 15 21:20:05 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun May 15 21:20:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98c0f2a7

dev-db/etcd: stabilize 3.3.24 for amd64

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.3.24.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/etcd-3.3.24.ebuild b/dev-db/etcd/etcd-3.3.24.ebuild
index cfe02273d71b..42fa5b4fb66e 100644
--- a/dev-db/etcd/etcd-3.3.24.ebuild
+++ b/dev-db/etcd/etcd-3.3.24.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2022-05-15 Thread Zac Medico
commit: 370d63f9283858753bde24be6269ee417429b84c
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 15 21:21:22 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun May 15 21:21:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370d63f9

dev-db/etcd: drop 3.3.23, 3.4.14

Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  28 
 dev-db/etcd/etcd-3.3.23.ebuild |  93 
 dev-db/etcd/etcd-3.4.14.ebuild | 315 -
 3 files changed, 436 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 1ccdaa97e706..9893dc64143b 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,13 +1,10 @@
 DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 
814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b
 SHA512 
5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
-DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
 DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
-DIST etcd-3.4.14.tar.gz 9182134 BLAKE2B 
9723b275816423be92cf24ff39f84a69362e30aaccd879edbde75e1cf8e9d6f35e503118bb9a6182f46b566c6fcd56546bbf00c2532837de2d64e9ebabfda8b6
 SHA512 
61262b921104f4626131f9722a127debe7b1daac09a90fcb55fb044312b771024e913eb657ea0c59a64b493f66a07f828bcc109afadbd4cc5981034a778f3958
 DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
 DIST 
github.com%2Falecthomas%2Ftemplate%2F@v%2Fv0.0.0-20160405071501-a0175ee3bccc.mod
 38 BLAKE2B 
2e1a897393e3527f0f82e6ab9baf62558d9cf54b56ada5d79aa1b206128de30395d9082bc600c4aa2a17e81095e429cc5874de950478545319ea0b867de7
 SHA512 
072ca7ba3d5ca815f58848db201002cc572d95334aeacfe44cb226505ad20d82ce06eb2ee059650912ae499db6291822c583296cb65a66e54adce62d6d850929
 DIST 
github.com%2Falecthomas%2Funits%2F@v%2Fv0.0.0-20151022065526-2efee857e7cf.mod 
35 BLAKE2B 
873b4b9c8491117a0b99bcc183ae96fc7e392c68d7271b73b5d7876574a5c7d67580425b35445ff2fff326c5cc7f328326d5d11946699c213cb2b84e8a9a0aad
 SHA512 
7f23b8c5622c02b295646c7baf6f2ea3dd01e11e18ac9c263b853c7f771f5d098d8bcb75971f0cdc33d1c4765b563f3382ec5dc4bf20010065c3f1bc94e93175
 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.mod 
31 BLAKE2B 
f69b0989e51b0b649f81b044169fe4309f130eba5bcc6ff33aa9666b1b754aa0e524b8c7a627a91000ccc4f93bf93cdee3e97bd3b2184b050878bc3f413f0c72
 SHA512 
f21fd002853e4435421f8396e6be016f65be1537815c60d23940caf26e3f14dd6f2caac802cb64cd586b1b1f1220b2727de347b3d1816b8e741f68d87ebcf03f
-DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.zip 
15013 BLAKE2B 
daecbcbb12a60a1423c4f419db44a0d63108fe622cf843593abb16fd75dcea703b3cf56f1c13433959eccbfb2a9bd5640f837f4be3296220366438dd7ed04f86
 SHA512 
44ccb3d6134742a80ac15830613c169d1b0d43e6ce40c2f2fdea07203bec134e1ba80dc57c6d14a007014ea141dca311b3ebe61b12d2181311665a9ffe83ca39
 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.mod 40 BLAKE2B 
ce42c81a7dcb03d21a99d6240ce12f8455297722513497b1a75f2c848b5fb7ef70b577c2406638442f16beedd68806de890a5c299cf1c008c439df23df2f5bb1
 SHA512 
ec4424da8e1e3849408da7bfe83d37e21ac75edb889de8ef63be897d59678679b018f4606be78500952e7eee73a6252ee6e477b1a1612e2d036dbf72c17b9c9b
 DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.zip 14678 BLAKE2B 
3f95d78aa356a314f8da501f8085a880201766e184abb6c222c45e09c0c3b5e1e1eb7b89cc8ed46b77b09be8860fdf3e28525d9a451964ad64a96c6ee848a41d
 SHA512 
be60a4c8059a9cb07ceb12e079b1224b6f871ecb1d7953906ab303cfe86d00cb979e203299f00fe828b2f6d2a3f5d55814c50809e9b872ab6d96db73f3771498
 DIST github.com%2Fbgentry%2Fspeakeasy%2F@v%2Fv0.1.0.mod 36 BLAKE2B 
ad3bb22bde28277f26a819b093ab7392da57c027bfb91bbbab4686d225ddc4e239c0905f6eec64cda2fd47746bd625682f663a11007bdbbf64f9cbff7dd1de76
 SHA512 
f961ced2c3e902be60fb862fff6b1c44

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/files/

2022-02-09 Thread Zac Medico
commit: f6c88e3fe2e538eb9854d74f1d5f2a46c5e91190
Author: Marcos Rodrigues Gonzalez  gmail  com>
AuthorDate: Thu Feb 10 02:11:53 2022 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Feb 10 02:25:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c88e3f

dev-db/etcd: fix tmpfile permission for /var/lib

Closes: https://bugs.gentoo.org/761954
Closes: https://github.com/gentoo/gentoo/pull/24140
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Marcos Rodrigues Gonzalez  gmail.com>
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/files/etcd.tmpfiles.d.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/files/etcd.tmpfiles.d.conf 
b/dev-db/etcd/files/etcd.tmpfiles.d.conf
index 721e9c9161a3..b93ac987f287 100644
--- a/dev-db/etcd/files/etcd.tmpfiles.d.conf
+++ b/dev-db/etcd/files/etcd.tmpfiles.d.conf
@@ -1,2 +1,2 @@
-d/var/lib/etcd 0755 etcd etcd - -
+d/var/lib/etcd 0700 etcd etcd - -
 d/var/run/etcd 0755 etcd etcd - -



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2021-09-26 Thread Zac Medico
commit: cf83dcd2d194933d001cfd1f973ae7b77b23f804
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Sep 27 04:53:52 2021 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep 27 04:53:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf83dcd2

dev-db/etcd: Remove older 3.4.x versions

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 -
 dev-db/etcd/etcd-3.4.10.ebuild | 86 --
 dev-db/etcd/etcd-3.4.11.ebuild | 86 --
 3 files changed, 174 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index db0a8836982..1ccdaa97e70 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,8 +1,6 @@
 DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 
814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b
 SHA512 
5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
 DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
-DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da
-DIST etcd-3.4.11.tar.gz 8957210 BLAKE2B 
d8cc647bb4441222d6331bcb89f7a007e830d2d95d38fdff978f44f21b0266184fb6ba328d36a6d5996e9a4c2de4c86088714283ff24df4a8d66d75d0b35cb62
 SHA512 
c12bf650028755ff38f5624b507f95523279573a4aa1097438a7182afa949a63f2dc06d4223e52607bdff14a8653b570c05d814310ccfd3bacc5a57b286a8c7e
 DIST etcd-3.4.14.tar.gz 9182134 BLAKE2B 
9723b275816423be92cf24ff39f84a69362e30aaccd879edbde75e1cf8e9d6f35e503118bb9a6182f46b566c6fcd56546bbf00c2532837de2d64e9ebabfda8b6
 SHA512 
61262b921104f4626131f9722a127debe7b1daac09a90fcb55fb044312b771024e913eb657ea0c59a64b493f66a07f828bcc109afadbd4cc5981034a778f3958
 DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146

diff --git a/dev-db/etcd/etcd-3.4.10.ebuild b/dev-db/etcd/etcd-3.4.10.ebuild
deleted file mode 100644
index 052158ea52e..000
--- a/dev-db/etcd/etcd-3.4.10.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd tmpfiles
-GIT_COMMIT=18dfb9cca
-MY_PV="${PV/_rc/-rc.}"
-
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc +server"
-
-COMMON_DEPEND="server? (
-   acct-group/etcd
-   acct-user/etcd
-   )"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   !dev-db/etcdctl"
-
-# Tests fail with this error:
-# fatal error: checkptr: unsafe pointer conversion
-RESTRICT="test"
-
-src_prepare() {
-   export GO_BUILD_FLAGS="-mod=vendor -v -x"
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -e 's:^ govet_shadow \\$:\\:' \
-   -i "${S}"/test || die
-
-   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
-   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
-   -i ./test || die
-
-   mkdir -p vendor/github.com/coreos || die
- 

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2021-09-26 Thread Zac Medico
commit: b6ce2b724fca31f99aebda7c70938b8ca7a27529
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Sep 27 04:44:12 2021 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep 27 04:49:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ce2b72

dev-db/etcd: 3.4.16 bump

Bug: https://bugs.gentoo.org/811432
Bug: https://bugs.gentoo.org/812782
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  17 +++
 dev-db/etcd/etcd-3.4.16.ebuild | 301 +
 2 files changed, 318 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index bc7dfbd0c69..db0a8836982 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -4,6 +4,7 @@ DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1
 DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da
 DIST etcd-3.4.11.tar.gz 8957210 BLAKE2B 
d8cc647bb4441222d6331bcb89f7a007e830d2d95d38fdff978f44f21b0266184fb6ba328d36a6d5996e9a4c2de4c86088714283ff24df4a8d66d75d0b35cb62
 SHA512 
c12bf650028755ff38f5624b507f95523279573a4aa1097438a7182afa949a63f2dc06d4223e52607bdff14a8653b570c05d814310ccfd3bacc5a57b286a8c7e
 DIST etcd-3.4.14.tar.gz 9182134 BLAKE2B 
9723b275816423be92cf24ff39f84a69362e30aaccd879edbde75e1cf8e9d6f35e503118bb9a6182f46b566c6fcd56546bbf00c2532837de2d64e9ebabfda8b6
 SHA512 
61262b921104f4626131f9722a127debe7b1daac09a90fcb55fb044312b771024e913eb657ea0c59a64b493f66a07f828bcc109afadbd4cc5981034a778f3958
+DIST etcd-3.4.16.tar.gz 8853228 BLAKE2B 
576d3f038f6e9e3eadaa9ba3935f8372271e9fd2cfb8ab193ce16ee57a55419daad4d8496f6ad27dcb833566e6eb077052422e1c86053d176a86b4305c8cc525
 SHA512 
3f413debe8bd723a00a3e39db05f6dbf414b7dc02f40f07d3037445c63b31c7bd8adaf77152ae01aa6aae3966f65393c5c8e352bbc2b86d01e5e2dd979c1c2e1
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
 DIST 
github.com%2Falecthomas%2Ftemplate%2F@v%2Fv0.0.0-20160405071501-a0175ee3bccc.mod
 38 BLAKE2B 
2e1a897393e3527f0f82e6ab9baf62558d9cf54b56ada5d79aa1b206128de30395d9082bc600c4aa2a17e81095e429cc5874de950478545319ea0b867de7
 SHA512 
072ca7ba3d5ca815f58848db201002cc572d95334aeacfe44cb226505ad20d82ce06eb2ee059650912ae499db6291822c583296cb65a66e54adce62d6d850929
 DIST 
github.com%2Falecthomas%2Funits%2F@v%2Fv0.0.0-20151022065526-2efee857e7cf.mod 
35 BLAKE2B 
873b4b9c8491117a0b99bcc183ae96fc7e392c68d7271b73b5d7876574a5c7d67580425b35445ff2fff326c5cc7f328326d5d11946699c213cb2b84e8a9a0aad
 SHA512 
7f23b8c5622c02b295646c7baf6f2ea3dd01e11e18ac9c263b853c7f771f5d098d8bcb75971f0cdc33d1c4765b563f3382ec5dc4bf20010065c3f1bc94e93175
@@ -23,6 +24,8 @@ DIST 
github.com%2Fcoreos%2Fgo-systemd%2F@v%2Fv0.0.0-20180511133405-39ca1b05acc7.
 DIST 
github.com%2Fcoreos%2Fgo-systemd%2F@v%2Fv0.0.0-20180511133405-39ca1b05acc7.zip 
104092 BLAKE2B 
34bd76adab656f40017de5168f2fa1e0f3eb524c3ad9996b7354de8212c54acdc7b0ac7b99c69b71824d9ac9cc263aefe8220daee7b86d96d8b7f323fa6cc9c9
 SHA512 
4ffb6845abd0ea7cb6ca96a3c306b76b59a049f63dc61e38d5cca6e16e7e82c38ca04b5213230aed92d85b89da76864039fb1706ed15af83e8301c4245498322
 DIST github.com%2Fcoreos%2Fpkg%2F@v%2Fv0.0.0-20160727233714-3ac0863d7acf.mod 
29 BLAKE2B 
db9b03b0adf02e3b379eb06d67988a60f2e2034d1217e56b40ebafc1262cb4803500b73a3e697a5a73418615c84310bd7f7aeca6db56f6ddbcf6c044cce0e9f3
 SHA512 
ea629c85891049bdff24f75a4dbce34f048a9627fc126b44f497b3ae65602045ca4fe0856e1b3d7ba050bb867226b90c25912565867c696bc370697341681c33
 DIST github.com%2Fcoreos%2Fpkg%2F@v%2Fv0.0.0-20160727233714-3ac0863d7acf.zip 
56040 BLAKE2B 
371b6a37ef8bc88baf94d2a0b95d59454b399c862107cb8b1b30af5cdccc9fff1ee5e400e19d362d0c89203f2c8044316bf853322e05312b5c7a2ce961cd90bf
 SHA512 
2c709a194dcab81cae05040cdef59a21e9f02014cea998dd5957180ff3a28f79607d15c61ce03b54be4a8163c4d5e60f86a5d07012df0f206af735a8d317a6a7
+DIST github.com%2Fcreack%2Fpty%2F@v%2Fv1.1.11.mod 39 BLAKE2B 
71e70b038748ac19649698b1c0e59af99ce0b1c5d7c9177e8c55751eea9e82d4828b27dabb17cc04978142c9fb7a54d90c062a7cc3fdbb86116034026e40baf6
 SHA512 
9cf1687520933d3d6bbec9d7c51472998d3bdbe1b3d2a7478fca80f9e7944f9040a2b8ec7d49f1458bd46a5121bae4810d314725add41efd413319a5006b944a
+DIST github.com%2Fcreack%2Fpty%2F@v%2Fv1.1.11.zip 19702 BLAKE2B 
ee009befd8861b2556869434d14c1d4ce130d432ba5f43821b0cc2f6fa493bc8a4f93a011f05f5789f7c388b2a74f272623d6dc2689a5c29dde0b3c307598173
 SHA512 
d7c39c78c074d060973433f5f4c1405260fa9f49ba9ff020630bb17404412337b536275aac71ae30c0e3783b9558

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2021-09-26 Thread Zac Medico
commit: 94b87a8cbe9c589a23f67b78f1e2cc4e736c3f1e
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Mon Sep 27 04:25:08 2021 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep 27 04:29:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b87a8c

dev-db/etcd: normalize leading whitespace

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.4.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/etcd-3.4.14.ebuild b/dev-db/etcd/etcd-3.4.14.ebuild
index b21d6525825..0f1ab44ae00 100644
--- a/dev-db/etcd/etcd-3.4.14.ebuild
+++ b/dev-db/etcd/etcd-3.4.14.ebuild
@@ -263,7 +263,7 @@ src_prepare() {
default
sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-i "${S}"/build || die
-sed -e 's:\(for p in \)shellcheck :\1 :' \
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
-e 's:^ gofmt \\$:\\:' \
-e 's:^ govet \\$:\\:' \
-e 's:^ govet_shadow \\$:\\:' \
@@ -278,7 +278,7 @@ src_prepare() {
 }
 
 src_compile() {
-./build || die
+   ./build || die
 }
 
 src_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/, dev-db/etcd/files/

2021-01-03 Thread William Hubbs
commit: 0619c9b6d778d68cef97bccacf346109eeb1194a
Author: William Hubbs  gentoo  org>
AuthorDate: Sun Jan  3 20:22:43 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Jan  4 02:08:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0619c9b6

app-admin/etcd: 3.4.14 bump

Signed-off-by: William Hubbs  gentoo.org>

 dev-db/etcd/Manifest| 223 
 dev-db/etcd/etcd-3.4.14.ebuild  | 309 
 dev-db/etcd/files/etcd-3.4.14-modules.patch |  58 ++
 3 files changed, 590 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 267cb28ee80..bc7dfbd0c69 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,227 @@
+DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 
814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b
 SHA512 
5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
 DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
 DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da
 DIST etcd-3.4.11.tar.gz 8957210 BLAKE2B 
d8cc647bb4441222d6331bcb89f7a007e830d2d95d38fdff978f44f21b0266184fb6ba328d36a6d5996e9a4c2de4c86088714283ff24df4a8d66d75d0b35cb62
 SHA512 
c12bf650028755ff38f5624b507f95523279573a4aa1097438a7182afa949a63f2dc06d4223e52607bdff14a8653b570c05d814310ccfd3bacc5a57b286a8c7e
+DIST etcd-3.4.14.tar.gz 9182134 BLAKE2B 
9723b275816423be92cf24ff39f84a69362e30aaccd879edbde75e1cf8e9d6f35e503118bb9a6182f46b566c6fcd56546bbf00c2532837de2d64e9ebabfda8b6
 SHA512 
61262b921104f4626131f9722a127debe7b1daac09a90fcb55fb044312b771024e913eb657ea0c59a64b493f66a07f828bcc109afadbd4cc5981034a778f3958
+DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B 
ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d
 SHA512 
320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
+DIST 
github.com%2Falecthomas%2Ftemplate%2F@v%2Fv0.0.0-20160405071501-a0175ee3bccc.mod
 38 BLAKE2B 
2e1a897393e3527f0f82e6ab9baf62558d9cf54b56ada5d79aa1b206128de30395d9082bc600c4aa2a17e81095e429cc5874de950478545319ea0b867de7
 SHA512 
072ca7ba3d5ca815f58848db201002cc572d95334aeacfe44cb226505ad20d82ce06eb2ee059650912ae499db6291822c583296cb65a66e54adce62d6d850929
+DIST 
github.com%2Falecthomas%2Funits%2F@v%2Fv0.0.0-20151022065526-2efee857e7cf.mod 
35 BLAKE2B 
873b4b9c8491117a0b99bcc183ae96fc7e392c68d7271b73b5d7876574a5c7d67580425b35445ff2fff326c5cc7f328326d5d11946699c213cb2b84e8a9a0aad
 SHA512 
7f23b8c5622c02b295646c7baf6f2ea3dd01e11e18ac9c263b853c7f771f5d098d8bcb75971f0cdc33d1c4765b563f3382ec5dc4bf20010065c3f1bc94e93175
+DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.mod 
31 BLAKE2B 
f69b0989e51b0b649f81b044169fe4309f130eba5bcc6ff33aa9666b1b754aa0e524b8c7a627a91000ccc4f93bf93cdee3e97bd3b2184b050878bc3f413f0c72
 SHA512 
f21fd002853e4435421f8396e6be016f65be1537815c60d23940caf26e3f14dd6f2caac802cb64cd586b1b1f1220b2727de347b3d1816b8e741f68d87ebcf03f
+DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv0.0.0-20180321164747-3a771d992973.zip 
15013 BLAKE2B 
daecbcbb12a60a1423c4f419db44a0d63108fe622cf843593abb16fd75dcea703b3cf56f1c13433959eccbfb2a9bd5640f837f4be3296220366438dd7ed04f86
 SHA512 
44ccb3d6134742a80ac15830613c169d1b0d43e6ce40c2f2fdea07203bec134e1ba80dc57c6d14a007014ea141dca311b3ebe61b12d2181311665a9ffe83ca39
+DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.mod 40 BLAKE2B 
ce42c81a7dcb03d21a99d6240ce12f8455297722513497b1a75f2c848b5fb7ef70b577c2406638442f16beedd68806de890a5c299cf1c008c439df23df2f5bb1
 SHA512 
ec4424da8e1e3849408da7bfe83d37e21ac75edb889de8ef63be897d59678679b018f4606be78500952e7eee73a6252ee6e477b1a1612e2d036dbf72c17b9c9b
+DIST github.com%2Fbeorn7%2Fperks%2F@v%2Fv1.0.0.zip 14678 BLAKE2B 
3f95d78aa356a314f8da501f8085a880201766e184abb6c222c45e09c0c3b5e1e1eb7b89cc8ed46b77b09be8860fdf3e28525d9a451964ad64a96c6ee848a41d
 SHA512 
be60a4c8059a9cb07ceb

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-08-19 Thread Zac Medico
commit: 8810fd0906afa4713d1d17efc051c3c7c62ef54d
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Aug 19 17:31:55 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Aug 19 17:37:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8810fd09

dev-db/etcd: Bump to version 3.3.24

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.24.ebuild | 80 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 8ef4cf8dfdd..b17c32912d6 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
+DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
 DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da

diff --git a/dev-db/etcd/etcd-3.3.24.ebuild b/dev-db/etcd/etcd-3.3.24.ebuild
new file mode 100644
index 000..ebb677c1e00
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.24.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=bdd57848d
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-mod=vendor -v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+
+   mkdir -p vendor/github.com/coreos || die
+   ln -s ../../.. vendor/github.com/coreos/etcd || die
+
+   echo 'module go.etcd.io/etcd' > go.mod || die
+}
+
+src_compile() {
+./build || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+}
+
+src_test() {
+   ./test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-08-19 Thread Zac Medico
commit: 11dafa0d06b018b1b462ec7bf2c5c440263a6fc5
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Aug 19 17:36:46 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Aug 19 17:37:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11dafa0d

dev-db/etcd: Bump to version 3.4.11

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.4.11.ebuild | 80 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index b17c32912d6..267cb28ee80 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
 DIST etcd-3.3.24.tar.gz 6518759 BLAKE2B 
bff713b5f754e6ed86f4265be7691f5cf6ad0bc1576ef15a4364b34dda827bef4390024d7a9bb032907dc8a95d8d3884e9f2ddf5a37b3b7e4ab476a13e61b8ac
 SHA512 
a3825a1d6ec886a5f30317929bafc1f5b2657f374a4cb7a0348786a7c4f6b073197b2bdeb4d725e78cf5c99cead3e38dbf468ea023b3e7689bdce857466a72d3
 DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da
+DIST etcd-3.4.11.tar.gz 8957210 BLAKE2B 
d8cc647bb4441222d6331bcb89f7a007e830d2d95d38fdff978f44f21b0266184fb6ba328d36a6d5996e9a4c2de4c86088714283ff24df4a8d66d75d0b35cb62
 SHA512 
c12bf650028755ff38f5624b507f95523279573a4aa1097438a7182afa949a63f2dc06d4223e52607bdff14a8653b570c05d814310ccfd3bacc5a57b286a8c7e

diff --git a/dev-db/etcd/etcd-3.4.11.ebuild b/dev-db/etcd/etcd-3.4.11.ebuild
new file mode 100644
index 000..0c3cc8f2f4b
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.11.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=e71e0c5c8
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-mod=vendor -v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+
+   mkdir -p vendor/github.com/coreos || die
+   ln -s ../../.. vendor/github.com/coreos/etcd || die
+
+   echo 'module go.etcd.io/etcd' > go.mod || die
+}
+
+src_compile() {
+./build || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+}
+
+src_test() {
+   ./test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-08-14 Thread Zac Medico
commit: 7b091a013ac656766c08cd4d30654b3daab4b4f6
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Aug 15 04:08:21 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Aug 15 04:09:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b091a01

dev-db/etcd: Remove vulnerable #736094

Bug: https://bugs.gentoo.org/736094
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  8 
 dev-db/etcd/etcd-3.3.17.ebuild | 78 --
 dev-db/etcd/etcd-3.3.18.ebuild | 78 --
 dev-db/etcd/etcd-3.3.19.ebuild | 78 --
 dev-db/etcd/etcd-3.3.20.ebuild | 78 --
 dev-db/etcd/etcd-3.4.3.ebuild  | 86 --
 dev-db/etcd/etcd-3.4.4.ebuild  | 73 ---
 dev-db/etcd/etcd-3.4.5.ebuild  | 73 ---
 dev-db/etcd/etcd-3.4.7.ebuild  | 73 ---
 9 files changed, 625 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 715ff497a76..8ef4cf8dfdd 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,10 +1,2 @@
-DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
-DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d0cb50cc863655fdbc35cae2d647f64eddb699cb1ef7b3736687a9978cd120d181b274b663a1ac2b7eb549729
 SHA512 
1146baa8c424a6ddb4a2a10494e2f82ba0c22def1fcd3e041b871c060ca915267f1a2e1c455b017eded1908300ddbd8a3849ee3c5dda93489d9eeaaa90baf254
-DIST etcd-3.3.19.tar.gz 6509566 BLAKE2B 
0037858daa134e63c6629defe099cc772b758e220a093e719b2d41c2e519a2c2d923d26e8635fb1f7cabe2ec0a0250236293c838d9c34d1745673211dc4f526c
 SHA512 
9f21692466bcb240bac042f4e7ee6f4575c05312542827c7349257b87c9d4a1a625b200fcbb0852c86c192624cd02e9a8d80caa194d25d4b63aa5e33b100eac1
-DIST etcd-3.3.20.tar.gz 6509856 BLAKE2B 
49e0ae7a56ce9e84664cd4395a91518c01e42346edc83bd61a84883da013b6cfda15c17cdb6ce5c44760574ee2101e7d39c32aaf458ceb1b505aea5ae787f1b6
 SHA512 
66aee553b053dea732ab3716676a05f5357a38ff0cb3ef8b6be4b80f4f54f0720578db9438b31e88bdb61aa662443d6b7993fa37af639208618bff76285ea7f9
 DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
 DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da
-DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
-DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20
-DIST etcd-3.4.5.tar.gz 8943585 BLAKE2B 
6df1538ec1e65c6f1a7fc41c0ceb29ca126efe797c8e6e029dfd45cdfeadacd322a46e18f627cac6defd78d8a17ddf09b5a0918fb454bfbafd450084de972c5a
 SHA512 
cd8845433e208cbe1cf0e0a001ee503d42b73f44ac0e0578d9ee8692f95262929c0cec3a2622f9cd3ea8d393a136de47a7e0d0875b4e0cd9d8eeddd45ca3bea5
-DIST etcd-3.4.7.tar.gz 8943976 BLAKE2B 
7dd81324e78ef53577055c54e851680b2421524aea1148449cd1003391029e110c90bd607730955ac4081c49e846da08159553f8db7d768e15dda51b8bf657ca
 SHA512 
18851be0cbe8dabc6be8ba0c61d783f21b1fb9403256166016767926c731f1d95a1adebad9f36d43c57a424a7ac88c49b1d1ce01c2aa065e5bbbff847eb9234a

diff --git a/dev-db/etcd/etcd-3.3.17.ebuild b/dev-db/etcd/etcd-3.3.17.ebuild
deleted file mode 100644
index 6290e49fcb1..000
--- a/dev-db/etcd/etcd-3.3.17.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-GIT_COMMIT="6d80523"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="htt

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-08-14 Thread Sam James
commit: c153902e80d02dd09994a82a65b44fa7d44a21ba
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 15 03:56:35 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 15 03:56:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c153902e

dev-db/etcd: Stabilize 3.3.23 amd64, #736094

Signed-off-by: Sam James  gentoo.org>

 dev-db/etcd/etcd-3.3.23.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.3.23.ebuild b/dev-db/etcd/etcd-3.3.23.ebuild
index 712db371239..d767c318c0c 100644
--- a/dev-db/etcd/etcd-3.3.23.ebuild
+++ b/dev-db/etcd/etcd-3.3.23.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="doc +server"
 
 COMMON_DEPEND="server? (



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-08-06 Thread Zac Medico
commit: b63d5c005243af05c3080feb36ce154d5843724b
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Aug  6 06:13:56 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Aug  6 07:01:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b63d5c00

dev-db/etcd: Bump to version 3.3.23

Bug: https://bugs.gentoo.org/736094
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.23.ebuild | 87 ++
 2 files changed, 88 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 7342c59d333..0e21831a113 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -2,6 +2,7 @@ DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a99
 DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d0cb50cc863655fdbc35cae2d647f64eddb699cb1ef7b3736687a9978cd120d181b274b663a1ac2b7eb549729
 SHA512 
1146baa8c424a6ddb4a2a10494e2f82ba0c22def1fcd3e041b871c060ca915267f1a2e1c455b017eded1908300ddbd8a3849ee3c5dda93489d9eeaaa90baf254
 DIST etcd-3.3.19.tar.gz 6509566 BLAKE2B 
0037858daa134e63c6629defe099cc772b758e220a093e719b2d41c2e519a2c2d923d26e8635fb1f7cabe2ec0a0250236293c838d9c34d1745673211dc4f526c
 SHA512 
9f21692466bcb240bac042f4e7ee6f4575c05312542827c7349257b87c9d4a1a625b200fcbb0852c86c192624cd02e9a8d80caa194d25d4b63aa5e33b100eac1
 DIST etcd-3.3.20.tar.gz 6509856 BLAKE2B 
49e0ae7a56ce9e84664cd4395a91518c01e42346edc83bd61a84883da013b6cfda15c17cdb6ce5c44760574ee2101e7d39c32aaf458ceb1b505aea5ae787f1b6
 SHA512 
66aee553b053dea732ab3716676a05f5357a38ff0cb3ef8b6be4b80f4f54f0720578db9438b31e88bdb61aa662443d6b7993fa37af639208618bff76285ea7f9
+DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
 DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20
 DIST etcd-3.4.5.tar.gz 8943585 BLAKE2B 
6df1538ec1e65c6f1a7fc41c0ceb29ca126efe797c8e6e029dfd45cdfeadacd322a46e18f627cac6defd78d8a17ddf09b5a0918fb454bfbafd450084de972c5a
 SHA512 
cd8845433e208cbe1cf0e0a001ee503d42b73f44ac0e0578d9ee8692f95262929c0cec3a2622f9cd3ea8d393a136de47a7e0d0875b4e0cd9d8eeddd45ca3bea5

diff --git a/dev-db/etcd/etcd-3.3.23.ebuild b/dev-db/etcd/etcd-3.3.23.ebuild
new file mode 100644
index 000..712db371239
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.23.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=4873f5516
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+# Tests hang and emit this error:
+# Too many goroutines running after all test(s).
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-mod=vendor -v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/raft/logger.go || die
+
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/pkg/netutil/routes_linux_test.go || die
+
+   rm "${S}"/pkg/tlsutil/cipher_suites_test.go || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i .

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-08-06 Thread Zac Medico
commit: 2040677801db87d8f1e546fef6f99d9d08f6a063
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Aug  6 07:00:26 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Aug  6 07:01:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20406778

dev-db/etcd: Bump to version 3.4.10

Bug: https://bugs.gentoo.org/736094
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.4.10.ebuild | 80 ++
 2 files changed, 81 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 0e21831a113..715ff497a76 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,6 +3,7 @@ DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d
 DIST etcd-3.3.19.tar.gz 6509566 BLAKE2B 
0037858daa134e63c6629defe099cc772b758e220a093e719b2d41c2e519a2c2d923d26e8635fb1f7cabe2ec0a0250236293c838d9c34d1745673211dc4f526c
 SHA512 
9f21692466bcb240bac042f4e7ee6f4575c05312542827c7349257b87c9d4a1a625b200fcbb0852c86c192624cd02e9a8d80caa194d25d4b63aa5e33b100eac1
 DIST etcd-3.3.20.tar.gz 6509856 BLAKE2B 
49e0ae7a56ce9e84664cd4395a91518c01e42346edc83bd61a84883da013b6cfda15c17cdb6ce5c44760574ee2101e7d39c32aaf458ceb1b505aea5ae787f1b6
 SHA512 
66aee553b053dea732ab3716676a05f5357a38ff0cb3ef8b6be4b80f4f54f0720578db9438b31e88bdb61aa662443d6b7993fa37af639208618bff76285ea7f9
 DIST etcd-3.3.23.tar.gz 6526967 BLAKE2B 
b29cc691a45021ffb2bbf9528d66e2a4384bdf21bf8865a1062d38535e8823a7726790e4d1d5f7b1a9362a730668d2ea579422619c9e29837c290f8fd7edaea7
 SHA512 
28b689092b342f5d7b211b122f6fc22dcd62c54eec70d4108b5f933851cd145bdf26097927e70b6596af918c583ad3a4bd28acc4c0e93d7f67011789d66dc94b
+DIST etcd-3.4.10.tar.gz 8954911 BLAKE2B 
ce800d9db0afdbeab5177b8138e494997a1df024acfa137a7138c6e205c26881c06544e8f7a6fd372382fce2eca5f73cb5139a3878339f1182703619cfae
 SHA512 
104bfce8df4704caafc45b731bb440060be1d802a42642f33cc6c2ad11b7f94c237c1b8a47c38d1e109b71b31cc6cd8a666796fe2dbc925722fee1c2c4da
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
 DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20
 DIST etcd-3.4.5.tar.gz 8943585 BLAKE2B 
6df1538ec1e65c6f1a7fc41c0ceb29ca126efe797c8e6e029dfd45cdfeadacd322a46e18f627cac6defd78d8a17ddf09b5a0918fb454bfbafd450084de972c5a
 SHA512 
cd8845433e208cbe1cf0e0a001ee503d42b73f44ac0e0578d9ee8692f95262929c0cec3a2622f9cd3ea8d393a136de47a7e0d0875b4e0cd9d8eeddd45ca3bea5

diff --git a/dev-db/etcd/etcd-3.4.10.ebuild b/dev-db/etcd/etcd-3.4.10.ebuild
new file mode 100644
index 000..55d46653132
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.10.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=18dfb9cca
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+# Tests fail with this error:
+# fatal error: checkptr: unsafe pointer conversion
+RESTRICT="test"
+
+src_prepare() {
+   export GO_BUILD_FLAGS="-mod=vendor -v -x"
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+
+   sed -e 
"s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \
+   -e "s|go test |go test ${GO_BUILD_FLAGS} |" \
+   -i ./test || die
+
+   mkdir -p vendor/github.com/coreos || die
+   ln -s ../../.. vendor/github.com/coreos/etcd || die
+
+   echo 'module go.etcd.io/etcd' > go.mod || die
+}
+
+src_compile() {
+./build || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FI

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-04-03 Thread William Hubbs
commit: 291fb54a275144b4792800b3aa435fce54c1b364
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Apr  3 18:35:20 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Apr  3 18:35:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291fb54a

dev-db/etcd: 3.4.7 bump

Signed-off-by: William Hubbs  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.7.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 10ab5adc194..7342c59d333 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -5,3 +5,4 @@ DIST etcd-3.3.20.tar.gz 6509856 BLAKE2B 
49e0ae7a56ce9e84664cd4395a91518c01e42346
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
 DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20
 DIST etcd-3.4.5.tar.gz 8943585 BLAKE2B 
6df1538ec1e65c6f1a7fc41c0ceb29ca126efe797c8e6e029dfd45cdfeadacd322a46e18f627cac6defd78d8a17ddf09b5a0918fb454bfbafd450084de972c5a
 SHA512 
cd8845433e208cbe1cf0e0a001ee503d42b73f44ac0e0578d9ee8692f95262929c0cec3a2622f9cd3ea8d393a136de47a7e0d0875b4e0cd9d8eeddd45ca3bea5
+DIST etcd-3.4.7.tar.gz 8943976 BLAKE2B 
7dd81324e78ef53577055c54e851680b2421524aea1148449cd1003391029e110c90bd607730955ac4081c49e846da08159553f8db7d768e15dda51b8bf657ca
 SHA512 
18851be0cbe8dabc6be8ba0c61d783f21b1fb9403256166016767926c731f1d95a1adebad9f36d43c57a424a7ac88c49b1d1ce01c2aa065e5bbbff847eb9234a

diff --git a/dev-db/etcd/etcd-3.4.7.ebuild b/dev-db/etcd/etcd-3.4.7.ebuild
new file mode 100644
index 000..2e8f38a668f
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.7.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=e694b7bb0
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/raft/logger.go || die
+
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/pkg/netutil/routes_linux_test.go || die
+}
+
+src_compile() {
+   GO_BUILD_FLAGS="-mod=vendor -v -x" ./build || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+}
+
+src_test() {
+   ./test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-04-01 Thread William Hubbs
commit: a7fa38982f483e7b9eb2c24943652f0088d2ea46
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Apr  1 21:42:58 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Apr  1 21:45:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7fa3898

dev-db/etcd 3.3.20 bump

Signed-off-by: William Hubbs  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.20.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 0782ccedd7f..10ab5adc194 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,6 +1,7 @@
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
 DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d0cb50cc863655fdbc35cae2d647f64eddb699cb1ef7b3736687a9978cd120d181b274b663a1ac2b7eb549729
 SHA512 
1146baa8c424a6ddb4a2a10494e2f82ba0c22def1fcd3e041b871c060ca915267f1a2e1c455b017eded1908300ddbd8a3849ee3c5dda93489d9eeaaa90baf254
 DIST etcd-3.3.19.tar.gz 6509566 BLAKE2B 
0037858daa134e63c6629defe099cc772b758e220a093e719b2d41c2e519a2c2d923d26e8635fb1f7cabe2ec0a0250236293c838d9c34d1745673211dc4f526c
 SHA512 
9f21692466bcb240bac042f4e7ee6f4575c05312542827c7349257b87c9d4a1a625b200fcbb0852c86c192624cd02e9a8d80caa194d25d4b63aa5e33b100eac1
+DIST etcd-3.3.20.tar.gz 6509856 BLAKE2B 
49e0ae7a56ce9e84664cd4395a91518c01e42346edc83bd61a84883da013b6cfda15c17cdb6ce5c44760574ee2101e7d39c32aaf458ceb1b505aea5ae787f1b6
 SHA512 
66aee553b053dea732ab3716676a05f5357a38ff0cb3ef8b6be4b80f4f54f0720578db9438b31e88bdb61aa662443d6b7993fa37af639208618bff76285ea7f9
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
 DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20
 DIST etcd-3.4.5.tar.gz 8943585 BLAKE2B 
6df1538ec1e65c6f1a7fc41c0ceb29ca126efe797c8e6e029dfd45cdfeadacd322a46e18f627cac6defd78d8a17ddf09b5a0918fb454bfbafd450084de972c5a
 SHA512 
cd8845433e208cbe1cf0e0a001ee503d42b73f44ac0e0578d9ee8692f95262929c0cec3a2622f9cd3ea8d393a136de47a7e0d0875b4e0cd9d8eeddd45ca3bea5

diff --git a/dev-db/etcd/etcd-3.3.20.ebuild b/dev-db/etcd/etcd-3.3.20.ebuild
new file mode 100644
index 000..bb8da4b424e
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.20.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT=9fd7e2b80
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND=">=dev-lang/go-1.12:=
+   ${COMMON_DEPEND}"
+RDEPEND="!dev-db/etcdctl
+   ${COMMON_DEPEND}"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   systemd_dounit "${FILESDIR}/${PN}.service"
+   systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" 
${PN}.conf
+   newinitd "${FILESDIR}"/${PN}.i

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-03-23 Thread William Hubbs
commit: 120735a30fd5fa305232a9af36da1563013d7095
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Mar 23 15:49:07 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar 23 15:50:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120735a3

dev-db/etcd: 3.4.5 bump

Signed-off-by: William Hubbs  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.5.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 05c877441b5..0782ccedd7f 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,3 +3,4 @@ DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d
 DIST etcd-3.3.19.tar.gz 6509566 BLAKE2B 
0037858daa134e63c6629defe099cc772b758e220a093e719b2d41c2e519a2c2d923d26e8635fb1f7cabe2ec0a0250236293c838d9c34d1745673211dc4f526c
 SHA512 
9f21692466bcb240bac042f4e7ee6f4575c05312542827c7349257b87c9d4a1a625b200fcbb0852c86c192624cd02e9a8d80caa194d25d4b63aa5e33b100eac1
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
 DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20
+DIST etcd-3.4.5.tar.gz 8943585 BLAKE2B 
6df1538ec1e65c6f1a7fc41c0ceb29ca126efe797c8e6e029dfd45cdfeadacd322a46e18f627cac6defd78d8a17ddf09b5a0918fb454bfbafd450084de972c5a
 SHA512 
cd8845433e208cbe1cf0e0a001ee503d42b73f44ac0e0578d9ee8692f95262929c0cec3a2622f9cd3ea8d393a136de47a7e0d0875b4e0cd9d8eeddd45ca3bea5

diff --git a/dev-db/etcd/etcd-3.4.5.ebuild b/dev-db/etcd/etcd-3.4.5.ebuild
new file mode 100644
index 000..8848dd8b39f
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=e784ba73c
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/raft/logger.go || die
+
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/pkg/netutil/routes_linux_test.go || die
+}
+
+src_compile() {
+   GO_BUILD_FLAGS=-v ./build || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+}
+
+src_test() {
+   ./test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-03-19 Thread William Hubbs
commit: 13fd25309a67cb6fd9c4fef15c880f27f6a78a91
Author: William Hubbs  gentoo  org>
AuthorDate: Thu Mar 19 22:48:48 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Mar 19 22:49:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13fd2530

dev-db/etcd: 3.3.19 bump

Signed-off-by: William Hubbs  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.19.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 636c89eff11..05c877441b5 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
 DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d0cb50cc863655fdbc35cae2d647f64eddb699cb1ef7b3736687a9978cd120d181b274b663a1ac2b7eb549729
 SHA512 
1146baa8c424a6ddb4a2a10494e2f82ba0c22def1fcd3e041b871c060ca915267f1a2e1c455b017eded1908300ddbd8a3849ee3c5dda93489d9eeaaa90baf254
+DIST etcd-3.3.19.tar.gz 6509566 BLAKE2B 
0037858daa134e63c6629defe099cc772b758e220a093e719b2d41c2e519a2c2d923d26e8635fb1f7cabe2ec0a0250236293c838d9c34d1745673211dc4f526c
 SHA512 
9f21692466bcb240bac042f4e7ee6f4575c05312542827c7349257b87c9d4a1a625b200fcbb0852c86c192624cd02e9a8d80caa194d25d4b63aa5e33b100eac1
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
 DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20

diff --git a/dev-db/etcd/etcd-3.3.19.ebuild b/dev-db/etcd/etcd-3.3.19.ebuild
new file mode 100644
index 000..be6c9f54d49
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.19.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT=67da93f73
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2020-02-24 Thread William Hubbs
commit: 307adcc66835913554fb404d2b086a6e5cde441d
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Feb 25 05:34:34 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Feb 25 05:34:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=307adcc6

dev-db/etcd: 3.4.4 bump

Signed-off-by: William Hubbs  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.4.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index afeaa47f100..636c89eff11 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
 DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d0cb50cc863655fdbc35cae2d647f64eddb699cb1ef7b3736687a9978cd120d181b274b663a1ac2b7eb549729
 SHA512 
1146baa8c424a6ddb4a2a10494e2f82ba0c22def1fcd3e041b871c060ca915267f1a2e1c455b017eded1908300ddbd8a3849ee3c5dda93489d9eeaaa90baf254
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752
+DIST etcd-3.4.4.tar.gz 8940682 BLAKE2B 
c165fbb61d87d4a42261742bf302e6a04daa67e6ebea6f12314b77a9a12afd0e6b02e642b827e8b14fa77eedd207fe32c047f19f0487f54aba1e0db6774673f2
 SHA512 
81de69c422c58c73df8812127f29e49e1d81dacf47e26fe4b8a332b6b19f0242086c5e3b52fdbbbf08d91abe6213400887dc72e837effeec73a182a8caca9d20

diff --git a/dev-db/etcd/etcd-3.4.4.ebuild b/dev-db/etcd/etcd-3.4.4.ebuild
new file mode 100644
index 000..ba0f54d5476
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=c65a9e2dd
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc +server"
+
+COMMON_DEPEND="server? (
+   acct-group/etcd
+   acct-user/etcd
+   )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   !dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/raft/logger.go || die
+
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/pkg/netutil/routes_linux_test.go || die
+}
+
+src_compile() {
+   GO_BUILD_FLAGS=-v ./build || die
+}
+
+src_install() {
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+}
+
+src_test() {
+   ./test || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/, sys-cluster/kubectl/, app-emulation/containerd/, ...

2020-01-15 Thread Michał Górny
commit: fde97c1ef731ba20287055f7756f9c9e8bb4dd91
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 15 09:36:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 15 10:37:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde97c1e

Reassign mrueg's packages

Signed-off-by: Michał Górny  gentoo.org>

 app-emulation/containerd/metadata.xml | 4 
 app-emulation/docker/metadata.xml | 4 ++--
 app-emulation/runc/metadata.xml   | 4 
 dev-db/etcd/metadata.xml  | 4 
 sys-cluster/kubectl/metadata.xml  | 5 +
 5 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/app-emulation/containerd/metadata.xml 
b/app-emulation/containerd/metadata.xml
index 11dca7fe67a..148cffdb35a 100644
--- a/app-emulation/containerd/metadata.xml
+++ b/app-emulation/containerd/metadata.xml
@@ -12,10 +12,6 @@
admwig...@gmail.com
Tianon

-   
-   mr...@gentoo.org
-   Manuel Rüger
-   

willi...@gentoo.org
William Hubbs

diff --git a/app-emulation/docker/metadata.xml 
b/app-emulation/docker/metadata.xml
index 78d4e39af19..1a11d4e6ee8 100644
--- a/app-emulation/docker/metadata.xml
+++ b/app-emulation/docker/metadata.xml
@@ -17,8 +17,8 @@
William Hubbs


-   mr...@gentoo.org
-   Manuel Rüger
+   zlog...@gentoo.org
+   Mikle Kolyada




diff --git a/app-emulation/runc/metadata.xml b/app-emulation/runc/metadata.xml
index d38c867c132..7cb4581ab75 100644
--- a/app-emulation/runc/metadata.xml
+++ b/app-emulation/runc/metadata.xml
@@ -9,10 +9,6 @@
willi...@gentoo.org
William Hubbs

-   
-   mr...@gentoo.org
-   Manuel Rüger
-   


Enable support for ambient capabilities set (Requires 
Linux kernel 4.3 or later).

diff --git a/dev-db/etcd/metadata.xml b/dev-db/etcd/metadata.xml
index f48ad8fcc96..7126584f029 100644
--- a/dev-db/etcd/metadata.xml
+++ b/dev-db/etcd/metadata.xml
@@ -13,8 +13,4 @@

zmed...@gentoo.org

-   
-   Manuel Rüger
-   mr...@gentoo.org
-   
 

diff --git a/sys-cluster/kubectl/metadata.xml b/sys-cluster/kubectl/metadata.xml
index 417822e21b7..14c570095b8 100644
--- a/sys-cluster/kubectl/metadata.xml
+++ b/sys-cluster/kubectl/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   mr...@gentoo.org
-   Manuel Rüger
-   
+   

kubernetes/kubernetes




[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-11-27 Thread Manuel Rüger
commit: ce30b47ee1de1013023f0d017dbbb3c17c42e0aa
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov 27 13:35:56 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov 27 13:36:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce30b47e

dev-db/etcd: Version bump to 3.3.18

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.18.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 61dcd9a9fd9..afeaa47f100 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
+DIST etcd-3.3.18.tar.gz 6508732 BLAKE2B 
cce52ac9fa005388bafacf3d0bf049f3930de12d0cb50cc863655fdbc35cae2d647f64eddb699cb1ef7b3736687a9978cd120d181b274b663a1ac2b7eb549729
 SHA512 
1146baa8c424a6ddb4a2a10494e2f82ba0c22def1fcd3e041b871c060ca915267f1a2e1c455b017eded1908300ddbd8a3849ee3c5dda93489d9eeaaa90baf254
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752

diff --git a/dev-db/etcd/etcd-3.3.18.ebuild b/dev-db/etcd/etcd-3.3.18.ebuild
new file mode 100644
index 000..76b45d13962
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.18.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT="3c8740a"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-28 Thread Manuel Rüger
commit: 1fbaa4d40701f65661e8b56e12ba8370d649691e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Oct 28 13:58:22 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Oct 28 13:58:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fbaa4d4

dev-db/etcd: Fix typo in src_test

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/etcd-3.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.4.3.ebuild b/dev-db/etcd/etcd-3.4.3.ebuild
index 9bfd579a2ba..f43dd732266 100644
--- a/dev-db/etcd/etcd-3.4.3.ebuild
+++ b/dev-db/etcd/etcd-3.4.3.ebuild
@@ -81,6 +81,6 @@ src_install() {
 
 src_test() {
pushd src/${EGO_PN} || die
-   GO111MODULES=off ./test || die
+   GO111MODULE=off ./test || die
popd || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-23 Thread Manuel Rüger
commit: 90d0c34ceae9ffb5762972079962773c53fbabae
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Oct 23 22:48:37 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Oct 23 22:48:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d0c34c

dev-db/etcd: Stabilize on amd64

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/etcd-3.3.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.3.17.ebuild b/dev-db/etcd/etcd-3.3.17.ebuild
index 53c76506148..6290e49fcb1 100644
--- a/dev-db/etcd/etcd-3.3.17.ebuild
+++ b/dev-db/etcd/etcd-3.3.17.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 inherit user systemd golang-vcs-snapshot
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 EGO_PN="github.com/coreos/etcd"
 GIT_COMMIT="6d80523"
 MY_PV="${PV/_rc/-rc.}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-23 Thread Manuel Rüger
commit: c97e2f028ad28efa813b2db6236959f22e642748
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Oct 23 22:49:03 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Oct 23 22:49:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97e2f02

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  2 -
 dev-db/etcd/etcd-3.3.15.ebuild | 78 --
 dev-db/etcd/etcd-3.4.2.ebuild  | 86 --
 3 files changed, 166 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 7887a7fcc56..61dcd9a9fd9 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,2 @@
-DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
-DIST etcd-3.4.2.tar.gz 8940311 BLAKE2B 
cf385a52befd2acb27c85339f164b8f0db78ee164d9d13311568ec265bc6f4cdb2f6d9e34a5fdd02c9274331bbaa6bf53c1d33fc9567715ac05d87b21d7ec3fd
 SHA512 
359af6a56d94e8282a82304438a677ddc9c4b8e3a95f737f97fed0275a2b8151a233fba1a243091c1f135b034750a58151f6b3c740e760b4c89de375acc60b00
 DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752

diff --git a/dev-db/etcd/etcd-3.3.15.ebuild b/dev-db/etcd/etcd-3.3.15.ebuild
deleted file mode 100644
index 45845631992..000
--- a/dev-db/etcd/etcd-3.3.15.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-GIT_COMMIT="94745a4"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.12:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/src/${EGO_PN}/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -i "${S}"/src/${EGO_PN}/test || die
-   # missing ... in args forwarded to print-like function
-   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
-}
-
-pkg_setup() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export -n GOCACHE XDG_CACHE_HOME #651934
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   GO_BUILD_FLAGS=-v ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   ./test || die
-   popd || die
-}

diff --git a/dev-db/etcd/etcd-3.4.2.ebuild b/dev-db/etcd/etcd-3.4.2.ebuild
deleted file mode 100644
index 66e471bbadb..000
--- a/dev-db/etcd/etcd-3.4.2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2019 G

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-23 Thread Manuel Rüger
commit: 910a9d823a0309be7668f142d10b609ce074cbca
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Oct 23 20:50:39 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Oct 23 20:50:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910a9d82

dev-db/etcd: Version bump to 3.4.3

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.3.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 93ef3fd0c4e..7887a7fcc56 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
 DIST etcd-3.4.2.tar.gz 8940311 BLAKE2B 
cf385a52befd2acb27c85339f164b8f0db78ee164d9d13311568ec265bc6f4cdb2f6d9e34a5fdd02c9274331bbaa6bf53c1d33fc9567715ac05d87b21d7ec3fd
 SHA512 
359af6a56d94e8282a82304438a677ddc9c4b8e3a95f737f97fed0275a2b8151a233fba1a243091c1f135b034750a58151f6b3c740e760b4c89de375acc60b00
+DIST etcd-3.4.3.tar.gz 8941589 BLAKE2B 
127e4a8dd9495686ffc43099c3002e0e3c00ab661bce917ac298f69351e1226dff0efcaf9277c1e46449abafef965af8f612a127e1e30c381545073232a2ff50
 SHA512 
0bc1e857b707be1d348f5ab58a330d259dd30338c28580751142f643b2a081d1fe42a8859fa9463a734ff27f51929dc89f933f044b89d6e549a348add034d752

diff --git a/dev-db/etcd/etcd-3.4.3.ebuild b/dev-db/etcd/etcd-3.4.3.ebuild
new file mode 100644
index 000..9bfd579a2ba
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+EGO_PN="go.etcd.io/etcd"
+GIT_COMMIT="3cf2f69"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="${HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/src/${EGO_PN}/pkg/netutil/routes_linux_test.go || die
+
+   # Avoid network-sandbox violations since go-1.13
+   rm src/${EGO_PN}/go.mod || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-13 Thread Manuel Rüger
commit: d50a790605a2942a90cda4450098a42c899163fe
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Oct 13 16:54:07 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Oct 13 16:56:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50a7906

dev-db/etcd: Version bump to 3.3.17

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.17.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 8b4a1112ae6..fd7705927ba 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
 DIST etcd-3.3.16.tar.gz 15846502 BLAKE2B 
8804ad2d3c24f7dc98fd1b9f7c5d989addaf0cb614cc2b3aec949cf81cdbcc04afc4257b057a336e90e9c4e5eeb96f5dbc445230b0c611b2dbdba3d0998d171b
 SHA512 
50673bd386700fb89e74599f122084115ab8105949921a8ad75a614d0fd55df4ec5fc909997f6422ae321b33d4b7c2fd2fceb34bd1220ddf7892dee6e7d79ae5
+DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
 DIST etcd-3.4.1.tar.gz 8931994 BLAKE2B 
4cfb8a87082be3323b9adb4290c91c4419b8c8d9b343196af07424f126afda4e702da7fed578d8fcd04d1c2c2e34524fb341734afc9c41d5e43ba103c865b262
 SHA512 
c5c0cd25ae12e02c162490d46ab726b4a1ab5a027435a884cf61b995d5dc290d58534ec271ed41efd7dd3a30b0bd040f74081d943e32928cce16e56484e3bfc5
 DIST etcd-3.4.2.tar.gz 8940311 BLAKE2B 
cf385a52befd2acb27c85339f164b8f0db78ee164d9d13311568ec265bc6f4cdb2f6d9e34a5fdd02c9274331bbaa6bf53c1d33fc9567715ac05d87b21d7ec3fd
 SHA512 
359af6a56d94e8282a82304438a677ddc9c4b8e3a95f737f97fed0275a2b8151a233fba1a243091c1f135b034750a58151f6b3c740e760b4c89de375acc60b00

diff --git a/dev-db/etcd/etcd-3.3.17.ebuild b/dev-db/etcd/etcd-3.3.17.ebuild
new file mode 100644
index 000..53c76506148
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.17.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT="6d80523"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+  

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-13 Thread Manuel Rüger
commit: 5c8ad4524c8a4dd5ecffab50a96439a689f07750
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Oct 13 16:54:50 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Oct 13 16:56:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c8ad452

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  2 -
 dev-db/etcd/etcd-3.3.16.ebuild | 78 --
 dev-db/etcd/etcd-3.4.1.ebuild  | 86 --
 3 files changed, 166 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index fd7705927ba..93ef3fd0c4e 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,5 +1,3 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
-DIST etcd-3.3.16.tar.gz 15846502 BLAKE2B 
8804ad2d3c24f7dc98fd1b9f7c5d989addaf0cb614cc2b3aec949cf81cdbcc04afc4257b057a336e90e9c4e5eeb96f5dbc445230b0c611b2dbdba3d0998d171b
 SHA512 
50673bd386700fb89e74599f122084115ab8105949921a8ad75a614d0fd55df4ec5fc909997f6422ae321b33d4b7c2fd2fceb34bd1220ddf7892dee6e7d79ae5
 DIST etcd-3.3.17.tar.gz 6507229 BLAKE2B 
e49b66a3a2bb5be254cb3400341d4f1454608a9923295826ce780fb5750b6182ec7ec35996ef538aa38863cacd0c0e3efd072ce5c3dae1e65509ce962964994d
 SHA512 
73f8ddab1c27c77cedeb602201d01b433363c9550ec26b4729f2c5c114aefa4b90d444fd5a7696272c2cccdc8329e641f073ef9f39c7ea4e62837341dfc28641
-DIST etcd-3.4.1.tar.gz 8931994 BLAKE2B 
4cfb8a87082be3323b9adb4290c91c4419b8c8d9b343196af07424f126afda4e702da7fed578d8fcd04d1c2c2e34524fb341734afc9c41d5e43ba103c865b262
 SHA512 
c5c0cd25ae12e02c162490d46ab726b4a1ab5a027435a884cf61b995d5dc290d58534ec271ed41efd7dd3a30b0bd040f74081d943e32928cce16e56484e3bfc5
 DIST etcd-3.4.2.tar.gz 8940311 BLAKE2B 
cf385a52befd2acb27c85339f164b8f0db78ee164d9d13311568ec265bc6f4cdb2f6d9e34a5fdd02c9274331bbaa6bf53c1d33fc9567715ac05d87b21d7ec3fd
 SHA512 
359af6a56d94e8282a82304438a677ddc9c4b8e3a95f737f97fed0275a2b8151a233fba1a243091c1f135b034750a58151f6b3c740e760b4c89de375acc60b00

diff --git a/dev-db/etcd/etcd-3.3.16.ebuild b/dev-db/etcd/etcd-3.3.16.ebuild
deleted file mode 100644
index 1dc05124367..000
--- a/dev-db/etcd/etcd-3.3.16.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-GIT_COMMIT="94745a4"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.12:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/src/${EGO_PN}/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -i "${S}"/src/${EGO_PN}/test || die
-   # missing ... in args forwarded to print-like function
-   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
-}
-
-pkg_setup() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export -n GOCACHE XDG_CACHE_HOME #651934
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   GO_BUILD_FLAGS=-v ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_t

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-10 Thread Manuel Rüger
commit: 98e19780edffa7042271bf5931504bd06050eb1c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 10 07:26:00 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 10 07:28:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e19780

dev-db/etcd: Version bump to 3.3.16

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.16.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index b2c7da66481..d34fc928681 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
+DIST etcd-3.3.16.tar.gz 15846502 BLAKE2B 
8804ad2d3c24f7dc98fd1b9f7c5d989addaf0cb614cc2b3aec949cf81cdbcc04afc4257b057a336e90e9c4e5eeb96f5dbc445230b0c611b2dbdba3d0998d171b
 SHA512 
50673bd386700fb89e74599f122084115ab8105949921a8ad75a614d0fd55df4ec5fc909997f6422ae321b33d4b7c2fd2fceb34bd1220ddf7892dee6e7d79ae5
 DIST etcd-3.4.1.tar.gz 8931994 BLAKE2B 
4cfb8a87082be3323b9adb4290c91c4419b8c8d9b343196af07424f126afda4e702da7fed578d8fcd04d1c2c2e34524fb341734afc9c41d5e43ba103c865b262
 SHA512 
c5c0cd25ae12e02c162490d46ab726b4a1ab5a027435a884cf61b995d5dc290d58534ec271ed41efd7dd3a30b0bd040f74081d943e32928cce16e56484e3bfc5

diff --git a/dev-db/etcd/etcd-3.3.16.ebuild b/dev-db/etcd/etcd-3.3.16.ebuild
new file mode 100644
index 000..1dc05124367
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.16.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT="94745a4"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-10-10 Thread Manuel Rüger
commit: 4da1aeb9d8f36f2007d1e697e6d54445ba680520
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 10 07:27:32 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 10 07:28:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da1aeb9

dev-db/etcd: Version bump to 3.4.2

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.2.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index d34fc928681..8b4a1112ae6 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
 DIST etcd-3.3.16.tar.gz 15846502 BLAKE2B 
8804ad2d3c24f7dc98fd1b9f7c5d989addaf0cb614cc2b3aec949cf81cdbcc04afc4257b057a336e90e9c4e5eeb96f5dbc445230b0c611b2dbdba3d0998d171b
 SHA512 
50673bd386700fb89e74599f122084115ab8105949921a8ad75a614d0fd55df4ec5fc909997f6422ae321b33d4b7c2fd2fceb34bd1220ddf7892dee6e7d79ae5
 DIST etcd-3.4.1.tar.gz 8931994 BLAKE2B 
4cfb8a87082be3323b9adb4290c91c4419b8c8d9b343196af07424f126afda4e702da7fed578d8fcd04d1c2c2e34524fb341734afc9c41d5e43ba103c865b262
 SHA512 
c5c0cd25ae12e02c162490d46ab726b4a1ab5a027435a884cf61b995d5dc290d58534ec271ed41efd7dd3a30b0bd040f74081d943e32928cce16e56484e3bfc5
+DIST etcd-3.4.2.tar.gz 8940311 BLAKE2B 
cf385a52befd2acb27c85339f164b8f0db78ee164d9d13311568ec265bc6f4cdb2f6d9e34a5fdd02c9274331bbaa6bf53c1d33fc9567715ac05d87b21d7ec3fd
 SHA512 
359af6a56d94e8282a82304438a677ddc9c4b8e3a95f737f97fed0275a2b8151a233fba1a243091c1f135b034750a58151f6b3c740e760b4c89de375acc60b00

diff --git a/dev-db/etcd/etcd-3.4.2.ebuild b/dev-db/etcd/etcd-3.4.2.ebuild
new file mode 100644
index 000..66e471bbadb
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+EGO_PN="go.etcd.io/etcd"
+GIT_COMMIT="a14579f"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="${HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/src/${EGO_PN}/pkg/netutil/routes_linux_test.go || die
+
+   # Avoid network-sandbox violations since go-1.13
+   rm src/${EGO_PN}/go.mod || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+  

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-20 Thread Zac Medico
commit: 6f921e0c268bbe8a32df111df959af85c52a10eb
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Sep 21 01:31:03 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Sep 21 01:39:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f921e0c

dev-db/etcd: LICENSE: account for vendored software

Reported-by: Michał Górny  gentoo.org>
Closes: https://bugs.gentoo.org/695230
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.3.15.ebuild | 2 +-
 dev-db/etcd/etcd-3.4.1.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/etcd-3.3.15.ebuild b/dev-db/etcd/etcd-3.3.15.ebuild
index b3ed26c899a..45845631992 100644
--- a/dev-db/etcd/etcd-3.3.15.ebuild
+++ b/dev-db/etcd/etcd-3.3.15.ebuild
@@ -12,7 +12,7 @@ MY_PV="${PV/_rc/-rc.}"
 DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
 HOMEPAGE="https://github.com/etcd-io/etcd";
 SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
 IUSE="doc +server"
 DEPEND=">=dev-lang/go-1.12:="

diff --git a/dev-db/etcd/etcd-3.4.1.ebuild b/dev-db/etcd/etcd-3.4.1.ebuild
index 051c32bb9b5..66e471bbadb 100644
--- a/dev-db/etcd/etcd-3.4.1.ebuild
+++ b/dev-db/etcd/etcd-3.4.1.ebuild
@@ -12,7 +12,7 @@ MY_PV="${PV/_rc/-rc.}"
 DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
 HOMEPAGE="https://github.com/etcd-io/etcd";
 SRC_URI="${HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
 IUSE="doc +server"
 DEPEND=">=dev-lang/go-1.12:="



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-20 Thread Zac Medico
commit: 3c6c343d9babe2d565671c66e6d2bad6680f6f4b
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Sep 21 00:56:00 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Sep 21 01:22:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6c343d

dev-db/etcd: Disable some 3.4.1 tests for network-sandbox

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.4.1.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-db/etcd/etcd-3.4.1.ebuild b/dev-db/etcd/etcd-3.4.1.ebuild
index 3dd3f34684e..051c32bb9b5 100644
--- a/dev-db/etcd/etcd-3.4.1.ebuild
+++ b/dev-db/etcd/etcd-3.4.1.ebuild
@@ -25,11 +25,16 @@ src_prepare() {
sed -e 's:\(for p in \)shellcheck :\1 :' \
-e 's:^ gofmt \\$:\\:' \
-e 's:^ govet \\$:\\:' \
+   -e 's:^ govet_shadow \\$:\\:' \
-i "${S}"/src/${EGO_PN}/test || die
# missing ... in args forwarded to print-like function
sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-i "${S}"/src/${EGO_PN}/raft/logger.go || die
 
+   sed -e 's:TestGetDefaultInterface(:_\0:' \
+   -e 's:TestGetDefaultHost(:_\0:' \
+   -i "${S}"/src/${EGO_PN}/pkg/netutil/routes_linux_test.go || die
+
# Avoid network-sandbox violations since go-1.13
rm src/${EGO_PN}/go.mod || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-18 Thread Manuel Rüger
commit: 9e054e34716e8bd8247b45c13919b662deeb2b12
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Sep 18 07:24:46 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Sep 18 07:24:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e054e34

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest  |  1 -
 dev-db/etcd/etcd-3.4.0.ebuild | 81 ---
 2 files changed, 82 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 30e5e2ea967..b2c7da66481 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,2 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
-DIST etcd-3.4.0.tar.gz 8931860 BLAKE2B 
abeb78866b751a3a124f1aaba2b6709402a51d0c5f36a45c8386816e4059172206c7e3420865209a53cecf7452a8c8b510a6fd50b5c7a9fefaac577e5d3c4413
 SHA512 
8e130cc76a2284c98bb72e3832e10e25e45c6fbaa5da7c6a7a2dd14a069d4fea7659b13c1450b87b869e5936bdad47606d0c65292febb7257369531ff2658674
 DIST etcd-3.4.1.tar.gz 8931994 BLAKE2B 
4cfb8a87082be3323b9adb4290c91c4419b8c8d9b343196af07424f126afda4e702da7fed578d8fcd04d1c2c2e34524fb341734afc9c41d5e43ba103c865b262
 SHA512 
c5c0cd25ae12e02c162490d46ab726b4a1ab5a027435a884cf61b995d5dc290d58534ec271ed41efd7dd3a30b0bd040f74081d943e32928cce16e56484e3bfc5

diff --git a/dev-db/etcd/etcd-3.4.0.ebuild b/dev-db/etcd/etcd-3.4.0.ebuild
deleted file mode 100644
index 97d43f62eaf..000
--- a/dev-db/etcd/etcd-3.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit user systemd golang-vcs-snapshot
-
-KEYWORDS="~amd64"
-EGO_PN="go.etcd.io/etcd"
-GIT_COMMIT="898bd13"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="${HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.12:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/src/${EGO_PN}/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -i "${S}"/src/${EGO_PN}/test || die
-   # missing ... in args forwarded to print-like function
-   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
-
-   # Avoid network-sandbox violations since go-1.13
-   rm src/${EGO_PN}/go.mod || die
-}
-
-pkg_setup() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export -n GOCACHE XDG_CACHE_HOME #651934
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   GO_BUILD_FLAGS=-v ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   GO111MODULES=off ./test || die
-   popd || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-18 Thread Manuel Rüger
commit: 4bcc51af8873db6cbdc9866e1aede2c148de4a9a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Sep 18 07:23:59 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Sep 18 07:23:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bcc51af

dev-db/etcd: Version bump to 3.4.1

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.1.ebuild | 81 +++
 2 files changed, 82 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 6474be05bd3..30e5e2ea967 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
 DIST etcd-3.4.0.tar.gz 8931860 BLAKE2B 
abeb78866b751a3a124f1aaba2b6709402a51d0c5f36a45c8386816e4059172206c7e3420865209a53cecf7452a8c8b510a6fd50b5c7a9fefaac577e5d3c4413
 SHA512 
8e130cc76a2284c98bb72e3832e10e25e45c6fbaa5da7c6a7a2dd14a069d4fea7659b13c1450b87b869e5936bdad47606d0c65292febb7257369531ff2658674
+DIST etcd-3.4.1.tar.gz 8931994 BLAKE2B 
4cfb8a87082be3323b9adb4290c91c4419b8c8d9b343196af07424f126afda4e702da7fed578d8fcd04d1c2c2e34524fb341734afc9c41d5e43ba103c865b262
 SHA512 
c5c0cd25ae12e02c162490d46ab726b4a1ab5a027435a884cf61b995d5dc290d58534ec271ed41efd7dd3a30b0bd040f74081d943e32928cce16e56484e3bfc5

diff --git a/dev-db/etcd/etcd-3.4.1.ebuild b/dev-db/etcd/etcd-3.4.1.ebuild
new file mode 100644
index 000..3dd3f34684e
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+EGO_PN="go.etcd.io/etcd"
+GIT_COMMIT="a14579f"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="${HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+
+   # Avoid network-sandbox violations since go-1.13
+   rm src/${EGO_PN}/go.mod || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   GO111MODULES=off ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-05 Thread Zac Medico
commit: 56b5560f9c0bd5ccc09df68e722823bfa7805ebd
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Sep  5 22:04:31 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Sep  5 22:04:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b5560f

dev-db/etcd: Fix compile with go-1.13

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.4.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-db/etcd/etcd-3.4.0.ebuild b/dev-db/etcd/etcd-3.4.0.ebuild
index c6423b93241..97d43f62eaf 100644
--- a/dev-db/etcd/etcd-3.4.0.ebuild
+++ b/dev-db/etcd/etcd-3.4.0.ebuild
@@ -29,6 +29,9 @@ src_prepare() {
# missing ... in args forwarded to print-like function
sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-i "${S}"/src/${EGO_PN}/raft/logger.go || die
+
+   # Avoid network-sandbox violations since go-1.13
+   rm src/${EGO_PN}/go.mod || die
 }
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-02 Thread Zac Medico
commit: 0e29e9d33c6283732ab85d34824ab25bf41d7750
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Sep  2 20:26:48 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep  2 20:32:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e29e9d3

dev-db/etcd: 3.4.0 SRC_URI fix (bug 693368)

Reported-by: Toralf Förster  gentoo.org>
Closes: https://bugs.gentoo.org/693368
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.4.0.ebuild b/dev-db/etcd/etcd-3.4.0.ebuild
index 92b31a6a9b5..c6423b93241 100644
--- a/dev-db/etcd/etcd-3.4.0.ebuild
+++ b/dev-db/etcd/etcd-3.4.0.ebuild
@@ -11,7 +11,7 @@ GIT_COMMIT="898bd13"
 MY_PV="${PV/_rc/-rc.}"
 DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
 HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="${HOMEPAGE}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="doc +server"



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-02 Thread Manuel Rüger
commit: db6383de484b3a0a621d68236fde72b448161c7e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep  2 15:34:58 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep  2 15:34:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6383de

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.75, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  2 --
 dev-db/etcd/etcd-3.3.13.ebuild | 78 --
 dev-db/etcd/etcd-3.3.14.ebuild | 78 --
 3 files changed, 158 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index b4f19c206fa..6474be05bd3 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,2 @@
-DIST etcd-3.3.13.tar.gz 3372732 BLAKE2B 
241dee0d9843eefc9aaefb35be8f649d242ab1417456cc3028c8eb2ff2af6a7a1c396f04029d87877d384247b8c7a51ec6ea2e0dd51af07ce48ecc91c613c380
 SHA512 
5b8cf9d8d8b0afd1551f414480f04837668729c10d5d81c5e9ffba3392bd2567f3798267c5e4dbe60f49dbdd859f668c6fe0d7924e0fd65f918ab3bd01d5751a
-DIST etcd-3.3.14.tar.gz 6342437 BLAKE2B 
4bcf27829045e2f2f34c7628d6ed854a7ef5e6db02bd794d1135bb901486d8f3c1bf598c230fe7491e9db7273d3e5aa83bf4c941476ad3093423c14f377513b2
 SHA512 
76c8147168030310f0e4fa0c22670fd73369795ab6d98c0632c87b5947acf10af4adae58b46f042a482dc7a002044cfbdfbec962517018e2fdf211c381281dae
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
 DIST etcd-3.4.0.tar.gz 8931860 BLAKE2B 
abeb78866b751a3a124f1aaba2b6709402a51d0c5f36a45c8386816e4059172206c7e3420865209a53cecf7452a8c8b510a6fd50b5c7a9fefaac577e5d3c4413
 SHA512 
8e130cc76a2284c98bb72e3832e10e25e45c6fbaa5da7c6a7a2dd14a069d4fea7659b13c1450b87b869e5936bdad47606d0c65292febb7257369531ff2658674

diff --git a/dev-db/etcd/etcd-3.3.13.ebuild b/dev-db/etcd/etcd-3.3.13.ebuild
deleted file mode 100644
index ba297d2a031..000
--- a/dev-db/etcd/etcd-3.3.13.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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/etcd-io/etcd"
-GIT_COMMIT="98d3084"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.10:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/src/${EGO_PN}/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -i "${S}"/src/${EGO_PN}/test || die
-   # missing ... in args forwarded to print-like function
-   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
-}
-
-pkg_setup() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export -n GOCACHE XDG_CACHE_HOME #651934
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   GO_BUILD_FLAGS=-v ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   ./test || die
-   popd || die
-}

diff --git a/dev-db/etcd/etcd-3.3.14.ebuild b/dev-db/etcd/etcd-3.3.14.ebuild
deleted file mode 100644
index 4124cf6b940..000
--- a/dev-db/etcd/etcd-3.3.14.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gento

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-02 Thread Manuel Rüger
commit: d4c90f46d31c88e52679bfd8e16540dd8e6c9621
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep  2 15:33:57 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep  2 15:33:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c90f46

dev-db/etcd: Version bump to 3.4.0

Package-Manager: Portage-2.3.75, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.4.0.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 71858702c26..b4f19c206fa 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.3.13.tar.gz 3372732 BLAKE2B 
241dee0d9843eefc9aaefb35be8f649d242ab1417456cc3028c8eb2ff2af6a7a1c396f04029d87877d384247b8c7a51ec6ea2e0dd51af07ce48ecc91c613c380
 SHA512 
5b8cf9d8d8b0afd1551f414480f04837668729c10d5d81c5e9ffba3392bd2567f3798267c5e4dbe60f49dbdd859f668c6fe0d7924e0fd65f918ab3bd01d5751a
 DIST etcd-3.3.14.tar.gz 6342437 BLAKE2B 
4bcf27829045e2f2f34c7628d6ed854a7ef5e6db02bd794d1135bb901486d8f3c1bf598c230fe7491e9db7273d3e5aa83bf4c941476ad3093423c14f377513b2
 SHA512 
76c8147168030310f0e4fa0c22670fd73369795ab6d98c0632c87b5947acf10af4adae58b46f042a482dc7a002044cfbdfbec962517018e2fdf211c381281dae
 DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5
+DIST etcd-3.4.0.tar.gz 8931860 BLAKE2B 
abeb78866b751a3a124f1aaba2b6709402a51d0c5f36a45c8386816e4059172206c7e3420865209a53cecf7452a8c8b510a6fd50b5c7a9fefaac577e5d3c4413
 SHA512 
8e130cc76a2284c98bb72e3832e10e25e45c6fbaa5da7c6a7a2dd14a069d4fea7659b13c1450b87b869e5936bdad47606d0c65292febb7257369531ff2658674

diff --git a/dev-db/etcd/etcd-3.4.0.ebuild b/dev-db/etcd/etcd-3.4.0.ebuild
new file mode 100644
index 000..92b31a6a9b5
--- /dev/null
+++ b/dev-db/etcd/etcd-3.4.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+EGO_PN="go.etcd.io/etcd"
+GIT_COMMIT="898bd13"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   GO111MODULES=off ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-09-02 Thread Manuel Rüger
commit: 0cb93cc0f56070d2d211d0d2e9c04e30d493887f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep  2 15:34:34 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep  2 15:34:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb93cc0

dev-db/etcd: Stabilize 3.3.15

Package-Manager: Portage-2.3.75, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/etcd-3.3.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.3.15.ebuild b/dev-db/etcd/etcd-3.3.15.ebuild
index 5724a790e2b..b3ed26c899a 100644
--- a/dev-db/etcd/etcd-3.3.15.ebuild
+++ b/dev-db/etcd/etcd-3.3.15.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 inherit user systemd golang-vcs-snapshot
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 EGO_PN="github.com/coreos/etcd"
 GIT_COMMIT="94745a4"
 MY_PV="${PV/_rc/-rc.}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-08-19 Thread Manuel Rüger
commit: 9bfd16f8862fc2f21d3f4af3fc8c0f14e0f211d3
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Aug 19 20:41:44 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Aug 19 20:42:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfd16f8

dev-db/etcd: Version bump to 3.3.15

Package-Manager: Portage-2.3.72, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.15.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index f68a66817d8..71858702c26 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.13.tar.gz 3372732 BLAKE2B 
241dee0d9843eefc9aaefb35be8f649d242ab1417456cc3028c8eb2ff2af6a7a1c396f04029d87877d384247b8c7a51ec6ea2e0dd51af07ce48ecc91c613c380
 SHA512 
5b8cf9d8d8b0afd1551f414480f04837668729c10d5d81c5e9ffba3392bd2567f3798267c5e4dbe60f49dbdd859f668c6fe0d7924e0fd65f918ab3bd01d5751a
 DIST etcd-3.3.14.tar.gz 6342437 BLAKE2B 
4bcf27829045e2f2f34c7628d6ed854a7ef5e6db02bd794d1135bb901486d8f3c1bf598c230fe7491e9db7273d3e5aa83bf4c941476ad3093423c14f377513b2
 SHA512 
76c8147168030310f0e4fa0c22670fd73369795ab6d98c0632c87b5947acf10af4adae58b46f042a482dc7a002044cfbdfbec962517018e2fdf211c381281dae
+DIST etcd-3.3.15.tar.gz 6271373 BLAKE2B 
85786a2a4acaf144f80461a56775b8c91164e8f0c0034ef0741d98383ac400720ca69b855588a076dc174364330c0e12df73a36570983138e33a32cdbe69e22f
 SHA512 
9fbc02c4aacb000335d558e9c5d4df672194d1b1b8511918efa35a6123bcd7f1a06ecc527f7ff01af7c7f0e818b4809918e640fd596ec51898bf511849f0a2c5

diff --git a/dev-db/etcd/etcd-3.3.15.ebuild b/dev-db/etcd/etcd-3.3.15.ebuild
new file mode 100644
index 000..5724a790e2b
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.15.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT="94745a4"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-08-17 Thread Manuel Rüger
commit: c6b45dbd203110e4a11c404c8d4c06a4d2e458de
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Aug 17 18:51:30 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Aug 17 18:52:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b45dbd

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.71, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 -
 dev-db/etcd/etcd-3.3.12.ebuild | 78 --
 2 files changed, 79 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 56264223cd5..f68a66817d8 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,2 @@
-DIST etcd-3.3.12.tar.gz 3527586 BLAKE2B 
fdc4e3e9522c032d951045d4eda7f36743d4fbbb4ea8673bbe00bb38931cd7442910b0b54eeb6df0957439332df498389f3568ba7e8bdecfbd873fecfb3df86f
 SHA512 
63ba6130bd93471260b8d90760455bccef2755e672a9df39224491188c69e4e3e8c1157cfb639c4002fb8a6d16950f7ff448a83e0acbc389162b742f3df6234f
 DIST etcd-3.3.13.tar.gz 3372732 BLAKE2B 
241dee0d9843eefc9aaefb35be8f649d242ab1417456cc3028c8eb2ff2af6a7a1c396f04029d87877d384247b8c7a51ec6ea2e0dd51af07ce48ecc91c613c380
 SHA512 
5b8cf9d8d8b0afd1551f414480f04837668729c10d5d81c5e9ffba3392bd2567f3798267c5e4dbe60f49dbdd859f668c6fe0d7924e0fd65f918ab3bd01d5751a
 DIST etcd-3.3.14.tar.gz 6342437 BLAKE2B 
4bcf27829045e2f2f34c7628d6ed854a7ef5e6db02bd794d1135bb901486d8f3c1bf598c230fe7491e9db7273d3e5aa83bf4c941476ad3093423c14f377513b2
 SHA512 
76c8147168030310f0e4fa0c22670fd73369795ab6d98c0632c87b5947acf10af4adae58b46f042a482dc7a002044cfbdfbec962517018e2fdf211c381281dae

diff --git a/dev-db/etcd/etcd-3.3.12.ebuild b/dev-db/etcd/etcd-3.3.12.ebuild
deleted file mode 100644
index e72773ec30c..000
--- a/dev-db/etcd/etcd-3.3.12.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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/etcd-io/etcd"
-GIT_COMMIT="d57e8b8"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/etcd-io/etcd";
-SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.10:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/src/${EGO_PN}/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -i "${S}"/src/${EGO_PN}/test || die
-   # missing ... in args forwarded to print-like function
-   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
-}
-
-pkg_setup() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export -n GOCACHE XDG_CACHE_HOME #651934
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   GO_BUILD_FLAGS=-v ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   ./test || die
-   popd || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-08-17 Thread Manuel Rüger
commit: e852a2e5c494321989ca183b4991f9502e7c8f8b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Aug 17 18:50:45 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Aug 17 18:52:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e852a2e5

dev-db/etcd: Version bump to 3.3.14

Package-Manager: Portage-2.3.71, Repoman-2.3.16
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.14.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 847d2afb1d8..56264223cd5 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.12.tar.gz 3527586 BLAKE2B 
fdc4e3e9522c032d951045d4eda7f36743d4fbbb4ea8673bbe00bb38931cd7442910b0b54eeb6df0957439332df498389f3568ba7e8bdecfbd873fecfb3df86f
 SHA512 
63ba6130bd93471260b8d90760455bccef2755e672a9df39224491188c69e4e3e8c1157cfb639c4002fb8a6d16950f7ff448a83e0acbc389162b742f3df6234f
 DIST etcd-3.3.13.tar.gz 3372732 BLAKE2B 
241dee0d9843eefc9aaefb35be8f649d242ab1417456cc3028c8eb2ff2af6a7a1c396f04029d87877d384247b8c7a51ec6ea2e0dd51af07ce48ecc91c613c380
 SHA512 
5b8cf9d8d8b0afd1551f414480f04837668729c10d5d81c5e9ffba3392bd2567f3798267c5e4dbe60f49dbdd859f668c6fe0d7924e0fd65f918ab3bd01d5751a
+DIST etcd-3.3.14.tar.gz 6342437 BLAKE2B 
4bcf27829045e2f2f34c7628d6ed854a7ef5e6db02bd794d1135bb901486d8f3c1bf598c230fe7491e9db7273d3e5aa83bf4c941476ad3093423c14f377513b2
 SHA512 
76c8147168030310f0e4fa0c22670fd73369795ab6d98c0632c87b5947acf10af4adae58b46f042a482dc7a002044cfbdfbec962517018e2fdf211c381281dae

diff --git a/dev-db/etcd/etcd-3.3.14.ebuild b/dev-db/etcd/etcd-3.3.14.ebuild
new file mode 100644
index 000..4124cf6b940
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.14.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+GIT_COMMIT="5cf5d88"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.12:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   GO111MODULES=on ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-06-05 Thread Manuel Rüger
commit: bc57ef958e525eaaa14c2635631da0a1c796d901
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jun  5 15:17:36 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jun  5 15:17:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc57ef95

dev-db/etcd: Stabilize on amd64

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/etcd-3.3.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.3.13.ebuild b/dev-db/etcd/etcd-3.3.13.ebuild
index 944d5a98fcb..ba297d2a031 100644
--- a/dev-db/etcd/etcd-3.3.13.ebuild
+++ b/dev-db/etcd/etcd-3.3.13.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 inherit user systemd golang-vcs-snapshot
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 EGO_PN="github.com/etcd-io/etcd"
 GIT_COMMIT="98d3084"
 MY_PV="${PV/_rc/-rc.}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-05-03 Thread Manuel Rüger
commit: 135c1d597cb131505b308557ce5dac98384eb109
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri May  3 12:40:26 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri May  3 12:41:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135c1d59

dev-db/etcd: Version bump to 3.3.13

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.13.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index e355c67cde2..847d2afb1d8 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1 +1,2 @@
 DIST etcd-3.3.12.tar.gz 3527586 BLAKE2B 
fdc4e3e9522c032d951045d4eda7f36743d4fbbb4ea8673bbe00bb38931cd7442910b0b54eeb6df0957439332df498389f3568ba7e8bdecfbd873fecfb3df86f
 SHA512 
63ba6130bd93471260b8d90760455bccef2755e672a9df39224491188c69e4e3e8c1157cfb639c4002fb8a6d16950f7ff448a83e0acbc389162b742f3df6234f
+DIST etcd-3.3.13.tar.gz 3372732 BLAKE2B 
241dee0d9843eefc9aaefb35be8f649d242ab1417456cc3028c8eb2ff2af6a7a1c396f04029d87877d384247b8c7a51ec6ea2e0dd51af07ce48ecc91c613c380
 SHA512 
5b8cf9d8d8b0afd1551f414480f04837668729c10d5d81c5e9ffba3392bd2567f3798267c5e4dbe60f49dbdd859f668c6fe0d7924e0fd65f918ab3bd01d5751a

diff --git a/dev-db/etcd/etcd-3.3.13.ebuild b/dev-db/etcd/etcd-3.3.13.ebuild
new file mode 100644
index 000..944d5a98fcb
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.13.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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/etcd-io/etcd"
+GIT_COMMIT="98d3084"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.10:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-03-28 Thread Manuel Rüger
commit: 8045232672721aff82a5c1a4b376b8667fad815a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Mar 28 13:18:25 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Mar 28 13:19:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80452326

dev-db/etcd: Stabilize on amd64

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/etcd-3.3.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-db/etcd/etcd-3.3.12.ebuild b/dev-db/etcd/etcd-3.3.12.ebuild
index de901b0d963..e72773ec30c 100644
--- a/dev-db/etcd/etcd-3.3.12.ebuild
+++ b/dev-db/etcd/etcd-3.3.12.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 
 inherit user systemd golang-vcs-snapshot
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 EGO_PN="github.com/etcd-io/etcd"
 GIT_COMMIT="d57e8b8"
 MY_PV="${PV/_rc/-rc.}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-03-16 Thread Zac Medico
commit: d0bfc9000af5a2b88c070c772bd0dca16a50279c
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Mar 16 22:33:40 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Mar 16 22:37:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bfc900

dev-db/etcd: remove old versionS

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/Manifest   |  2 --
 dev-db/etcd/etcd-3.3.10.ebuild | 77 --
 dev-db/etcd/etcd-3.3.11.ebuild | 77 --
 3 files changed, 156 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 9e0ae15fe93..e355c67cde2 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1 @@
-DIST etcd-3.3.10.tar.gz 3526904 BLAKE2B 
8266212707f8fb280d55deba8dffb44e4d48b906c56034b174848fe6f237d5efba8c15ebea076d799db7f3ec560e2d188fdcc8fe26334ae1cbef0384fe8cf847
 SHA512 
848e241e816312307f74520b99aeabf7def6862093897035ace16cb230817d8e2681d7d2f1c1ac220d7c2b4c7c0a1262bbe3e4db927524f785de888566d2097c
-DIST etcd-3.3.11.tar.gz 3526863 BLAKE2B 
5daf511e0d1d064a141a29de456aca0a837567052e3c742afc535405e04c90c70dd347b90960df2decadc53a38ceaf7acfad9346677cb17f892ece437cdf10e8
 SHA512 
4274c4988b6e7fe61dbcc88c88ed6647debd7a67c448b9101c77bebeef6400e65b9e2cc930f635c3f59105554411e1ac606c6a146ad6927a01d2e921b1a92949
 DIST etcd-3.3.12.tar.gz 3527586 BLAKE2B 
fdc4e3e9522c032d951045d4eda7f36743d4fbbb4ea8673bbe00bb38931cd7442910b0b54eeb6df0957439332df498389f3568ba7e8bdecfbd873fecfb3df86f
 SHA512 
63ba6130bd93471260b8d90760455bccef2755e672a9df39224491188c69e4e3e8c1157cfb639c4002fb8a6d16950f7ff448a83e0acbc389162b742f3df6234f

diff --git a/dev-db/etcd/etcd-3.3.10.ebuild b/dev-db/etcd/etcd-3.3.10.ebuild
deleted file mode 100644
index b1e38018333..000
--- a/dev-db/etcd/etcd-3.3.10.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-GIT_COMMIT="27fc7e2"
-MY_PV="${PV/_rc/-rc.}"
-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${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.9:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-   -i "${S}"/src/${EGO_PN}/build || die
-   sed -e 's:\(for p in \)shellcheck :\1 :' \
-   -e 's:^ gofmt \\$:\\:' \
-   -e 's:^ govet \\$:\\:' \
-   -i "${S}"/src/${EGO_PN}/test || die
-   # missing ... in args forwarded to print-like function
-   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
-   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
-}
-
-pkg_setup() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   GO_BUILD_FLAGS=-v ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   ./test || die
-   popd || die
-}

diff --git a/dev-db/etcd/etcd-3.3.11.ebuild b/dev-db/etcd/etcd-3.3.11.ebuild
deleted file mode 100644
index 40c9067fb1d..000
--- a/dev-db/etcd/etcd-3.3.11.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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/etcd-io/etcd"
-GIT_COMMIT="2cf9e51"
-MY_PV="${PV/_rc/-rc.}"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-03-16 Thread Zac Medico
commit: ee9a15a8a03015ed22dda41aa4025815d227d5dd
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Mar 16 22:39:24 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Mar 16 22:40:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9a15a8

dev-db/etcd: filter GOCACHE vars (bug 651934)

Reported-by: Toralf Förster  gentoo.org>
Closes: https://bugs.gentoo.org/651934
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/etcd-3.3.12.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-db/etcd/etcd-3.3.12.ebuild b/dev-db/etcd/etcd-3.3.12.ebuild
index 00de853590f..de901b0d963 100644
--- a/dev-db/etcd/etcd-3.3.12.ebuild
+++ b/dev-db/etcd/etcd-3.3.12.ebuild
@@ -39,6 +39,7 @@ pkg_setup() {
 }
 
 src_compile() {
+   export -n GOCACHE XDG_CACHE_HOME #651934
export GOPATH=${S}
pushd src/${EGO_PN} || die
GO_BUILD_FLAGS=-v ./build || die



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-02-08 Thread Manuel Rüger
commit: fef7196eb75e6a304e33cff4670cc9410442378b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb  8 13:54:27 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb  8 13:54:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef7196e

dev-db/etcd: Version bump to 3.3.12

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.12.ebuild | 77 ++
 2 files changed, 78 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 6a2110993b2..9e0ae15fe93 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.3.10.tar.gz 3526904 BLAKE2B 
8266212707f8fb280d55deba8dffb44e4d48b906c56034b174848fe6f237d5efba8c15ebea076d799db7f3ec560e2d188fdcc8fe26334ae1cbef0384fe8cf847
 SHA512 
848e241e816312307f74520b99aeabf7def6862093897035ace16cb230817d8e2681d7d2f1c1ac220d7c2b4c7c0a1262bbe3e4db927524f785de888566d2097c
 DIST etcd-3.3.11.tar.gz 3526863 BLAKE2B 
5daf511e0d1d064a141a29de456aca0a837567052e3c742afc535405e04c90c70dd347b90960df2decadc53a38ceaf7acfad9346677cb17f892ece437cdf10e8
 SHA512 
4274c4988b6e7fe61dbcc88c88ed6647debd7a67c448b9101c77bebeef6400e65b9e2cc930f635c3f59105554411e1ac606c6a146ad6927a01d2e921b1a92949
+DIST etcd-3.3.12.tar.gz 3527586 BLAKE2B 
fdc4e3e9522c032d951045d4eda7f36743d4fbbb4ea8673bbe00bb38931cd7442910b0b54eeb6df0957439332df498389f3568ba7e8bdecfbd873fecfb3df86f
 SHA512 
63ba6130bd93471260b8d90760455bccef2755e672a9df39224491188c69e4e3e8c1157cfb639c4002fb8a6d16950f7ff448a83e0acbc389162b742f3df6234f

diff --git a/dev-db/etcd/etcd-3.3.12.ebuild b/dev-db/etcd/etcd-3.3.12.ebuild
new file mode 100644
index 000..00de853590f
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.12.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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/etcd-io/etcd"
+GIT_COMMIT="d57e8b8"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.10:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-01-14 Thread Manuel Rüger
commit: 07b1092f79d09d0a6a730b229cd2db004d251174
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 14 14:04:17 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 14 14:04:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b1092f

dev-db/etcd: Stabilize on amd64

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/etcd-3.3.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/etcd-3.3.10.ebuild b/dev-db/etcd/etcd-3.3.10.ebuild
index 431d7d6ff86..b1e38018333 100644
--- a/dev-db/etcd/etcd-3.3.10.ebuild
+++ b/dev-db/etcd/etcd-3.3.10.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 inherit user systemd golang-vcs-snapshot
 
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 EGO_PN="github.com/coreos/etcd"
 GIT_COMMIT="27fc7e2"
 MY_PV="${PV/_rc/-rc.}"



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-01-14 Thread Manuel Rüger
commit: 74ff5d0af098ccb733e9ba060e8843a414ab3c87
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 14 14:03:40 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 14 14:03:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ff5d0a

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  4 ---
 dev-db/etcd/etcd-3.2.22.ebuild | 63 --
 dev-db/etcd/etcd-3.2.24.ebuild | 63 --
 dev-db/etcd/etcd-3.3.8.ebuild  | 69 --
 dev-db/etcd/etcd-3.3.9.ebuild  | 69 --
 5 files changed, 268 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 6d3f9925bfb..6a2110993b2 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,6 +1,2 @@
-DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
-DIST etcd-3.2.24.tar.gz 3246004 BLAKE2B 
98a4265fdff3b86ab8741aa820c6d6e9ed97ff0e4d8ca04815f3e9e73c35f8706a6deb092e775606793002a60ba11c89840ecac35999b166709140b81c80
 SHA512 
49cbd6c2c59face31202e5d96e05be03286129fd38124126a2d8bead2f2a441486a848749a2cc5862b62332dd5d560c4be1f4d6c05ded70081ac48d94bf4d16d
 DIST etcd-3.3.10.tar.gz 3526904 BLAKE2B 
8266212707f8fb280d55deba8dffb44e4d48b906c56034b174848fe6f237d5efba8c15ebea076d799db7f3ec560e2d188fdcc8fe26334ae1cbef0384fe8cf847
 SHA512 
848e241e816312307f74520b99aeabf7def6862093897035ace16cb230817d8e2681d7d2f1c1ac220d7c2b4c7c0a1262bbe3e4db927524f785de888566d2097c
 DIST etcd-3.3.11.tar.gz 3526863 BLAKE2B 
5daf511e0d1d064a141a29de456aca0a837567052e3c742afc535405e04c90c70dd347b90960df2decadc53a38ceaf7acfad9346677cb17f892ece437cdf10e8
 SHA512 
4274c4988b6e7fe61dbcc88c88ed6647debd7a67c448b9101c77bebeef6400e65b9e2cc930f635c3f59105554411e1ac606c6a146ad6927a01d2e921b1a92949
-DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7
-DIST etcd-3.3.9.tar.gz 3521457 BLAKE2B 
4c8ae96744b93efe19626225ccd5deca19e9e6bd18d87778e9ba1c207e288ed66d79410bc51bb8c7621c0bf261012ca95d86cd9d307655688a6026a46d891c34
 SHA512 
1e5143060d04138eee68250b57f73bf7a6fdb4ca085443df067b12a4824d24b591e42f3d890a285912126447e8b28c0e6bcee58b8633e01dcf9ae5764ff531a6

diff --git a/dev-db/etcd/etcd-3.2.22.ebuild b/dev-db/etcd/etcd-3.2.22.ebuild
deleted file mode 100644
index 34692b679e1..000
--- a/dev-db/etcd/etcd-3.2.22.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 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 0700 /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
-}

diff --git a/dev-db/etcd/etcd-3.2.24.ebuild b/dev-db/etcd/etcd-3.2.24.ebuild
deleted file mode 100644
index 34692b679e1..000
--- a/dev-db/etcd/etcd-3.2.24.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distr

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2019-01-14 Thread Manuel Rüger
commit: b92265a447dcf027e2cedd0aa2352c010bf747e9
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 14 14:03:09 2019 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 14 14:03:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b92265a4

dev-db/etcd: Version bump to 3.3.11

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Manuel Rüger  gentoo.org>

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.11.ebuild | 77 ++
 2 files changed, 78 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 9c822906ba6..6d3f9925bfb 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,5 +1,6 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
 DIST etcd-3.2.24.tar.gz 3246004 BLAKE2B 
98a4265fdff3b86ab8741aa820c6d6e9ed97ff0e4d8ca04815f3e9e73c35f8706a6deb092e775606793002a60ba11c89840ecac35999b166709140b81c80
 SHA512 
49cbd6c2c59face31202e5d96e05be03286129fd38124126a2d8bead2f2a441486a848749a2cc5862b62332dd5d560c4be1f4d6c05ded70081ac48d94bf4d16d
 DIST etcd-3.3.10.tar.gz 3526904 BLAKE2B 
8266212707f8fb280d55deba8dffb44e4d48b906c56034b174848fe6f237d5efba8c15ebea076d799db7f3ec560e2d188fdcc8fe26334ae1cbef0384fe8cf847
 SHA512 
848e241e816312307f74520b99aeabf7def6862093897035ace16cb230817d8e2681d7d2f1c1ac220d7c2b4c7c0a1262bbe3e4db927524f785de888566d2097c
+DIST etcd-3.3.11.tar.gz 3526863 BLAKE2B 
5daf511e0d1d064a141a29de456aca0a837567052e3c742afc535405e04c90c70dd347b90960df2decadc53a38ceaf7acfad9346677cb17f892ece437cdf10e8
 SHA512 
4274c4988b6e7fe61dbcc88c88ed6647debd7a67c448b9101c77bebeef6400e65b9e2cc930f635c3f59105554411e1ac606c6a146ad6927a01d2e921b1a92949
 DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7
 DIST etcd-3.3.9.tar.gz 3521457 BLAKE2B 
4c8ae96744b93efe19626225ccd5deca19e9e6bd18d87778e9ba1c207e288ed66d79410bc51bb8c7621c0bf261012ca95d86cd9d307655688a6026a46d891c34
 SHA512 
1e5143060d04138eee68250b57f73bf7a6fdb4ca085443df067b12a4824d24b591e42f3d890a285912126447e8b28c0e6bcee58b8633e01dcf9ae5764ff531a6

diff --git a/dev-db/etcd/etcd-3.3.11.ebuild b/dev-db/etcd/etcd-3.3.11.ebuild
new file mode 100644
index 000..40c9067fb1d
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.11.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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/etcd-io/etcd"
+GIT_COMMIT="2cf9e51"
+MY_PV="${PV/_rc/-rc.}"
+DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
+HOMEPAGE="https://github.com/etcd-io/etcd";
+SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.10:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   GO_BUILD_FLAGS=-v ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/files/

2019-01-07 Thread Zac Medico
commit: 80388667e0423fc0fe2844405efdb109fa74e68d
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Jan  7 20:16:48 2019 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Jan  7 20:17:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80388667

dev-db/etcd: move init script start_pre to start

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Zac Medico  gentoo.org>

 dev-db/etcd/files/etcd.initd | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/files/etcd.initd b/dev-db/etcd/files/etcd.initd
index c9caecf7ff6..a2c67d0723d 100644
--- a/dev-db/etcd/files/etcd.initd
+++ b/dev-db/etcd/files/etcd.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 pidfile=/run/${RC_SVCNAME}.pid
@@ -23,7 +23,7 @@ depend() {
after bootmisc
 }
 
-start_pre() {
+start() {
if [ ! -d "${LOGPATH}" ] ; then
mkdir -p "${LOGPATH}"
chown "${command_user}:${command_user}" "${LOGPATH}"
@@ -32,4 +32,5 @@ start_pre() {
mkdir -p "${ETCD_DATA_DIR}"
chown "${command_user}:${command_user}" "${ETCD_DATA_DIR}"
fi
+   default_start
 }



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-11-26 Thread Manuel Rüger
commit: dbdb0d4218deaa30a86905b339868b732907a986
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Nov 26 20:18:09 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Nov 26 20:18:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdb0d42

dev-db/etcd: Verbose build, add Git SHA

Signed-off-by: Manuel Rüger  gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11

 dev-db/etcd/etcd-3.3.10.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/etcd-3.3.10.ebuild b/dev-db/etcd/etcd-3.3.10.ebuild
index 19f780d0674..431d7d6ff86 100644
--- a/dev-db/etcd/etcd-3.3.10.ebuild
+++ b/dev-db/etcd/etcd-3.3.10.ebuild
@@ -7,6 +7,7 @@ inherit user systemd golang-vcs-snapshot
 
 KEYWORDS="~amd64"
 EGO_PN="github.com/coreos/etcd"
+GIT_COMMIT="27fc7e2"
 MY_PV="${PV/_rc/-rc.}"
 DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
 HOMEPAGE="https://github.com/coreos/etcd";
@@ -19,7 +20,7 @@ RDEPEND="!dev-db/etcdctl"
 
 src_prepare() {
default
-   sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
+   sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\
-i "${S}"/src/${EGO_PN}/build || die
sed -e 's:\(for p in \)shellcheck :\1 :' \
-e 's:^ gofmt \\$:\\:' \
@@ -40,7 +41,7 @@ pkg_setup() {
 src_compile() {
export GOPATH=${S}
pushd src/${EGO_PN} || die
-   ./build || die
+   GO_BUILD_FLAGS=-v ./build || die
popd || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-10-16 Thread Zac Medico
commit: e12a8b3012b4f91bea1b8162d60b48059702604c
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Oct 17 01:52:17 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct 17 01:58:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12a8b30

dev-db/etcd: 3.3.10 version bump

Signed-off-by: Zac Medico  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.3.10.ebuild | 76 ++
 2 files changed, 77 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 88f78eecc60..9c822906ba6 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
 DIST etcd-3.2.24.tar.gz 3246004 BLAKE2B 
98a4265fdff3b86ab8741aa820c6d6e9ed97ff0e4d8ca04815f3e9e73c35f8706a6deb092e775606793002a60ba11c89840ecac35999b166709140b81c80
 SHA512 
49cbd6c2c59face31202e5d96e05be03286129fd38124126a2d8bead2f2a441486a848749a2cc5862b62332dd5d560c4be1f4d6c05ded70081ac48d94bf4d16d
+DIST etcd-3.3.10.tar.gz 3526904 BLAKE2B 
8266212707f8fb280d55deba8dffb44e4d48b906c56034b174848fe6f237d5efba8c15ebea076d799db7f3ec560e2d188fdcc8fe26334ae1cbef0384fe8cf847
 SHA512 
848e241e816312307f74520b99aeabf7def6862093897035ace16cb230817d8e2681d7d2f1c1ac220d7c2b4c7c0a1262bbe3e4db927524f785de888566d2097c
 DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7
 DIST etcd-3.3.9.tar.gz 3521457 BLAKE2B 
4c8ae96744b93efe19626225ccd5deca19e9e6bd18d87778e9ba1c207e288ed66d79410bc51bb8c7621c0bf261012ca95d86cd9d307655688a6026a46d891c34
 SHA512 
1e5143060d04138eee68250b57f73bf7a6fdb4ca085443df067b12a4824d24b591e42f3d890a285912126447e8b28c0e6bcee58b8633e01dcf9ae5764ff531a6

diff --git a/dev-db/etcd/etcd-3.3.10.ebuild b/dev-db/etcd/etcd-3.3.10.ebuild
new file mode 100644
index 000..19f780d0674
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.10.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+RDEPEND="!dev-db/etcdctl"
+
+src_prepare() {
+   default
+   sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
+   -i "${S}"/src/${EGO_PN}/build || die
+   sed -e 's:\(for p in \)shellcheck :\1 :' \
+   -e 's:^ gofmt \\$:\\:' \
+   -e 's:^ govet \\$:\\:' \
+   -i "${S}"/src/${EGO_PN}/test || die
+   # missing ... in args forwarded to print-like function
+   sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \
+   -i "${S}"/src/${EGO_PN}/raft/logger.go || die
+}
+
+pkg_setup() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-07-25 Thread Manuel Rüger
commit: c0b0191cbe213f19024b5eb1ef37173c99972965
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jul 25 14:02:05 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jul 25 14:02:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b0191c

dev-db/etcd: Version bump to 3.2.24

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.24.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index ee770b0ae7d..88f78eecc60 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
+DIST etcd-3.2.24.tar.gz 3246004 BLAKE2B 
98a4265fdff3b86ab8741aa820c6d6e9ed97ff0e4d8ca04815f3e9e73c35f8706a6deb092e775606793002a60ba11c89840ecac35999b166709140b81c80
 SHA512 
49cbd6c2c59face31202e5d96e05be03286129fd38124126a2d8bead2f2a441486a848749a2cc5862b62332dd5d560c4be1f4d6c05ded70081ac48d94bf4d16d
 DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7
 DIST etcd-3.3.9.tar.gz 3521457 BLAKE2B 
4c8ae96744b93efe19626225ccd5deca19e9e6bd18d87778e9ba1c207e288ed66d79410bc51bb8c7621c0bf261012ca95d86cd9d307655688a6026a46d891c34
 SHA512 
1e5143060d04138eee68250b57f73bf7a6fdb4ca085443df067b12a4824d24b591e42f3d890a285912126447e8b28c0e6bcee58b8633e01dcf9ae5764ff531a6

diff --git a/dev-db/etcd/etcd-3.2.24.ebuild b/dev-db/etcd/etcd-3.2.24.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.24.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-07-25 Thread Manuel Rüger
commit: f43a0fb94d5e378286c4e9640695a00f06d8f53a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jul 25 14:01:28 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jul 25 14:01:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f43a0fb9

dev-db/etcd: Version bump to 3.3.9

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.9.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 1af34faf1d2..ee770b0ae7d 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,2 +1,3 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
 DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7
+DIST etcd-3.3.9.tar.gz 3521457 BLAKE2B 
4c8ae96744b93efe19626225ccd5deca19e9e6bd18d87778e9ba1c207e288ed66d79410bc51bb8c7621c0bf261012ca95d86cd9d307655688a6026a46d891c34
 SHA512 
1e5143060d04138eee68250b57f73bf7a6fdb4ca085443df067b12a4824d24b591e42f3d890a285912126447e8b28c0e6bcee58b8633e01dcf9ae5764ff531a6

diff --git a/dev-db/etcd/etcd-3.3.9.ebuild b/dev-db/etcd/etcd-3.3.9.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.9.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-07-17 Thread Manuel Rüger
commit: ec32d68ed4809d9425cb6d1c2044bd5eb5b3c9fa
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Jul 17 14:23:51 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Jul 17 14:23:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec32d68e

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.42, Repoman-2.3.9

 dev-db/etcd/Manifest  |  2 --
 dev-db/etcd/etcd-3.3.5.ebuild | 69 ---
 dev-db/etcd/etcd-3.3.7.ebuild | 69 ---
 3 files changed, 140 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 971c32b6e3c..1af34faf1d2 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,2 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
-DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
-DIST etcd-3.3.7.tar.gz 3517632 BLAKE2B 
4fcec3e90e819961e1bfc53a45d71a95ad87f82a3a974f14fc940ff216f8314339f3522ac4992567543a99afbef722f75f4b8ab98604aeca38d1bb697a207d0f
 SHA512 
12ea79aca94f2ad68baf4d324176d4cb2e27d11e3b7c018b69a1c2a1028d9e42d734bd3a814618eb41d7b0b07716d5df9bd9161bf52b061445ca7727579ee276
 DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7

diff --git a/dev-db/etcd/etcd-3.3.5.ebuild b/dev-db/etcd/etcd-3.3.5.ebuild
deleted file mode 100644
index 88b1e478fe0..000
--- a/dev-db/etcd/etcd-3.3.5.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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"
-MY_PV="${PV/_rc/-rc.}"
-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${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.9:="
-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() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   ./test || die
-   popd || die
-}

diff --git a/dev-db/etcd/etcd-3.3.7.ebuild b/dev-db/etcd/etcd-3.3.7.ebuild
deleted file mode 100644
index 88b1e478fe0..000
--- a/dev-db/etcd/etcd-3.3.7.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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"
-MY_PV="${PV/_rc/-rc.}"
-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${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.9:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-16 Thread Manuel Rüger
commit: a521fb37f6db3ceaf45b43891c5c361f8e13e5d2
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Jun 16 13:56:19 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Jun 16 13:56:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a521fb37

dev-db/etcd: Version bump to 3.3.8

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.8.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 3246302ce5f..971c32b6e3c 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
 DIST etcd-3.3.7.tar.gz 3517632 BLAKE2B 
4fcec3e90e819961e1bfc53a45d71a95ad87f82a3a974f14fc940ff216f8314339f3522ac4992567543a99afbef722f75f4b8ab98604aeca38d1bb697a207d0f
 SHA512 
12ea79aca94f2ad68baf4d324176d4cb2e27d11e3b7c018b69a1c2a1028d9e42d734bd3a814618eb41d7b0b07716d5df9bd9161bf52b061445ca7727579ee276
+DIST etcd-3.3.8.tar.gz 3518826 BLAKE2B 
4d8ac66022c63250e37871a40041a799a21361f005f5ff259711ea7a0557acbe7f3920815ff0b5193499177e42c306ff8383192e7d4c31c94439d9461dea979f
 SHA512 
c3a3f9ffb614e383854bf5a8819e3dcad8f02b267d74197685b546c856e983c92f8c459185c327adf7ba3d0326e2058fb34caac0896d78494cde86c3f7e04ac7

diff --git a/dev-db/etcd/etcd-3.3.8.ebuild b/dev-db/etcd/etcd-3.3.8.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.8.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-15 Thread Manuel Rüger
commit: 46df2c6d92ffd10508eff88c5f1a5fcac1bcf417
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jun 15 14:24:17 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Jun 15 14:24:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46df2c6d

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest  |  1 -
 dev-db/etcd/etcd-3.3.4.ebuild | 69 ---
 2 files changed, 70 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 980438e0ca8..3246302ce5f 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,3 @@
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
-DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
 DIST etcd-3.3.7.tar.gz 3517632 BLAKE2B 
4fcec3e90e819961e1bfc53a45d71a95ad87f82a3a974f14fc940ff216f8314339f3522ac4992567543a99afbef722f75f4b8ab98604aeca38d1bb697a207d0f
 SHA512 
12ea79aca94f2ad68baf4d324176d4cb2e27d11e3b7c018b69a1c2a1028d9e42d734bd3a814618eb41d7b0b07716d5df9bd9161bf52b061445ca7727579ee276

diff --git a/dev-db/etcd/etcd-3.3.4.ebuild b/dev-db/etcd/etcd-3.3.4.ebuild
deleted file mode 100644
index 88b1e478fe0..000
--- a/dev-db/etcd/etcd-3.3.4.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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"
-MY_PV="${PV/_rc/-rc.}"
-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${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.9:="
-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() {
-   if use server; then
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-   fi
-}
-
-src_compile() {
-   export GOPATH=${S}
-   pushd src/${EGO_PN} || die
-   ./build || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin bin/etcdctl
-   use doc && dodoc -r Documentation
-   if use server; then
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/etcd
-   dodoc README.md
-   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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
-   fi
-   popd || die
-}
-
-src_test() {
-   pushd src/${EGO_PN} || die
-   ./test || die
-   popd || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-06 Thread Manuel Rüger
commit: 7441dd6bec8a4bec967155fd4f32d70d1765a151
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jun  6 20:41:33 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jun  6 20:41:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7441dd6b

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest   |  3 --
 dev-db/etcd/etcd-3.2.20.ebuild | 63 --
 dev-db/etcd/etcd-3.2.21.ebuild | 63 --
 dev-db/etcd/etcd-3.3.6.ebuild  | 69 --
 4 files changed, 198 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 92a85dd902b..980438e0ca8 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,7 +1,4 @@
-DIST etcd-3.2.20.tar.gz 3239546 BLAKE2B 
e999a4cd0a39a5cffcf948039f8e9c802eba9216c1a065b58e68ee9b7a3b09676ce3c228cc4719c87ec78b671512ec5bd6f54b0769e2f1dbce9cb02840cd1c84
 SHA512 
5d5b7e5d398785a4354a018c0636ba86bf45cd5360d84c096155f1e3f47616b6b85cddb68b9401228190962e9d9efc78b9d4e66c67022b9e729489422cbf892c
-DIST etcd-3.2.21.tar.gz 3239819 BLAKE2B 
bbf571a1efc6d4519a29e257f52b104ad5502c503db3516f7ff5cd90a7769fe5d2a890c4fa6fa0be55a0c2125b22e0cbb4973bacc56eb41243f8c0d22cf4af7a
 SHA512 
bc10250be6a373f5096d9f4f7964faea6e94d2a8d8f8545b6400ca49d3ab504896212ac68579af577c027cc4682ba6441d52668b976e656a08933ca3db50ffaf
 DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
-DIST etcd-3.3.6.tar.gz 3515934 BLAKE2B 
71cd401e3de2f022bd091b0e68e60a4864ec56a7e076dc510ce0e344a2b48243c18b51d432f6c6abdc1f5aaa42b69b4b843c0671f263095c5930f164c82b5e62
 SHA512 
00ee750499d487eeeb171f738c6cfe4ebc5d7ffc0f01343c56f712232046161091b23301818593ac14cbd36870d9bba407fad26d863dd41ea257ad21e1a3d93f
 DIST etcd-3.3.7.tar.gz 3517632 BLAKE2B 
4fcec3e90e819961e1bfc53a45d71a95ad87f82a3a974f14fc940ff216f8314339f3522ac4992567543a99afbef722f75f4b8ab98604aeca38d1bb697a207d0f
 SHA512 
12ea79aca94f2ad68baf4d324176d4cb2e27d11e3b7c018b69a1c2a1028d9e42d734bd3a814618eb41d7b0b07716d5df9bd9161bf52b061445ca7727579ee276

diff --git a/dev-db/etcd/etcd-3.2.20.ebuild b/dev-db/etcd/etcd-3.2.20.ebuild
deleted file mode 100644
index 34692b679e1..000
--- a/dev-db/etcd/etcd-3.2.20.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 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 0700 /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
-}

diff --git a/dev-db/etcd/etcd-3.2.21.ebuild b/dev-db/etcd/etcd-3.2

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-06 Thread Manuel Rüger
commit: 570b0c88241b5a99d87161e2398de9965d7ce919
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jun  6 20:39:30 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jun  6 20:39:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570b0c88

dev-db/etcd: Version bump to 3.2.22

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.22.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index aafa10e95d2..92a85dd902b 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,5 +1,6 @@
 DIST etcd-3.2.20.tar.gz 3239546 BLAKE2B 
e999a4cd0a39a5cffcf948039f8e9c802eba9216c1a065b58e68ee9b7a3b09676ce3c228cc4719c87ec78b671512ec5bd6f54b0769e2f1dbce9cb02840cd1c84
 SHA512 
5d5b7e5d398785a4354a018c0636ba86bf45cd5360d84c096155f1e3f47616b6b85cddb68b9401228190962e9d9efc78b9d4e66c67022b9e729489422cbf892c
 DIST etcd-3.2.21.tar.gz 3239819 BLAKE2B 
bbf571a1efc6d4519a29e257f52b104ad5502c503db3516f7ff5cd90a7769fe5d2a890c4fa6fa0be55a0c2125b22e0cbb4973bacc56eb41243f8c0d22cf4af7a
 SHA512 
bc10250be6a373f5096d9f4f7964faea6e94d2a8d8f8545b6400ca49d3ab504896212ac68579af577c027cc4682ba6441d52668b976e656a08933ca3db50ffaf
+DIST etcd-3.2.22.tar.gz 3243190 BLAKE2B 
165eff928f5f5419d02ef07aebb5160ac5473721a1e27ee1eb2a6b1e5ff775f2f7254ddfc20dec14c28cd2de68966e7b8521fb29c7242a420fa61d226e16b3ba
 SHA512 
7a32dce894ca643f0c51267edc0fba2524c197f0ac3185c6acd22879cd58236f6bcc9c3825d9b8f196255c8bf6aed1b893e1a62124c946f95b4832b409a6b4c0
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
 DIST etcd-3.3.6.tar.gz 3515934 BLAKE2B 
71cd401e3de2f022bd091b0e68e60a4864ec56a7e076dc510ce0e344a2b48243c18b51d432f6c6abdc1f5aaa42b69b4b843c0671f263095c5930f164c82b5e62
 SHA512 
00ee750499d487eeeb171f738c6cfe4ebc5d7ffc0f01343c56f712232046161091b23301818593ac14cbd36870d9bba407fad26d863dd41ea257ad21e1a3d93f

diff --git a/dev-db/etcd/etcd-3.2.22.ebuild b/dev-db/etcd/etcd-3.2.22.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.22.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-06 Thread Manuel Rüger
commit: 429524de4b419411c29ffea28d84c017b8a85a3d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jun  6 20:38:48 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jun  6 20:38:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429524de

dev-db/etcd: Version bump to 3.3.7

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.7.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 40e0ef078fb..aafa10e95d2 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,3 +3,4 @@ DIST etcd-3.2.21.tar.gz 3239819 BLAKE2B 
bbf571a1efc6d4519a29e257f52b104ad5502c50
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
 DIST etcd-3.3.6.tar.gz 3515934 BLAKE2B 
71cd401e3de2f022bd091b0e68e60a4864ec56a7e076dc510ce0e344a2b48243c18b51d432f6c6abdc1f5aaa42b69b4b843c0671f263095c5930f164c82b5e62
 SHA512 
00ee750499d487eeeb171f738c6cfe4ebc5d7ffc0f01343c56f712232046161091b23301818593ac14cbd36870d9bba407fad26d863dd41ea257ad21e1a3d93f
+DIST etcd-3.3.7.tar.gz 3517632 BLAKE2B 
4fcec3e90e819961e1bfc53a45d71a95ad87f82a3a974f14fc940ff216f8314339f3522ac4992567543a99afbef722f75f4b8ab98604aeca38d1bb697a207d0f
 SHA512 
12ea79aca94f2ad68baf4d324176d4cb2e27d11e3b7c018b69a1c2a1028d9e42d734bd3a814618eb41d7b0b07716d5df9bd9161bf52b061445ca7727579ee276

diff --git a/dev-db/etcd/etcd-3.3.7.ebuild b/dev-db/etcd/etcd-3.3.7.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-02 Thread Manuel Rüger
commit: 776c8b8ecc6a9a6480157f2d569e5b96c4cfbc0e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Jun  2 12:19:53 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Jun  2 12:19:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776c8b8e

dev-db/etcd: Version bump to 3.3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.6.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index c0896c3228f..82aa8f6d48e 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.2.20.tar.gz 3239546 BLAKE2B 
e999a4cd0a39a5cffcf948039f8e9c802eba9216c1a065b58e68ee9b7a3b09676ce3c228cc4719c87ec78b671512ec5bd6f54b0769e2f1dbce9cb02840cd1c84
 SHA512 
5d5b7e5d398785a4354a018c0636ba86bf45cd5360d84c096155f1e3f47616b6b85cddb68b9401228190962e9d9efc78b9d4e66c67022b9e729489422cbf892c
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
+DIST etcd-3.3.6.tar.gz 3515934 BLAKE2B 
71cd401e3de2f022bd091b0e68e60a4864ec56a7e076dc510ce0e344a2b48243c18b51d432f6c6abdc1f5aaa42b69b4b843c0671f263095c5930f164c82b5e62
 SHA512 
00ee750499d487eeeb171f738c6cfe4ebc5d7ffc0f01343c56f712232046161091b23301818593ac14cbd36870d9bba407fad26d863dd41ea257ad21e1a3d93f

diff --git a/dev-db/etcd/etcd-3.3.6.ebuild b/dev-db/etcd/etcd-3.3.6.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.6.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-06-02 Thread Manuel Rüger
commit: 301f62a4adf703c8491cc35f92bfc4c8f873c000
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Jun  2 12:21:13 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Jun  2 12:21:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301f62a4

dev-db/etcd: Version bump to 3.2.21

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.21.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 82aa8f6d48e..40e0ef078fb 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-3.2.20.tar.gz 3239546 BLAKE2B 
e999a4cd0a39a5cffcf948039f8e9c802eba9216c1a065b58e68ee9b7a3b09676ce3c228cc4719c87ec78b671512ec5bd6f54b0769e2f1dbce9cb02840cd1c84
 SHA512 
5d5b7e5d398785a4354a018c0636ba86bf45cd5360d84c096155f1e3f47616b6b85cddb68b9401228190962e9d9efc78b9d4e66c67022b9e729489422cbf892c
+DIST etcd-3.2.21.tar.gz 3239819 BLAKE2B 
bbf571a1efc6d4519a29e257f52b104ad5502c503db3516f7ff5cd90a7769fe5d2a890c4fa6fa0be55a0c2125b22e0cbb4973bacc56eb41243f8c0d22cf4af7a
 SHA512 
bc10250be6a373f5096d9f4f7964faea6e94d2a8d8f8545b6400ca49d3ab504896212ac68579af577c027cc4682ba6441d52668b976e656a08933ca3db50ffaf
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4
 DIST etcd-3.3.6.tar.gz 3515934 BLAKE2B 
71cd401e3de2f022bd091b0e68e60a4864ec56a7e076dc510ce0e344a2b48243c18b51d432f6c6abdc1f5aaa42b69b4b843c0671f263095c5930f164c82b5e62
 SHA512 
00ee750499d487eeeb171f738c6cfe4ebc5d7ffc0f01343c56f712232046161091b23301818593ac14cbd36870d9bba407fad26d863dd41ea257ad21e1a3d93f

diff --git a/dev-db/etcd/etcd-3.2.21.ebuild b/dev-db/etcd/etcd-3.2.21.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.21.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-05-14 Thread Manuel Rüger
commit: d09f20699079d7841295c68ef1bdc0e26bc4663e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon May 14 13:58:08 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon May 14 13:58:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d09f2069

dev-db/etcd: Version bump to 3.2.20

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.20.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 7ee5f907e7d..2b66bf2e477 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
+DIST etcd-3.2.20.tar.gz 3239546 BLAKE2B 
e999a4cd0a39a5cffcf948039f8e9c802eba9216c1a065b58e68ee9b7a3b09676ce3c228cc4719c87ec78b671512ec5bd6f54b0769e2f1dbce9cb02840cd1c84
 SHA512 
5d5b7e5d398785a4354a018c0636ba86bf45cd5360d84c096155f1e3f47616b6b85cddb68b9401228190962e9d9efc78b9d4e66c67022b9e729489422cbf892c
 DIST etcd-3.3.3.tar.gz 3387223 BLAKE2B 
bf873ef764a4fa03c2c5b282129a2dc2e7574fd7d0206fb270d61c3a277342a2af145f4e00512c878a31d4102c0f8b0b7090872beb928b574aca97f5fe43915e
 SHA512 
16597bba961d7018656dd4f73d4067218978cc41fa8fafbf9677621bdba2d5e81825d2c74820153a177df1813e5d8ac79e72967ba61be3339feb01bb2f539920
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4

diff --git a/dev-db/etcd/etcd-3.2.20.ebuild b/dev-db/etcd/etcd-3.2.20.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.20.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-05-14 Thread Manuel Rüger
commit: a3a4ea0b2ff8b1f7a91873c74c808c06d750fbab
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon May 14 14:01:08 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon May 14 14:01:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a4ea0b

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-db/etcd/Manifest   |  2 --
 dev-db/etcd/etcd-3.2.17.ebuild | 63 --
 dev-db/etcd/etcd-3.3.3.ebuild  | 69 --
 3 files changed, 134 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 2b66bf2e477..c0896c3228f 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,5 +1,3 @@
-DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
 DIST etcd-3.2.20.tar.gz 3239546 BLAKE2B 
e999a4cd0a39a5cffcf948039f8e9c802eba9216c1a065b58e68ee9b7a3b09676ce3c228cc4719c87ec78b671512ec5bd6f54b0769e2f1dbce9cb02840cd1c84
 SHA512 
5d5b7e5d398785a4354a018c0636ba86bf45cd5360d84c096155f1e3f47616b6b85cddb68b9401228190962e9d9efc78b9d4e66c67022b9e729489422cbf892c
-DIST etcd-3.3.3.tar.gz 3387223 BLAKE2B 
bf873ef764a4fa03c2c5b282129a2dc2e7574fd7d0206fb270d61c3a277342a2af145f4e00512c878a31d4102c0f8b0b7090872beb928b574aca97f5fe43915e
 SHA512 
16597bba961d7018656dd4f73d4067218978cc41fa8fafbf9677621bdba2d5e81825d2c74820153a177df1813e5d8ac79e72967ba61be3339feb01bb2f539920
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
 DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4

diff --git a/dev-db/etcd/etcd-3.2.17.ebuild b/dev-db/etcd/etcd-3.2.17.ebuild
deleted file mode 100644
index 34692b679e1..000
--- a/dev-db/etcd/etcd-3.2.17.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 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 0700 /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
-}

diff --git a/dev-db/etcd/etcd-3.3.3.ebuild b/dev-db/etcd/etcd-3.3.3.ebuild
deleted file mode 100644
index 88b1e478fe0..000
--- a/dev-db/etcd/etcd-3.3.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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"
-MY_PV="${PV/_rc/-rc.}"
-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${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.9:="
-RDEPEND="!dev-db/etcdctl"
-

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-05-14 Thread Manuel Rüger
commit: cd0c61996509715e96477b1847f95271e3ad364d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon May 14 13:55:08 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon May 14 13:55:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0c6199

dev-db/etcd: Version bump to 3.3.5

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.5.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 1d790a63bd2..7ee5f907e7d 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
 DIST etcd-3.3.3.tar.gz 3387223 BLAKE2B 
bf873ef764a4fa03c2c5b282129a2dc2e7574fd7d0206fb270d61c3a277342a2af145f4e00512c878a31d4102c0f8b0b7090872beb928b574aca97f5fe43915e
 SHA512 
16597bba961d7018656dd4f73d4067218978cc41fa8fafbf9677621bdba2d5e81825d2c74820153a177df1813e5d8ac79e72967ba61be3339feb01bb2f539920
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487
+DIST etcd-3.3.5.tar.gz 3514955 BLAKE2B 
394b6563f27a1a73aa553dc4db440d803721d001ab3d53c045df826c527c87232a6c1b83aed5fc9e4011f2480b456f0ae2a7a34bc173df90478d1704fd5c392d
 SHA512 
e4495a02f1e2a08cc70a055528edbc118f50e4fe68b51afeb82908a7c2387de1e457adfb8078befec6829daeace61b95501da9f8b3fa49e0aecc9710ece470a4

diff --git a/dev-db/etcd/etcd-3.3.5.ebuild b/dev-db/etcd/etcd-3.3.5.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-04-25 Thread Manuel Rüger
commit: cf1f973e536df088c0f802032922207ac58b6000
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Apr 26 01:39:16 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Apr 26 01:41:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf1f973e

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-db/etcd/Manifest  |  2 --
 dev-db/etcd/etcd-2.3.8.ebuild | 58 
 dev-db/etcd/etcd-3.3.2.ebuild | 69 ---
 3 files changed, 129 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index bde9a5cfebd..1d790a63bd2 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,5 +1,3 @@
-DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
 DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
-DIST etcd-3.3.2.tar.gz 3385493 BLAKE2B 
e4c2e614b0b868268fbfe3db222caeab2fe65f8fe55026aadff2acc5f1a2769fe3a71f0658e90ca35ccf5b117e7ec30b1f8a62499b6156976dac63118a766b92
 SHA512 
6320a49dddac527312b75c113428c52c27e0516b7d7235ceddf3009c2edbdc509d2ec425859c5d57591b55109e04aa9737dbe7d1337a6c2307936fa372f8a28a
 DIST etcd-3.3.3.tar.gz 3387223 BLAKE2B 
bf873ef764a4fa03c2c5b282129a2dc2e7574fd7d0206fb270d61c3a277342a2af145f4e00512c878a31d4102c0f8b0b7090872beb928b574aca97f5fe43915e
 SHA512 
16597bba961d7018656dd4f73d4067218978cc41fa8fafbf9677621bdba2d5e81825d2c74820153a177df1813e5d8ac79e72967ba61be3339feb01bb2f539920
 DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487

diff --git a/dev-db/etcd/etcd-2.3.8.ebuild b/dev-db/etcd/etcd-2.3.8.ebuild
deleted file mode 100644
index f20ed84c75b..000
--- a/dev-db/etcd/etcd-2.3.8.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit user systemd
-
-KEYWORDS="~amd64"
-DESCRIPTION="Highly-available key value store for shared configuration and 
service discovery"
-HOMEPAGE="https://github.com/coreos/etcd/";
-SRC_URI="https://github.com/coreos/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc"
-DEPEND=">=dev-lang/go-1.4:="
-RDEPEND="!dev-db/etcdctl"
-
-#pkg_setup() {
-#  enewgroup ${PN}
-#  enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
-#}
-
-src_prepare() {
-   sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
-   -e 's|-ldflags "-s.*"|-v -x|' \
-   -e 's|-ldflags "-s|-v -x "|' \
-   -i build || die
-   sed -e 's|go test|\0 -v|'\
-   -i test || die
-}
-
-src_compile() {
-   ./build || die
-}
-
-src_install() {
-   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() {
-   ./test || die
-}

diff --git a/dev-db/etcd/etcd-3.3.2.ebuild b/dev-db/etcd/etcd-3.3.2.ebuild
deleted file mode 100644
index 88b1e478fe0..000
--- a/dev-db/etcd/etcd-3.3.2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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"
-MY_PV="${PV/_rc/-rc.}"
-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${MY_PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="doc +server"
-DEPEND=">=dev-lang/go-1.9:="
-RDEPEND="!dev-db/etcdctl"
-
-src_prepare() {
-   default
-   sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\
-   -i "${S}"/src/${EG

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-04-24 Thread Manuel Rüger
commit: 9608ef4bbe273504e4a21f95cfd7ea9ab373abb7
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Apr 25 00:32:56 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Apr 25 00:50:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9608ef4b

dev-db/etcd: Version bump to 3.3.4

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.4.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 8c28baa6d22..bde9a5cfebd 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -2,3 +2,4 @@ DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a8
 DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
 DIST etcd-3.3.2.tar.gz 3385493 BLAKE2B 
e4c2e614b0b868268fbfe3db222caeab2fe65f8fe55026aadff2acc5f1a2769fe3a71f0658e90ca35ccf5b117e7ec30b1f8a62499b6156976dac63118a766b92
 SHA512 
6320a49dddac527312b75c113428c52c27e0516b7d7235ceddf3009c2edbdc509d2ec425859c5d57591b55109e04aa9737dbe7d1337a6c2307936fa372f8a28a
 DIST etcd-3.3.3.tar.gz 3387223 BLAKE2B 
bf873ef764a4fa03c2c5b282129a2dc2e7574fd7d0206fb270d61c3a277342a2af145f4e00512c878a31d4102c0f8b0b7090872beb928b574aca97f5fe43915e
 SHA512 
16597bba961d7018656dd4f73d4067218978cc41fa8fafbf9677621bdba2d5e81825d2c74820153a177df1813e5d8ac79e72967ba61be3339feb01bb2f539920
+DIST etcd-3.3.4.tar.gz 3513132 BLAKE2B 
92902c260150259ce5627dbf517c81bdb914c857a901a5f7d8d878a2daad8db931c2d1958a562a612ed62b5ac3080ce54661cb70eabff3430ab9ff65c258544d
 SHA512 
971c47545059dda65d40c2db0928a01b97cf8b1e1b60a6e631e797e3cf1619245430f938f637bea3ab0d01cc2a8974586988727bc9c652b8802e184ad5ad8487

diff --git a/dev-db/etcd/etcd-3.3.4.ebuild b/dev-db/etcd/etcd-3.3.4.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-03-29 Thread Manuel Rüger
commit: b5adf565d74712819ec60e267e9556ced38968f3
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Mar 29 12:52:53 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Mar 29 12:53:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5adf565

dev-db/etcd: Version bump to 3.3.3

Package-Manager: Portage-2.3.26, Repoman-2.3.7

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.3.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 0d07d7df497..8c28baa6d22 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,3 +1,4 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
 DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
 DIST etcd-3.3.2.tar.gz 3385493 BLAKE2B 
e4c2e614b0b868268fbfe3db222caeab2fe65f8fe55026aadff2acc5f1a2769fe3a71f0658e90ca35ccf5b117e7ec30b1f8a62499b6156976dac63118a766b92
 SHA512 
6320a49dddac527312b75c113428c52c27e0516b7d7235ceddf3009c2edbdc509d2ec425859c5d57591b55109e04aa9737dbe7d1337a6c2307936fa372f8a28a
+DIST etcd-3.3.3.tar.gz 3387223 BLAKE2B 
bf873ef764a4fa03c2c5b282129a2dc2e7574fd7d0206fb270d61c3a277342a2af145f4e00512c878a31d4102c0f8b0b7090872beb928b574aca97f5fe43915e
 SHA512 
16597bba961d7018656dd4f73d4067218978cc41fa8fafbf9677621bdba2d5e81825d2c74820153a177df1813e5d8ac79e72967ba61be3339feb01bb2f539920

diff --git a/dev-db/etcd/etcd-3.3.3.ebuild b/dev-db/etcd/etcd-3.3.3.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-03-20 Thread Manuel Rüger
commit: f3af690c8a12c904acced7f1afe2b03cabc9da14
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Mar 20 11:35:07 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Mar 20 11:35:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3af690c

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/etcd/Manifest   |  4 ---
 dev-db/etcd/etcd-3.2.14.ebuild | 63 --
 dev-db/etcd/etcd-3.2.15.ebuild | 63 --
 dev-db/etcd/etcd-3.3.0.ebuild  | 64 ---
 dev-db/etcd/etcd-3.3.1.ebuild  | 69 --
 5 files changed, 263 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index ab43f7d26e1..0d07d7df497 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,7 +1,3 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
-DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
-DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
 DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
-DIST etcd-3.3.0.tar.gz 3360558 BLAKE2B 
f6a535a55ba862857db9c055deb33846124b92badde6cbc8c2301a989c7dbe4f1d9aa2ec08b7a99c11e0e7ec87cd59cd08cf57e5ae97eeadfd4f5d3cb166992c
 SHA512 
3044e06492f8cc7dd717406cf47fcff8f91f79cb05648464625d5d78f7b79c7d53f315485b830c046a7dadee34a9b39ac2ed11dfeb5d1b59509fce2da2253197
-DIST etcd-3.3.1.tar.gz 3381899 BLAKE2B 
6ef667c635731f877557e7e8cf1d94514f788f5c485a230fe808242d2910d3551082a9fc62da1b35ce1b2dfba846c47109e5b9ef0d351860600c5e7947d0d11e
 SHA512 
14af3bd4de63570da8bc27fa931982294c7037edf98a9512abc0e396baddbd05fff7525d17013bc1782a622e4850e216368e7c620863a22aec0739d7ffdb5bd6
 DIST etcd-3.3.2.tar.gz 3385493 BLAKE2B 
e4c2e614b0b868268fbfe3db222caeab2fe65f8fe55026aadff2acc5f1a2769fe3a71f0658e90ca35ccf5b117e7ec30b1f8a62499b6156976dac63118a766b92
 SHA512 
6320a49dddac527312b75c113428c52c27e0516b7d7235ceddf3009c2edbdc509d2ec425859c5d57591b55109e04aa9737dbe7d1337a6c2307936fa372f8a28a

diff --git a/dev-db/etcd/etcd-3.2.14.ebuild b/dev-db/etcd/etcd-3.2.14.ebuild
deleted file mode 100644
index 34692b679e1..000
--- a/dev-db/etcd/etcd-3.2.14.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 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 0700 /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

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-03-09 Thread Manuel Rüger
commit: b52e5877e80ecce11b35f3d43244d670a99cb4be
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Mar  9 15:02:01 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Mar  9 15:08:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b52e5877

dev-db/etcd: Version bump to 3.3.2

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.2.ebuild | 69 +++
 2 files changed, 70 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index ac1b252bd88..c1453e84607 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,3 +3,4 @@ DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca2728
 DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
 DIST etcd-3.3.0.tar.gz 3360558 BLAKE2B 
f6a535a55ba862857db9c055deb33846124b92badde6cbc8c2301a989c7dbe4f1d9aa2ec08b7a99c11e0e7ec87cd59cd08cf57e5ae97eeadfd4f5d3cb166992c
 SHA512 
3044e06492f8cc7dd717406cf47fcff8f91f79cb05648464625d5d78f7b79c7d53f315485b830c046a7dadee34a9b39ac2ed11dfeb5d1b59509fce2da2253197
 DIST etcd-3.3.1.tar.gz 3381899 BLAKE2B 
6ef667c635731f877557e7e8cf1d94514f788f5c485a230fe808242d2910d3551082a9fc62da1b35ce1b2dfba846c47109e5b9ef0d351860600c5e7947d0d11e
 SHA512 
14af3bd4de63570da8bc27fa931982294c7037edf98a9512abc0e396baddbd05fff7525d17013bc1782a622e4850e216368e7c620863a22aec0739d7ffdb5bd6
+DIST etcd-3.3.2.tar.gz 3385493 BLAKE2B 
e4c2e614b0b868268fbfe3db222caeab2fe65f8fe55026aadff2acc5f1a2769fe3a71f0658e90ca35ccf5b117e7ec30b1f8a62499b6156976dac63118a766b92
 SHA512 
6320a49dddac527312b75c113428c52c27e0516b7d7235ceddf3009c2edbdc509d2ec425859c5d57591b55109e04aa9737dbe7d1337a6c2307936fa372f8a28a

diff --git a/dev-db/etcd/etcd-3.3.2.ebuild b/dev-db/etcd/etcd-3.3.2.ebuild
new file mode 100644
index 000..88b1e478fe0
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc +server"
+DEPEND=">=dev-lang/go-1.9:="
+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() {
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
+}
+
+src_compile() {
+   export GOPATH=${S}
+   pushd src/${EGO_PN} || die
+   ./build || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin bin/etcdctl
+   use doc && dodoc -r Documentation
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
+   popd || die
+}
+
+src_test() {
+   pushd src/${EGO_PN} || die
+   ./test || die
+   popd || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-03-09 Thread Manuel Rüger
commit: 2ca326a86434f1f5b5f575084209f692bfd6de7d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Mar  9 15:07:34 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Mar  9 15:08:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca326a8

dev-db/etcd: Version bump to 3.2.17

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.17.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index c1453e84607..ab43f7d26e1 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,6 +1,7 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
+DIST etcd-3.2.17.tar.gz 3064774 BLAKE2B 
b111082f39dd428d40d8325dc5d1f3507fbd45c2fb12002f87d4a85c60e6d546042b6ae3ecda9e842e7d27b992a17b7899c1b871f25623651a455fd0758b690b
 SHA512 
d526a1c96de04467f23ca112bcb502367f22fd8cbefe29667f097aa7fcec6fce78914c56b2e39fd0131b566803d715cb5fee5e335f9f3f4b86011d00232b5d0d
 DIST etcd-3.3.0.tar.gz 3360558 BLAKE2B 
f6a535a55ba862857db9c055deb33846124b92badde6cbc8c2301a989c7dbe4f1d9aa2ec08b7a99c11e0e7ec87cd59cd08cf57e5ae97eeadfd4f5d3cb166992c
 SHA512 
3044e06492f8cc7dd717406cf47fcff8f91f79cb05648464625d5d78f7b79c7d53f315485b830c046a7dadee34a9b39ac2ed11dfeb5d1b59509fce2da2253197
 DIST etcd-3.3.1.tar.gz 3381899 BLAKE2B 
6ef667c635731f877557e7e8cf1d94514f788f5c485a230fe808242d2910d3551082a9fc62da1b35ce1b2dfba846c47109e5b9ef0d351860600c5e7947d0d11e
 SHA512 
14af3bd4de63570da8bc27fa931982294c7037edf98a9512abc0e396baddbd05fff7525d17013bc1782a622e4850e216368e7c620863a22aec0739d7ffdb5bd6
 DIST etcd-3.3.2.tar.gz 3385493 BLAKE2B 
e4c2e614b0b868268fbfe3db222caeab2fe65f8fe55026aadff2acc5f1a2769fe3a71f0658e90ca35ccf5b117e7ec30b1f8a62499b6156976dac63118a766b92
 SHA512 
6320a49dddac527312b75c113428c52c27e0516b7d7235ceddf3009c2edbdc509d2ec425859c5d57591b55109e04aa9737dbe7d1337a6c2307936fa372f8a28a

diff --git a/dev-db/etcd/etcd-3.2.17.ebuild b/dev-db/etcd/etcd-3.2.17.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.17.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-03-02 Thread Manuel Rüger
commit: 749940b097dfd73aa6e7a06aed16336ed443fd7a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Mar  2 12:58:53 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Mar  2 12:58:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749940b0

dev-db/etcd: Create user only if USE="server" is enabled

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/etcd/etcd-3.3.1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-db/etcd/etcd-3.3.1.ebuild b/dev-db/etcd/etcd-3.3.1.ebuild
index 7ec5b9eda5c..88b1e478fe0 100644
--- a/dev-db/etcd/etcd-3.3.1.ebuild
+++ b/dev-db/etcd/etcd-3.3.1.ebuild
@@ -24,8 +24,10 @@ src_prepare() {
 }
 
 pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   if use server; then
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
+   fi
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-02-23 Thread Manuel Rüger
commit: 7d2e52b7ec550cfd2a19a1639abea4a9b765e392
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Feb 23 16:30:29 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Feb 23 16:30:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d2e52b7

dev-db/etcd: Add support to only install etcdctl

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/etcd/etcd-3.3.1.ebuild | 37 -
 dev-db/etcd/metadata.xml  |  3 +++
 2 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/dev-db/etcd/etcd-3.3.1.ebuild b/dev-db/etcd/etcd-3.3.1.ebuild
index b1406dc1a18..7ec5b9eda5c 100644
--- a/dev-db/etcd/etcd-3.3.1.ebuild
+++ b/dev-db/etcd/etcd-3.3.1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/coreos/etcd";
 SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="doc"
+IUSE="doc +server"
 DEPEND=">=dev-lang/go-1.9:="
 RDEPEND="!dev-db/etcdctl"
 
@@ -37,23 +37,26 @@ src_compile() {
 
 src_install() {
pushd src/${EGO_PN} || die
-   insinto /etc/${PN}
-   doins "${FILESDIR}/${PN}.conf"
-   dobin bin/*
-   dodoc README.md
+   dobin bin/etcdctl
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}"
-   keepdir /var/lib/${PN}
-   fowners ${PN}:${PN} /var/lib/${PN}
-   fperms 0700 /var/lib/${PN}
-   keepdir /var/log/${PN}
-   fowners ${PN}:${PN} /var/log/${PN}
-   fperms 755 /var/log/${PN}
+   if use server; then
+   insinto /etc/${PN}
+   doins "${FILESDIR}/${PN}.conf"
+   dobin bin/etcd
+   dodoc README.md
+   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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /var/log/${PN}
+   fowners ${PN}:${PN} /var/log/${PN}
+   fperms 755 /var/log/${PN}
+   fi
popd || die
 }
 

diff --git a/dev-db/etcd/metadata.xml b/dev-db/etcd/metadata.xml
index c07ccbfad9c..f48ad8fcc96 100644
--- a/dev-db/etcd/metadata.xml
+++ b/dev-db/etcd/metadata.xml
@@ -7,6 +7,9 @@
https://github.com/coreos/etcd/blob/master/README.md/
coreos/etcd

+   
+   Installs etcd daemon
+   

zmed...@gentoo.org




[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-02-13 Thread Manuel Rüger
commit: 467665526e631c3749c7429c086a23f0fd183c5a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Feb 13 14:22:27 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Feb 13 14:22:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46766552

dev-db/etcd: Version bump to 3.3.1

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.1.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index d07651238f0..ac1b252bd88 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -2,3 +2,4 @@ DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a8
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
 DIST etcd-3.3.0.tar.gz 3360558 BLAKE2B 
f6a535a55ba862857db9c055deb33846124b92badde6cbc8c2301a989c7dbe4f1d9aa2ec08b7a99c11e0e7ec87cd59cd08cf57e5ae97eeadfd4f5d3cb166992c
 SHA512 
3044e06492f8cc7dd717406cf47fcff8f91f79cb05648464625d5d78f7b79c7d53f315485b830c046a7dadee34a9b39ac2ed11dfeb5d1b59509fce2da2253197
+DIST etcd-3.3.1.tar.gz 3381899 BLAKE2B 
6ef667c635731f877557e7e8cf1d94514f788f5c485a230fe808242d2910d3551082a9fc62da1b35ce1b2dfba846c47109e5b9ef0d351860600c5e7947d0d11e
 SHA512 
14af3bd4de63570da8bc27fa931982294c7037edf98a9512abc0e396baddbd05fff7525d17013bc1782a622e4850e216368e7c620863a22aec0739d7ffdb5bd6

diff --git a/dev-db/etcd/etcd-3.3.1.ebuild b/dev-db/etcd/etcd-3.3.1.ebuild
new file mode 100644
index 000..b1406dc1a18
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc"
+DEPEND=">=dev-lang/go-1.9:="
+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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-02-01 Thread Manuel Rüger
commit: 46d8e2fa23f7dfd275cc9dd5125f008ec4b1a4e4
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Feb  1 23:00:21 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Feb  1 23:00:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d8e2fa

dev-db/etcd: Version bump to 3.3.0

Package-Manager: Portage-2.3.22, Repoman-2.3.6

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.0.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 549b212edcb..b6dd9e6b8e6 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -2,5 +2,6 @@ DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a8
 DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3d5167900599760090c3fa3d7932abb6224df5fb66ea5bdbc29a9ce7f7263a0e81522853ab190be94a6551ebc
 SHA512 
4f3c5856ecf9e8a725d0ef80bb584e7b2edaf7215635a5c74fe32b175ce9f8d07ba57685586dfd79b893d04641d4169382d22f2eea442efc1112fa91c8175d45
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
+DIST etcd-3.3.0.tar.gz 3360558 BLAKE2B 
f6a535a55ba862857db9c055deb33846124b92badde6cbc8c2301a989c7dbe4f1d9aa2ec08b7a99c11e0e7ec87cd59cd08cf57e5ae97eeadfd4f5d3cb166992c
 SHA512 
3044e06492f8cc7dd717406cf47fcff8f91f79cb05648464625d5d78f7b79c7d53f315485b830c046a7dadee34a9b39ac2ed11dfeb5d1b59509fce2da2253197
 DIST etcd-3.3.0_rc2.tar.gz 3358540 BLAKE2B 
8df7b2bbe84c5440c1b778107e7817def6b7a14a8568e6c1d7b5eba5479cf58ad6901482937df149b658a7e06844037cad95b57196c23810b309ae638c8961c0
 SHA512 
4c9513fbc599b218072bf441a6a37e622554df1597e18d0b72efab3f85d8ffb2b21d915a78289a865de68bc25e4401df15f291521f3dd22d19c2ae37941c0e4b
 DIST etcd-3.3.0_rc4.tar.gz 3359330 BLAKE2B 
deb5fb6df059039864cebebb74498637163a3331de3191948d34f792a6a579eede32951176f18e4535020c7b06917796bf3c36640087c73c948ae2bd8ed7504a
 SHA512 
754457ce230273b3f79d864f6175fd6c0456e1eebf244003d92e54090f1cecc262ff8228f2c6b56fd41f3b500070cf2ef9a9f949946d88a9af86510f174b7a02

diff --git a/dev-db/etcd/etcd-3.3.0.ebuild b/dev-db/etcd/etcd-3.3.0.ebuild
new file mode 100644
index 000..b1406dc1a18
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc"
+DEPEND=">=dev-lang/go-1.9:="
+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}"
+   keepdir /var/lib/${PN}
+   fowners ${PN}:${PN} /var/lib/${PN}
+   fperms 0700 /var/lib/${PN}
+   keepdir /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-02-01 Thread Manuel Rüger
commit: 0f8d300ca66ece3ebef8e1f30539f6fdae2aef94
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Feb  1 23:00:50 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Feb  1 23:00:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8d300c

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.22, Repoman-2.3.6

 dev-db/etcd/Manifest  |  3 --
 dev-db/etcd/etcd-3.2.13.ebuild| 63 --
 dev-db/etcd/etcd-3.3.0_rc2.ebuild | 64 ---
 dev-db/etcd/etcd-3.3.0_rc4.ebuild | 64 ---
 4 files changed, 194 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index b6dd9e6b8e6..d07651238f0 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,7 +1,4 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
-DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3d5167900599760090c3fa3d7932abb6224df5fb66ea5bdbc29a9ce7f7263a0e81522853ab190be94a6551ebc
 SHA512 
4f3c5856ecf9e8a725d0ef80bb584e7b2edaf7215635a5c74fe32b175ce9f8d07ba57685586dfd79b893d04641d4169382d22f2eea442efc1112fa91c8175d45
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
 DIST etcd-3.3.0.tar.gz 3360558 BLAKE2B 
f6a535a55ba862857db9c055deb33846124b92badde6cbc8c2301a989c7dbe4f1d9aa2ec08b7a99c11e0e7ec87cd59cd08cf57e5ae97eeadfd4f5d3cb166992c
 SHA512 
3044e06492f8cc7dd717406cf47fcff8f91f79cb05648464625d5d78f7b79c7d53f315485b830c046a7dadee34a9b39ac2ed11dfeb5d1b59509fce2da2253197
-DIST etcd-3.3.0_rc2.tar.gz 3358540 BLAKE2B 
8df7b2bbe84c5440c1b778107e7817def6b7a14a8568e6c1d7b5eba5479cf58ad6901482937df149b658a7e06844037cad95b57196c23810b309ae638c8961c0
 SHA512 
4c9513fbc599b218072bf441a6a37e622554df1597e18d0b72efab3f85d8ffb2b21d915a78289a865de68bc25e4401df15f291521f3dd22d19c2ae37941c0e4b
-DIST etcd-3.3.0_rc4.tar.gz 3359330 BLAKE2B 
deb5fb6df059039864cebebb74498637163a3331de3191948d34f792a6a579eede32951176f18e4535020c7b06917796bf3c36640087c73c948ae2bd8ed7504a
 SHA512 
754457ce230273b3f79d864f6175fd6c0456e1eebf244003d92e54090f1cecc262ff8228f2c6b56fd41f3b500070cf2ef9a9f949946d88a9af86510f174b7a02

diff --git a/dev-db/etcd/etcd-3.2.13.ebuild b/dev-db/etcd/etcd-3.2.13.ebuild
deleted file mode 100644
index 34692b679e1..000
--- a/dev-db/etcd/etcd-3.2.13.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 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 0700 /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
-}

diff --git a/dev-db/etcd/etcd-3.3.0_rc2.ebuild 

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-01-24 Thread Manuel Rüger
commit: 6a7c7211dbd52923abd08b1abf1a57af82d4eaf9
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jan 24 19:20:26 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jan 24 19:20:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7c7211

dev-db/etcd: Version bump to 3.3.0_rc4

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.0_rc4.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 2dbf09a8b7c..549b212edcb 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,3 +3,4 @@ DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
 DIST etcd-3.3.0_rc2.tar.gz 3358540 BLAKE2B 
8df7b2bbe84c5440c1b778107e7817def6b7a14a8568e6c1d7b5eba5479cf58ad6901482937df149b658a7e06844037cad95b57196c23810b309ae638c8961c0
 SHA512 
4c9513fbc599b218072bf441a6a37e622554df1597e18d0b72efab3f85d8ffb2b21d915a78289a865de68bc25e4401df15f291521f3dd22d19c2ae37941c0e4b
+DIST etcd-3.3.0_rc4.tar.gz 3359330 BLAKE2B 
deb5fb6df059039864cebebb74498637163a3331de3191948d34f792a6a579eede32951176f18e4535020c7b06917796bf3c36640087c73c948ae2bd8ed7504a
 SHA512 
754457ce230273b3f79d864f6175fd6c0456e1eebf244003d92e54090f1cecc262ff8228f2c6b56fd41f3b500070cf2ef9a9f949946d88a9af86510f174b7a02

diff --git a/dev-db/etcd/etcd-3.3.0_rc4.ebuild 
b/dev-db/etcd/etcd-3.3.0_rc4.ebuild
new file mode 100644
index 000..bb257b8fde5
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.0_rc4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc"
+DEPEND=">=dev-lang/go-1.9:="
+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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-01-24 Thread Manuel Rüger
commit: 2d3e79c168287c05dcc3e6554310be1f4743b888
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Jan 24 19:06:48 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Jan 24 19:06:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3e79c1

dev-db/etcd: Version bump to 3.2.15

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.15.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index e704e3e0f21..2dbf09a8b7c 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
 DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3d5167900599760090c3fa3d7932abb6224df5fb66ea5bdbc29a9ce7f7263a0e81522853ab190be94a6551ebc
 SHA512 
4f3c5856ecf9e8a725d0ef80bb584e7b2edaf7215635a5c74fe32b175ce9f8d07ba57685586dfd79b893d04641d4169382d22f2eea442efc1112fa91c8175d45
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
+DIST etcd-3.2.15.tar.gz 3047626 BLAKE2B 
81f312fd5df6b64bf9e13994500387ab11ce145e296538492ccc71b94659f93e84e191cd2347d53d6d20e070cb1eb2760d4abd467655af53eaeb3c40cff7b500
 SHA512 
3ae11dfe918d409893e3168fbf31da0e910ce498a13f6bb31c3dd3a2027d72550f086d55b702803f2783de815dd349537bd581334146f8c4d05b9b3f4d3d56fb
 DIST etcd-3.3.0_rc2.tar.gz 3358540 BLAKE2B 
8df7b2bbe84c5440c1b778107e7817def6b7a14a8568e6c1d7b5eba5479cf58ad6901482937df149b658a7e06844037cad95b57196c23810b309ae638c8961c0
 SHA512 
4c9513fbc599b218072bf441a6a37e622554df1597e18d0b72efab3f85d8ffb2b21d915a78289a865de68bc25e4401df15f291521f3dd22d19c2ae37941c0e4b

diff --git a/dev-db/etcd/etcd-3.2.15.ebuild b/dev-db/etcd/etcd-3.2.15.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.15.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-01-15 Thread Manuel Rüger
commit: 617e1eb462a73ce530cc45b724b58467c74c1f58
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 13:19:08 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 13:19:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=617e1eb4

dev-db/etcd: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/etcd/Manifest  |  2 --
 dev-db/etcd/etcd-3.2.12.ebuild| 63 --
 dev-db/etcd/etcd-3.3.0_rc1.ebuild | 64 ---
 3 files changed, 129 deletions(-)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index 763d57328c0..e704e3e0f21 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,6 +1,4 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
-DIST etcd-3.2.12.tar.gz 3046578 BLAKE2B 
7b7a071c6856a7f1b5b7ceb68a4efbac74fde6ed1211dabda7d715ea79cd4dc9c10b0f1345d70b8a21e52cb3ac6adfc37c232ea28ff88e5f401212b5a8610d73
 SHA512 
b672a35ba62efccffa09be6b3d2a84b99e8abcae87093539c705d82e13c0f985a9f07a3d885af7386595f12d433756176db107739749c301e7e5d096e85d018b
 DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3d5167900599760090c3fa3d7932abb6224df5fb66ea5bdbc29a9ce7f7263a0e81522853ab190be94a6551ebc
 SHA512 
4f3c5856ecf9e8a725d0ef80bb584e7b2edaf7215635a5c74fe32b175ce9f8d07ba57685586dfd79b893d04641d4169382d22f2eea442efc1112fa91c8175d45
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
-DIST etcd-3.3.0_rc1.tar.gz 3357505 BLAKE2B 
e9008dfc5b88e7aafcb0db08e09ac40a25b3c877ec6865e6ae73162f65bc75af777ab5e3822130269b19acba1472f8c7cbde48b70d29c7a0936618c6ee13e753
 SHA512 
1a3fc95b1a4f5a85c956fb3a8558ae2deaa116ff2efe32ef9fdca0e503f356b1477e3f9c19be6d1a3b7b992d030abcf9b9eb251b5c37c64f78a4fbbcd406872f
 DIST etcd-3.3.0_rc2.tar.gz 3358540 BLAKE2B 
8df7b2bbe84c5440c1b778107e7817def6b7a14a8568e6c1d7b5eba5479cf58ad6901482937df149b658a7e06844037cad95b57196c23810b309ae638c8961c0
 SHA512 
4c9513fbc599b218072bf441a6a37e622554df1597e18d0b72efab3f85d8ffb2b21d915a78289a865de68bc25e4401df15f291521f3dd22d19c2ae37941c0e4b

diff --git a/dev-db/etcd/etcd-3.2.12.ebuild b/dev-db/etcd/etcd-3.2.12.ebuild
deleted file mode 100644
index c4f9f1d4576..000
--- a/dev-db/etcd/etcd-3.2.12.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# 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 0700 /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
-}

diff --git a/dev-db/etcd/etcd-3.3.0_rc1.ebuild 
b/dev-db/etcd/etcd-3.3.0_rc1.ebuild
deleted file mode 100644
index bb257b8fde5..000
--- a/dev-db/etcd/etcd-3.3.0_rc1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2018 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"
-MY_PV="

[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-01-15 Thread Manuel Rüger
commit: dc6e4deb3d3b85b38532fd3bafc7c3072b5acf27
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 12:38:39 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 12:38:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc6e4deb

dev-db/etcd: Version bump to 3.2.14

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/etcd/Manifest   |  1 +
 dev-db/etcd/etcd-3.2.14.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index a3765c46aee..eabe8714dbb 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -1,4 +1,5 @@
 DIST etcd-2.3.8.tar.gz 2206562 BLAKE2B 
754930b4b5f0e90386b2b4765a9dbb6790ae509a81d3430c3f7c2c828d90318db3b01a2faea0c7075078096ce74302f2be7444245047534749f49d13a927851e
 SHA512 
4268de32797cab23e9e47784d31d5abd6982068c53d3cc9735a06719740dba45b73f4e067cbc7aa8aef5ca7c56d8be067f1076685ac82f64012b760d8b7f2bfc
 DIST etcd-3.2.12.tar.gz 3046578 BLAKE2B 
7b7a071c6856a7f1b5b7ceb68a4efbac74fde6ed1211dabda7d715ea79cd4dc9c10b0f1345d70b8a21e52cb3ac6adfc37c232ea28ff88e5f401212b5a8610d73
 SHA512 
b672a35ba62efccffa09be6b3d2a84b99e8abcae87093539c705d82e13c0f985a9f07a3d885af7386595f12d433756176db107739749c301e7e5d096e85d018b
 DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3d5167900599760090c3fa3d7932abb6224df5fb66ea5bdbc29a9ce7f7263a0e81522853ab190be94a6551ebc
 SHA512 
4f3c5856ecf9e8a725d0ef80bb584e7b2edaf7215635a5c74fe32b175ce9f8d07ba57685586dfd79b893d04641d4169382d22f2eea442efc1112fa91c8175d45
+DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.3.0_rc1.tar.gz 3357505 BLAKE2B 
e9008dfc5b88e7aafcb0db08e09ac40a25b3c877ec6865e6ae73162f65bc75af777ab5e3822130269b19acba1472f8c7cbde48b70d29c7a0936618c6ee13e753
 SHA512 
1a3fc95b1a4f5a85c956fb3a8558ae2deaa116ff2efe32ef9fdca0e503f356b1477e3f9c19be6d1a3b7b992d030abcf9b9eb251b5c37c64f78a4fbbcd406872f

diff --git a/dev-db/etcd/etcd-3.2.14.ebuild b/dev-db/etcd/etcd-3.2.14.ebuild
new file mode 100644
index 000..34692b679e1
--- /dev/null
+++ b/dev-db/etcd/etcd-3.2.14.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 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 0700 /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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/

2018-01-15 Thread Manuel Rüger
commit: 1f13405f58466d24b6e3ab56966ea42028b242e8
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 13:08:35 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 13:08:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f13405f

dev-db/etcd: Version bump to 3.3.0_rc2

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-db/etcd/Manifest  |  1 +
 dev-db/etcd/etcd-3.3.0_rc2.ebuild | 64 +++
 2 files changed, 65 insertions(+)

diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest
index eabe8714dbb..763d57328c0 100644
--- a/dev-db/etcd/Manifest
+++ b/dev-db/etcd/Manifest
@@ -3,3 +3,4 @@ DIST etcd-3.2.12.tar.gz 3046578 BLAKE2B 
7b7a071c6856a7f1b5b7ceb68a4efbac74fde6ed
 DIST etcd-3.2.13.tar.gz 3047049 BLAKE2B 
f0ac987aef60fcc28636cfb60d5f4e00daee29a3d5167900599760090c3fa3d7932abb6224df5fb66ea5bdbc29a9ce7f7263a0e81522853ab190be94a6551ebc
 SHA512 
4f3c5856ecf9e8a725d0ef80bb584e7b2edaf7215635a5c74fe32b175ce9f8d07ba57685586dfd79b893d04641d4169382d22f2eea442efc1112fa91c8175d45
 DIST etcd-3.2.14.tar.gz 3047100 BLAKE2B 
5b956042542e7daeec3985f0dbd02b2766ca27287b55b0e1fd67c4296103ca9bf05b2ccc0e93640949c85e8099503b5a22d36c2f03d9904762ae1bbb59d35ac4
 SHA512 
f48cdb368906b36e7ce80c60933b0e9bc4415104c31f2da9346940f040febf27dbd9109e7f659a281c7038cadfb02b0dad614685a15ff46c87c600471c5de432
 DIST etcd-3.3.0_rc1.tar.gz 3357505 BLAKE2B 
e9008dfc5b88e7aafcb0db08e09ac40a25b3c877ec6865e6ae73162f65bc75af777ab5e3822130269b19acba1472f8c7cbde48b70d29c7a0936618c6ee13e753
 SHA512 
1a3fc95b1a4f5a85c956fb3a8558ae2deaa116ff2efe32ef9fdca0e503f356b1477e3f9c19be6d1a3b7b992d030abcf9b9eb251b5c37c64f78a4fbbcd406872f
+DIST etcd-3.3.0_rc2.tar.gz 3358540 BLAKE2B 
8df7b2bbe84c5440c1b778107e7817def6b7a14a8568e6c1d7b5eba5479cf58ad6901482937df149b658a7e06844037cad95b57196c23810b309ae638c8961c0
 SHA512 
4c9513fbc599b218072bf441a6a37e622554df1597e18d0b72efab3f85d8ffb2b21d915a78289a865de68bc25e4401df15f291521f3dd22d19c2ae37941c0e4b

diff --git a/dev-db/etcd/etcd-3.3.0_rc2.ebuild 
b/dev-db/etcd/etcd-3.3.0_rc2.ebuild
new file mode 100644
index 000..bb257b8fde5
--- /dev/null
+++ b/dev-db/etcd/etcd-3.3.0_rc2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2018 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"
+MY_PV="${PV/_rc/-rc.}"
+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${MY_PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="doc"
+DEPEND=">=dev-lang/go-1.9:="
+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 0700 /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
+}



  1   2   >