diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-04-25 21:00:52 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-04-25 21:00:52 +0000 |
commit | 1a9ac8c93a6b09a23be7fe7315eaf907bc3fdcbd (patch) | |
tree | fa702596faf75e8ce56d7f5ff0eecf4e4e7e77a9 /security/vault | |
parent | 85d4c8dddba6e1c96e0c5ea1e1421e778ba5476a (diff) | |
download | ports-1a9ac8c93a6b09a23be7fe7315eaf907bc3fdcbd.tar.gz ports-1a9ac8c93a6b09a23be7fe7315eaf907bc3fdcbd.zip |
Notes
Diffstat (limited to 'security/vault')
-rw-r--r-- | security/vault/Makefile | 2 | ||||
-rw-r--r-- | security/vault/files/pkg-message.in | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/security/vault/Makefile b/security/vault/Makefile index d3cf9d3e66c9..20c9efae016e 100644 --- a/security/vault/Makefile +++ b/security/vault/Makefile @@ -2,6 +2,7 @@ PORTNAME= vault PORTVERSION= 1.1.2 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security @@ -26,6 +27,7 @@ USERS= vault GROUPS= vault PLIST_FILES= bin/${PORTNAME} +SUB_FILES= pkg-message post-patch: @${CP} ${WRKDIR}/vaultui-${PORTVERSION}/http/bindata_assetfs.go ${WRKDIR}/vault-${PORTVERSION}/http/bindata_assetfs.go diff --git a/security/vault/files/pkg-message.in b/security/vault/files/pkg-message.in new file mode 100644 index 000000000000..e9d8e0b29b30 --- /dev/null +++ b/security/vault/files/pkg-message.in @@ -0,0 +1,19 @@ +The vault user created by the vault package is now a member of the daemon +class, which will allow it to use mlock() when started by the rc script. This +will not be reflected in systems where the user already exists. Please add the +vault user to the daemon class manually by running: + +pw usermod -L daemon -n vault + +or delete the user and reinstall the package. + +You may also need to increase memorylocked for the daemon class in +/etc/login.conf to 256M or more and run: + +cap_mkdb /etc/login.conf + +Or to disable mlock, add: + +disable_mlock = 1 + +to %%PREFIX%%/etc/vault.hcl |