From fb2995fd08a1db80ed3d9f6818a6806d3f295ade Mon Sep 17 00:00:00 2001 From: Eric Long Date: Mon, 18 Nov 2024 13:50:05 +0800 Subject: [PATCH] addpatch: vault 1.18.1-1 Replace bolt with bbolt. This project also contains both Node.js and Go parts, so building on Unmatched is needed. --- vault/riscv64.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vault/riscv64.patch diff --git a/vault/riscv64.patch b/vault/riscv64.patch new file mode 100644 index 000000000..f2bd63268 --- /dev/null +++ b/vault/riscv64.patch @@ -0,0 +1,13 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -33,6 +33,10 @@ prepare() { + cd vault + sed -i 's|/etc/vault.d/vault.hcl|/etc/vault.hcl|g' .release/linux/package/usr/lib/systemd/system/vault.service + sed -i 's|/etc/vault.d/vault.env|/etc/default/vault|g' .release/linux/package/usr/lib/systemd/system/vault.service ++ ++ go mod edit -replace go.etcd.io/bbolt=github.com/etcd-io/bbolt@v1.3.7 ++ go mod edit -replace github.com/boltdb/bolt=go.etcd.io/bbolt@v1.3.7 ++ go mod tidy + } + + build() {