aports/testing/confd/APKBUILD
Sören Tempel bd80f73f14 testing/[various]: rebuild against go 1.12.8-r0
go recently received a security upgrade to 1.12.8 (f4894bf9) this
upgrade fixes various CVEs in go standard libraries, for instance in
HTTP/2 functionality. Since go is statically linked packages using this
functionality need to be rebuild.
2019-08-18 17:51:43 +02:00

41 lines
1.4 KiB
Plaintext

# Contributor: tang0th <tang0th@gmx.com>
# Contributor: fchavant <francois@lightcurve.io>
# Maintainer:
pkgname=confd
pkgver=0.16.0
pkgrel=1
pkgdesc="Manage local application configuration files using templates and data from etcd or consul"
url="http://confd.io"
arch="all"
license="MIT"
depends=""
makedepends="go"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/kelseyhightower/$pkgname/archive/v$pkgver.tar.gz
0001-add-file-backend-to-quick-start-guide-727.patch"
build() {
export GOPATH="$srcdir"
mkdir -p "$GOPATH/src/github.com/kelseyhightower"
mv "$srcdir/$pkgname-$pkgver" "$GOPATH/src/github.com/kelseyhightower/confd"
cd "$GOPATH/src/github.com/kelseyhightower/confd"
make
}
check() {
# Errors out with
# backends/file/client.go:115:14: Debug call has arguments but no formatting directives
[ "$CARCH" = armv7 ] && return 0
export GOPATH="$srcdir"
cd "$GOPATH/src/github.com/kelseyhightower/confd"
make test
}
package() {
install -Dm755 "$srcdir/src/github.com/kelseyhightower/confd/bin/confd" "$pkgdir/usr/bin/confd"
}
sha512sums="eafabf85d1d7193847a78dcfde7b9961bdf5b634165d27acc760aff6e4ef79cac9688abdfcac049773a28f997f87ea94e6a7606ee7f7d7aaaeaa8ba67f7e48b7 confd-0.16.0.tar.gz
d57124541a84d2d9bc8e3de7bb463a724e39f99345da3732e9770439e6356f8e7633e8968cf8a654c43a92c5f99ede51badb8f18981214cdd827e10d702b0239 0001-add-file-backend-to-quick-start-guide-727.patch"