From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC6BF1382DE for ; Mon, 27 Jun 2016 16:34:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D284A1423A; Mon, 27 Jun 2016 16:34:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68FA81423A for ; Mon, 27 Jun 2016 16:34:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C527E340D42 for ; Mon, 27 Jun 2016 16:34:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A30922417 for ; Mon, 27 Jun 2016 16:34:29 +0000 (UTC) From: "Alexys Jacob" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexys Jacob" Message-ID: <1467045249.fe4d38e4aff0dc1e6321eab78a5022be6e26f872.ultrabug@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/etcd/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/etcd/Manifest dev-db/etcd/etcd-2.3.7.ebuild X-VCS-Directories: dev-db/etcd/ X-VCS-Committer: ultrabug X-VCS-Committer-Name: Alexys Jacob X-VCS-Revision: fe4d38e4aff0dc1e6321eab78a5022be6e26f872 X-VCS-Branch: master Date: Mon, 27 Jun 2016 16:34:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b6286253-2595-4f74-983a-0f2d910f89cc X-Archives-Hash: 2a177d3ad81edf75df622dae8e8829cc commit: fe4d38e4aff0dc1e6321eab78a5022be6e26f872 Author: Ultrabug gentoo org> AuthorDate: Mon Jun 27 16:34:09 2016 +0000 Commit: Alexys Jacob gentoo org> CommitDate: Mon Jun 27 16:34:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4d38e4 dev-db/etcd: version bump dev-db/etcd/Manifest | 1 + dev-db/etcd/etcd-2.3.7.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-db/etcd/Manifest b/dev-db/etcd/Manifest index eaaa219..86c80a9 100644 --- a/dev-db/etcd/Manifest +++ b/dev-db/etcd/Manifest @@ -1,3 +1,4 @@ DIST etcd-2.0.10.tar.gz 450581 SHA256 6029113d9870e5c6f0d10adbd2b6670958a46575114a094b86b607771a0e5ff3 SHA512 825524ee4c435b8f369970cfe39158443b8e29f6fba5ab86ae8be2d91f6faa0674d15f311bc863092fb6c77b054b8f3b69e163610b546e3c5cf59a111b38a3ed WHIRLPOOL a2b4c160cbc9cde5ebf64fa2fe41f6bc6ac5dc851551778b681d658e511f0dbc7241a4c74a6b520d43fe8e9cee65fa28f94655d64caf6f3c99cbd4ba84a57b65 DIST etcd-2.2.1.tar.gz 1844265 SHA256 1c0ce63812ef951f79c0a544c91f9f1ba3c6b50cb3e8197de555732454864d05 SHA512 4a96ed12c1f23ac4c9ea7ffeb17853f10a5eb04365b0fdfa765fa9f3acf12d32f7b4bfaa05de78bc17620808ae97f61425d2956a0d1cd817e501106e39498950 WHIRLPOOL edcb6f837b83f83a658717ceaf79c7304f5d4df34d2a15bbf9d82d370612f31ee8e5e248e9b143ff15df666ce25ab8c47d7dc5c62a3d7365a8bde0153d5e79a7 DIST etcd-2.2.5.tar.gz 2151517 SHA256 a7fb7998ada620fda74e517c100891d25a15a6fa20b627df52da7cd29328e6d5 SHA512 4436180c564ba2122cb346033ccf3de90e1f9cf17c12f62635c41cd0617c16e1a5705bbcfce64d74702ee378e89bc6663f208a99d64e819ddf449c3f442a38e0 WHIRLPOOL f5706c1eb25750fea89556d803bf8a9915569a197bf676c06c016652905d559e3ec60e7bcf682a341aa36115b91b892529a035f96b4a63e0403ee13e492c55a3 +DIST etcd-2.3.7.tar.gz 2209051 SHA256 aa3a6340bb08d072d1d2ecfbe3c1e02235251760d031a2b699ee1710510ee883 SHA512 a551287ebf6e881e2c6a56a7e75c273d125ed2b4b3ea58533e4481bc12ca21167de02820aaa1f4775b81385e96e65f882e97121920be02d72abe82f43652daf9 WHIRLPOOL e01bf51978b9287e9e662f8689630d80eb79aace43fe0c81f1898718ccec1a0a93e53543c3df001dfc12dac2a3844f5a4fe2de28d97654b671648ad93681185a diff --git a/dev-db/etcd/etcd-2.3.7.ebuild b/dev-db/etcd/etcd-2.3.7.ebuild new file mode 100644 index 0000000..0b5a7bf --- /dev/null +++ b/dev-db/etcd/etcd-2.3.7.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit user systemd + +KEYWORDS="~amd64" +DESCRIPTION="A 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} + 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 +}