mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
sysutils/password-store: remove warning about dev/shm
PR: 273450
This commit is contained in:
parent
605a2983f2
commit
b2d250b838
@ -1,6 +1,6 @@
|
||||
PORTNAME= password-store
|
||||
PORTVERSION= 1.7.4
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://git.zx2c4.com/${PORTNAME}/snapshot/
|
||||
|
||||
|
17
sysutils/password-store/files/patch-src_password-store.sh
Normal file
17
sysutils/password-store/files/patch-src_password-store.sh
Normal file
@ -0,0 +1,17 @@
|
||||
--- src/password-store.sh.orig 2023-08-30 23:03:53 UTC
|
||||
+++ src/password-store.sh
|
||||
@@ -225,14 +225,6 @@ tmpdir() {
|
||||
}
|
||||
trap remove_tmpfile EXIT
|
||||
else
|
||||
- [[ $warn -eq 1 ]] && yesno "$(cat <<-_EOF
|
||||
- Your system does not have /dev/shm, which means that it may
|
||||
- be difficult to entirely erase the temporary non-encrypted
|
||||
- password file after editing.
|
||||
-
|
||||
- Are you sure you would like to continue?
|
||||
- _EOF
|
||||
- )"
|
||||
SECURE_TMPDIR="$(mktemp -d "${TMPDIR:-/tmp}/$template")"
|
||||
shred_tmpfile() {
|
||||
find "$SECURE_TMPDIR" -type f -exec $SHRED {} +
|
Loading…
Reference in New Issue
Block a user