etcd: update to 3.1.7.

This commit is contained in:
Andrea Brancaleoni 2017-05-02 09:44:37 +02:00
parent 412bd95bc4
commit ff76ae44ec

View file

@ -1,22 +1,22 @@
# Template file for 'etcd'
pkgname=etcd
version=3.1.5
version=3.1.7
revision=1
build_style=go
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
hostmakedepends="git"
hostmakedepends="git glide"
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=d9019b45df696f1dae286a511bd28b03751e37343c752380318e2a13ac994318
checksum=41cbfc6744c76aa1735e11c82e6f6ff03c88dc88810938cf6eb80930dc994b2a
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
glide install
}
post_build() {