security/vault: update to 1.6.1 [1]
While here, improve pkg-message and rc script [2] PR: 251737 [2] Submitted by: brd [2]
This commit is contained in:
parent
c4e8960275
commit
5b4e187d5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558297
@ -1,7 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= vault
|
PORTNAME= vault
|
||||||
PORTVERSION= 1.6.0
|
PORTVERSION= 1.6.1
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
TIMESTAMP = 1607295051
|
TIMESTAMP = 1608216772
|
||||||
SHA256 (hashicorp-vault-v1.6.0_GH0.tar.gz) = 8a5dda7f160e156365053fe59d4ba67f54afe743abac6c38339e99a599d97c48
|
SHA256 (hashicorp-vault-v1.6.1_GH0.tar.gz) = fb5d96e682a48bfd421b13cdfffd710da0238dbded1988aab822dd5aae75b4c4
|
||||||
SIZE (hashicorp-vault-v1.6.0_GH0.tar.gz) = 38888893
|
SIZE (hashicorp-vault-v1.6.1_GH0.tar.gz) = 39080880
|
||||||
SHA256 (swills-vaultui-v1.6.0_GH0.tar.gz) = f9353ee2d3443c6d3ba5fe717ac03e7b682bbbe7ee698f87e470b12511cd603c
|
SHA256 (swills-vaultui-v1.6.1_GH0.tar.gz) = 2fafc8a7e523fd7cd196731b5cebdf160e4e025b80bb4c249728a7a042f1d607
|
||||||
SIZE (swills-vaultui-v1.6.0_GH0.tar.gz) = 1657287
|
SIZE (swills-vaultui-v1.6.1_GH0.tar.gz) = 1657205
|
||||||
|
@ -11,7 +11,7 @@ pw usermod -L daemon -n vault
|
|||||||
or delete the user and reinstall the package.
|
or delete the user and reinstall the package.
|
||||||
|
|
||||||
You may also need to increase memorylocked for the daemon class in
|
You may also need to increase memorylocked for the daemon class in
|
||||||
/etc/login.conf to 256M or more and run:
|
/etc/login.conf to 1024M or more and run:
|
||||||
|
|
||||||
cap_mkdb /etc/login.conf
|
cap_mkdb /etc/login.conf
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# Default is "vault".
|
# Default is "vault".
|
||||||
# vault_group (group): Set group to run vault.
|
# vault_group (group): Set group to run vault.
|
||||||
# Default is "vault".
|
# Default is "vault".
|
||||||
# vault_config (dir): Set vault config file.
|
# vault_config (file): Set vault config file.
|
||||||
# Default is "%%PREFIX%%/etc/vault.hcl".
|
# Default is "%%PREFIX%%/etc/vault.hcl".
|
||||||
# vault_syslog_output_enable (bool): Set to enable syslog output.
|
# vault_syslog_output_enable (bool): Set to enable syslog output.
|
||||||
# Default is "NO". See daemon(8).
|
# Default is "NO". See daemon(8).
|
||||||
@ -42,7 +42,7 @@ if [ ${DAEMON} -eq 0 ]; then
|
|||||||
: ${vault_syslog_output_priority:="info"}
|
: ${vault_syslog_output_priority:="info"}
|
||||||
: ${vault_syslog_output_facility:="daemon"}
|
: ${vault_syslog_output_facility:="daemon"}
|
||||||
if checkyesno vault_syslog_output_enable; then
|
if checkyesno vault_syslog_output_enable; then
|
||||||
vault_syslog_output_flags="-t ${name} -T ${name}"
|
vault_syslog_output_flags="-T ${name}"
|
||||||
|
|
||||||
if [ -n "${vault_syslog_output_priority}" ]; then
|
if [ -n "${vault_syslog_output_priority}" ]; then
|
||||||
vault_syslog_output_flags="${vault_syslog_output_flags} -s ${vault_syslog_output_priority}"
|
vault_syslog_output_flags="${vault_syslog_output_flags} -s ${vault_syslog_output_priority}"
|
||||||
@ -60,7 +60,7 @@ fi
|
|||||||
pidfile=/var/run/vault.pid
|
pidfile=/var/run/vault.pid
|
||||||
procname="%%PREFIX%%/bin/vault"
|
procname="%%PREFIX%%/bin/vault"
|
||||||
command="/usr/sbin/daemon"
|
command="/usr/sbin/daemon"
|
||||||
command_args="-f ${vault_syslog_output_flags} -p ${pidfile} /usr/bin/env ${vault_env} ${procname} server -config=${vault_config}"
|
command_args="-f -t ${name} ${vault_syslog_output_flags} -p ${pidfile} /usr/bin/env ${vault_env} ${procname} server -config=${vault_config}"
|
||||||
|
|
||||||
extra_commands="reload monitor"
|
extra_commands="reload monitor"
|
||||||
monitor_cmd=vault_monitor
|
monitor_cmd=vault_monitor
|
||||||
|
Loading…
Reference in New Issue
Block a user