Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vault: update to 1.6.1
@ 2021-01-12  7:47 Goorzhel
  2021-01-12  7:48 ` the-maldridge
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-12  7:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

There is a new pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages vault
https://github.com/void-linux/void-packages/pull/27851

vault: update to 1.6.1
@the-maldridge 

* Here are [the minor-version changes](https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#160).
* For consistency's sake I matched `_git_commit` to `v1.6.1`'s hash. 

Sanity check:
```
$ ./xbps-src pkg vault
<...>
$ xi vault
<...>
$ vault version
Vault v1.6.1 (6d2db3f033e02e70202bef9ec896360062b88b03) (cgo)
$ vault server -dev &> /dev/null &
[1] 9125
$ export VAULT_ADDR='http://127.0.0.1:8200'
$ vault secrets enable -path=kv kv
Success! Enabled the kv secrets engine at: kv/
$ vault kv put kv/foo foo=bar
Success! Data written to: kv/foo
$ vault kv get kv/foo
=== Data ===
Key    Value
---    -----
foo    bar
```
Lemme know if there're any more tests you'd like me to run.

A patch file from https://github.com/void-linux/void-packages/pull/27851.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vault-27851.patch --]
[-- Type: text/x-diff, Size: 1359 bytes --]

From 453589a420fcb675cda484a82dd791ba04dc4a86 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 11 Jan 2021 23:14:16 -0800
Subject: [PATCH] vault: update to 1.6.1

---
 srcpkgs/vault/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index 5b34538ad0c..9f8fe87fd3a 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -1,11 +1,11 @@
 # Template file for 'vault'
 pkgname=vault
-version=1.5.4
+version=1.6.1
 revision=1
 build_style=go
 go_import_path="github.com/hashicorp/${pkgname}"
 go_build_tags="release"
-_git_commit=e16495da552c996068e05574cddf69875199f949
+_git_commit=6d2db3f033e02e70202bef9ec896360062b88b03
 go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
 hostmakedepends="git"
 short_desc="Manage Secrets and Protect Sensitive Data"
@@ -13,7 +13,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MPL-2.0"
 homepage="https://www.vaultproject.io/"
 distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
-checksum=99e3145a9b6f5ee6429b997f3e1f35f648d07c617ff6aef7041f91fcf34e1582
+checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
 system_accounts="_vault"
 make_dirs="/var/lib/vault 0700 _vault _vault
  /etc/vault 0700 root root"

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
@ 2021-01-12  7:48 ` the-maldridge
  2021-01-12  8:02 ` Goorzhel
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: the-maldridge @ 2021-01-12  7:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-758473781

Comment:
Looks reasonable to me.  Once the CI checks pass I will merge.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
  2021-01-12  7:48 ` the-maldridge
@ 2021-01-12  8:02 ` Goorzhel
  2021-01-12  8:19 ` Goorzhel
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-12  8:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-758480470

Comment:
Hrm, `arm7l` and `armv6l-musl` don't seem to like the patch. I'm trying `xbps-src -a arm7l vault` as I write.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
  2021-01-12  7:48 ` the-maldridge
  2021-01-12  8:02 ` Goorzhel
@ 2021-01-12  8:19 ` Goorzhel
  2021-01-12  8:23 ` Goorzhel
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-12  8:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-758488906

