hashworks pushed to branch main at Arch Linux / Packaging / Packages / openbao


Commits:
d6ba6f24 by Justin Kromlinger at 2026-07-19T20:04:13+02:00
upgpkg: 2.6.0-2: Build against glibc

Resolves #4. We should have cgo enabled for binary hardening (if it isn't 
breaking stuff).

This also saves about ~13 MB.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = openbao
        pkgdesc = solution to manage, store, and distribute sensitive data
        pkgver = 2.6.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://openbao.org
        install = openbao.install
        arch = x86_64
@@ -10,6 +10,7 @@ pkgbase = openbao
        makedepends = git
        makedepends = pnpm
        makedepends = nodejs-lts-jod
+       depends = glibc
        optdepends = openbao-plugin-auth-aws
        optdepends = openbao-plugin-auth-azure
        optdepends = openbao-plugin-auth-gcp


=====================================
PKGBUILD
=====================================
@@ -3,11 +3,12 @@
 
 pkgname=openbao
 pkgver=2.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="solution to manage, store, and distribute sensitive data"
 arch=("x86_64")
 url="https://openbao.org";
 license=('MPL-2.0')
+depends=(glibc)
 optdepends=(
   openbao-plugin-auth-aws
   openbao-plugin-auth-azure
@@ -65,7 +66,10 @@ build() {
   pnpm build
   popd
 
-  export CGO_ENABLED=0
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
   export GOPATH="${srcdir}"
 
   # https://openbao.org/docs/contributing/packaging/



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openbao/-/commit/d6ba6f241d1f5d3d843364572c1d5ad68a5583b6

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openbao/-/commit/d6ba6f241d1f5d3d843364572c1d5ad68a5583b6
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to