vault: depend on libcap-progs
This commit is contained in:
parent
8134438f25
commit
a420bc1860
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,6 @@ post)
|
||||||
# Set CAP_IPC_LOCK capability or exit gracefully if we cannot
|
# Set CAP_IPC_LOCK capability or exit gracefully if we cannot
|
||||||
# set the capability due to invalid permissions (fakeroot
|
# set the capability due to invalid permissions (fakeroot
|
||||||
# install).
|
# install).
|
||||||
set +e
|
|
||||||
setcap 'cap_ipc_lock=+ep' /usr/bin/vault
|
setcap 'cap_ipc_lock=+ep' /usr/bin/vault
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: failed to set cap_ipc_lock capability on vault."
|
echo "ERROR: failed to set cap_ipc_lock capability on vault."
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
# Template file for 'vault'
|
# Template file for 'vault'
|
||||||
pkgname=vault
|
pkgname=vault
|
||||||
version=1.8.1
|
version=1.8.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/hashicorp/vault"
|
go_import_path="github.com/hashicorp/vault"
|
||||||
go_build_tags="release"
|
go_build_tags="release"
|
||||||
_git_commit=4b0264f28defc05454c31277cfa6ff63695a458d
|
_git_commit=4b0264f28defc05454c31277cfa6ff63695a458d
|
||||||
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
|
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
|
||||||
hostmakedepends="git"
|
hostmakedepends="git"
|
||||||
|
depends="libcap-progs"
|
||||||
short_desc="Manage Secrets and Protect Sensitive Data"
|
short_desc="Manage Secrets and Protect Sensitive Data"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="MPL-2.0"
|
license="MPL-2.0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue