1 |
zmedico 15/05/01 08:25:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: etcd-2.0.10.ebuild |
5 |
Log: |
6 |
2.0.10 version bump, fixes bug 540858 |
7 |
|
8 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-db/etcd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/etcd/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 16 Oct 2014 22:05:03 -0000 1.2 |
24 |
+++ ChangeLog 1 May 2015 08:25:28 -0000 1.3 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-db/etcd |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/etcd/ChangeLog,v 1.2 2014/10/16 22:05:03 zmedico Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/etcd/ChangeLog,v 1.3 2015/05/01 08:25:28 zmedico Exp $ |
31 |
+ |
32 |
+*etcd-2.0.10 (01 May 2015) |
33 |
+ |
34 |
+ 01 May 2015; Zac Medico <zmedico@g.o> +etcd-2.0.10.ebuild: |
35 |
+ 2.0.10 version bump, fixes bug 540858 |
36 |
|
37 |
16 Oct 2014; Zac Medico <zmedico@g.o> +files/etcd.tmpfiles.d.conf, |
38 |
etcd-0.4.6.ebuild, files/etcd.conf: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-db/etcd/etcd-2.0.10.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/etcd-2.0.10.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/etcd/etcd-2.0.10.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: etcd-2.0.10.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/etcd/etcd-2.0.10.ebuild,v 1.1 2015/05/01 08:25:28 zmedico Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit user systemd |
56 |
|
57 |
KEYWORDS="~amd64" |
58 |
DESCRIPTION="A highly-available key value store for shared configuration and service discovery" |
59 |
HOMEPAGE="https://github.com/coreos/etcd/" |
60 |
SRC_URI="https://github.com/coreos/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
61 |
LICENSE="Apache-2.0" |
62 |
SLOT="0" |
63 |
IUSE="doc" |
64 |
DEPEND=">=dev-lang/go-1.2" |
65 |
RDEPEND="!dev-db/etcdctl" |
66 |
|
67 |
pkg_setup() { |
68 |
enewgroup ${PN} |
69 |
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} |
70 |
} |
71 |
|
72 |
src_prepare() { |
73 |
sed -e "s|-ldflags '-s'|-x|" \ |
74 |
-i build || die |
75 |
} |
76 |
|
77 |
src_compile() { |
78 |
./build || die |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
insinto /etc/${PN} |
83 |
doins "${FILESDIR}/${PN}.conf" |
84 |
dobin bin/* |
85 |
dodoc README.md |
86 |
use doc && dodoc -r Documentation |
87 |
systemd_dounit "${FILESDIR}/${PN}.service" |
88 |
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf |
89 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
90 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
91 |
dodir /var/lib/${PN} |
92 |
fowners ${PN}:${PN} /var/lib/${PN} |
93 |
fperms 755 /var/lib/${PN} |
94 |
dodir /var/log/${PN} |
95 |
fowners ${PN}:${PN} /var/log/${PN} |
96 |
fperms 755 /var/log/${PN} |
97 |
} |
98 |
|
99 |
src_test() { |
100 |
local x |
101 |
for x in bin/*; do |
102 |
ebegin "running ${x##*/} --help" |
103 |
${x} --help >/dev/null || die "${x##*/} --help failed" |
104 |
eend |
105 |
done |
106 |
} |