etcd: update to 3.0.15.

This commit is contained in:
Andrea Brancaleoni 2016-11-12 13:24:25 +01:00
parent fdd9338df1
commit 22484e91a5

View file

@ -1,6 +1,6 @@
# Template file for 'etcd'
pkgname=etcd
version=3.0.13
version=3.0.15
revision=1
build_style=go
short_desc="Distributed reliable key-value store"
@ -10,11 +10,15 @@ hostmakedepends="git"
go_import_path="github.com/coreos/etcd"
homepage="https://coreos.com/etcd/docs/latest/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=777d2dff3eb95410feb6ac411b538bed59cb94041fad7f4059827e952ea621c0
checksum=c21871f7e1454b1698ff29601a296f4b09365fac25bea45c0af21542d486c307
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"
pre_build() {
sed -i '/SupportPackageIsVersion3/d' etcdserver/etcdserverpb/rpc.pb.go
}
post_build() {
go get -x ${go_import_path}/etcdctl
}