Celeste 798629c193 testing/openbao: disable on loongarch64
https://build.alpinelinux.org/buildlogs/build-edge-loongarch64/testing/openbao/openbao-2.0.0_beta20240618-r0.log

==> Building...
# github.com/shirou/gopsutil/v3/host
../../../../../go/pkg/mod/github.com/shirou/gopsutil/v3@v3.22.6/host/host_linux.go:98:22: undefined: sizeOfUtmp
../../../../../go/pkg/mod/github.com/shirou/gopsutil/v3@v3.22.6/host/host_linux.go:103:14: undefined: sizeOfUtmp
../../../../../go/pkg/mod/github.com/shirou/gopsutil/v3@v3.22.6/host/host_linux.go:105:9: undefined: utmp
make: *** [Makefile:27: bin] Error 1

Same Go module blocks testing/haproxy-dataplaneapi (which gopsutil@v3.21.11+incompatible)
2024-07-15 01:28:06 +00:00

44 lines
1.5 KiB
Plaintext

# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=openbao
pkgver=2.0.0_beta20240618
_pkgver=${pkgver/_/-}
pkgrel=0
pkgdesc="solution to manage, store, and distribute sensitive data including secrets, certificates, and keys"
url="https://openbao.org/"
# loongarch64: github.com/shirou/gopsutil/v3@v3.22.6/host/host_linux.go:98:22: undefined: sizeOfUtmp
arch="all !loongarch64"
license="MPL-2.0"
makedepends="go bash"
options="!check net" # many tests require docker
source="https://github.com/openbao/openbao/archive/v$_pkgver/openbao-$_pkgver.tar.gz
make-bin-without-ui.patch
build-do-not-assume-git-repo.patch
build-do-not-install.patch
"
builddir="$srcdir/openbao-$_pkgver"
prepare() {
default_prepare
echo "$_pkgver" >version/VERSION
}
build() {
CGO_ENABLED=1 make bin
}
check() {
make test
}
package() {
install -Dm0755 -t "$pkgdir/usr/bin/" bin/bao
}
sha512sums="
6379257e65d90c513ed4679fd558dd698d502054f4033b50d1dfc4e1266cfe52c622e66abe1e4d2ccc98403a5c83fc35320e881f943729521c2d503b91095b7f openbao-2.0.0-beta20240618.tar.gz
367c1f063d66dfa1937d7363975bbb6b2f2fafc2f38ce4ba1a1ee0e153443dc99b4e9ad2a944083a186d34bbe494d2c522c92f44ba09ad63dc56b66e42686b02 make-bin-without-ui.patch
024e7d158745ccabb462f4e8e8e89b3c4a46623b67d0c5af856a6048b673153b78014cf01c45f16e7ef300796307c1a0a4e6c5f06c15c35b5fefa53664ee61e3 build-do-not-assume-git-repo.patch
4277f815de3b9d2e54489a10fec06416d8f2802c0cc702d4a81dae3ab41b23bd8387981536925765450077bffdb05a43f10e4516a89e28c9a2899d480a9fe8f9 build-do-not-install.patch
"