* [PR PATCH] vault: update to 1.12.3.
@ 2023-02-10 5:57 Vaelatern
2023-02-10 6:25 ` [PR PATCH] [Merged]: " the-maldridge
0 siblings, 1 reply; 2+ messages in thread
From: Vaelatern @ 2023-02-10 5:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
There is a new pull request by Vaelatern against master on the void-packages repository
https://github.com/Vaelatern/void-packages vault-config-change
https://github.com/void-linux/void-packages/pull/42177
vault: update to 1.12.3.
@the-maldridge I also changed the config file to be backwards compatible but to allow me to change the config for my own usage (I like `/etc/vault.d` and this change lets that happen)
A patch file from https://github.com/void-linux/void-packages/pull/42177.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vault-config-change-42177.patch --]
[-- Type: text/x-diff, Size: 1502 bytes --]
From 223d4a76688543cb3a71935aed7936ebdf615d65 Mon Sep 17 00:00:00 2001
From: Toyam Cox <Vaelatern@voidlinux.org>
Date: Fri, 10 Feb 2023 00:57:18 -0500
Subject: [PATCH] vault: update to 1.12.3.
---
srcpkgs/vault/files/vault/run | 5 ++++-
srcpkgs/vault/template | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/vault/files/vault/run b/srcpkgs/vault/files/vault/run
index 6b08c00f5c2e..43742a8ee0a0 100644
--- a/srcpkgs/vault/files/vault/run
+++ b/srcpkgs/vault/files/vault/run
@@ -1,4 +1,7 @@
#!/bin/sh
exec 2>&1
-exec chpst -u _vault vault server -config=/etc/vault/
+[ -r ./conf ] && . ./conf
+: ${OPTS:=server -config=/etc/vault/}
+
+exec chpst -u _vault vault ${OPTS}
diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index b8cc146ca579..194ddcc2270f 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -1,6 +1,6 @@
# Template file for 'vault'
pkgname=vault
-version=1.12.1
+version=1.12.3
revision=1
build_style=go
go_import_path="github.com/hashicorp/vault"
@@ -13,7 +13,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.vaultproject.io/"
distfiles="https://github.com/hashicorp/vault/archive/v${version}.tar.gz"
-checksum=32dc19ca35496ecaeaf906f8670d3acf569f0c7a43531cbdc9ab69f69f7c4a68
+checksum=be65f2fcc2e5ed0e01978c72a5ee8142470e7115088c96d8c0d1a66e0b5ec17a
system_accounts="_vault"
make_dirs="/var/lib/vault 0700 _vault _vault
/etc/vault 0750 root _vault"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: vault: update to 1.12.3.
2023-02-10 5:57 [PR PATCH] vault: update to 1.12.3 Vaelatern
@ 2023-02-10 6:25 ` the-maldridge
0 siblings, 0 replies; 2+ messages in thread
From: the-maldridge @ 2023-02-10 6:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
There's a merged pull request on the void-packages repository
vault: update to 1.12.3.
https://github.com/void-linux/void-packages/pull/42177
Description:
@the-maldridge I also changed the config file to be backwards compatible but to allow me to change the config for my own usage (I like `/etc/vault.d` and this change lets that happen)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-10 6:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-10 5:57 [PR PATCH] vault: update to 1.12.3 Vaelatern
2023-02-10 6:25 ` [PR PATCH] [Merged]: " the-maldridge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).