Skip to content

Commit

Permalink
etcd: replace github.com/coreos/bbolt => go.etcd.io/bbolt
Browse files Browse the repository at this point in the history
For some reason, they changed their package path but not import path.

Also xlintify.
  • Loading branch information
sgn authored and ericonr committed Nov 14, 2020
1 parent f08baa5 commit fc046c5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions srcpkgs/etcd/template
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# Template file for 'etcd'
pkgname=etcd
version=3.4.4
revision=1
revision=2
build_style=go
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
hostmakedepends="git glide"
go_import_path="github.com/coreos/etcd"
go_package="${go_import_path} ${go_import_path}/etcdctl"
go_mod_mode="default"
hostmakedepends="git glide"
short_desc="Distributed reliable key-value store"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://coreos.com/etcd/docs/latest/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=46bcd0d034fe9cc6ae86a9f2a72bdc78761ca99bfd5ae4b96b24e4ad93fc627e
conf_files="/etc/sv/etcd/conf"
system_accounts="etcd"
make_dirs="/var/lib/etcd 0755 etcd etcd"

post_patch() {
echo "replace github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.5" >>go.mod
}

post_install() {
vlicense LICENSE
vsv etcd
}

0 comments on commit fc046c5

Please sign in to comment.