Comment:
[Pretty gory ending](https://gist.github.com/Goorzhel/45f971bcd0e25f4715185fe02cb76970).

I tried again with `_git_commit=e16495da552c996068e05574cddf69875199f949` (as it was before): same result.

Then again with `v1.6.0` and `_git_commit=e16495`: same result.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (2 preceding siblings ...)
  2021-01-12  8:19 ` Goorzhel
@ 2021-01-12  8:23 ` Goorzhel
  2021-01-13  2:45 ` Goorzhel
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-12  8:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-758488906

Comment:
[Pretty gory ending](https://gist.github.com/Goorzhel/45f971bcd0e25f4715185fe02cb76970).

I tried again with `_git_commit=e16495da552c996068e05574cddf69875199f949` (as it was before): same result.

Then again with `v1.6.0` and `_git_commit=e16495`: same result.

EDIT: By "same result" I mean a similar failure each time: at `/usr/lib/go/pkg/tool/linux_amd64/link`, a handful of `direct call too far`s are thrown, culminating in a segfault and backtrace.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (3 preceding siblings ...)
  2021-01-12  8:23 ` Goorzhel
@ 2021-01-13  2:45 ` Goorzhel
  2021-01-13  2:50 ` ericonr
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13  2:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759167411

Comment:
Found my problem: this is related to golang/go#30949. And if I follow that, it looks like I'm not the only Voider to bump into this (#25142).

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (4 preceding siblings ...)
  2021-01-13  2:45 ` Goorzhel
@ 2021-01-13  2:50 ` ericonr
  2021-01-13  3:30 ` [PR PATCH] [Updated] " Goorzhel
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2021-01-13  2:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759168823

Comment:
This should be fixed now that Go has been updated to 1.15.6. Please try without any workarounds other than what was already there.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (5 preceding siblings ...)
  2021-01-13  2:50 ` ericonr
@ 2021-01-13  3:30 ` Goorzhel
  2021-01-13  3:45 ` the-maldridge
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13  3:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

There is an updated pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages vault
https://github.com/void-linux/void-packages/pull/27851

vault: update to 1.6.1
@the-maldridge 

* Here are [the minor-version changes](https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#160).
* For consistency's sake I matched `_git_commit` to `v1.6.1`'s hash. 

Sanity check:
```
$ ./xbps-src pkg vault
<...>
$ xi vault
<...>
$ vault version
Vault v1.6.1 (6d2db3f033e02e70202bef9ec896360062b88b03) (cgo)
$ vault server -dev &> /dev/null &
[1] 9125
$ export VAULT_ADDR='http://127.0.0.1:8200'
$ vault secrets enable -path=kv kv
Success! Enabled the kv secrets engine at: kv/
$ vault kv put kv/foo foo=bar
Success! Data written to: kv/foo
$ vault kv get kv/foo
=== Data ===
Key    Value
---    -----
foo    bar
```
Lemme know if there're any more tests you'd like me to run.

A patch file from https://github.com/void-linux/void-packages/pull/27851.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vault-27851.patch --]
[-- Type: text/x-diff, Size: 1359 bytes --]

From 3515abd74b9803e6a67d97ec435f25b022e39ad8 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 11 Jan 2021 23:14:16 -0800
Subject: [PATCH] vault: update to 1.6.1

---
 srcpkgs/vault/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index 5b34538ad0c..9f8fe87fd3a 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -1,11 +1,11 @@
 # Template file for 'vault'
 pkgname=vault
-version=1.5.4
+version=1.6.1
 revision=1
 build_style=go
 go_import_path="github.com/hashicorp/${pkgname}"
 go_build_tags="release"
-_git_commit=e16495da552c996068e05574cddf69875199f949
+_git_commit=6d2db3f033e02e70202bef9ec896360062b88b03
 go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
 hostmakedepends="git"
 short_desc="Manage Secrets and Protect Sensitive Data"
@@ -13,7 +13,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MPL-2.0"
 homepage="https://www.vaultproject.io/"
 distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
-checksum=99e3145a9b6f5ee6429b997f3e1f35f648d07c617ff6aef7041f91fcf34e1582
+checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
 system_accounts="_vault"
 make_dirs="/var/lib/vault 0700 _vault _vault
  /etc/vault 0700 root root"

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (6 preceding siblings ...)
  2021-01-13  3:30 ` [PR PATCH] [Updated] " Goorzhel
@ 2021-01-13  3:45 ` the-maldridge
  2021-01-13  7:14 ` ericonr
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: the-maldridge @ 2021-01-13  3:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759185586

Comment:
Looks like we might need to go to external linker mode like in packer.  @q66 will this cause you any trouble on ppc?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (7 preceding siblings ...)
  2021-01-13  3:45 ` the-maldridge
@ 2021-01-13  7:14 ` ericonr
  2021-01-13  7:20 ` Goorzhel
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2021-01-13  7:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759255414

Comment:
The other package with external link mode doesn't have anything special for ppc, so I'd wager that it should be okay, especially if enabled only for `arm*`.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (8 preceding siblings ...)
  2021-01-13  7:14 ` ericonr
@ 2021-01-13  7:20 ` Goorzhel
  2021-01-13  7:21 ` [PR PATCH] [Updated] " Goorzhel
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13  7:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759258139

Comment:
Yep, I was thinking of simply borrowing the workaround from the `packer` PR I linked earlier. So I did, and it tested fine on `x86_64` and `arm{7l,6l-vault}`.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (9 preceding siblings ...)
  2021-01-13  7:20 ` Goorzhel
@ 2021-01-13  7:21 ` Goorzhel
  2021-01-13  7:21 ` Goorzhel
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13  7:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

There is an updated pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages vault
https://github.com/void-linux/void-packages/pull/27851

vault: update to 1.6.1
@the-maldridge 

* Here are [the minor-version changes](https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#160).
* For consistency's sake I matched `_git_commit` to `v1.6.1`'s hash. 

Sanity check:
```
$ ./xbps-src pkg vault
<...>
$ xi vault
<...>
$ vault version
Vault v1.6.1 (6d2db3f033e02e70202bef9ec896360062b88b03) (cgo)
$ vault server -dev &> /dev/null &
[1] 9125
$ export VAULT_ADDR='http://127.0.0.1:8200'
$ vault secrets enable -path=kv kv
Success! Enabled the kv secrets engine at: kv/
$ vault kv put kv/foo foo=bar
Success! Data written to: kv/foo
$ vault kv get kv/foo
=== Data ===
Key    Value
---    -----
foo    bar
```
Lemme know if there're any more tests you'd like me to run.

A patch file from https://github.com/void-linux/void-packages/pull/27851.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vault-27851.patch --]
[-- Type: text/x-diff, Size: 2071 bytes --]

From 3515abd74b9803e6a67d97ec435f25b022e39ad8 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Mon, 11 Jan 2021 23:14:16 -0800
Subject: [PATCH 1/2] vault: update to 1.6.1

---
 srcpkgs/vault/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index 5b34538ad0c..9f8fe87fd3a 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -1,11 +1,11 @@
 # Template file for 'vault'
 pkgname=vault
-version=1.5.4
+version=1.6.1
 revision=1
 build_style=go
 go_import_path="github.com/hashicorp/${pkgname}"
 go_build_tags="release"
-_git_commit=e16495da552c996068e05574cddf69875199f949
+_git_commit=6d2db3f033e02e70202bef9ec896360062b88b03
 go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
 hostmakedepends="git"
 short_desc="Manage Secrets and Protect Sensitive Data"
@@ -13,7 +13,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MPL-2.0"
 homepage="https://www.vaultproject.io/"
 distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
-checksum=99e3145a9b6f5ee6429b997f3e1f35f648d07c617ff6aef7041f91fcf34e1582
+checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
 system_accounts="_vault"
 make_dirs="/var/lib/vault 0700 _vault _vault
  /etc/vault 0700 root root"

From 76f1911e81fc259503719f77ea48b80ce3633857 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Tue, 12 Jan 2021 23:17:27 -0800
Subject: [PATCH 2/2] Add external linker workaround for arm*

---
 srcpkgs/vault/template | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index 9f8fe87fd3a..edfa5c95a91 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -18,6 +18,10 @@ system_accounts="_vault"
 make_dirs="/var/lib/vault 0700 _vault _vault
  /etc/vault 0700 root root"
 
+case "$XBPS_TARGET_MACHINE" in
+	arm*) go_ldflags="$go_ldflags -linkmode=external";;
+esac
+
 post_install() {
 	vlicense LICENSE
 	vsv vault

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (10 preceding siblings ...)
  2021-01-13  7:21 ` [PR PATCH] [Updated] " Goorzhel
@ 2021-01-13  7:21 ` Goorzhel
  2021-01-13  7:28 ` Goorzhel
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13  7:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759258139

Comment:
Yep, I was thinking of simply borrowing the workaround from the `packer` PR I linked earlier. So I did, and it tested fine on `x86_64` and `arm{7l,6l-musl}`.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (11 preceding siblings ...)
  2021-01-13  7:21 ` Goorzhel
@ 2021-01-13  7:28 ` Goorzhel
  2021-01-13 11:31 ` q66
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13  7:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759258139

Comment:
Yep, I was thinking of simply borrowing the workaround from the `packer` PR I linked earlier. So I did, and it tested fine on `x86_64` and `arm{7l,6l-musl}`.

Lemme know if it looks good, and I'll squash and force-push for the merge. Otherwise, I'll help any way I can.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (12 preceding siblings ...)
  2021-01-13  7:28 ` Goorzhel
@ 2021-01-13 11:31 ` q66
  2021-01-13 11:41 ` the-maldridge
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2021-01-13 11:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759389276

Comment:
should be fine @the-maldridge 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (13 preceding siblings ...)
  2021-01-13 11:31 ` q66
@ 2021-01-13 11:41 ` the-maldridge
  2021-01-13 17:03 ` [PR PATCH] [Updated] " Goorzhel
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: the-maldridge @ 2021-01-13 11:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by the-maldridge on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759394116

Comment:
alright @Goorzhel please squash your commits down and this can be merged.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Updated] vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (14 preceding siblings ...)
  2021-01-13 11:41 ` the-maldridge
@ 2021-01-13 17:03 ` Goorzhel
  2021-01-14  7:33 ` Goorzhel
  2021-01-14  7:50 ` [PR PATCH] [Merged]: " the-maldridge
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-13 17:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

There is an updated pull request by Goorzhel against master on the void-packages repository

https://github.com/Goorzhel/void-packages vault
https://github.com/void-linux/void-packages/pull/27851

vault: update to 1.6.1
@the-maldridge 

* Here are [the minor-version changes](https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#160).
* For consistency's sake I matched `_git_commit` to `v1.6.1`'s hash. 

Sanity check:
```
$ ./xbps-src pkg vault
<...>
$ xi vault
<...>
$ vault version
Vault v1.6.1 (6d2db3f033e02e70202bef9ec896360062b88b03) (cgo)
$ vault server -dev &> /dev/null &
[1] 9125
$ export VAULT_ADDR='http://127.0.0.1:8200'
$ vault secrets enable -path=kv kv
Success! Enabled the kv secrets engine at: kv/
$ vault kv put kv/foo foo=bar
Success! Data written to: kv/foo
$ vault kv get kv/foo
=== Data ===
Key    Value
---    -----
foo    bar
```
Lemme know if there're any more tests you'd like me to run.

A patch file from https://github.com/void-linux/void-packages/pull/27851.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vault-27851.patch --]
[-- Type: text/x-diff, Size: 1511 bytes --]

From e438d789cd6629b79f0851fdd75a855d49b0aad9 Mon Sep 17 00:00:00 2001
From: Antonio Gurgel <antonio@goorzhel.com>
Date: Wed, 13 Jan 2021 09:02:59 -0800
Subject: [PATCH] vault: update to 1.6.1

---
 srcpkgs/vault/template | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/vault/template b/srcpkgs/vault/template
index 5b34538ad0c..edfa5c95a91 100644
--- a/srcpkgs/vault/template
+++ b/srcpkgs/vault/template
@@ -1,11 +1,11 @@
 # Template file for 'vault'
 pkgname=vault
-version=1.5.4
+version=1.6.1
 revision=1
 build_style=go
 go_import_path="github.com/hashicorp/${pkgname}"
 go_build_tags="release"
-_git_commit=e16495da552c996068e05574cddf69875199f949
+_git_commit=6d2db3f033e02e70202bef9ec896360062b88b03
 go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
 hostmakedepends="git"
 short_desc="Manage Secrets and Protect Sensitive Data"
@@ -13,11 +13,15 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MPL-2.0"
 homepage="https://www.vaultproject.io/"
 distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
-checksum=99e3145a9b6f5ee6429b997f3e1f35f648d07c617ff6aef7041f91fcf34e1582
+checksum=fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
 system_accounts="_vault"
 make_dirs="/var/lib/vault 0700 _vault _vault
  /etc/vault 0700 root root"
 
+case "$XBPS_TARGET_MACHINE" in
+	arm*) go_ldflags="$go_ldflags -linkmode=external";;
+esac
+
 post_install() {
 	vlicense LICENSE
 	vsv vault

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (15 preceding siblings ...)
  2021-01-13 17:03 ` [PR PATCH] [Updated] " Goorzhel
@ 2021-01-14  7:33 ` Goorzhel
  2021-01-14  7:50 ` [PR PATCH] [Merged]: " the-maldridge
  17 siblings, 0 replies; 19+ messages in thread
From: Goorzhel @ 2021-01-14  7:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

New comment by Goorzhel on void-packages repository

https://github.com/void-linux/void-packages/pull/27851#issuecomment-759984704

Comment:
I can't force a re-run of the checks (`armv6l-musl` hit a `transient resolver failure`); can I bug you to do it?

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PR PATCH] [Merged]: vault: update to 1.6.1
  2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
                   ` (16 preceding siblings ...)
  2021-01-14  7:33 ` Goorzhel
@ 2021-01-14  7:50 ` the-maldridge
  17 siblings, 0 replies; 19+ messages in thread
From: the-maldridge @ 2021-01-14  7:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

There's a merged pull request on the void-packages repository

vault: update to 1.6.1
https://github.com/void-linux/void-packages/pull/27851

Description:
@the-maldridge 

* Here are [the minor-version changes](https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#160).
* For consistency's sake I matched `_git_commit` to `v1.6.1`'s hash. 

Sanity check:
```
$ ./xbps-src pkg vault
<...>
$ xi vault
<...>
$ vault version
Vault v1.6.1 (6d2db3f033e02e70202bef9ec896360062b88b03) (cgo)
$ vault server -dev &> /dev/null &
[1] 9125
$ export VAULT_ADDR='http://127.0.0.1:8200'
$ vault secrets enable -path=kv kv
Success! Enabled the kv secrets engine at: kv/
$ vault kv put kv/foo foo=bar
Success! Data written to: kv/foo
$ vault kv get kv/foo
=== Data ===
Key    Value
---    -----
foo    bar
```
Lemme know if there're any more tests you'd like me to run.

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-01-14  7:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12  7:47 [PR PATCH] vault: update to 1.6.1 Goorzhel
2021-01-12  7:48 ` the-maldridge
2021-01-12  8:02 ` Goorzhel
2021-01-12  8:19 ` Goorzhel
2021-01-12  8:23 ` Goorzhel
2021-01-13  2:45 ` Goorzhel
2021-01-13  2:50 ` ericonr
2021-01-13  3:30 ` [PR PATCH] [Updated] " Goorzhel
2021-01-13  3:45 ` the-maldridge
2021-01-13  7:14 ` ericonr
2021-01-13  7:20 ` Goorzhel
2021-01-13  7:21 ` [PR PATCH] [Updated] " Goorzhel
2021-01-13  7:21 ` Goorzhel
2021-01-13  7:28 ` Goorzhel
2021-01-13 11:31 ` q66
2021-01-13 11:41 ` the-maldridge
2021-01-13 17:03 ` [PR PATCH] [Updated] " Goorzhel
2021-01-14  7:33 ` Goorzhel
2021-01-14  7:50 ` [PR PATCH] [Merged]: " the-maldridge

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git